/* ==========================================
   ROOT - COLOR & BACKGROUND VARIABLES
   শুধু এখানে কালার বদলাও, সবকিছু আপডেট হবে
   ========================================== */
:root {
    /* Main Colors - Fresh Green */
    --primary: #10b981;
    /* ফ্রেশ সবুজ - বাটন, লিংক, হভার */
    --primary-hover: #059669;
    /* গাঢ় সবুজ - হভার স্টেট */

    /* Background Colors */
    --dark-bg: #0f172a;
    /* গাঢ় ব্যাকগ্রাউন্ড */
    --light-bg: #ecfdf5;
    /* হালকা সবুজচে ব্যাকগ্রাউন্ড */
    --white: #ffffff;
    /* সাদা */

    /* Text Colors */
    --text-dark: #1e293b;
    /* গাঢ় টেক্সট */
    --text-light: #cbd5e1;
    /* হালকা টেক্সট */
    --text-muted: #64748b;
    /* ম্যুট টেক্সট */

    /* Border Colors */
    --border: #e2e8f0;
    /* বর্ডার */

    /* Transitions & Effects */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================
   2. TOPBAR
   ========================================== */
.wv-topbar {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wv-topbar a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.wv-topbar a:hover {
    color: var(--primary);
}

.wv-login-btn {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wv-login-btn:hover {
    background: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
}

.wv-topbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    padding: 8px 0;
    margin-top: 8px !important;
    background: var(--white);
}

.wv-topbar .dropdown-item {
    font-size: 13px;
    color: var(--text-dark);
    padding: 8px 16px;
    transition: var(--transition);
}

.wv-topbar .dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary);
}

#headerSearchInput:focus {
    background-color: var(--white) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.1) !important;
}

.search-submit-btn {
    transition: all 0.2s ease-in-out;
}

.search-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.05);
}

/* ==========================================
   3. MAIN HEADER
   ========================================== */
.wv-main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.wv-logo img {
    height: 45px;
    object-fit: contain;
}

/* ==========================================
   4. ACTION ITEMS & CART
   ========================================== */
.wv-action-item {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.wv-action-item:hover {
    color: var(--primary);
}

.wv-action-item .count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.wv-mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 310px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 18px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border);
    margin-top: 8px;
}

.wv-cart-wrapper:hover .wv-mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wv-mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 0;
    border-top: 2px dashed var(--border);
}

