/* OC Ultra Theme Stylesheet - Converted for OpenCart 3 (Bootstrap 3) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap');


html, body {
    max-width: 100%;
    overflow-x: hidden;
}


body {
  font-family: 'Raleway', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
    max-width:100%;
}

h1, h2, h3, h4, h5, h6 {
  color: #592557;
  margin-top: 0;
}
.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.container {
    padding-right: 10px !important;
    padding-left: 10px !important;
}
#content {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

#content h3 {
    text-align: left;
    font-weight: 900;
    font-size: 40px;
    color: #91298c; /* purple */
    margin-top: 30px;
    margin-bottom:15px;
    /*margin-left:7%;*/
}


/* Top Bar */
.top-bar {
  background: #592557 !important;
  color: #fff;
  /*font-size: 13px;
  padding: 8px 0;
  z-index: 9999;*/
}

/* Navbar Customization */
.navbar-inverse {
    background-color: #86a88d; /* Default, overridden by template liquid variable */
    border-color: transparent;
}
.navbar-inverse .navbar-nav > li > a {
    color: rgb(203, 92, 198);
    font-weight: 700;
}
.navbar-inverse .navbar-nav > li > a:hover, 
.navbar-inverse .navbar-nav > li > a:focus {
    background-color: rgba(203, 92, 198, 0.3);
    border-radius: 30px;
}
.navbar-inverse .navbar-brand {
    color: #fff;
    font-weight: 700;
}
.navbar-inverse .navbar-toggle {
    border-color: rgba(255,255,255,0.2);
}
.navbar-inverse .navbar-toggle:hover, 
.navbar-inverse .navbar-toggle:focus {
    background-color: rgba(0,0,0,0.1);
}
@media (max-width: 992px){
    .navbar-brand {
        padding: 0px 0px !important;
        margin-top: 20px !important;
        margin-left: 20px !important;
    }
    
}
/* Header Flexbox Layout for Desktop (Matches Reference) */
@media (min-width: 768px) {
    .navbar-inverse {
        min-height: 80px; /* Spacious Height */
    }
    .navbar-inverse .container {
        display: flex;
        align-items: center;
        height: 80px;
    }
    .navbar-header {
        float: none;
        margin: 0;
        margin-right: 30px;
        display: flex;
        align-items: center;
    }
    .navbar-brand {
        float: none;
        padding: 0;
        height: auto;
        display: flex;
        align-items: center;
        height: 100%;
        margin-left: 0;
    }
    .navbar-brand > img {
        max-height: 50px !important; /* Larger logo */
    }
    
    .navbar-collapse.collapse {
        display: flex !important;
        flex-grow: 1;
        align-items: center;
        justify-content: space-between; /* Spaces Menu and Right Icons to edges */
        width: auto !important;
        border: none;
        box-shadow: none;
        float: none !important;
        padding: 0;
    }
    
    .navbar-collapse > .nav.navbar-nav:first-child {
       /* The Main Menu */
       margin: 0 auto; /* Centers the menu block */
       display: flex;
    }
    
    .navbar-right {
        margin: 0 !important;
        display: flex;
        align-items: center;
    }

    /* Menu Item Spacing and Style */
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    /* Right Icon Spacing */
    .navbar-right > li > a {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 16px;
    }
    .navbar-right > li.dropdown > a {
        font-size: 14px;
        font-weight: 500;
    }
}

/* Search Slider (Off-Canvas) */
.search-slider, .cart-slider {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.search-slider.show, .cart-slider.show {
    right: 0;
}
.search-slider-overlay, .cart-slider-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.search-slider-overlay.show, .cart-slider-overlay.show {
    display: block;
    opacity: 1;
}
.close-search, .close-cart {
    align-self: flex-end;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    margin-bottom: 20px;
    background: none;
    border: none;
    padding: 0;
}
.search-slider h4, .cart-slider h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

/* Featured Categories */
.featured-category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 250px;
}
.featured-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.featured-category-card:hover .featured-category-img {
    transform: scale(1.1);
}
.featured-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}
.featured-category-card:hover .featured-category-overlay {
    background: rgba(0,0,0,0.5);
}
.featured-category-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.featured-category-btn {
    background: #fff;
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.featured-category-card:hover .featured-category-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials */
.testimonials-section {
    background-color: #f9f9f9;
}
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Features */
.features-section {
    background-color: #fff;
    border-top: 1px solid #eee;
}
.feature-box {
    padding: 20px;
}
.feature-icon {
    font-size: 32px;
    color: #86a88d;
    margin-bottom: 15px;
}
.feature-title {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Footer Defaults Override */
footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}
footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}
footer ul.list-unstyled li a {
    color: #aaa;
    display: block;
    padding: 3px 0;
    transition: color 0.2s;
}
footer ul.list-unstyled li a:hover {
    color: #fff;
    text-decoration: none;
}
.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background: #86a88d;
    transform: translateY(-2px);
}

