/* Custom Colors - Generated by Admin Panel */
/* Primary: #1583C2 | Secondary: #0C3E5E | Accent: #0093D4 | Category Badge: #0C3E5E */

:root {
    --bs-primary: #1583C2 !important;
    --bs-secondary: #0C3E5E !important;
    --primary-color: #1583C2;
    --primary-dark: #0065a4;
    --primary-light: #2492d1;
    --primary-button: #004281;
    --primary-button-hover: #002463;
    --primary-price: #00104f;
    --primary-title: #000036;
    --secondary-color: #0C3E5E;
    --secondary-dark: #002a4a;
    --accent-color: #0093D4;
    --category-badge-color: #0C3E5E;
    --category-badge-dark: #002a4a;
    --primary-shadow: rgba(21, 131, 194, 0.4);
    --primary-shadow-hover: rgba(21, 131, 194, 0.5);
}

/* Primary Color */
.bg-primary, .btn-primary { background-color: #1583C2 !important; }
.text-primary, h1.text-primary, h2.text-primary, h3.text-primary, h4.text-primary, a.text-primary { color: #1583C2 !important; }
.btn-primary, .btn-primary:focus { background-color: #1583C2 !important; border-color: #1583C2 !important; }
.btn-primary:hover { background-color: #0065a4 !important; border-color: #0065a4 !important; }
.border-primary { border-color: #1583C2 !important; }
.btn-outline-primary { color: #1583C2 !important; border-color: #1583C2 !important; }
.btn-outline-primary:hover { background-color: #1583C2 !important; color: #fff !important; }

/* Secondary Color */
.bg-secondary { background-color: #0C3E5E !important; }
.text-secondary { color: #0C3E5E !important; }
.btn-secondary { background-color: #0C3E5E !important; border-color: #0C3E5E !important; }
.btn-secondary:hover { background-color: #002040 !important; }
.border-secondary { border-color: #0C3E5E !important; }
.btn.border-secondary:hover { background: #0C3E5E !important; color: #fff !important; }
.btn-outline-secondary { color: #0C3E5E !important; border-color: #0C3E5E !important; }
.btn-outline-secondary:hover { background-color: #0C3E5E !important; }

/* Accent Color */
.bg-accent, .btn-accent { background-color: #0093D4 !important; }
.text-accent { color: #0093D4 !important; }
.btn-accent { background-color: #0093D4 !important; border-color: #0093D4 !important; color: #fff !important; }
.btn-accent:hover { background-color: #0075b6 !important; border-color: #0075b6 !important; }
.border-accent { border-color: #0093D4 !important; }
.btn-outline-accent { color: #0093D4 !important; border-color: #0093D4 !important; }
.btn-outline-accent:hover { background-color: #0093D4 !important; color: #fff !important; }

/* Accent for badges, notifications, promotions */
.badge-accent, .promo-badge, .sale-badge, .new-badge { background-color: #0093D4 !important; color: #fff !important; }
.floating-cart-count { background: #0093D4 !important; }

/* Category Badge Color - за етикетите върху продуктите */
.category-badge, .cat-badge, .product-category-badge { 
    background-color: #0C3E5E !important; 
    color: #fff !important; 
}
/* Override Bootstrap bg-secondary за category badges в products.js */
.fruite-item .bg-secondary, .product-card .bg-secondary, .vesiteam-item .bg-secondary { 
    background-color: #0C3E5E !important; 
    color: #fff !important; 
}
/* Override bg-primary за category badges */
.fruite-item .position-absolute.bg-primary, .product-card .position-absolute.bg-primary { 
    background-color: #0C3E5E !important; 
    color: #fff !important; 
}

/* Specific Elements */
.topbar { background-color: #1583C2 !important; }
.spinner-grow.text-primary { color: #1583C2 !important; }
.navbar-brand h1 { color: #1583C2 !important; }
.back-to-top { background-color: #1583C2 !important; }
.dropdown-menu.bg-secondary { background-color: #0C3E5E !important; }

/* Icons */
.fa-search.text-primary, .fas.text-primary, .fab.text-primary, .bi.text-primary { color: #1583C2 !important; }
.fa-star.text-primary { color: #1583C2 !important; }

/* Form Elements */
.form-control:focus { border-color: #1583C2 !important; box-shadow: 0 0 0 0.2rem rgba(21, 131, 194, 0.25) !important; }

/* Carousel & Footer */
.carousel-item .btn { background-color: #1583C2 !important; }
.footer .btn-link:hover { color: #1583C2 !important; }

/* Generic Links Override (Bootstrap hardcodes #81c408 in <a>) */
a { color: #1583C2; }
a:hover { color: #0065a4; }
.breadcrumb-item a { color: #1583C2 !important; }
.breadcrumb-item a:hover { color: #0065a4 !important; }
.nav-link { color: #1583C2; }
.nav-link:hover, .nav-link:focus { color: #0065a4; }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background-color: #1583C2; }
.page-link { color: #1583C2; }
.page-link:hover, .page-link:focus { color: #0065a4; }
.page-item.active .page-link { background-color: #1583C2; border-color: #1583C2; }
.link-primary { color: #1583C2 !important; }
.link-primary:hover, .link-primary:focus { color: #0065a4 !important; }
.btn-link { color: #1583C2; }
.btn-link:hover { color: #0065a4; }
.btn:focus { box-shadow: 0 0 0 .25rem rgba(21, 131, 194, 0.25); }
.btn-close:focus { box-shadow: 0 0 0 .25rem rgba(21, 131, 194, 0.25); }
.dropdown-item.active, .dropdown-item:active { background-color: #1583C2; }
.dropdown-menu-dark .dropdown-item.active { background-color: #1583C2; }
.list-group-item.active { background-color: #1583C2; border-color: #1583C2; }
.progress-bar { background-color: #1583C2; }
.accordion-button:not(.collapsed) { color: #0065a4; }

/* Sidebar Categories */
.fruite-categorie .fruite-name a { color: #1583C2 !important; }
.fruite-categorie .fruite-name a:hover { color: #0C3E5E !important; }
.fruite-categorie .fruite-name i.fas { color: #1583C2 !important; }

/* Category Tabs */
#categoryTabs .category-tab:hover { color: #1583C2; border-bottom-color: rgba(21, 131, 194, 0.4); }
#categoryTabs .category-tab.active { color: #1583C2 !important; border-bottom-color: #1583C2; font-weight: 600; background: none !important; }
.cat-scroll-btn:hover { background: #1583C2; color: #fff; border-color: #1583C2; }

/* ===== Category Tabs Layout ===== */
.category-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
}
#categoryTabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0;
    flex: 1;
}
#categoryTabs::-webkit-scrollbar { display: none; }
#categoryTabs .nav-item {
    margin: 0;
    flex-shrink: 0;
}
#categoryTabs .category-tab {
    display: inline-block;
    padding: 10px 20px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.25s ease;
    background: none !important;
    border-radius: 0 !important;
    white-space: nowrap;
}
.cat-scroll-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #6c757d;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.cat-scroll-left { margin-right: 8px; }
.cat-scroll-right { margin-left: 8px; }

/* Notification & Banner elements */
.banner-nav:hover { background: #1583C2; }
.banner-dot.active { background: #1583C2; }

/* Product Thumbnails */
.product-thumb:hover { border-color: #1583C2 !important; }
.product-thumb.active { border-color: #1583C2 !important; }

/* ===== Floating Cart Button ===== */
.floating-cart-btn {
    background: linear-gradient(135deg, #1583C2, #0065a4) !important;
    box-shadow: 0 4px 20px rgba(21, 131, 194, 0.4) !important;
}
.floating-cart-btn:hover {
    box-shadow: 0 6px 25px rgba(21, 131, 194, 0.5) !important;
}

/* ===== Fashion Theme Color Overrides ===== */
body.theme-fashion {
    --primary-color: #1583C2;
    --secondary-color: #0C3E5E;
}

body.theme-fashion .fruite-item .add-to-cart-btn:hover,
body.theme-fashion .fruite-item .btn.border:hover,
body.theme-fashion .btn-primary:hover,
body.theme-fashion .add-to-cart-btn:hover {
    background: #1583C2 !important;
    border-color: #1583C2 !important;
}

body.theme-fashion .sale-label { background: #1583C2; }
body.theme-fashion .nav-pills .nav-link.active,
body.theme-fashion .nav-tabs .nav-link.active { color: #1583C2 !important; border-bottom-color: #1583C2; }
body.theme-fashion a:hover { color: #1583C2; }


/* ══════════════════════════════════════════════════════════════ */
/* PERSISTENT OVERRIDES — survives every admin save        */
/* Generated from brand colors via adjustBrightness                */
/* ══════════════════════════════════════════════════════════════ */

/* Buy buttons — darker brand variant for readability */
a.add-to-cart-btn, a.card-buy-btn,
.fruite-item a.add-to-cart-btn, .fruite-item a.btn.add-to-cart-btn,
.fruite-item .btn.add-to-cart-btn, .btn.add-to-cart-btn, .card-buy-btn {
    background: #004281 !important;
    background-color: #004281 !important;
    color: #fff !important;
    border: 1px solid #004281 !important;
    border-color: #004281 !important;
    box-shadow: 0 3px 10px rgba(0, 66, 129, 0.35) !important;
}
a.add-to-cart-btn:hover, a.card-buy-btn:hover,
.fruite-item a.add-to-cart-btn:hover, .fruite-item a.btn.add-to-cart-btn:hover,
.fruite-item .btn.add-to-cart-btn:hover, .btn.add-to-cart-btn:hover, .card-buy-btn:hover {
    background: #002463 !important;
    background-color: #002463 !important;
    color: #fff !important;
    border-color: #002463 !important;
    box-shadow: 0 6px 18px rgba(0, 36, 99, 0.45) !important;
}
a.add-to-cart-btn i, a.card-buy-btn i, .btn.add-to-cart-btn i,
a.add-to-cart-btn i.text-primary, .btn.add-to-cart-btn i.text-primary,
a.add-to-cart-btn i.fa, .btn.add-to-cart-btn i.fa {
    color: #fff !important;
}

/* Price — darker brand shade, readable on pastel footer */
.price-now, .fruite-item .price-now, .card-price-footer .price-now {
    color: #00104f !important;
}

/* Product title — deep mauve, elegant */
.fruite-item .product-card-title,
.fruite-item .product-card-title a {
    color: #000036 !important;
}
.fruite-item:hover .product-card-title,
.fruite-item:hover .product-card-title a,
.fruite-item:hover h4 {
    color: #004281 !important;
}

/* ══════════════════════════════════════════════════════ */
/* Equal-height product cards — prevents uneven grid       */
/* ══════════════════════════════════════════════════════ */
.row > [class*=col-] {
    display: flex !important;
    flex-direction: column !important;
}
.fruite-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.card-content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}
/* Title — STRICTLY 1 line with ellipsis (no wrap) */
.fruite-item .product-card-title,
.fruite-item h4.product-card-title {
    min-height: 1.5em !important;
    max-height: 1.5em !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    cursor: help;
}
.fruite-item .product-card-title a {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: bottom !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* MOBILE-SECTION-TIGHTENING — compact mobile layout             */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
    /* 1. Reduce py-5 (48px/48px) and py-4 (24px/24px) to tighter mobile spacing */
    .container-fluid.py-5,
    section.py-5,
    div.py-5 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    .container-fluid.py-4,
    div.py-4 {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
    
    /* 2. Reduce my-5 (48/48 margin) to my-2 */
    .container-fluid.my-5,
    div.my-5,
    .my-5 {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }
    .mt-5 { margin-top: 16px !important; }
    .mb-5 { margin-bottom: 16px !important; }
    
    /* 3. Hide the gray placeholder banner (bg-secondary with no content) */
    .container-fluid.banner.bg-secondary {
        display: none !important;
    }
    
    /* 4. Hide testimonial section if empty (no child content beyond whitespace) */
    .container-fluid.testimonial:not(:has(.owl-carousel-item, .testimonial-item, .card, img)) {
        display: none !important;
    }
    /* Fallback for browsers without :has() — use small height as a heuristic */
    @supports not selector(:has(*)) {
        .container-fluid.testimonial.py-5 {
            min-height: 0;
            padding: 0 !important;
        }
    }
    
    /* 5. Hide empty container-fluid py-5 (only padding, no meaningful content) */
    .container-fluid.py-5:empty,
    .container-fluid.py-5:not(:has(h1, h2, h3, h4, h5, h6, .row, img, button, p, a, .card, .owl-carousel)) {
        display: none !important;
    }
    
    /* 6. Footer: reduce mt-5 and pt-5 */
    footer.mz-footer,
    footer.mz-footer.mt-5 {
        margin-top: 16px !important;
        padding-top: 24px !important;
    }
    
    /* 7. Reduce gap after hero — tighter transition to first content */
    #bannerSliderSection + div.container-fluid,
    #bannerSliderSection + section {
        padding-top: 16px !important;
    }
    
    /* 8. Section headers inside fruite/vesitable — reduce bottom margin */
    .fruite .row.g-4.mb-4,
    .vesitable .row.g-4.mb-4 {
        margin-bottom: 12px !important;
    }
    
    /* 9. Recently viewed section — already py-4 handled above; tighten further if only 1-2 items */
    #recentlyViewedSection {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    
    /* 10. Container padding for tighter side margins */
    .container-fluid.fruite,
    .container-fluid.vesitable,
    .container-fluid.py-5 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* 11. Product cards: tighter row gap */
    .row.g-4 { --bs-gutter-x: 0.75rem; --bs-gutter-y: 0.75rem; }
    
    /* 12. Section titles — reduce bottom spacing */
    .fruite h1, .vesitable h1, .py-5 h1 {
        margin-bottom: 8px !important;
    }
    .fruite p.mb-0, .vesitable p.mb-0 {
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/* PRODUCT-PAGE-TIGHTENING — fix gap under header (mobile)       */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    /* Header is sticky on mobile (takes flow space) — breadcrumb
       should NOT compensate with extra 100px margin-top */
    .breadcrumb-wrap {
        margin-top: 0 !important;
        padding-top: 8px !important;
        padding-bottom: 4px !important;
    }
    
    /* Breadcrumb bar itself tighter */
    .breadcrumb-wrap .breadcrumb {
        margin-bottom: 0 !important;
        font-size: 12px !important;
    }
    
    /* First container after breadcrumb — remove excess top padding */
    .breadcrumb-wrap + .container-fluid.py-4,
    .breadcrumb-wrap + .container-fluid.py-5 {
        padding-top: 8px !important;
    }
    
    /* Main product image/content — tighter spacing */
    .container-fluid.py-4 .container.py-2 {
        padding-top: 4px !important;
    }
    
    /* Product image column — remove top margin if any */
    .container-fluid.py-4 .row > .col-lg-6:first-child,
    .container-fluid.py-4 .row > .col-md-6:first-child,
    .container-fluid.py-4 .row > [class*=col-]:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/* PRODUCT-CTA-DARK-BUTTONS — darker text + border on product    */
/* detail CTAs (Add to cart / Quick order / Wishlist heart)      */
/* ═══════════════════════════════════════════════════════════ */

/* PRODUCT-CTA-HOVER-FX — elegant fill + lift on hover */

/* Base: outlined style in dark dusty rose */
.pd-add-btn, #addToCartDetailBtn,
.quick-order-btn, #quickOrderDetailBtn {
    color: #1583c2 !important;
    border: 2px solid #1583c2 !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden !important;
    transition: color 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease !important;
    z-index: 0;
}

/* Sliding fill — pseudo-element that expands from left to right */
.pd-add-btn::before, #addToCartDetailBtn::before,
.quick-order-btn::before, #quickOrderDetailBtn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #1583c2 0%, #0065a4 100%);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover: fill expands, text + icon → white, lift + shadow */
.pd-add-btn:hover, #addToCartDetailBtn:hover,
.quick-order-btn:hover, #quickOrderDetailBtn:hover {
    color: #fff !important;
    border-color: #0065a4 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(21, 131, 194, 0.35),
                0 2px 4px rgba(148, 93, 93, 0.25) !important;
}
.pd-add-btn:hover::before, #addToCartDetailBtn:hover::before,
.quick-order-btn:hover::before, #quickOrderDetailBtn:hover::before {
    width: 100%;
}

/* Active/click: tiny press */
.pd-add-btn:active, #addToCartDetailBtn:active,
.quick-order-btn:active, #quickOrderDetailBtn:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 6px rgba(21, 131, 194, 0.25) !important;
}

/* Icons */
.pd-add-btn i, #addToCartDetailBtn i,
.pd-add-btn i.fa, .pd-add-btn i.text-primary,
.quick-order-btn i, #quickOrderDetailBtn i {
    color: #1583c2 !important;
    transition: color 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.pd-add-btn:hover i, #addToCartDetailBtn:hover i { color: #fff !important; }
.quick-order-btn:hover i, #quickOrderDetailBtn:hover i {
    color: #fff !important;
    animation: bolt-flash 0.6s ease-in-out;
}
@keyframes bolt-flash {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.25) rotate(-8deg); }
    60% { transform: scale(1.1) rotate(4deg); }
}

/* Shopping bag icon — little bump */
.pd-add-btn:hover i.fa-shopping-bag, #addToCartDetailBtn:hover i.fa-shopping-bag {
    animation: bag-bounce 0.5s ease-in-out;
}
@keyframes bag-bounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px) rotate(-5deg); }
    70% { transform: translateY(-1px) rotate(3deg); }
}

/* ═══ Wishlist heart button ═══ */
.wishlist-btn, .pd-wishlist-btn, button[class*=wishlist] {
    color: #1583c2 !important;
    border: 2px solid #1583c2 !important;
    background: transparent !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.wishlist-btn i, .pd-wishlist-btn i, button[class*=wishlist] i {
    color: #1583c2 !important;
    transition: all 0.3s ease !important;
}
.wishlist-btn:hover, .pd-wishlist-btn:hover, button[class*=wishlist]:hover {
    background: #1583c2 !important;
    border-color: #0065a4 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 18px rgba(21, 131, 194, 0.4) !important;
}
.wishlist-btn:hover i, .pd-wishlist-btn:hover i {
    color: #fff !important;
    animation: heart-beat 0.7s ease-in-out;
}
@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.35); }
    40% { transform: scale(0.95); }
    60% { transform: scale(1.2); }
    80% { transform: scale(0.98); }
}


/* Cross-sell section: Често купувани заедно */
#crossSellTotal strong,
#crossSellTotal span {
    color: #0c3e5e !important;
}

#crossSellTotal button,
#crossSellTotal .btn {
    color: #1583c2 !important;
    border: 2px solid #1583c2 !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden !important;
    transition: color 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease !important;
    z-index: 0;
}
#crossSellTotal button::before,
#crossSellTotal .btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #1583c2 0%, #0065a4 100%);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#crossSellTotal button:hover,
#crossSellTotal .btn:hover {
    color: #fff !important;
    border-color: #0065a4 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(21, 131, 194, 0.35),
                0 2px 4px rgba(148, 93, 93, 0.25) !important;
}
#crossSellTotal button:hover::before,
#crossSellTotal .btn:hover::before {
    width: 100%;
}
#crossSellTotal button i,
#crossSellTotal .btn i {
    color: #1583c2 !important;
    transition: color 0.35s ease, transform 0.3s ease !important;
}
#crossSellTotal button:hover i,
#crossSellTotal .btn:hover i {
    color: #fff !important;
    animation: bag-bounce 0.5s ease-in-out;
}
#crossSellTotal button:active,
#crossSellTotal .btn:active {
    transform: translateY(0) scale(0.98) !important;
}

/* CROSSSELL-BTN-HOVER marker */
/* ═══════════════════════════════════════════════════════════ */
/* BRAND-TITLE-PD — product title + related section in elegant   */
/* dusty rose Marck Script (matches section titles)              */
/* ═══════════════════════════════════════════════════════════ */


/* RECOMMENDED-SECTION-COLORS — brand text color for titles + prices */
/* Target h4 Препоръчани продукти next to #featuredProducts */
#featuredProducts ~ h4,
h4.mb-4:has(+ #featuredProducts),
.col-lg-12 > h4.mb-4 {
    color: #2492d1 !important;
}

/* Featured/Препоръчани product item prices */
#featuredProducts h5.price-now,
#featuredProducts .fw-bold.price-now {
    color: #1583c2 !important;
}

/* Also product name link inside featured — already .text-dark black, keep it */

/* PD-DELIVERY-PINK — override delivery info box to brand pink */
.pd-delivery {
    background: #eaf4fb !important;
    color: #00104f !important;
}
.pd-delivery-icon {
    color: #1583c2 !important;
}
.pd-delivery .fa-truck.pd-delivery-icon {
    color: #0065a4 !important;
}
.pd-delivery .fa-clock-o.pd-delivery-icon {
    color: #2492d1 !important;
}

/* Product detail title (h4.pd-title) — ONLY color, keep default font */
h4.pd-title,
.pd-title {
    color: #2492d1 !important;
}

/* Related products + recently viewed section titles — ONLY color */
#inlineRelatedSection h4,
#inlineRelatedSection > h4.fw-bold,
#recentlyViewedSection h4,
#recentlyViewedSection > h4.fw-bold {
    color: #2492d1 !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* RELATED-PRODUCTS-IMG-FIX — equal image heights regardless of  */
/* natural aspect ratio (fix crooked card in inline related)     */
/* ═══════════════════════════════════════════════════════════ */

/* Target image wrapper in related products + any product grid */
/* Target ONLY the inner image wrapper (.border > .position-relative) */
#inlineRelatedProducts .border > .position-relative:first-child {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}
#inlineRelatedProducts .border > .position-relative:first-child > a,
#inlineRelatedProducts .border > .position-relative:first-child > a > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
#inlineRelatedProducts .border > .position-relative:first-child img {
    object-fit: cover !important;
}

/* Also fix equal-height for .fruite-img on main shop grids */
.fruite-item .fruite-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.fruite-item .fruite-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* HEADER-MOBILE-PERFECT — logo centered, no gap to hero         */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    /* Remove navbar padding so logo has room */
    .container-fluid.fixed-top .navbar,
    .navbar.navbar-light.bg-white {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
    
    /* Remove navbar-brand inner padding */
    .navbar-brand {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Logo: 90px + 4px total padding = fits cleanly in 94px, header remains ~95px */
    .navbar-brand img {
        height: 90px !important;
        max-height: 90px !important;
        display: block !important;
        margin: 0 !important;
    }
    
    /* Remove 10px gap between header and hero */
    #bannerSliderSection,
    .container-fluid.px-0#bannerSliderSection,
    div#bannerSliderSection {
        margin-top: 0 !important;
        padding-top: 0 !important; /* убива дупката: JS пада inline padding за fixed хедър, но на мобилно хедърът е sticky (в потока) */
    }
    
    /* Header itself — reduce height to fit logo tightly */
    .container-fluid.fixed-top {
        min-height: 0 !important;
    }
    .container-fluid.fixed-top .container.px-0 {
        min-height: 0 !important;
    }
    
    /* Burger button stays aligned */
    .navbar-toggler {
        padding: 6px 10px !important;
        margin-right: 4px !important;
    }
}

/* Tablet 576-991: logo 95px */
@media (min-width: 577px) and (max-width: 991px) {
    .navbar-brand img {
        height: 95px !important;
        max-height: 95px !important;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/* FOOTER-MOBILE-COMPACT — compact dark footer on mobile         */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
    /* Inner container py-5 (96px padding) — too much */
    .container-fluid.bg-dark.footer > .container.py-5 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* Top row: shop name + newsletter + social — tighter spacing */
    .container-fluid.bg-dark.footer .pb-4.mb-4 {
        padding-bottom: 16px !important;
        margin-bottom: 16px !important;
    }
    
    /* Shop title in footer — smaller */
    .container-fluid.bg-dark.footer h1.text-primary {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    /* Hide newsletter input on mobile (rarely used, big) */
    .container-fluid.bg-dark.footer .col-lg-6 .position-relative.mx-auto {
        display: none !important;
    }
    
    /* Social icons — show but smaller, inline under shop name */
    .container-fluid.bg-dark.footer .col-lg-3:last-child .d-flex {
        padding-top: 8px !important;
        justify-content: flex-start !important;
    }
    .container-fluid.bg-dark.footer .btn-md-square.rounded-circle {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    
    /* Hide Why People Like us section (decorative review section) */
    .container-fluid.bg-dark.footer .row.g-5 > .col-lg-3:first-child {
        display: none !important;
    }
    
    /* 3 remaining link columns: Информация / Акаунт / Контакти — tighter */
    .container-fluid.bg-dark.footer .row.g-5 {
        --bs-gutter-y: 12px;
    }
    .container-fluid.bg-dark.footer .row.g-5 > div {
        margin-bottom: 8px !important;
    }
    
    /* Link column titles — smaller */
    .container-fluid.bg-dark.footer h4.text-light {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    /* Footer links — tighter */
    .container-fluid.bg-dark.footer .btn.btn-link,
    .container-fluid.bg-dark.footer a.btn-link {
        padding: 2px 0 !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    
    /* Payments icons row */
    .container-fluid.bg-dark.footer .pt-4 img {
        max-width: 200px !important;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/* PRODUCT-PAGE-CLEANUP-V2 — hide desktop sidebar + tighten      */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    /* Hide empty sidebar with categories/search — already accessible via main nav */
    .container-fluid.py-4 > .container > .row.g-4 > .col-lg-4.col-xl-3,
    .container-fluid.py-4 .row.g-4 > .col-lg-4 > .row.g-4.fruite {
        display: none !important;
    }
    
    /* Tighten bg-dark footer padding */
    .container-fluid.bg-dark.footer,
    .container-fluid.bg-dark.text-white-50.footer,
    footer.bg-dark {
        padding-top: 24px !important;
        padding-bottom: 16px !important;
        margin-top: 16px !important;
    }
    
    /* Footer columns stack — tighter gaps */
    .container-fluid.bg-dark.footer .col-lg-3,
    .container-fluid.bg-dark.footer .col-lg-4,
    .container-fluid.bg-dark.footer .col-md-6 {
        margin-bottom: 20px !important;
    }
    .container-fluid.bg-dark.footer .col-lg-3:last-child,
    .container-fluid.bg-dark.footer .col-lg-4:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Smaller h4/h5 in footer on mobile */
    .container-fluid.bg-dark.footer h4,
    .container-fluid.bg-dark.footer h5 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    /* Newsletter input tighter */
    .container-fluid.bg-dark.footer .input-group {
        margin-top: 8px !important;
    }
    
    /* Copyright strip tighter */
    .container-fluid.copyright.py-4 {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    
    /* Tabs inside product — reduce padding */
    .container-fluid.py-4 .tab-content {
        padding: 8px !important;
    }
    .container-fluid.py-4 .nav-tabs .nav-link {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    
    /* Inline related products — max 4 items on mobile */
    #inlineRelatedProducts {
        max-height: 900px;
        overflow: hidden;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/* MOBILE-CARD-COMPACT — tighter product cards on mobile         */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
    /* Tighter card inner padding */
    .fruite-item { margin-bottom: 8px !important; }
    .fruite-item .p-2, .fruite-item .p-3, .fruite-item .p-4 {
        padding: 8px !important;
    }
    
    /* Image height — smaller on mobile */
    .fruite-item .fruite-img img,
    .fruite-item img[style*=height] {
        max-height: 160px !important;
        height: 160px !important;
        object-fit: cover !important;
    }
    
    /* Tighter price row */
    .fruite-item .price-now {
        font-size: 16px !important;
    }
    .fruite-item .card-price-footer,
    .fruite-item div[style*=margin] {
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }
    
    /* Compact button */
    .fruite-item .add-to-cart-btn,
    .fruite-item .card-buy-btn,
    .fruite-item .btn {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
    
    /* Category badge — smaller */
    .fruite-item .category-badge {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
    
    /* Stars row — smaller */
    .card-stars-row, .fruite-item .stars {
        font-size: 10px !important;
        margin: 2px 0 !important;
    }
    
    /* Stock badge tighter */
    .fruite-item div[style*=color] {
        margin: 2px 0 !important;
    }
    
    /* Description — 1 line max to save height */
    .fruite-item .card-desc-text,
    .fruite-item p.mb-0 {
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin: 2px 0 !important;
    }
    
    /* Recently viewed — even more compact */
    #recentlyViewedSection .fruite-item img {
        max-height: 100px !important;
        height: 100px !important;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/* BRAND-CUSTOM-CURSOR — dusty rose arrow only (no rings)        */
/* ═══════════════════════════════════════════════════════════ */

body, html, a, button, .btn, [onclick], label, select, .nav-link,
.add-to-cart-btn, .card-buy-btn, .navbar-brand, .banner-dot, .banner-nav,
[role=button], .owl-nav button, .clickable, .product-card-title,
.vesiteam-item-title, .fruite-item, .fruite-item a, .fruite-img,
a:hover, button:hover, .btn:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2228%22 height=%2228%22 viewBox=%220 0 28 28%22><path d=%22M4 2 L4 22 L10 16 L14 25 L17 24 L13 15 L21 15 Z%22 fill=%22%239f7f7f%22 stroke=%22%23ffffff%22 stroke-width=%221.2%22 stroke-linejoin=%22round%22/></svg>') 2 2, default;
}

/* Text inputs keep standard I-beam */
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=search], input[type=number], textarea {
    cursor: text;
}

/* Mobile/touch: default system cursor */
@media (hover: none), (pointer: coarse) {
    body, html, a, button, .btn, [onclick] { cursor: auto; }
}

/* HERO-MAGIC-EFFECTS — elegant hero banner animations           */
/* ═══════════════════════════════════════════════════════════ */

/* Ken Burns — slow zoom + pan on hero image */
.hero-magic .banner-slide img {
    animation: kenBurns 22s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform;
}
@keyframes kenBurns {
    0%   { transform: scale(1.0) translate(0, 0); }
    50%  { transform: scale(1.08) translate(-1.5%, -0.5%); }
    100% { transform: scale(1.12) translate(1.5%, 0.5%); }
}

/* Soft vignette — subtle dark edges for cinematic feel */
.hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(40, 20, 30, 0.22) 100%);
    z-index: 2;
}

/* Light shimmer sweep — cinematic pass of light */
.hero-shimmer {
    position: absolute;
    top: 0;
    left: -50%;
    width: 60%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 230, 230, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 80%
    );
    transform: skewX(-18deg);
    animation: shimmerSweep 9s ease-in-out infinite;
    z-index: 3;
}
@keyframes shimmerSweep {
    0%, 30% { left: -60%; opacity: 0; }
    50%     { opacity: 1; }
    70%     { left: 120%; opacity: 0; }
    100%    { left: 120%; opacity: 0; }
}

/* Floating petals */
.hero-petals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 4;
}
.hero-petals .petal {
    position: absolute;
    top: -8%;
    color: rgba(255, 220, 225, 0.85);
    text-shadow: 0 2px 8px rgba(120, 60, 80, 0.25), 0 0 20px rgba(255, 200, 210, 0.3);
    font-size: 28px;
    user-select: none;
    animation-name: petalFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}
@keyframes petalFall {
    0%   { transform: translate3d(0, -10vh, 0) rotate(0deg);    opacity: 0; }
    10%  { opacity: 0.9; }
    50%  { transform: translate3d(30px, 50vh, 0) rotate(180deg); }
    90%  { opacity: 0.9; }
    100% { transform: translate3d(-20px, 110vh, 0) rotate(360deg); opacity: 0; }
}
/* Vary each petal: start position, speed, delay, size, color */
.hero-petals .p1  { left:  5%; font-size: 24px; animation-duration: 14s; animation-delay: 0s;    color: rgba(255, 210, 220, 0.85); }
.hero-petals .p2  { left: 14%; font-size: 18px; animation-duration: 19s; animation-delay: 2s;    color: rgba(255, 230, 235, 0.75); }
.hero-petals .p3  { left: 24%; font-size: 30px; animation-duration: 16s; animation-delay: 4s;    color: rgba(255, 195, 210, 0.90); }
.hero-petals .p4  { left: 33%; font-size: 20px; animation-duration: 21s; animation-delay: 1s;    color: rgba(255, 220, 225, 0.80); }
.hero-petals .p5  { left: 42%; font-size: 26px; animation-duration: 17s; animation-delay: 6s;    color: rgba(255, 240, 240, 0.70); }
.hero-petals .p6  { left: 54%; font-size: 22px; animation-duration: 15s; animation-delay: 3s;    color: rgba(255, 210, 220, 0.85); }
.hero-petals .p7  { left: 64%; font-size: 28px; animation-duration: 20s; animation-delay: 5s;    color: rgba(255, 225, 230, 0.80); }
.hero-petals .p8  { left: 74%; font-size: 18px; animation-duration: 23s; animation-delay: 0.5s;  color: rgba(255, 200, 215, 0.90); }
.hero-petals .p9  { left: 84%; font-size: 24px; animation-duration: 18s; animation-delay: 7s;    color: rgba(255, 215, 225, 0.80); }
.hero-petals .p10 { left: 93%; font-size: 20px; animation-duration: 22s; animation-delay: 2.5s;  color: rgba(255, 230, 235, 0.75); }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-magic .banner-slide img,
    .hero-shimmer,
    .hero-petals .petal {
        animation: none !important;
    }
}

/* VESITEAM-TITLE-HIGH-SPECIFICITY — beats style.css .vesiteam-item .p-3 > div:first-child */
.vesiteam-item .p-3 .vesiteam-item-title,
.vesiteam-item .p-3 .vesiteam-item-title a,
.vesiteam-item .p-3 > div.vesiteam-item-title,
.vesiteam-item .p-3 > div.vesiteam-item-title a,
.vesiteam-item .p-3 > div:first-child.vesiteam-item-title,
.vesiteam-item .p-3 > div:first-child.vesiteam-item-title a {
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px !important;
    color: #00104f !important;
}

/* Also boost bestsellers h6 specificity */
#bestsellersContainer .fruite-item h6.product-card-title,
#bestsellersContainer .fruite-item .p-2 h6,
#bestsellersContainer h6.product-card-title {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #00104f !important;
}

/* VESITEAM TITLE DEFAULT — elegant size at all breakpoints */
.vesiteam-item-title {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #00104f !important;
    line-height: 1.35 !important;
}
.vesiteam-item-title a {
    color: inherit !important;
    text-decoration: none !important;
}
@media (min-width: 768px) {
    .vesiteam-item-title { font-size: 16px !important; }
}

/* ── Carousel card title (vesiteam-item) — 1 line + tooltip + marquee ── */
.vesiteam-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.vesiteam-item .p-3,
.vesiteam-item > div:last-child {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}
.vesiteam-item .p-3 > .d-flex:last-child {
    margin-top: auto !important;
}
.vesiteam-item-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    cursor: help;
    position: relative;
}
.vesiteam-item-title a {
    display: inline-block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: bottom !important;
}
/* Marquee on hover — slides text if it overflows */
.vesiteam-item:hover .vesiteam-item-title a,
.fruite-item:hover .product-card-title a {
    animation: title-marquee 8s ease-in-out;
}
@keyframes title-marquee {
    0%, 15% { transform: translateX(0); }
    50%, 60% { transform: translateX(calc(-100% + 150px)); }
    90%, 100% { transform: translateX(0); }
}
/* Description — strictly 2 lines, truncate */
.card-desc-text {
    min-height: 2.8em !important;
    max-height: 2.8em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ==== KG Mobile: Clean 2-line description clamp (no half-row cutoff) ==== */
.card-desc-wrap {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 0 !important;
    max-height: 2.8em !important;
    line-height: 1.4 !important;
}
@media (max-width: 576px) {
    .card-desc-wrap {
        font-size: 11.5px !important;
        max-height: 2.8em !important;
        -webkit-line-clamp: 2 !important;
    }
    /* Shorten the title-wrap constraint on mobile too (was causing pushes) */
    .card-title-wrap {
        min-height: 1.4em !important;
        max-height: 1.4em !important;
        -webkit-line-clamp: 1 !important;
    }
}

/* Footer always sticks to bottom */
.card-price-footer {
    margin-top: auto !important;
}

/* ══════════════════════════════════════════════════════ */
/* Equal-height owl-carousel items                         */
/* ══════════════════════════════════════════════════════ */
.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}
.owl-carousel .owl-item {
    display: flex !important;
    height: auto !important;
    flex-shrink: 0 !important;
}
.owl-carousel .owl-item > div {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.owl-carousel .owl-item .fruite-item,
.owl-carousel .owl-item > div > div.fruite-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ══════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════ */
/* MOBILE HEADER FIX — responsive logo + banner + spacing  */
/* ══════════════════════════════════════════════════════ */

/* Tablet & mobile: reasonable logo, banner, and no negative top */
@media (max-width: 991px) {
    .container-fluid.fixed-top {
        top: 0 !important;
        position: sticky !important;
    }
    .navbar-brand img {
        height: 95px !important;
        max-height: 95px !important;
        width: auto !important;
    }
    .banner-slider {
        height: 280px !important;
        max-height: 45vh !important;
    }
    .banner-slide img {
        object-fit: cover !important;
        object-position: center !important;
    }
    /* Hero and section spacing */
    #bannerSliderSection { margin-top: 10px; }
    .container-fluid.vesitable,
    .container-fluid.fruite,
    .container-fluid.banner {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    /* H1 headings — slightly smaller on mobile for Marck Script */
    .vesitable h1,
    .fruite h1,
    #bestsellersContainer + h1 {
        font-size: 2.5rem !important;
    }
    /* banner-mobile-fix — Orchid banner responsive on mobile */
    .container-fluid.banner.bg-secondary {
        min-height: 200px !important;
        max-height: 240px !important;
        background-position: 100% center !important;
        background-size: auto 100% !important;
        background-repeat: no-repeat !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }
    .container-fluid.banner.bg-secondary > .container {
        min-height: 200px !important;
    }
    /* Navbar padding — more breathing room */
    .navbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* Small phones */
@media (max-width: 576px) {
    /* ═══ MOBILE PRODUCT TITLE ELEGANT ═══ */
    .fruite-item .product-card-title,
    .fruite-item h4.product-card-title,
    .fruite-item h4,
    .fruite-item h4 a,
    .vesiteam-item-title,
    .vesiteam-item h4,
    .fruite-item h6.product-card-title,
    .fruite-item h6 {
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.2px !important;
        margin-bottom: 4px !important;
    }
    .fruite-item .card-desc-text,
    .fruite-item p,
    .vesiteam-item p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    .card-stars-row,
    .product-rating {
        font-size: 10px !important;
    }
    .price-now {
        font-size: 15px !important;
        font-weight: 700 !important;
    }
    .card-price {
        font-size: 14px !important;
    }
    /* Remove aggressive bolding on all card internals */
    .fruite-item .fs-5,
    .fruite-item .fw-bold,
    .fruite-item span[style*=font-weight] {
        font-size: 14px !important;
        font-weight: 400 !important;
    }
    /* Also target bestsellers and price blocks */
    .fruite-item h6,
    .fruite-item .price-now,
    #bestsellersContainer h6,
    #bestsellersContainer .price-now {
        font-weight: 400 !important;
    }

    .navbar-brand img {
        height: 90px !important;
        max-height: 90px !important;
    }
    .banner-slider {
        height: 220px !important;
        max-height: 35vh !important;
    }
    .vesitable h1,
    .fruite h1 {
        font-size: 2rem !important;
    }
    /* Navbar menu button on right, logo on left */
    .navbar > .navbar-brand { margin-right: auto; }
}

/* Navbar elegant font — same Marck Script as headings     */
/* ══════════════════════════════════════════════════════ */
.navbar-nav .nav-link,
.navbar .nav-link {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px;
}

/* ═══ Header action icons — labeled (Redex) ═══ */
.btn-search,
.header-wishlist-btn,
.header-cart-btn,
.user-auth-link > a,
.mz-icon-btn {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 4px 9px !important;
    margin: 0 1px !important;
    position: relative !important;
    color: #2b4458 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: color .18s ease;
}
.btn-search i,
.header-wishlist-btn i,
.header-cart-btn i,
.user-auth-link > a i,
.mz-icon-btn i {
    font-size: 22px !important;
    line-height: 1 !important;
    color: inherit !important;
    margin: 0 !important;
    order: 0;
}
.btn-search:hover,
.header-wishlist-btn:hover,
.header-cart-btn:hover,
.user-auth-link > a:hover,
.mz-icon-btn:hover { color: var(--primary-color) !important; background: transparent !important; transform: none !important; }
.btn-search:hover i,
.header-wishlist-btn:hover i,
.header-cart-btn:hover i,
.user-auth-link > a:hover i,
.mz-icon-btn:hover i { color: var(--primary-color) !important; }
.btn-search::after,
.header-wishlist-btn::after,
.header-cart-btn::after,
.user-auth-link > a::after,
.mz-icon-btn::after {
    font-family: 'Inter','Segoe UI',system-ui,sans-serif;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .2px;
    color: inherit;
    white-space: nowrap;
    line-height: 1;
    order: 2;
}
.btn-search::after { content: 'Търсене'; }
.header-wishlist-btn::after { content: 'Любими'; }
.header-cart-btn::after { content: 'Количка'; }
.user-auth-link > a::after { content: 'Профил'; }
.mz-icon-btn[onclick*='earch']::after { content: 'Търсене'; }
.mz-icon-btn[href*='wishlist']::after { content: 'Любими'; }
.mz-icon-btn[href*='cart']::after { content: 'Количка'; }
.mz-icon-btn[href*='login']::after,
.mz-icon-btn[href*='profile']::after { content: 'Профил'; }
.cart-badge, .wishlist-count, .mz-hdr-badge,
.header-cart-count, .header-wishlist-count {
    box-sizing: border-box !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    font-family: 'Inter','Segoe UI',sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-radius: 9px !important;
    border: 2px solid #fff !important;
    position: absolute !important;
    top: -4px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(2px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    z-index: 3 !important;
}
.cart-badge[data-count='0'], .wishlist-count[data-count='0'],
.mz-hdr-badge[data-count='0'], .header-cart-count[data-count='0'],
.header-wishlist-count[data-count='0'],
[data-count='0'] { display: none !important; }


/* Rating stars — always gold, regardless of brand palette */
.card-stars-row i,
.product-rating i,
.fruite-item .card-stars-row i,
.fruite-item .product-rating i {
    color: #ffc107 !important;
}

/* ═══ Redex professional product cards (v3) — category label off image ═══ */
.redex-cat-label{font:700 10px/1 'Inter','Segoe UI',sans-serif;letter-spacing:.7px;text-transform:uppercase;color:var(--primary-color,#1583C2);margin-bottom:7px;}
.fruite-item{border-radius:16px !important;border:1px solid #eaeef3 !important;box-shadow:0 1px 3px rgba(16,40,64,.05) !important;}
.fruite-item:hover{box-shadow:0 18px 42px rgba(12,62,94,.13) !important;transform:translateY(-6px) !important;}
.fruite-item .fruite-img{background:#fff !important;padding:16px !important;}
.fruite-item .fruite-img img{object-fit:contain !important;}
/* soft white fade at bottom — hides baked-in retailer logo on product photos */
.fruite-item .card-content{padding:16px 16px 0 !important;}
.fruite-item .card-price-footer{background:#fff !important;border-top:1px solid #eef1f5 !important;padding:14px 16px !important;}
.fruite-item .price-now{color:var(--secondary-color,#0C3E5E) !important;font-weight:800 !important;}
.fruite-item .price-unit{color:#9aa7b4 !important;}
.fruite-item .card-desc-text{color:#8a98a6 !important;}
.fruite-item .card-buy-btn{background:var(--primary-color,#1583C2) !important;border-radius:10px !important;box-shadow:none !important;}
.fruite-item .card-buy-btn:hover{background:var(--secondary-color,#0C3E5E) !important;box-shadow:0 6px 16px rgba(12,62,94,.25) !important;transform:translateY(-2px) !important;}

/* ═══ Buy button — „вода" blue + glossy sheen effect ═══ */
a.card-buy-btn.add-to-cart-btn, .fruite-item a.card-buy-btn, .card-buy-btn{
  position:relative !important; overflow:hidden !important; border:none !important;
  background:linear-gradient(135deg,#2bb6ee 0%,#0093d4 58%,#0086c4 100%) !important;
  border-radius:10px !important;
  box-shadow:0 4px 14px rgba(0,147,212,.30) !important;
  transition:box-shadow .25s ease,transform .2s ease,filter .25s ease,background .25s ease !important;
}
a.card-buy-btn.add-to-cart-btn:hover, .fruite-item a.card-buy-btn:hover, .card-buy-btn:hover{
  background:linear-gradient(135deg,#3cc2f4 0%,#00a0e2 58%,#0092d2 100%) !important;
  box-shadow:0 9px 24px rgba(0,147,212,.45) !important;
  transform:translateY(-2px) !important; filter:saturate(1.06);
}
.card-buy-btn:active{transform:translateY(0) scale(.98) !important;}
/* water glint sweeping across on hover */
.card-buy-btn::before{content:'';position:absolute;top:0;left:-130%;width:55%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  transform:skewX(-18deg);pointer-events:none;z-index:2;
  transition:left .6s cubic-bezier(.22,.61,.36,1);}
.card-buy-btn:hover::before{left:150%;}

/* ═══ Sticky header shrink on scroll (Redex) ═══ */
.container-fluid.fixed-top{transition:box-shadow .28s ease, background .28s ease !important;}
.container-fluid.fixed-top .navbar{transition:padding-top .28s ease, padding-bottom .28s ease;}
.container-fluid.fixed-top .navbar-brand img{transition:height .28s ease;}
.container-fluid.fixed-top.redex-hdr-shrink{box-shadow:0 4px 18px rgba(12,62,94,.14) !important;background:rgba(255,255,255,.97);}
.container-fluid.fixed-top.redex-hdr-shrink .navbar{padding-top:1px !important;padding-bottom:1px !important;}
.container-fluid.fixed-top.redex-hdr-shrink .navbar-brand img{height:40px !important;}

/* ═══ Header shrink — also compact the icon area (m-3 margin held the height) ═══ */
.container-fluid.fixed-top .navbar .d-flex.m-3{transition:margin-top .28s ease, margin-bottom .28s ease;}
.container-fluid.fixed-top.redex-hdr-shrink .navbar .d-flex.m-3{margin-top:.3rem !important;margin-bottom:.3rem !important;}
.container-fluid.fixed-top.redex-hdr-shrink .navbar-nav .nav-link{padding-top:.35rem !important;padding-bottom:.35rem !important;}
.container-fluid.fixed-top .btn-search i,.container-fluid.fixed-top .header-wishlist-btn i,.container-fluid.fixed-top .header-cart-btn i,.container-fluid.fixed-top .user-auth-link>a i,.container-fluid.fixed-top .mz-icon-btn i{transition:font-size .28s ease;}
.container-fluid.fixed-top.redex-hdr-shrink .btn-search i,.container-fluid.fixed-top.redex-hdr-shrink .header-wishlist-btn i,.container-fluid.fixed-top.redex-hdr-shrink .header-cart-btn i,.container-fluid.fixed-top.redex-hdr-shrink .user-auth-link>a i,.container-fluid.fixed-top.redex-hdr-shrink .mz-icon-btn i{font-size:19px !important;}

/* ═══ THE height holder: style.css sets .navbar{height:100px}. Override on scroll. ═══ */
.container-fluid.fixed-top .navbar{transition:height .28s ease, padding-top .28s ease, padding-bottom .28s ease !important;}
.container-fluid.fixed-top.redex-hdr-shrink .navbar{height:64px !important;}

/* ═══ Detail page main image — fade bottom to hide baked-in retailer logo ═══ */
#productImageWrapper{position:relative;}

/* ═══ Header logo — compact & balanced (overrides inline + all earlier rules) ═══ */
.navbar-brand img{height:46px !important;max-height:46px !important;width:auto !important;}
@media (min-width:992px){
  .container .navbar{height:auto !important;min-height:64px !important;padding-top:6px !important;padding-bottom:6px !important;}
  .navbar-brand img{height:46px !important;max-height:46px !important;}
}
@media (max-width:991px){
  .navbar-brand img{height:42px !important;max-height:42px !important;}
}
.container-fluid.fixed-top.redex-hdr-shrink .navbar-brand img{height:36px !important;max-height:36px !important;}

/* ═══ Inner-page hero: show FULL banner (no crop), no text overlay ═══ */
body .container-fluid.page-header,
body .container-fluid.page-header.py-5{
  padding:0 !important;
  min-height:0 !important;
  aspect-ratio:1920 / 387;
  background:url(../img/hero-inner.webp?v=hq2) center center / cover no-repeat !important;
}
body .container-fluid.page-header > *{ display:none !important; }

/* ═══ RADEX design polish (footer depth, focus states, micro-interactions) ═══ */
footer.mz-footer{background:linear-gradient(150deg,#1583C2 0%,#0e5f93 45%,#0C3E5E 100%) !important;}
footer.mz-footer a{transition:color .18s,transform .18s;}
footer.mz-footer a:hover{color:#fff !important;transform:translateX(3px);}
.back-to-top{background:#1583C2 !important;color:#fff !important;border-radius:50% !important;box-shadow:0 6px 18px rgba(21,131,194,.35) !important;transition:transform .2s,box-shadow .2s !important;}
.back-to-top:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(21,131,194,.45) !important;}
::selection{background:#1583C2;color:#fff;}
.form-control:focus,.form-select:focus{border-color:#1583C2 !important;box-shadow:0 0 0 .2rem rgba(21,131,194,.15) !important;}
.breadcrumb-item a{color:#1583C2;text-decoration:none;}
.breadcrumb-item a:hover{color:#0C3E5E;text-decoration:underline;}
@media (min-width:992px){
  .navbar .navbar-nav .nav-link{position:relative;}
  .navbar .navbar-nav .nav-link::before{content:'';position:absolute;left:50%;bottom:6px;width:0;height:2px;background:#0093D4;transition:width .22s,left .22s;border-radius:2px;}
  .navbar .navbar-nav .nav-link:hover::before,.navbar .navbar-nav .nav-link.active::before{width:60%;left:20%;}
}
a:focus-visible,button:focus-visible{outline:2px solid #0093D4;outline-offset:2px;}

/* ═══ "Може да ви хареса също" — компактни карти в стила на основните ═══ */
.rx-rel-card{background:#fff;border:1px solid #e3edf5;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .22s,transform .22s,border-color .22s;}
.rx-rel-card:hover{box-shadow:0 10px 26px rgba(12,62,94,.12);transform:translateY(-3px);border-color:#cfe4f3;}
.rx-rel-img{position:relative;display:block;background:#fff;height:150px;flex-shrink:0;}
.rx-rel-img img{width:100%;height:100%;object-fit:contain;padding:10px;}
.rx-rel-promo{position:absolute;top:8px;right:8px;background:#e63946;color:#fff;font-size:10px;font-weight:700;padding:2px 8px;border-radius:20px;z-index:2;}
.rx-rel-body{padding:10px 12px 12px;display:flex;flex-direction:column;flex:1;}
.rx-rel-cat{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#1583C2;margin-bottom:3px;}
.rx-rel-title{font-size:13.5px;font-weight:600;color:#0C3E5E;text-decoration:none;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;margin-bottom:4px;}
.rx-rel-title:hover{color:#1583C2;}
.rx-rel-meta{font-size:11px;color:#8a98a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px;}
.rx-rel-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;}
.rx-rel-price{font-size:14.5px;font-weight:700;color:#00104f;line-height:1.2;}
.rx-rel-price span{font-size:10.5px;color:#8a98a6;font-weight:500;}
.rx-rel-price del{font-size:11px;color:#b0b8c0;font-weight:500;}
.rx-rel-buy{width:34px;height:34px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#2bb6ee,#0093d4);color:#fff !important;font-size:13px;text-decoration:none;box-shadow:0 4px 12px rgba(0,147,212,.3);transition:transform .18s,box-shadow .18s;}
.rx-rel-buy:hover{transform:translateY(-2px) scale(1.06);box-shadow:0 7px 16px rgba(0,147,212,.4);}

/* ═══ "Наскоро разглеждани" — мини карти в стила на сайта ═══ */
.rx-rv-card{display:flex;flex-direction:column;width:118px;flex-shrink:0;background:#fff;border:1px solid #e3edf5;border-radius:10px;padding:8px 8px 10px;text-decoration:none;transition:box-shadow .2s,transform .2s,border-color .2s;}
.rx-rv-card:hover{box-shadow:0 8px 20px rgba(12,62,94,.12);transform:translateY(-2px);border-color:#cfe4f3;}
.rx-rv-img{position:relative;display:block;width:100%;height:78px;background:#fff;margin-bottom:6px;}
.rx-rv-img img{width:100%;height:100%;object-fit:contain;}
.rx-rv-name{font-size:11px;font-weight:600;color:#0C3E5E;line-height:1.25;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em;margin-bottom:3px;}
.rx-rv-price{font-size:12px;font-weight:700;color:#1583C2;text-align:center;}

/* ═══ Страница Магазин — карти в общия стил + работещ Купи ═══ */
.rx-shop-card{border:1px solid #e3edf5;border-radius:12px;overflow:hidden;height:100%;display:flex;flex-direction:column;background:#fff;transition:box-shadow .22s,transform .22s,border-color .22s;}
.rx-shop-card:hover{box-shadow:0 12px 28px rgba(12,62,94,.12);transform:translateY(-3px);border-color:#cfe4f3;}
.rx-shop-img{position:relative;overflow:hidden;background:#fff;flex-shrink:0;}
.rx-shop-cat{font-size:10.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#1583C2;margin-bottom:3px;}
.rx-shop-buy{display:inline-flex;align-items:center;gap:6px;padding:7px 18px;border-radius:50px;color:#fff !important;background:linear-gradient(135deg,#2bb6ee,#0093d4);text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap;box-shadow:0 4px 12px rgba(0,147,212,.28);transition:transform .18s,box-shadow .18s;border:none;}
.rx-shop-buy:hover{transform:translateY(-2px);box-shadow:0 7px 16px rgba(0,147,212,.4);}
.rx-shop-buy i{font-size:12px;}
.variant-select{border-color:#dbe7f0 !important;border-radius:8px !important;color:#0C3E5E;}

/* .mz-header (header-loader страници) — лепни при скрол на мобилно (overflow-x:clip вече го позволява) */
@media (max-width:991px){
  body .mz-header{position:sticky !important;top:0 !important;z-index:1000 !important;}
}

/* ═══ Redex cards v4 — energy-class badge + spec chips (design 2) ═══ */
.fruite-item .fruite-img{background:#fff !important;padding:18px !important;border-bottom:1px solid #eef2f6 !important;}
.fruite-item .fruite-img img{object-fit:contain !important;transition:transform .4s ease !important;}
.fruite-item:hover .fruite-img img{transform:scale(1.05) !important;}
.fruite-item{transition:box-shadow .3s ease,transform .3s ease !important;}
.rx-energy{position:absolute;top:10px;left:10px;z-index:4;padding:3px 10px;border-radius:7px;font:700 11px/1.2 'Inter','Segoe UI',sans-serif;color:#fff;letter-spacing:.3px;box-shadow:0 2px 7px rgba(0,0,0,.14);}
.rx-chips{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 2px !important;}
.fruite-item .rx-chips{justify-content:center;}
.rx-chip{background:#eef4fa;color:#3a6e92;font:600 10.5px/1.3 'Inter','Segoe UI',sans-serif;padding:4px 10px;border-radius:20px;white-space:nowrap;}


/* Технически характеристики таблица */
.rx-spec-table{width:100%;border-collapse:collapse;font-size:14px;margin-top:4px;}
.rx-spec-table tr{border-bottom:1px solid #eef1f4;}
.rx-spec-table tr:nth-child(odd){background:#f7fafc;}
.rx-spec-table td{padding:9px 14px;vertical-align:top;line-height:1.4;}
.rx-spec-label{color:#5b6b7a;width:58%;}
.rx-spec-val{font-weight:600;color:#0C3E5E;}
@media(max-width:575px){.rx-spec-table{font-size:13px;}.rx-spec-table td{padding:7px 9px;}}


/* ===== Глобален четим шрифт: Inter (наложен навсякъде) ===== */
:root{
  --bs-body-font-family:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  --body-font:'Inter','Segoe UI',system-ui,sans-serif;
  --heading-font:'Inter','Segoe UI',system-ui,sans-serif;
}
body{
  font-family:'Inter','Segoe UI',system-ui,-apple-system,sans-serif !important;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
h1,h2,h3,h4,h5,h6{font-family:'Inter','Segoe UI',system-ui,-apple-system,sans-serif !important;}
.btn,.form-control,.form-select,.nav-link,input,select,textarea,button,
.card,.breadcrumb,.breadcrumb-item,table,td,th{
  font-family:'Inter','Segoe UI',system-ui,-apple-system,sans-serif !important;
}