.wv-mini-cart-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.wv-btn-view-cart,
.wv-btn-checkout {
    flex: 1;
    text-align: center;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.wv-btn-view-cart {
    background: var(--primary);
    color: var(--white);
}

.wv-btn-view-cart:hover {
    background: var(--primary-hover);
}

.wv-btn-checkout {
    background: var(--text-dark);
    color: var(--white);
}

/* ==========================================
   5. NAVIGATION MENU
   ========================================== */
.wv-navbar {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0;
}

.wv-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.wv-nav-menu>li {
    position: relative;
    padding: 12px 0;
}

.wv-nav-menu>li>a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.wv-nav-menu>li>a:hover {
    color: var(--primary);
}

/* ==========================================
   6. SEARCH BOX
   ========================================== */
.search-input-group {
    border-radius: 6px;
    overflow: hidden;
}

.search-input-group .form-control {
    height: 38px;
    font-size: 14px;
}

.btn-search-custom {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-search-custom:hover {
    background-color: var(--primary-hover);
}

/* ==========================================
   7. HERO SLIDER
   ========================================== */
.wv-hero-slider {
    position: relative;
    padding: 0;
}

.wv-hero-slider img {
    width: 100%;
    height: 180px;
    /* মোবাইলের জন্য ছোট উচ্চতা */
    object-fit: cover;
}

/* ট্যাবলেটের জন্য উচ্চতা একটু বাড়িয়ে দিন */
@media (min-width: 576px) {
    .wv-hero-slider img {
        height: 250px;
    }
}

/* ডেস্কটপের জন্য উচ্চতা সুন্দর রাখুন */
@media (min-width: 992px) {
    .wv-hero-slider img {
        height: 350px;
    }
}

.wv-hero-slider .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.wv-hero-slider .owl-dot.active span {
    background: var(--white);
}

/* স্লাইডারের লেফট ও রাইট অ্যারো বাটন পজিশন */
.wv-hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    /* যাতে পুরো ব্লকে ক্লিক না লেগে শুধু বাটনে লাগে */
    z-index: 10;
}

.wv-hero-slider .owl-nav button.owl-prev,
.wv-hero-slider .owl-nav button.owl-next {
    background: rgba(0, 0, 0, 0.4) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    /* ক্লিক করার সুবিধা দিতে */
}

.wv-hero-slider .owl-nav button.owl-prev:hover,
.wv-hero-slider .owl-nav button.owl-next:hover {
    background: var(--white, #fff) !important;
    color: var(--primary, #ff5722) !important;
    border-color: var(--white, #fff) !important;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.wv-hero-slider .owl-nav button i {
    font-size: 15px;
}

/* ==========================================
   8. CATEGORY CARDS
   ========================================== */
.circle-img-wrapper {
    width: 110px;
    height: 110px;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    transition: var(--transition);
}

.circle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.wv-category-card:hover .circle-img-wrapper {
    border-color: var(--primary) !important;
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.2);
    transform: translateY(-4px);
}

.wv-category-card:hover .circle-img-wrapper img {
    transform: scale(1.08);
}

.wv-category-card:hover .category-name {
    color: var(--primary) !important;
}

/* ==========================================
   9. BANNERS
   ========================================== */
.promo-banner {
    transition: var(--transition);
    background-color: #f1f3f5 !important;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.promo-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.explore-link {
    position: relative;
    padding-bottom: 2px;
    text-decoration: none;
    color: var(--text-dark);
}

.explore-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.promo-banner:hover .explore-link {
    color: var(--primary) !important;
}

.promo-banner:hover .explore-link::after {
    background-color: var(--primary);
}

.heading-accent {
    width: 4px;
    height: 22px;
    background: var(--primary);
    display: inline-block;
    border-radius: 2px;
    margin-right: 8px;
}

/* ==========================================
   10. PRODUCT CARDS & CLEAN OWL CAROUSEL NAV
   ========================================== */
.wv-product-card {
    position: relative;
    background: var(--white, #fff);
    border: 1px solid #eef2f5;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.wv-product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: color-mix(in srgb, var(--primary, #ff5722) 30%, transparent);
}

.wv-card-thumb {
    position: relative;
    width: 100%;
    height: 170px;
    background: #f9fafb;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wv-card-thumb .product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.wv-product-card:hover .product-img {
    transform: scale(1.05);
}

.wv-badge {
    position: absolute;
    top: 14px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    z-index: 5;
    border-radius: 4px;
}

.wv-badge-sale {
    left: 14px;
    background: var(--primary, #ff5722);
    color: #fff;
}

.wv-badge-stock {
    right: 14px;
    background: #333;
    color: #fff;
}

/* Typography elements */
.product-title {
    font-size: 15px;
    transition: color 0.2s ease;
}

.wv-product-card:hover .product-title {
    color: var(--primary, #ff5722) !important;
}

.product-short-desc {
    font-size: 12px;
    line-height: 1.3;
}

/* Dynamic Action & Out of Stock Button Classes */
.wv-action-btn {
    background-color: var(--primary, #ff5722) !important;
    border: none !important;
    transition: opacity 0.2s ease;
}

.wv-action-btn:hover {
    opacity: 0.9;
}

.wv-out-stock-btn {
    background-color: #6c757d !important;
    border: none !important;
    cursor: not-allowed !important;
}

/* Position Owl Carousel Navigation to Left and Right Sides */

.product-carousel .owl-nav {
    position: absolute;
    top: 42%;
    width: 100%;
    transform: translateY(-50%);
    left: 0;
    pointer-events: none;
    /* Allows clicking through the empty space between buttons */
}

.product-carousel .owl-nav button.owl-prev,
.product-carousel .owl-nav button.owl-next {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary, #ff5722) !important;
    color: #fff !important;
    border-color: var(--primary, #ff5722) !important;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    /* Re-enables clicking on the buttons */
    transition: all 0.2s ease;
}

.product-carousel .owl-nav button.owl-prev {
    left: -10px;
    /* Pulls the left arrow slightly outside the card grid */
}

.product-carousel .owl-nav button.owl-next {
    right: -10px;
    /* Pulls the right arrow slightly outside the card grid */
}

.product-carousel .owl-nav button.owl-prev:hover,
.product-carousel .owl-nav button.owl-next:hover {
    background: var(--white, #fff) !important;
    color: var(--primary, #ff5722) !important;
    border: 1px solid #eef2f5 !important;

}

.product-carousel .owl-nav button.owl-prev span,
.product-carousel .owl-nav button.owl-next span {
    font-size: 16px;
    line-height: 0;
}


/* Flash Deal Banner Styling */
.flash-deal-banner {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    color: var(--white);
    border-radius: 8px;
}

.deal-badge-circle {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.timer-box {
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 10px;
    border-radius: 6px;
    min-width: 45px;
    text-align: center;
}

.timer-box span {
    font-weight: 700;
    display: block;
    font-size: 14px;
}

.timer-box small {
    font-size: 9px;
    opacity: 0.8;
}

/* Flash Deal Carousel Navigation Fix */
.flash-deal-carousel {
    position: relative;
}

.flash-deal-carousel {
    position: relative;
}

.flash-deal-carousel .owl-nav {
    position: absolute;
    top: 42%;
    width: 100%;
    transform: translateY(-50%);
    left: 0;
    pointer-events: none;
    /* Allows clicking through the empty space between buttons */
}

.flash-deal-carousel .owl-nav button.owl-prev,
.flash-deal-carousel .owl-nav button.owl-next {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary, #ff5722) !important;
    color: #fff !important;
    border-color: var(--primary, #ff5722) !important;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    /* Re-enables clicking on the buttons */
    transition: all 0.2s ease;
}

.flash-deal-carousel .owl-nav button.owl-prev {
    left: -10px;
    /* Pulls the left arrow slightly outside the card grid */
}

.flash-deal-carousel .owl-nav button.owl-next {
    right: -10px;
    /* Pulls the right arrow slightly outside the card grid */
}

.flash-deal-carousel .owl-nav button.owl-prev:hover,
.flash-deal-carousel .owl-nav button.owl-next:hover {
    background: var(--white, #fff) !important;
    color: var(--primary, #ff5722) !important;
    border: 1px solid #eef2f5 !important;

}

.flash-deal-carousel .owl-nav button.owl-prev span,
.flash-deal-carousel .owl-nav button.owl-next span {
    font-size: 16px;
    line-height: 0;
}




/* ==========================================
   Feature Card
   ========================================== */
/* Feature Card Clean & Professional Look */
.feature-card {
    height: 100% !important;
    border-color: #f1f1f1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease-in-out;
}

/* Hover Effect for all cards equally */
.feature-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 0.5rem 1rem rgba(255, 75, 43, 0.08) !important;
    transform: translateY(-4px);
}

.feature-card:hover .icon-box {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.feature-card .icon-box {
    transition: all 0.3s ease-in-out;
}

/* ==========================================
   11. PRODUCT GALLERY
   ========================================== */
.vertical-thumbs-container {
    max-height: 420px;
    overflow-y: auto;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: none;
}

.vertical-thumbs-container::-webkit-scrollbar {
    display: none;
}

.vertical-thumb-wrapper {
    width: 80px;
}

.thumb-box {
    width: 76px;
    height: 76px;
    border: 2px solid #eef2f6;
    border-radius: 12px;
    padding: 4px;
    cursor: pointer;
    background-color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.thumb-box.active-thumb,
.thumb-box:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 6px 16px rgba(255, 51, 102, 0.18);
    transform: translateY(-2px);
}

.thumb-nav-btn {
    border: 1px solid #e9ecef;
    background: var(--white);
    color: #495057;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.thumb-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.25);
}

.main-image-wrapper {
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid #f1f3f5;
    transition: var(--transition);
}

.main-display-img {
    max-height: 390px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-image-wrapper:hover .main-display-img {
    transform: scale(1.05);
}

.product-info-tabs .nav-tabs {
    border-bottom: 2px solid #eef2f6;
}

.product-info-tabs .nav-link {
    color: var(--text-muted);
    border: none !important;
    border-bottom: 3px solid transparent !important;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.product-info-tabs .nav-link.active {
    color: var(--primary) !important;
    border-bottom: 3px solid var(--primary) !important;
    background: transparent !important;
}

.qty-counter {
    border: 1px solid #dee2e6;
    transition: var(--transition);
}

.qty-counter:focus-within {
    border-color: var(--primary);
}

/* ==========================================
   12. BRANDS SECTION
   ========================================== */
.wv-brand-box {
    border: 1px solid var(--border);
    padding: 15px;
    background: var(--white);
    border-radius: 6px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wv-brand-box:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wv-brand-box img {
    max-height: 45px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.wv-brand-box:hover img {
    filter: grayscale(0%);
}

.feature-icon {
    font-size: 32px;
    color: var(--primary);
}

/* ==========================================
   13. FLOATING ELEMENTS
   ========================================== */
.floating-cart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    width: 90%;
    max-width: 420px;
}

.floating-cart-inner {
    background: var(--dark-bg);
    color: var(--white);
    border-radius: 40px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: var(--text-dark);
}

.back-to-top.show {
    display: flex;
}

.hidden {
    display: none !important;
}

/* ==========================================
   14. FOOTER
   ========================================== */
.footer-section {
    background-color: var(--white) !important;
    color: var(--text-muted);
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-contact-item {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
}

.newsletter-input {
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 10px 14px;
    font-size: 14px;
    background: var(--white);
}

.newsletter-input:focus {
    box-shadow: none;
    border-color: var(--primary);
    outline: none;
}

.newsletter-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
}

.newsletter-btn:hover {
    background-color: var(--primary-hover);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: #555555;
    margin-right: 6px;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    margin-top: 35px;
    font-size: 13px;
}

.brand-highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================
   15. SHOP PAGE
   ========================================== */
.shop-breadcrumb {
    background: #ffffff;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.shop-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.shop-breadcrumb a:hover {
    color: var(--primary);
}

.shop-sidebar {
    background: var(--white);
}

.widget-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cat-list li {
    margin-bottom: 8px;
}

.sidebar-cat-list li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-cat-list li a:hover,
.sidebar-cat-list li.active>a {
    color: var(--primary);
    font-weight: 600;
    padding-left: 5px;
}

.sidebar-cat-list .sub-menu {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    display: none;
}

.sidebar-cat-list li.active .sub-menu {
    display: block;
}

.price-range-slider {
    position: relative;
    width: 100%;
    height: 5px;
    background: #e4e4e4;
    border-radius: 5px;
}

.price-range-slider .range-track {
    height: 100%;
    position: absolute;
    background: var(--primary);
    border-radius: 5px;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    top: 0;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.filter_price {
    background: var(--primary);
    color: var(--white);
    transition: var(--transition);
    border: 1px solid var(--primary);
    cursor: pointer;
}

.filter_price:hover {
    background: var(--white);
    color: var(--primary);
}

.shop-toolbar {
    background: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.shop-toolbar select {
    border: 1px solid #e2e8f0;
    background: var(--white);
    color: var(--text-dark);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.sidebar-cat-wrapper {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.sidebar-cat-wrapper::-webkit-scrollbar {
    width: 4px;
}

.sidebar-cat-wrapper::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.category-search-box input {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    padding: 6px 10px;
    background: var(--white);
    color: var(--text-dark);
}

.product-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.product-loader.active {
    opacity: 1;
    pointer-events: auto;
}

.desktop-sidebar {
    display: block;
}

.filter-btn-mobile {
    display: none;
}

/* ==========================================
   MOBILE RESPONSIVE FIXES
   ========================================== */
@media (max-width: 767.98px) {
    .wv-product-card {
        padding: 10px;
        height: 100%;
    }

    .wv-card-thumb {
        height: 130px;
    }

    .wv-card-thumb>a {
        height: 100%;
    }

    .wv-card-thumb .product-img {
        max-height: 115px;
    }

    .product-title {
        font-size: 13px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 1.6em;
    }

                /* .product-short-desc {
        display: none;
        /* Hide description on tight mobile grids to prevent overflow */
    */

    .current-price {
        font-size: 13px !important;
    }

    .old-price {
        font-size: 10px !important;
    }

    /* Standardize mobile card button spacing */
    .card-bottom-action {
        margin-top: 6px !important;
    }

    .card-bottom-action .btn {
        padding: 6px 0 !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
}