/* Newsletter Popup Styles */
#newsletter-popup-modal .modal-content {
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#newsletter-popup-modal .modal-body {
    padding: 0;
}
.newsletter-popup-image {
    min-height: 300px;
    background-size: cover;
    background-position: center;
}
.newsletter-popup-content {
    padding: 30px;
}
.newsletter-popup-title {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
}
.newsletter-popup-subtitle {
    color: #666;
    margin-bottom: 20px;
}
.newsletter-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    z-index: 10;
}
.newsletter-popup-close:hover {
    color: #333;
}

/* Utility to match BS5 classes used in templates if any left */
.fw-bold { font-weight: 700 !important; }
.text-white { color: #fff !important; }
.text-muted { color: #777 !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* FAQ Support Avatars */
.support-avatars {
  display: flex;
}
.support-avatars img {
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 50%; /* Ensure they are circles */
}
.support-avatars img:not(:first-child) {
  margin-left: -15px;
}

/* Bootstrap 5 Container Width Overrides for BS3 */
.container {
    width: 100%; /* Reset default fixed widths */
    max-width: 100%;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        width: 100%;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
        width: 100%;
    }
}


@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
  }
}
.navbar {
        padding: 0rem 1rem;
}

@media (min-width: 768px) {
    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-left: 0px !important;
    }
}

/* Category Page Styles */
.sub-category-grid {
    margin-bottom: 3rem;
}
.sub-category-card {
    display: block;
    text-decoration: none !important;
    text-align: center;
    transition: transform 0.2s;
}
.sub-category-card:hover {
    transform: translateY(-5px);
}
.sub-category-card img {
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.sub-category-card h5 {
    margin-top: 15px;
    color: #333;
    font-weight: 600;
}

.product-thumb {
    margin-bottom: 30px;
    border: none;
    transition: all 0.3s;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid #6e266e !important;
    margin: 15px 5px ;
}
.product-thumb:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(130, 0, 159, 0.15);
}
.product-thumb .image {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 0px;
}
.product-thumb .caption h4 {
    margin: 10px 0;
    min-height: 40px; /* Align titles */
    text-align: center;
    padding: 10px !important;
}

.caption{
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.product-thumb .caption h4 a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}
.product-thumb .price {
    font-size: 16px;
    font-weight: 700;
    color: #91298c;
    margin-bottom: 10px;
}
.product-thumb .price-new {
    color: #91298c;
}

.price-new {
    color: #91298c !important;
}

.product-thumb .price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    margin-left: 5px;
}
.product-thumb .price-tax {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #777;
    margin-top: 4px;
}


#content .row {
    max-width: 85%;
    margin-left: auto !important;
    margin-right: auto !important;
}

.product-thumb .button-group {
    display: none !important;
}
.product-thumb .image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 !important;
}



/* Bootstrap 5 Compatibility Utilities for Product Page */
.img-fluid { max-width: 100%; height: auto; display: block; }
.d-flex { display: flex !important; }
.d-none { display: none !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.flex-column { flex-direction: column !important; }
.fw-bold { font-weight: 700 !important; }
.text-decoration-line-through { text-decoration: line-through !important; }
.text-muted { color: #6c757d !important; }
.rounded { border-radius: 0.25rem !important; }
.rounded-pill { border-radius: 50rem !important; }

/* Spacing Utilities */
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.p-0 { padding: 0 !important; }

/* Product Page Specific Styles */
.product-thumbnails img {
    cursor: pointer;
    border: 1px solid transparent;
    opacity: 0.6;
    transition: all 0.2s;
}
.product-thumbnails img.active, .product-thumbnails img:hover {
    border-color: #333;
    opacity: 1;
}

.color-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    margin-right: 10px;
    border: 2px solid #ddd;
    vertical-align: middle;
}
.option-radio:checked + .color-dot {
    border-color: #333;
    transform: scale(1.1);
}

/* Button Variants */

.btn-dark:hover, .btn-dark:focus, .btn-dark:active {
    background-color:#330d32 !important;
    font-weight: 600;
    color: white;
}

.btn-outline-secondary {
    color: #000;
    background-color: transparent;
    border-color: #000;
    font-size: 26px !important;
    font-weight: 600 !important;
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    color: #fff;
    background-color: #91298c;
    border-color: #91298c;
}

/* Nav Pills Customization */
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background-color: #212529;
    color: #fff;
}
.nav-pills > li > a {
    color: #333;
    border-radius: 0.25rem;
}

/* Badge */
.badge.bg-secondary {
    background-color: #6c757d;
    font-weight: normal;
    font-size: 0.9em;
}

/* Form Check Compatibility */
.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}
.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}
.form-check-label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Additional Spacing */
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }

/* Custom Slideshow Pagination (Numeric & Bottom Right) */
.slideshow .swiper-pagination {
    bottom: 20px !important;
    left: auto !important;
    right: 30px !important;
    width: auto !important;
    text-align: right !important;
    z-index: 10;
}

.slideshow .swiper-pagination-bullet {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
    margin: 0 5px !important;
    display: inline-block;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.slideshow .swiper-pagination-bullet-active {
    background: #fff;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slideshow .swiper-button-next,
.slideshow .swiper-button-prev {
    color: #333; 
}

.slideshow-wrapper{
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

a {
    color: #592557;
    font-weight: 700 !important;
}
/* Custom Breadcrumb Styles matching reference */
.breadcrumb {
    background-color: transparent !important;
    padding: 20px 0 !important;
    margin-bottom: 0 !important;
}

.breadcrumb > li {
    display: inline-block;
    vertical-align: middle;
}

/* Remove default slash and add chevron */
.breadcrumb > li + li:before {
    content: "\f105" !important;
    font-family: 'FontAwesome';
    color: #e0e0e0; /* Light gray separator as in image */
    padding: 0 15px;
    font-size: 24px; /* Large thin chevron */
    font-weight: 300;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -2px;
}

.breadcrumb > li a {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb > li a:hover {
    color: #000;
}

/* Home Icon Style */
.breadcrumb > li:first-child a .fa-home {
    font-size: 18px;
    color: #333;
}

/* Dynamic Header Background - uses inline var from PHP */
.top-background-color {
    /* Background color set dynamically via template variable */
}

/* Fix for currency/language in navbar */
.navbar-nav > li > form {
    padding: 10px 15px;
}
.navbar-nav > li > form > .btn-group {
    display: block;
}
.navbar-nav > li > form .btn-link {
    color: #ddd;
    text-decoration: none;
    padding: 0;
}
.navbar-nav > li > form .btn-link:hover {
    color: #fff;
}
/* Fix alignment for currency/language dropdowns */
.navbar-nav > li > form .btn-group > .dropdown-toggle {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

@media (min-width: 768px) {
    .navbar-nav > li.dropdown > .dropdown-menu {
        margin-top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}








































/* HIDE OLD BUTTONS*/
.btn-group{
  display:none;  
}


/*  BLOG IMAGES  */

/* ===== Blog Latest Posts module (only this section) ===== */

/* Make the whole section 80% width and centered */
#d_blog_module_latest_post {
  width: 90%;
  margin: auto;
  margin-top: 20px !important;
}

/* Title styling */
#d_blog_module_latest_post .h2 {
  text-align: center;
  margin: 0 0 25px;
}

#d_blog_module_latest_post .h2 span {
  font-weight: 800;
  font-size: 24px;
  color: #91298c !important; /* purple */
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Optional underline under the title */
#d_blog_module_latest_post .h2 span::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #91298c;
  margin: 12px auto 0;
  border-radius: 6px;
}

/* Blog card */
#d_blog_module_latest_post .post-thumb {
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lift on hover */
#d_blog_module_latest_post .post-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

/* Image full width */
#d_blog_module_latest_post .post-thumb .image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Image effect on hover */
#d_blog_module_latest_post .post-thumb:hover .image img {
  transform: scale(1.05);
  filter: contrast(115%) saturate(120%);
}

/* Spacing inside text blocks */
#d_blog_module_latest_post .post-thumb-heading,
#d_blog_module_latest_post .post-thumb-body,
#d_blog_module_latest_post .post-thumb-footer {
  padding: 18px;
}

/* Category pills */
#d_blog_module_latest_post ul.category {
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#d_blog_module_latest_post ul.category li a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(122, 61, 240, 0.10);
  color: #91298c;
  font-weight: 700;
  text-decoration: none;
  font-size: 12px;
}

/* Title */
#d_blog_module_latest_post h3.title {
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.25;
  font-size: 20px;
  color: #91298c !important; /* purple */
}

#d_blog_module_latest_post h3.title a {
  color: #222;
  text-decoration: none;
}

/* Short description: clamp to 3 lines (cleaner grid) */
#d_blog_module_latest_post .short-description {
  color: #555;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 12px;
}

/* Tags: optional (hide if you want cleaner cards) */
#d_blog_module_latest_post .tag { display: none; } 

/* Footer: align */
#d_blog_module_latest_post .post-thumb-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Read more button-like link */
#d_blog_module_latest_post .read-more {
  color: #91298c;
  font-weight: 800;
  text-decoration: none;
}
/* Hide author + date row in latest blog module */
#d_blog_module_latest_post .post-thumb-body .row {
    display: none;
}


/* Responsive: make it wider on mobile */
@media (max-width: 768px) {
  #d_blog_module_latest_post {
    width: 95%;
  }
}



/* 2 products per row on tablet & mobile */
@media (max-width: 992px){
  .product-layout.col-lg-3,
  .product-layout.col-md-3,
  .product-layout.col-sm-6,
  .product-layout.col-xs-12 {
    width: 50% !important;
    float: left;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  
  #content .row {
    max-width: 92%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

}


/*  DROPDOWN MENU  */
/* Main dropdown container */
.navbar-nav .dropdown-menu{
  background: #91298c;
  border: none;
  border-radius: 12px;
  padding: 10px 0;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Dropdown links */
.navbar-nav .dropdown-menu > li > a{
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
  transition: background 0.25s, padding-left 0.25s;
}

/* Hover state */
.navbar-nav .dropdown-menu > li > a:hover{
  background: #91298c;
  color: #fff;
  padding-left: 26px;
}

/* Divider line */
.navbar-nav .dropdown-menu .divider{
  background-color: rgba(255, 255, 255, 0.15);
  margin: 8px 0;
}

/* Optional: make last item (Show all) bold */
.navbar-nav .dropdown-menu li:last-child a{
  font-weight: 700;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #91298c;
}



/*  FILTERS  */


/* ===== Modern category filter (Sort + Limit only) ===== */

#product-category .form-inline{
  background: #f5e6f5;
  border-radius: 14px;
  padding: 12px 14px;
  display: inline-flex;        /* no empty space */
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* remove old inline spacing */
#product-category .form-inline .form-group{
  margin-right: 0 !important;
}

/* Input group (label + select) */
#product-category .form-inline .input-group{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.7);
}

#product-category .form-inline .input-group-addon{
  background: transparent;
  border: 0;
  color: #333;
  font-weight: 700;
  padding: 8px 12px;
}

#product-category .form-inline select.form-control{
  border: 0;
  background: transparent;
  box-shadow: none;
  height: 34px;
  padding: 6px 12px;
  font-weight: 600;
}

#product-category .form-inline select.form-control:focus{
  outline: none;
  box-shadow: none;
}

/* Hide compare + grid/list controls completely */
#product-category .btn-group.hidden-xs,
#compare-total,
#button-list,
#button-grid{
  display: none !important;
}

/* Mobile: stack inputs */
@media (max-width: 768px){
  #product-category .form-inline{
    display: flex;       /* full width on mobile */
    width: 100%;
  }

  #product-category .form-inline .input-group{
    width: 100%;
  }
}




/*  Filter options  */

/* Modern toolbar style for listing pages (category/search/manufacturer) */
#product-category .input-group.input-group-sm,
#product-search .input-group.input-group-sm,
#product-manufacturer .input-group.input-group-sm{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.7);
}

#product-category .input-group-addon,
#product-search .input-group-addon,
#product-manufacturer .input-group-addon{
  background: #f5e6f5;
  border: 0;
  color: #333;
  font-weight: 700;
  padding: 8px 12px;
}

/* Modern select look (works everywhere) */
#product-category select.form-control,
#product-search select.form-control,
#product-manufacturer select.form-control{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  border: 0;
  background: rgba(255,255,255,0.75);
  box-shadow: none;
  height: 34px;
  padding: 6px 38px 6px 12px;
  font-weight: 600;
  color: #333;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 14px,
    calc(100% - 12px) 14px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

#product-category select.form-control:focus,
#product-search select.form-control:focus,
#product-manufacturer select.form-control:focus{
  outline: none;
  box-shadow: 0 0 0 2px rgba(122,61,240,0.25);
}




/*  FIX BLANK SPACES IN ITEM GRID  */

/* Fix holes in product grid caused by unequal heights (float clearing) */


@media (min-width: 768px) and (max-width: 991px){
  #product-category .product-layout:nth-child(2n+1){
    clear: both;
  }
}

@media (max-width: 767px){
  #product-category .product-layout:nth-child(2n+1){
    clear: both;
  }
}




/* SEARCH FILTER CSS */


/* ===== Search page small modern polish ===== */

/* Main titles */
#product-search h1,
#product-search h2{
  color: #592557;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Section labels */
#product-search .control-label{
  font-weight: 600;
  color: #592557;
  margin-bottom: 6px;
  display: block;
}

/* Inputs & selects */
#product-search .form-control{
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: none;
}

#product-search .form-control:focus{
  border-color: #592557;
  box-shadow: 0 0 0 2px rgba(89,37,87,0.15);
}

/* Checkboxes text */
#product-search label.checkbox-inline{
  font-weight: 500;
  color: #444;
}

/* Search button */
#product-search #button-search{
  background: #592557;
  border-color: #592557;
  border-radius: 10px;
  padding: 8px 22px;
  font-weight: 600;
}

#product-search #button-search:hover{
  background: #6b2f6a;
  border-color: #6b2f6a;
}

/* Small spacing cleanup */
#product-search .row{
  margin-bottom: 12px;
}







/* Category select slightly emphasized */
#product-search select[name="category_id"]{
  border: 1.5px solid #592557;
}

/* Search button spacing & size */
#product-search #button-search{
  margin-top: 10px;
  margin-bottom: 30px;
  min-width: 160px;
}

/* Make checkbox lines align better */
#product-search label.checkbox-inline{
  margin-top: 8px;
}



/* HIDE SOCIAL SHARE */

.social-share{
    display: none;
}


/* PRODUCT CSS */
#main-product-image{
  width: 70%;
  max-width: 100%;
  display: block;
  margin: 0 auto; /* keeps it centered */
  margin-bottom: 15px;
}

#button-cart{
    background-color:#592557;
    font-weight: 600;
    color: white;
}

/* ITEM CONTENT WIDTH */

#content .product-section,
#content .product-details-tabs,
#content .related-products{
  max-width: 80% !important;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px){
  #content .product-section,
  #content .product-details-tabs,
  #content .related-products{
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}



/*  MOBILE PHONE FIXES   */

.fw-bold{
    margin-left: 0px;
}




/* ===============================
   AKCIJA / ZNIŽANO GRID
================================ */

/* Desktop: 5 per row */
.akcija-block .row{
  display:flex !important;
  flex-wrap:wrap;
}

.akcija-block .row > .product-layout{
  float:none !important;
  width:20% !important;
  padding-left:8px;
  padding-right:8px;
}

/* Tablet & Mobile: 2 per row */
@media (max-width: 992px){
  .akcija-block .row > .product-layout{
    width:50% !important;
    margin-top:10px !important;
  }
  .product-thumb .image {
    margin-bottom: 0px !important;
  }
  .button-group{
      display:none !important;
  }

  
}

/* Titles */
.akcija-block > .akcija-title{
  margin-left:8% !important;
}


.zadnje-dodano-title{
    margin-left: 8% !important;
}

@media (max-width: 992px){

.swiper-viewport {
        margin-bottom: 0px !important;
        margin-top: 10px !important;
    }
}

.swiper-viewport {
        margin-bottom: 10px !important;
        margin-top: 10px !important;
    }

.container-fluid {
    padding-right: 0px !important;
    padding-left: 0px !important;
}


.panel-default > .panel-heading {
    color: #592557;
    background-color: #fcf5fc;
    border: 1px solid #de90de !important;
}

.media{
    background-color: #fcf5fc !important;
    border-radius: 20px;

}

.testimonials-section{
    background-color: #fcf5fc !important;
}



/*  EXPAND THE FAQ  */
#faqAccordion .panel-heading{
  padding: 0;              /* so the link can fill the whole area */
  cursor: pointer;
}

#faqAccordion .panel-heading .panel-title > a{
  display: block;          /* makes the link a full-width block */
  width: 100%;
  padding: 15px;           /* adjust to match your design */
  text-decoration: none;
}




/*  Banner slika preko celog bannera  */
.swiper-slide > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/*  Hamburger menu icon  */

.navbar-inverse .navbar-toggle .icon-bar
 {
    background-color: #fff !important;
}

.navbar-inverse .navbar-toggle, .navbar-inverse .navbar-toggle {
    background-color: #91298c !important;
}

/*  Search icon color  */

@media (min-width: 992px){
    #search-toggle{
        background-color: #91298c ;
        color: #fff ;
        border-radius: 50%;
    }
    #search-toggle:hover{
        background-color: rgba(145, 41, 140, 0.5) !important;

    }
}

@media (max-width: 992px){
    #search-toggle{
        background-color: rgba(145, 41, 140, 0.5) ;
        color: #fff ;
        border-radius: 20px;
        border: 2px solid #91298c;
        margin: 0px 10px !important;
    }
}

.testimonial-card{
    margin-bottom: 15px !important;
}


.bm .bm-category-info, .bm .bm-author-info {
    padding-left: 20px;
    padding-right: 20px;
}

.sub-category-grid{
    display: none;
}

/*  Banner hide pagination button  */
.swiper-pagination-bullet{
    display:none !important;
}
/*  Shopping cart / bag customization  */

/* Desktop vs Mobile vidljivost */
@media (max-width: 767px){
  #cart-toggle { display:none !important; }          
  #cart-toggle-mobile { display:inline-block !important; }
}

@media (min-width: 768px){
  #cart-toggle-mobile { display:none !important; }
}

/* Mobilno dugme pored hamburgera */
@media (max-width: 767px){
  .navbar-header{ position: relative; }

  /* stilizuj MOBILNI cart */
  #cart-toggle-mobile.cart-toggle-btn{
    float: right;
    margin-right: 10px;
    margin-top: 8px;
    padding: 9px 10px;
    color: #91298c;
    background: transparent;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 4px;
    line-height: 1;
    position: relative; /* za badge */
  }

  #cart-toggle-mobile.cart-toggle-btn i{
    font-size: 20px;
    color: inherit;
  }

  .navbar-brand{ float: left; }
}

/* Badge – važi i za desktop i za mobilni ako oba imaju .cart-toggle-btn */
#cart-toggle.cart-toggle-btn .cart-badge,
#cart-toggle-mobile.cart-toggle-btn .cart-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  font-size:12px;
  line-height:18px;
  text-align:center;
  background:#ff3b30;
  color:#fff;
  font-weight:700;
  display:none;
}



#product-product{
    padding: 0px 15px !important;
}

#v-pills-description h4{
    display: none !important;
}


/* Sakrij naslov "Shopping Cart" u cart slideru */
.cart-header {
  display: none !important;
}


/*  Izbrani izdelki popravek  */

#column-right .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: 0;
  margin-right: 0;
}

#column-right .row > .product-layout {
  flex: 1 1 140px;  /* min širina kartice */
  max-width: 50%;   /* da budu najviše 2 u redu u sidebaru */
  padding: 0;
}

#column-right .product-thumb .image img {
  width: 100%;
  height: auto;
  display: block;
}

#column-right .product-thumb .caption h4 a {
  white-space: normal;
  word-break: break-word;
}






/*  FIX popraviti rupe u nizu produkta  */

/* ===== UNIFIED PRODUCT GRID FIX ===== */

/* Primeni flex na SVE grid stranice (kategorija, pretraga, proizvođač) */
#product-category .row,
#product-search .row,
#product-manufacturer .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Svaka kartica iste visine */
#product-category .product-layout,
#product-search .product-layout,
#product-manufacturer .product-layout {
    display: flex !important;
    flex-direction: column;
    float: none !important; /* poništi Bootstrap float */
}

/* product-thumb popuni celu visinu kartice */
#product-category .product-thumb,
#product-search .product-thumb,
#product-manufacturer .product-thumb {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

/* Slika fiksna visina */
#product-category .product-thumb .image,
#product-search .product-thumb .image,
#product-manufacturer .product-thumb .image {
    height: 220px;
    overflow: hidden;
}

#product-category .product-thumb .image img,
#product-search .product-thumb .image img,
#product-manufacturer .product-thumb .image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* slika popuni box bez iskrivljenja */
}

/* Caption popuni ostatak prostora */
#product-category .product-thumb .caption,
#product-search .product-thumb .caption,
#product-manufacturer .product-thumb .caption {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Cena na dno caption-a */
#product-category .product-thumb .price,
#product-search .product-thumb .price,
#product-manufacturer .product-thumb .price {
    margin-top: auto;
}



/* Hide 2 item codes */
.product-code{
    display: none !important;
}

