/*
Theme Name: Sofi-Mart Store
Theme URI: http://localhost:8085
Author: r00t
Description: Бърза и модерна WordPress тема за онлайн магазин Sofi-Mart – качествена техника, електроника и стоки за дома.
Version: 3.2.0
Text Domain: sofi-mart
*/

:root {
    /* ========================================================
       SOFI-MART: FESTIVE HOLIDAY COLOR & TYPOGRAPHY SYSTEM
       CHRISTMAS & NEW YEAR EDITION (v3.2)
       Дизайнерска концепция: Festive Holiday Glow
       Шрифт: Montserrat (всички начертания) + Inter fallback
       ======================================================== */
    /* 1.1 Основни празнични цветове */
    --bg-page: #FFF9F6;              /* Warm Snow Glow (Основен празничен фон) */
    --bg-card: #FFFFFF;              /* Pure White (Продуктови карти, хедър, панели) */
    --primary: #C2182B;              /* Festive Crimson / Ruby (Основен празничен червен, contrast 6.15:1) */
    --primary-hover: #9E121E;        /* Deep Burgundy Red (Hover на бутони, contrast 8.27:1) */
    --btn-primary: #C2182B;
    --btn-primary-hover: #9E121E;

    /* 1.2 Празнични и вторични цветове */
    --festive-pine: #15803D;         /* Forest Pine Green (Коледно зелено, contrast 5.5:1) */
    --festive-pine-dark: #166534;    /* Deep Pine Green */
    --festive-pine-light: #DCFCE7;   /* Pine Snow Tint (Фонове на наличност) */
    --festive-gold: #D97706;         /* Holiday Champagne Warm Gold (contrast 4.7:1) */
    --festive-gold-light: #FEF3C7;   /* Soft Champagne Glow */
    --festive-gold-dark: #B45309;    /* Amber Gold */
    --lavender: #9E77B8;             /* Festive Soft Berry Lavender */
    --lavender-light: #F3ECF8;       /* Lavender Light */
    --yellow-sun: #D97706;           /* Sunshine Gold */
    --yellow-soft: #FEF3C7;          /* Soft Gold Tint */
    --peach: #E8A391;                /* Soft Festive Peach */
    --peach-light: #FDF3EF;          /* Warm Snow Mist */

    /* 1.3 Текст и интерфейс */
    --text-main: #271A29;            /* Deep Festive Bordeaux / Plum (contrast 14.8:1) */
    --text-heading: #271A29;         /* Deep Festive Plum */
    --text-muted: #736775;           /* Muted Festive Slate */
    --text-light: #9B8F9C;           /* Light Gray */
    --border-color: #F1E5DF;         /* Soft Warm Border */
    --border-soft: #F1E5DF;
    --stock-color: #15803D;          /* Festive Pine Green */
    --stock-bg: #DCFCE7;
    --badge-sale: #C2182B;           /* Festive Ruby */
    --badge-promo: #D97706;          /* Holiday Gold */

    /* Хедър и Навигация (Light Header) */
    --theme-header: #FFFFFF;
    --theme-nav: #FFFFFF;
    --nav-text: #271A29;
    --nav-active: #C2182B;
    --nav-hover: #9E121E;

    /* Футър */
    --footer-bg: #FFFFFF;            /* Pure White Clean Background */
    --footer-text: #5C4F60;          /* Soft Slate Plum */
    --footer-heading: #271A29;       /* Deep Plum / Bordeaux Heading */
    --footer-link: #40334B;          /* Dark Plum Link */
    --footer-link-hover: #C2182B;    /* Festive Crimson Hover */
    --footer-divider: #F1E5DF;       /* Warm Soft Divider */
    --footer-icon: #C2182B;

    /* Шрифтове (Montserrat & Inter) */
    --font-main: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-price: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

    /* Закръгления */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-card: 18px;
    --radius-modal: 18px;
    --radius-banner: 20px;
    --radius-pill: 999px;

    /* Сенки */
    --shadow-main: 0 6px 24px rgba(39, 26, 41, 0.07);
    --shadow-hover: 0 12px 30px rgba(39, 26, 41, 0.12);
    --shadow-sm: 0 2px 8px rgba(39, 26, 41, 0.05);
    --shadow-md: 0 6px 20px rgba(39, 26, 41, 0.08);

    /* Градиенти и преливки */
    --grad-primary: linear-gradient(135deg, #D42B3A 0%, #C2182B 50%, #9E121E 100%);
    --grad-hero-bg: linear-gradient(135deg, #FFF3F0 0%, #FFF9F6 50%, #F5FBF0 100%);
    --grad-btn-primary: linear-gradient(135deg, #D42B3A 0%, #C2182B 100%);
    --grad-btn-hover: linear-gradient(135deg, #C2182B 0%, #9E121E 100%);
    --grad-badge-hot: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    --grad-festive-ribbon: linear-gradient(90deg, #9E121E 0%, #C2182B 30%, #15803D 70%, #0F5132 100%);
    --grad-rainbow-line: linear-gradient(90deg, #C2182B 0%, #D97706 25%, #15803D 50%, #D97706 75%, #C2182B 100%);
    --grad-footer: #FFFFFF;
}

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

body {
    font-family: var(--font-main);
    font-size-adjust: from-font;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    position: relative;
}

/* Топъл кремав атмосферен празничен фон над #FFF9F6 база */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: #FFF9F6;
    background-image: 
        radial-gradient(ellipse 80% 50% at 15% 10%, rgba(194, 24, 43, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 85% 15%, rgba(21, 128, 61, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(217, 119, 6, 0.03) 0%, transparent 70%),
        linear-gradient(180deg, #FFF9F6 0%, #FFFDFB 35%, #FFF9F6 70%, #FDF4F0 100%);
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateZ(0);
}

/* ========================================================
   FESTIVE HOLIDAY ORNAMENTS (LIGHTWEIGHT & PURE CSS)
   ======================================================== */
.festive-top-ribbon {
    background: linear-gradient(90deg, #9E121E 0%, #C2182B 35%, #15803D 70%, #0F5132 100%);
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 7px 0;
    box-shadow: 0 2px 10px rgba(194, 24, 43, 0.18);
    position: relative;
    z-index: 101;
}
.festive-ribbon-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.festive-ribbon-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.festive-sparkle-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.festive-ribbon-text {
    color: #FFFFFF;
    line-height: 1.3;
}
.festive-ribbon-text strong {
    color: #FEF3C7;
    font-weight: 700;
}
.festive-ribbon-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    background: #FFFFFF;
    color: #9E121E;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.festive-ribbon-cta:hover {
    background: #FEF3C7;
    color: #7A0C16;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
@media (max-width: 640px) {
    .festive-top-ribbon {
        font-size: 0.74rem;
        padding: 6px 0;
    }
    .festive-ribbon-container {
        justify-content: center;
        text-align: center;
    }
    .festive-ribbon-cta {
        display: none;
    }
}

/* Pure CSS Zero-JS Festive Snow Backdrop */
.festive-snow-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    border-radius: var(--radius-banner);
    background-image: 
        radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(5px 5px at 60px 120px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 140px 70px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(4px 4px at 220px 180px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(3px 3px at 300px 90px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(6px 6px at 380px 240px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 450px 140px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(4px 4px at 520px 50px, rgba(255, 255, 255, 0.75), transparent);
    background-size: 550px 550px;
    animation: festiveSnowFall 18s linear infinite;
    opacity: 0.85;
}
@keyframes festiveSnowFall {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 40px 550px, 60px 550px, 20px 550px, 80px 550px, 30px 550px, 70px 550px, 15px 550px, 50px 550px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .festive-snow-backdrop {
        animation: none;
    }
}

/* Montserrat Global Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.015em;
    text-wrap: balance;
}
p {
    text-wrap: pretty;
}
.header-cart-price,
.price-current,
.item-price,
.card-price,
.deal-price-current,
.cart-total-value {
    font-family: var(--font-price);
    font-weight: 800;
}
.site-logo-text,
.btn-primary,
.btn-card-add-cart,
.btn-hero-search,
.banner-cta-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.nav-link {
    font-family: var(--font-main);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Accessibility & SEO utility for screen-readers & crawlers */
.visually-hidden,
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ========================================================
   TOP HEADER BAR: SOFI-MART LIGHT MINIMALIST HEADER
   - Основен фон: #FFFFFF
   - Навигационен текст: #40334B
   - Активен линк: #C2182B
   - Hover линк: #9E121E
   - Икони: #40334B
   - Икона на количката: #C2182B
   - Разделител: #EEE5E0
   ======================================================== */
.site-header {
    position: relative;
    width: 100%;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(64, 51, 75, 0.04);
    overflow: visible;
}
.site-header::after {
    display: none;
}

/* 1. TOP ROW: LOGO, PHONES & CART */
.header-top-row {
    background: #FFFFFF;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.header-top-container {
    max-width: 1560px;
    width: 96%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* BRAND LOGO */
.site-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.18s ease;
}
.site-logo:hover {
    opacity: 0.95;
}
.sofi-mart-logo-img {
    height: 76px;
    width: auto;
    max-width: 320px;
    max-height: 80px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}
.site-logo:hover .sofi-mart-logo-img {
    transform: translateY(-1px);
}
.brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
    margin-top: 2px;
}

/* 2. CENTER: ORDER PHONES */
.header-phone-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
}
.phone-sub-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted); /* #887E87 */
    letter-spacing: 0.3px;
    text-shadow: none;
}
.phone-main-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.18s ease;
}
.phone-main-link:hover {
    transform: scale(1.02);
}
.phone-icons-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.phone-pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(64, 51, 75, 0.12);
    transition: transform 0.15s ease;
}
.phone-pill-icon svg {
    width: 17px;
    height: 17px;
}
.phone-pill-icon.call {
    background: var(--primary); /* Sunset Coral #C2182B */
}
.phone-pill-icon.viber {
    background: var(--lavender); /* Soft Lavender #B9A5E8 */
}
.phone-number-val {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main); /* Dark Plum #40334B */
    text-shadow: none;
    transition: color 0.15s ease;
}
.phone-main-link:hover .phone-number-val {
    color: var(--primary-hover); /* Deep Coral #9E121E */
}

/* 3. RIGHT: CAPSULE CART WIDGET */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-cart-capsule {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: 999px;
    padding: 5px 20px 5px 5px;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(64, 51, 75, 0.04);
}
.header-cart-capsule:hover {
    background: var(--peach-light); /* Peach Light #FCEAE1 */
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(194, 24, 43, 0.18);
    transform: translateY(-1px);
}
.cart-circle-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary); /* Sunset Coral #C2182B */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(194, 24, 43, 0.35);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.cart-circle-icon svg {
    width: 22px;
    height: 22px;
}
.header-cart-capsule:hover .cart-circle-icon {
    transform: scale(1.06);
    background: var(--primary-hover);
}
.cart-pill-data {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}
.cart-pill-qty {
    color: var(--text-main);
    font-weight: 700;
    font-size: 15px;
}
.cart-pill-divider {
    color: var(--border-color);
    font-weight: 300;
}
.cart-pill-price {
    color: var(--primary);
    font-family: var(--font-price);
    font-weight: 700;
    font-size: 16px;
}

/* 4. BOTTOM ROW: NAVIGATION STRIP (CENTERED MENU) */
.header-nav-row {
    background: #FFFFFF;
    border-top: none;
    border-bottom: 1px solid var(--border-color);
}
.header-nav-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0 auto;
    padding: 8px 0;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 10px;
    color: var(--text-main); /* Dark Plum #40334B */
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--font-main);
    text-decoration: none;
    transition: all 0.16s ease;
}
.nav-icon {
    opacity: 0.85;
    color: var(--text-main);
    transition: transform 0.18s ease, color 0.18s ease;
}
.nav-link:hover {
    color: var(--primary-hover); /* Deep Coral #9E121E */
    background: var(--peach-light); /* Peach Light #FCEAE1 */
}
.nav-link:hover .nav-icon {
    color: var(--primary-hover);
    transform: translateY(-1px);
}
.nav-item.active .nav-link {
    color: #ffffff;
    background: var(--primary); /* Sunset Coral #C2182B */
    box-shadow: 0 3px 12px rgba(194, 24, 43, 0.32);
    font-weight: 700;
}
.nav-item.active .nav-link:hover {
    background: var(--primary-hover);
}
.nav-item.active .nav-icon {
    color: #ffffff;
    opacity: 1;
}

/* CART MODAL */
.cart-modal-content {
    max-width: 480px;
}
.cart-empty-state {
    text-align: center;
    padding: 16px 8px;
}
.cart-has-items-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cart-preview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
}
.cart-preview-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    background: #e2e8f0;
}
.cart-preview-info {
    flex: 1;
    min-width: 0;
}
.cart-preview-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-preview-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}
.cart-remove-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.15s;
}
.cart-remove-btn:hover {
    color: #ef4444;
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {
    .site-header {
        position: relative;
    }
    .header-top-row {
        padding: 8px 0 6px 0;
    }
    .header-top-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 6px 8px;
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
    }
    .site-logo {
        order: 1;
        flex-shrink: 0;
    }
    .sofi-mart-logo-img {
        height: 38px;
        max-width: 140px;
    }
    .logo-xmas-hat {
        top: -12px;
        left: 5px;
        width: 36px;
        height: 36px;
    }
    .header-actions {
        order: 2;
        flex-shrink: 0;
    }
    .header-cart-capsule {
        padding: 2px 10px 2px 2px;
        gap: 6px;
        border-width: 1px;
    }
    .cart-circle-icon {
        width: 32px;
        height: 32px;
    }
    .cart-circle-icon svg {
        width: 15px;
        height: 15px;
    }
    .cart-pill-data {
        font-size: 12px;
        gap: 5px;
    }
    .cart-pill-qty {
        font-size: 12px;
    }
    .cart-pill-price {
        font-size: 12.5px;
    }
    .inner-header-bar {
        padding: 8px 0 6px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    .sofi-mart-logo-img {
        max-width: 120px !important;
        height: auto !important;
    }
    .header-phone-center {
        order: 2;
        flex: 1 1 auto;
        width: auto;
        margin: 0 !important;
        padding: 0 !important;
        border-top: none !important;
        display: flex !important;
        justify-content: center !important;
    }
    .phone-sub-title {
        display: none !important;
    }
    .phone-main-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 4px 8px !important;
        background: #fff1f2 !important;
        border: 1px solid rgba(225, 29, 72, 0.2) !important;
        border-radius: 999px !important;
        text-decoration: none !important;
    }
    .phone-number-val {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        color: #be123c !important;
        letter-spacing: 0px !important;
    }
    .phone-pill-icon {
        width: 18px !important;
        height: 18px !important;
    }
    .phone-pill-icon svg {
        width: 10px !important;
        height: 10px !important;
    }
    .header-actions {
        order: 3;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .header-cart-capsule {
        padding: 5px 8px !important;
        min-height: 38px !important;
        border-radius: 999px !important;
    }
    .header-nav-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 3px 0 !important;
        border-top: 1px solid rgba(0,0,0,0.04) !important;
    }
    .header-nav-row::-webkit-scrollbar {
        display: none;
    }
    .header-nav-container {
        padding: 0 10px;
    }
    .main-navigation {
        width: auto;
    }
    .nav-menu {
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 6px;
        padding: 4px 0;
    }
    .nav-link {
        padding: 7px 12px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        min-height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        border-radius: 8px !important;
    }
}

/* HERO SEARCH SECTION */
.hero-search-section {
    background: linear-gradient(135deg, #1c0a15 0%, #2e0e22 55%, #10040c 100%);
    padding: 106px 0 42px 0;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.hero-tagline {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.3px;
}
.hero-search-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 6px;
    display: flex;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 820px;
    margin: 0 auto;
}
.hero-search-box input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 18px;
    font-size: 16px;
    color: #1e293b;
    border-radius: var(--radius-sm);
}
.hero-search-box button {
    background: var(--grad-btn-primary);
    color: #ffffff;
    border: none;
    outline: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-search-box button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* FILTERS BAR */
.filters-bar {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin: -20px auto 25px auto;
    max-width: 1200px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}
.filters-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.filter-select, .filter-input {
    padding: 7px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: #ffffff;
    color: var(--text-main);
    outline: none;
}
.filter-btn {
    background: var(--grad-btn-primary);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(194, 24, 43, 0.25);
}
.filter-btn:hover {
    background: var(--grad-btn-hover);
    box-shadow: 0 4px 12px rgba(194, 24, 43, 0.35);
    transform: translateY(-1px);
}
.filter-btn-reset {
    color: #be123c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    transition: all 0.15s ease;
}
.filter-btn-reset:hover {
    background: #e11d48;
    color: #ffffff;
}

/* MAIN CONTENT */
.main-wrapper {
    padding: 15px 0 60px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e0a16;
}
.items-count {
    font-size: 14px;
    color: var(--text-muted);
}

/* PRODUCT GRID */
.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
@media (max-width: 1200px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (max-width: 860px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 480px) {
    .items-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* WIDESCREEN 5-COLUMN PRODUCT GRID (НАЧАЛНА СТРАНИЦА: 2 РЕДА ПО 5 ПРОДУКТА) */
.home-products-container {
    max-width: 1380px !important;
    width: 92% !important;
    margin: 0 auto !important;
}
.home-5cols-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 18px !important;
}

/* 30% SHADOW НА ПРОДУКТ ГРИД-А В ГЛАВНАТА СТРАНИЦА */
.home-5cols-grid .item-card {
    box-shadow: 0 8px 24px -4px rgba(30, 10, 22, 0.30), 0 3px 8px rgba(0, 0, 0, 0.18) !important;
    border-color: rgba(226, 232, 240, 0.95) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.28s ease !important;
}
.home-5cols-grid .item-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(194, 24, 43, 0.45) !important;
    box-shadow: 0 18px 40px -4px rgba(30, 10, 22, 0.35), 0 8px 20px -2px rgba(194, 24, 43, 0.25) !important;
}
@media (max-width: 1320px) {
    .home-5cols-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 992px) {
    .home-5cols-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}
@media (max-width: 768px) {
    .home-5cols-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}
@media (max-width: 480px) {
    .home-5cols-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .home-5cols-grid .item-card {
        border-radius: 12px !important;
        position: relative !important;
    }
    .home-5cols-grid .card-body {
        padding: 10px 10px 12px 10px !important;
    }
    .home-5cols-grid .card-title {
        font-size: 13px !important;
        min-block-size: 34px !important;
        height: auto !important;
        line-height: 1.35 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .home-5cols-grid .price-current {
        font-size: 16px !important;
    }
    .home-5cols-grid .card-action-bar {
        gap: 6px !important;
        margin-top: 6px !important;
        display: flex !important;
        align-items: stretch !important;
    }
    .home-5cols-grid .btn-card-add-cart {
        padding: 8px 10px !important;
        min-height: 44px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .home-5cols-grid .btn-card-more-details {
        padding: 8px 10px !important;
        min-height: 44px !important;
        min-width: 44px !important;
        font-size: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* ========================================================
   PREMIUM PRODUCT CARD (USER-FRIENDLY TOP UI/UX)
   ======================================================== */
.item-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 14px -2px rgba(30, 10, 22, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.item-card:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 24, 43, 0.35) !important;
    box-shadow: 0 16px 36px -6px rgba(30, 10, 22, 0.12), 0 6px 16px -2px rgba(194, 24, 43, 0.12) !important;
}

/* CARD MEDIA */
.card-media {
    position: relative;
    width: 100%;
    padding-top: 74%;
    background: #fbfdfd;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}
.card-media .media-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.item-card:hover .card-media img {
    transform: scale(1.05);
}

.no-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
    background: #f1f5f9;
}

/* BADGES ON MEDIA */
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--grad-teal-emerald);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
}
.card-badge.badge-hot {
    background: var(--grad-badge-hot);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.38);
    animation: none;
}
.card-discount-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 45%, #ea580c 100%);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(194, 24, 43, 0.35);
}

.item-card.is-hot-card {
    border-color: rgba(245, 158, 11, 0.3);
}
.item-card.is-hot-card:hover {
    border-color: rgba(245, 158, 11, 0.5) !important;
}

/* FLOATING FROSTED QUICK VIEW PILL */
.card-quickview-wrap {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 5;
    pointer-events: none;
}
.item-card:hover .card-quickview-wrap {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.btn-quick-view {
    background: rgba(255, 255, 255, 0.94);
    color: #1e0a16;
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-quick-view:hover {
    background: #ffffff;
    color: #e11d48;
    transform: scale(1.05);
}
.btn-quick-view:hover {
    background: var(--grad-btn-primary);
    color: #ffffff;
    border-color: #10b981;
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* CARD BODY */
.card-body {
    padding: 14px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 8px;
}
.card-main-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* METADATA ROW: CONDITION + STOCK STATUS */
.card-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}
.card-cond-tag {
    font-size: 11px;
    font-weight: 700;
    color: #065f46;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
    border: 1px solid #a7f3d0;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.2px;
    display: inline-block;
    width: fit-content;
}
.card-stock-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #166534;
}
.card-stock-status.status-sold {
    color: #94a3b8;
}
.stock-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulseStockDot 2s infinite ease-in-out;
}
.status-sold .stock-pulse-dot {
    background: #94a3b8;
    animation: none;
}
@keyframes pulseStockDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 2px;
}
.card-title a {
    color: #0f172a;
    transition: color 0.15s;
}
.card-title a:hover {
    color: #e11d48;
}

/* MICRO TRUST ROW */
.card-trust-micro {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 2px;
}
.card-trust-micro .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.card-trust-micro svg {
    color: #10b981;
}
.card-trust-micro .trust-dot {
    color: #cbd5e1;
}

/* SIDE / BOTTOM INFO & PRICING */
.card-side-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

/* PRICING BLOCK */
.card-pricing-block {
    background: linear-gradient(135deg, #fff5f6 0%, #f0fdf4 60%, #fffbeb 100%);
    border: 1px solid rgba(194, 24, 43, 0.18);
    border-left: 3px solid #e11d48;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.item-card:hover .card-pricing-block {
    border-color: rgba(194, 24, 43, 0.38);
    background: linear-gradient(135deg, #fff1f2 0%, #e0f2fe 50%, #fef3c7 100%);
}
.price-main-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
}
.price-current {
    font-size: 18.5px;
    font-weight: 800;
    color: #1e0a16;
    letter-spacing: -0.3px;
    line-height: 1.1;
}
.price-current .currency-symbol {
    font-size: 14px;
    font-weight: 700;
    color: #e11d48;
}
.price-old-val {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}
.price-savings-row {
    font-size: 10.5px;
    font-weight: 700;
    color: #15803d;
    margin-top: 1px;
}

/* 1-CLICK COMMERCIAL ACTIONS BAR */
.card-action-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.btn-card-add-cart {
    flex: 1.6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--grad-btn-primary);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 9px;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.25px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(194, 24, 43, 0.28);
    transition: all 0.18s ease;
    white-space: nowrap;
}
.btn-card-add-cart:hover {
    background: var(--grad-btn-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(194, 24, 43, 0.4);
}
.btn-card-add-cart.btn-added {
    background: var(--grad-emerald-lime) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 184, 67, 0.35);
}
.btn-card-more-details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f8fafc;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.btn-card-more-details:hover {
    background: #C2182B; color: #ffffff; border-color: #C2182B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}
.btn-card-fast-order {
    flex: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #78350f;
    border: 1px solid #fcd34d;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}
.btn-card-fast-order:hover {
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
    color: #451a03;
    border-color: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}
.btn-card-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 8px 9px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-card-details:hover {
    background: #e2e8f0;
    color: #0f172a;
}
    color: #1e0a16;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-card-details:hover {
    background: #fff1f2;
    color: #e11d48;
    border-color: #fecdd3;
}
.btn-card-sold-out {
    flex: 1;
    text-align: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 7px;
    border: 1px solid #e2e8f0;
}

/* ЦЕНА ЗА ДЕТАЙЛНА СТРАНИЦА */
.price-contrast-box.huge {
    background: linear-gradient(135deg, #fff5f6 0%, #fffbf2 50%, #fffbeb 100%);
    border: 1.5px solid #fecdd3;
    border-left: 5px solid var(--accent);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(194, 24, 43, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}
.price-contrast-box.huge .price-main {
    font-size: 34px;
    font-weight: 900;
    color: #1e0a16;
    letter-spacing: -0.5px;
}
.price-contrast-box.huge .price-secondary {
    font-size: 16px;
    font-weight: 700;
    color: #e11d48;
}
.price-contrast-box.huge .price-old-wrap {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}
.price-contrast-box.huge .discount-pill {
    background: var(--grad-badge-hot);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 6px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(194, 24, 43, 0.35);
}

/* ========================================================
   VIEW SWITCHER STYLING и GRID / LIST VIEW MODES
   ======================================================== */
.view-switcher-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    padding: 3px 6px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.view-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
    padding-left: 4px;
}
.view-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}
.view-toggle-btn:hover {
    color: var(--primary);
    background: #f1f5f9;
}
.view-toggle-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 47, 52, 0.2);
}

/* КАРТИ В GRID VIEW ПО ПОДРАЗБИРАНЕ */
.card-excerpt-list {
    display: none;
}
.card-list-actions {
    display: none;
}
.card-cond-tag {
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ========================================================
   LIST VIEW (ИЗГЛЕД КАТО СПИСЪК)
   ======================================================== */
.items-grid.is-list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.items-grid.is-list-view .item-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 180px;
}
.items-grid.is-list-view .item-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.items-grid.is-list-view .card-media {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    padding-top: 0;
    height: auto;
    position: relative;
}
.items-grid.is-list-view .card-media .media-link {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}
.items-grid.is-list-view .card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.items-grid.is-list-view .card-body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    gap: 24px;
    flex: 1;
}
.items-grid.is-list-view .card-main-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.items-grid.is-list-view .card-title {
    font-size: 18px;
    font-weight: 800;
    height: auto;
    line-height: 1.4;
    -webkit-line-clamp: 2;
}
.items-grid.is-list-view .card-excerpt-list {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-top: 4px;
}
.items-grid.is-list-view .card-side-info {
    min-width: 210px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    border-left: 1px solid #f1f5f9;
    padding-left: 20px;
}
.items-grid.is-list-view .card-pricing {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.items-grid.is-list-view .price-contrast-box {
    align-self: flex-end;
    text-align: right;
}
.items-grid.is-list-view .price-contrast-box .price-values {
    justify-content: flex-end;
}
.items-grid.is-list-view .card-avail-row {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.items-grid.is-list-view .card-avail-row .btn-card-view-item {
    display: none !important;
}
.items-grid.is-list-view .card-action-bar {
    width: 100%;
    margin-top: 6px;
}
.items-grid.is-list-view .card-list-actions {
    display: none !important;
}
.items-grid.is-list-view .btn-list-view-item {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}
.items-grid.is-list-view .btn-list-view-item:hover {
    background: var(--accent);
    color: #ffffff;
}

/* РЕСПОНСИВНОСТ ЗА LIST VIEW ПРИ МОБИЛНИ УСТРОЙСТВА */
@media (max-width: 768px) {
    .items-grid.is-list-view .item-card {
        flex-direction: column;
        min-height: auto;
    }
    .items-grid.is-list-view .card-media {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 200px;
    }
    .items-grid.is-list-view .card-body {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 14px;
    }
    .items-grid.is-list-view .card-side-info {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #f1f5f9;
        padding-top: 12px;
        align-items: flex-start;
    }
    .items-grid.is-list-view .card-pricing {
        justify-content: flex-start;
    }
    .items-grid.is-list-view .price-contrast-box {
        align-self: flex-start;
        text-align: left;
    }
    .items-grid.is-list-view .price-contrast-box .price-values {
        justify-content: flex-start;
    }
}

/* ========================================================
   НАЛИЧНОСТ НА ЕДИН ЧИСТ РЕД (БЕЗ ДРУГИ БУТОНИ)
   ======================================================== */
.card-avail-row {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.btn-card-view-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-card-view-item:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateX(2px);
}
.avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}
.avail-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.avail-badge.avail-in-stock {
    background: #dcfce7;
    color: #166534;
}
.avail-badge.avail-in-stock .dot {
    background: var(--accent);
}
.avail-badge.avail-sold {
    background: #fee2e2;
    color: #991b1b;
}
.avail-badge.avail-sold .dot {
    background: #ef4444;
}

/* SINGLE PRODUCT PAGE */
.single-item-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    padding: 25px 0 60px 0;
}
@media (max-width: 900px) {
    .single-item-container {
        grid-template-columns: 1fr;
    }
}
.single-main-col {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    gap: 6px;
    align-items: center;
}
.breadcrumbs a {
    color: #e11d48;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}
.breadcrumbs a:hover {
    color: #be123c;
    text-decoration: underline;
}
.single-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 16px;
}
.gallery-main-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gallery-thumb {
    width: 75px;
    height: 75px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    object-fit: cover;
    background: #f1f5f9;
}
.gallery-thumb.active {
    border-color: #e11d48;
    box-shadow: 0 0 0 2px rgba(194, 24, 43, 0.25);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.specs-table tr {
    border-bottom: 1px solid #e2e8f0;
}
.specs-table td {
    padding: 12px 16px;
    font-size: 14px;
}
.specs-table td.label {
    font-weight: 600;
    color: #475569;
    width: 30%;
}
.specs-table td.value {
    color: #0f172a;
}

.description-box {
    margin-top: 25px;
    line-height: 1.7;
    font-size: 15px;
    color: #334155;
}
.description-box h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

/* SIDEBAR BUY CARD */
.single-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.buy-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 30px;
}
.buy-card .price-row {
    margin-bottom: 18px;
}

/* ACTION BUTTONS (ДОБАВИ В КОЛИЧКАТА и БЪРЗА ПОРЪЧКА) */
.product-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.btn-add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #1e0a16 0%, #351025 50%, #e11d48 100%);
    color: #ffffff;
    border: 1px solid rgba(194, 24, 43, 0.35);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(30, 10, 22, 0.25);
}
.btn-add-to-cart:hover {
    background: var(--grad-btn-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(194, 24, 43, 0.38);
}
.btn-add-to-cart.btn-added {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.btn-fast-order {
    width: 100%;
    background: var(--grad-btn-primary);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.32);
}
.btn-fast-order:hover {
    background: var(--grad-btn-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 24, 43, 0.45);
}
.btn-order-fast {
    width: 100%;
    background: var(--grad-btn-primary);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.32);
    margin-bottom: 12px;
}
.btn-order-fast:hover {
    background: var(--grad-btn-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 24, 43, 0.45);
}
.btn-call-seller {
    width: 100%;
    background: #f8fafc;
    color: #1e0a16;
    border: 1.5px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.btn-call-seller:hover {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
}
.trust-box {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.trust-item span.icon {
    color: #e11d48;
    font-weight: 800;
}

/* ========================================================
   WIDESCREEN QUICK VIEW MODAL
   ======================================================== */
.qv-modal-widescreen {
    max-width: 900px !important;
    width: 95%;
    padding: 28px !important;
    border-radius: 14px !important;
}
.qv-widescreen-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 768px) {
    .qv-widescreen-grid {
        grid-template-columns: 1fr;
    }
}
.qv-img-wrap-ws {
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}
.qv-img-wrap-ws img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.qv-info-ws {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.qv-top-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.qv-title-ws {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.35;
    margin: 0;
}
.qv-cond-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 3px 10px;
    border-radius: 12px;
}
.qv-price-box {
    align-self: flex-start;
}
.qv-specs-summary {
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qv-excerpt-ws {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}
.qv-actions-ws {
    margin-top: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.qv-cart-btn-ws {
    padding: 12px 20px !important;
    margin-bottom: 0 !important;
    width: auto !important;
    font-size: 15px !important;
    border-radius: 8px !important;
}
.qv-order-btn-ws {
    padding: 12px 22px !important;
    margin-bottom: 0 !important;
    width: auto !important;
    font-size: 15px !important;
    border-radius: 8px !important;
}
.qv-details-btn-ws {
    font-size: 14px;
    font-weight: 700;
    color: #0284c7;
    padding: 10px 12px;
    transition: color 0.15s;
}
.qv-details-btn-ws:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* GENERAL MODAL & BACKGROUND SCROLL LOCK */
html.bazar-modal-open,
body.bazar-modal-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none;
}

.liq-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}
.liq-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    animation: modalIn 0.2s ease-out;
    box-sizing: border-box;
}
.liq-modal.cart-modal-content {
    max-width: 580px;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.liq-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}
.liq-modal h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 6px;
}
.liq-modal p.sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}
.liq-modal-form .form-group {
    margin-bottom: 14px;
}
.liq-modal-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1e293b;
}
.liq-modal-form input, .liq-modal-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
}
.liq-modal-form input:focus, .liq-modal-form textarea:focus {
    border-color: #0284c7;
}
.liq-modal-submit {
    width: 100%;
    background: var(--grad-btn-primary);
    color: #ffffff;
    border: none;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.28);
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.liq-modal-submit:hover {
    background: var(--grad-btn-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(194, 24, 43, 0.35);
}
.liq-modal-msg {
    margin-top: 12px;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    display: none;
}
.liq-modal-msg.success {
    background: #dcfce7;
    color: #166534;
    display: block;
}
.liq-modal-msg.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ========================================================
   BOGAT FOOTER С 4 КОЛОНИ И СТРАНИЦИ
   ======================================================== */
.site-footer {
    position: relative;
    background: var(--footer-bg, var(--grad-footer));
    color: var(--footer-text-color, #cbd5e1);
    padding: var(--footer-padding-y, 56px) 0 32px 0;
    font-size: var(--footer-text-size, 14px);
    font-family: var(--footer-font-family, inherit);
    margin-top: 0;
    border-top: none;
}
.footer-flow-wave {
    width: 100%;
    height: 44px;
    line-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}
.footer-flow-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(var(--footer-columns, 4), 1fr);
    gap: 32px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.footer-heading {
    color: var(--footer-heading-color, #ffffff);
    font-size: var(--footer-heading-size, 16px);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}
.footer-heading-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s, opacity 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-heading-link:hover {
    color: #f43f5e;
    text-decoration: underline;
}
.footer-heading-link::after {
    content: "↗";
    font-size: 0.8em;
    opacity: 0.7;
    transition: transform 0.15s;
}
.footer-heading-link:hover::after {
    opacity: 1;
    transform: translate(2px, -2px);
}
.footer-col-desc {
    color: var(--footer-text-color, #cbd5e1);
    line-height: 1.55;
    margin-bottom: 12px;
    font-size: var(--footer-text-size, 14px);
}
.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}
.footer-nav li {
    font-size: var(--footer-text-size, 13px);
    color: var(--footer-text-color, #cbd5e1);
}
.footer-nav a {
    color: var(--footer-text-color, #cbd5e1);
    transition: color 0.15s;
    text-decoration: none;
}
.footer-nav a:hover {
    color: #e11d48;
    text-decoration: underline;
}
.footer-item-plain {
    color: var(--footer-text-color, #cbd5e1);
}
.footer-badges-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-badge-pill {
    font-size: 12.5px;
    background: rgba(233, 221, 247, 0.12);
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #FFFFFF;
    border: 1px solid rgba(233, 221, 247, 0.25);
    border-radius: 999px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    width: fit-content;
    transition: all 0.2s ease;
}
.footer-badge-pill:hover {
    background: rgba(233, 221, 247, 0.22);
    border-color: #FFD66B;
    color: #FFD66B;
}
.footer-badge-icon {
    color: #FFD66B;
    font-weight: 800;
    font-size: 13px;
}
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #FDE68A;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}
.footer-contact-link:hover {
    color: #FEF3C7;
    text-decoration: underline;
    transform: translateX(3px);
}
.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--footer-text-color, #64748b);
    opacity: 0.9;
}
.footer-bottom-row {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================================
   MULTI-ITEM CART MODAL и TOAST NOTIFICATION
   ======================================================== */
.cart-modal-content {
    max-width: 580px !important;
    width: 95% !important;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px !important;
}

.cart-empty-state {
    text-align: center;
    padding: 30px 10px;
}

.cart-multi-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-items-scroll {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.15s;
}

.cart-item-row:hover {
    border-color: #cbd5e1;
}

.cart-item-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: #f1f5f9;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.cart-item-thumb.no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #94a3b8;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 2px;
}

.cart-price-bgn {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.cart-item-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    padding: 2px 4px;
}

.cart-qty-btn {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    cursor: pointer;
    color: #334155;
    border-radius: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.cart-qty-btn:hover {
    background: #e2e8f0;
}

.cart-qty-val {
    font-size: 13px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    color: #0f172a;
}

.cart-item-del-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s;
}

.cart-item-del-btn:hover {
    color: #ef4444;
}

.cart-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    margin-top: 6px;
}

.total-label {
    font-size: 15px;
    font-weight: 700;
    color: #166534;
}

.total-values {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.total-eur {
    font-size: 20px;
    font-weight: 900;
    color: #15803d;
}

.total-bgn {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

/* FLOATING TOAST NOTIFICATION */
.bazar-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999999;
    background: var(--primary);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(120px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
}

.bazar-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.toast-icon {
    background: var(--accent);
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}

.toast-text {
    color: #ffffff;
}

.toast-action {
    background: var(--grad-btn-primary);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(194, 24, 43, 0.35);
}

.toast-action:hover {
    background: var(--grad-btn-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ========================================================
   INNER HEADER BAR (FOR NON-FRONT PAGES)
   ======================================================== */
.inner-header-bar {
    background: linear-gradient(135deg, #1c0a15 0%, #2a0e20 45%, #10040c 100%);
    padding: 24px 0 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(15, 4, 12, 0.35);
    position: relative;
}
.inner-header-bar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-rainbow-line);
    z-index: 2;
}
.inner-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}
.inner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #e2e8f0;
}
.inner-breadcrumb a.bc-home {
    color: #f43f5e;
    font-weight: 700;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
}
.inner-breadcrumb a.bc-home:hover {
    color: #fb7185;
    text-decoration: underline;
}
.inner-breadcrumb .bc-sep {
    color: rgba(255, 255, 255, 0.35);
}
.inner-breadcrumb .bc-current {
    color: #ffffff;
    font-weight: 600;
    max-width: 440px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.inner-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(194, 24, 43, 0.35);
    border-radius: 999px;
    padding: 2px 4px 2px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.inner-search-form:focus-within {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(194, 24, 43, 0.25);
}
.inner-search-form input {
    border: none;
    outline: none;
    font-size: 13px;
    width: 220px;
    padding: 6px 0;
    color: #0f172a;
    background: transparent;
}
.inner-search-form input::placeholder {
    color: #94a3b8;
}
.inner-search-form button {
    background: var(--grad-btn-primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, opacity 0.15s;
    box-shadow: 0 2px 6px rgba(194, 24, 43, 0.35);
}
.inner-search-form button:hover {
    transform: scale(1.08);
}

/* ========================================================
   HOME: 1. HERO SECTION (WIDESCREEN 85% WIDTH)
   ======================================================== */
.home-hero-section {
    padding-top: 108px;
    padding-bottom: 0;
    background: var(--grad-hero-bg);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}
.hero-bottom-curve {
    width: 100%;
    height: 54px;
    margin-top: 22px;
    line-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.hero-bottom-curve svg {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-widescreen-wrapper {
    width: 85%;
    max-width: 1480px;
    margin: 0 auto;
}
@media (max-width: 992px) {
    .hero-widescreen-wrapper {
        width: 94%;
    }
}

/* HERO TWO-COLUMN SPLIT (TEXT VS 3 GUARANTEE CONTAINERS) */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 28px;
}
.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(194, 24, 43, 0.22) 0%, rgba(245, 158, 11, 0.2) 50%, rgba(0, 184, 67, 0.16) 100%);
    color: #ffd2dc;
    border: 1px solid rgba(194, 24, 43, 0.45);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.hero-main-title {
    font-family: var(--font-heading) !important;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    letter-spacing: -0.4px;
    line-height: 1.25;
    margin: 0 0 16px 0;
}
.hero-main-sub {
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-muted) !important;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 560px;
}
.hero-main-sub strong {
    color: var(--text-main) !important;
    font-weight: 700;
}
.hero-text-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 24px;
    border-radius: 12px !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.32);
    transition: all 0.2s ease;
}
.hero-primary-btn:hover {
    background: var(--primary-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(158, 18, 30, 0.42);
}
.hero-primary-btn .btn-arrow {
    transition: transform 0.2s ease;
}
.hero-primary-btn:hover .btn-arrow {
    transform: translateX(3px);
}
.hero-trust-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
}
.hero-trust-tag svg {
    color: var(--stock-color) !important;
}

/* 3 GUARANTEE CARDS STACKED VERTICALLY */
.hero-guarantee-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}
.hero-guarantee-stack .hero-guarantee-card {
    background: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 18px !important;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-main) !important;
}
.hero-guarantee-stack .hero-guarantee-card:hover {
    background: #FFFFFF !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-2px);
}
.hero-guarantee-stack .guarantee-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--peach-light) !important;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.hero-guarantee-stack .hero-guarantee-card:nth-child(1) .guarantee-icon-wrap {
    background: var(--lavender-light) !important;
    color: var(--text-main) !important;
}
.hero-guarantee-stack .hero-guarantee-card:nth-child(2) .guarantee-icon-wrap {
    background: var(--yellow-soft) !important;
    color: var(--text-main) !important;
}
.hero-guarantee-stack .hero-guarantee-card:nth-child(3) .guarantee-icon-wrap {
    background: var(--peach-light) !important;
    color: var(--primary) !important;
}
.hero-guarantee-stack .guarantee-title {
    font-family: var(--font-heading) !important;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main) !important;
    margin-bottom: 4px;
    line-height: 1.3;
}
.hero-guarantee-stack .guarantee-text {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-muted) !important;
    line-height: 1.5;
    margin: 0;
}
.hero-guarantee-stack .guarantee-text strong {
    color: var(--text-main) !important;
    font-weight: 700;
}

@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-text-col {
        text-align: center;
    }
    .hero-text-col .hero-badge-pill {
        align-self: center;
    }
    .hero-text-actions {
        justify-content: center;
    }
    .hero-guarantee-stack .hero-guarantee-card:hover {
        transform: translateY(-2px);
    }
}

/* HERO SEARCH BAR */
.hero-main-search-form {
    max-width: 760px;
    margin: 24px auto 16px auto;
    position: relative;
    z-index: 10;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 5px 6px 5px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1.5px solid #cbd5e1;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-wrap:focus-within {
    border-color: #10b981;
    box-shadow: 0 4px 22px rgba(16, 185, 129, 0.25);
}
.search-icon-symbol {
    color: #64748b;
    margin-right: 10px;
    flex-shrink: 0;
}
.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14.5px;
    color: #0f172a;
    background: transparent;
    padding: 8px 0;
    font-family: inherit;
}
.btn-hero-search {
    background: var(--grad-emerald-lime);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    padding: 9px 22px;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.28);
    transition: all 0.18s ease;
}
.btn-hero-search:hover {
    background: var(--grad-btn-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

/* 6 QUICK CATEGORY NAVIGATION PILLS */
.hero-categories-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    background: transparent !important;
    border: none !important;
    padding: 6px 0;
    margin-bottom: 4px;
}
.categories-bar-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.category-pills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.18s ease;
    text-decoration: none;
}
.cat-pill-icon {
    color: #34d399;
    transition: color 0.18s;
}
.cat-pill:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 50%, #fef3c7 100%);
    color: #e11d48;
    border-color: #fecdd3;
    box-shadow: 0 4px 12px rgba(194, 24, 43, 0.12);
    transform: translateY(-1px);
}
.cat-pill:hover .cat-pill-icon {
    color: #e11d48;
}

/* ========================================================
   HOME: 2. PRODUCT GRID SECTION (10 PRODUCTS, 2 ROWS OF 5)
   ======================================================== */
.home-products-section {
    padding: 36px 0 60px 0;
    position: relative;
    background: transparent;
}
.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 14px;
}
.home-section-tag {
    display: inline-block;
    background: var(--grad-badge-soft);
    color: #be123c;
    border: 1px solid var(--accent-rose-border);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}
.home-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #1e0a16;
    line-height: 1.2;
    margin-bottom: 4px;
}
.home-section-desc {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
}
.home-quick-all-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #fecdd3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}
.home-quick-all-link:hover {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
    box-shadow: 0 4px 12px rgba(194, 24, 43, 0.25);
    transform: translateY(-1px);
}
.empty-products-notice {
    text-align: center;
    color: #64748b;
    padding: 40px;
    font-size: 15px;
    grid-column: 1 / -1;
}

/* БУТОН "КЪМ МАГАЗИНА" НАЙ-ДОЛУ В ПРОДУКТ ГРИД-А */
.home-shop-action-box {
    margin-top: 36px;
    text-align: center;
}
.btn-home-shop-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e0a16 0%, #e11d48 50%, #ea580c 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 8px;
    border: 1.5px solid #f43f5e;
    box-shadow: 0 4px 18px rgba(194, 24, 43, 0.28);
    transition: all 0.25s ease;
    text-decoration: none;
}
.btn-home-shop-cta:hover {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 50%, #c2410c 100%);
    border-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 24, 43, 0.4);
    color: #ffffff;
}
/* ========================================================
   HOME: 3. КОНТЕЙНЕР С ИНФОРМАЦИЯ И СТАНДАРТИ
   ======================================================== */
.home-info-section {
    padding: 35px 0 65px 0;
    position: relative;
    background: transparent;
}
.home-info-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(194, 24, 43, 0.15);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 12px 36px -6px rgba(30, 10, 22, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.home-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-rainbow-line);
}
.info-card-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 32px auto;
}
.info-pill-badge {
    display: inline-block;
    background: var(--grad-badge-soft);
    color: #be123c;
    border: 1px solid var(--accent-rose-border);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.info-heading {
    font-size: 24px;
    font-weight: 800;
    color: #1e0a16;
    margin-bottom: 8px;
}
.info-lead {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.info-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.info-feature-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 18px;
    text-align: left;
    transition: all 0.2s ease;
}
.info-feature-box:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f6 60%, #fffbeb 100%);
    border-color: #fecdd3;
    box-shadow: 0 6px 20px rgba(194, 24, 43, 0.1);
    transform: translateY(-2px);
}
.info-icon-bubble {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff1f2 0%, #fff5f6 50%, #fef3c7 100%);
    color: #e11d48;
    border: 1px solid #fecdd3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.info-feature-box h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.info-feature-box p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ПОМОЩ И БЪРЗА ПОРЪЧКА ПО ТЕЛЕФОН */
.home-support-strip {
    background: var(--grad-support-strip);
    border: 1px solid #fecdd3;
    border-left: 4px solid #e11d48;
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
    box-shadow: 0 4px 16px rgba(194, 24, 43, 0.08);
}
.support-strip-content {
    display: flex;
    align-items: center;
    gap: 14px;
}
.support-strip-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffe4e6;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.support-strip-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e0a16;
    margin: 0 0 2px 0;
}
.support-strip-text p {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
}
.support-strip-text strong {
    color: #e11d48;
}
.support-strip-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-support-call {
    background: var(--grad-btn-primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(194, 24, 43, 0.28);
    transition: all 0.2s ease;
}
.btn-support-call:hover {
    background: var(--grad-btn-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 24, 43, 0.38);
}
.btn-support-link {
    background: #ffffff;
    color: #1e0a16;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-support-link:hover {
    border-color: #e11d48;
    color: #e11d48;
}

/* CATALOG HELPER */
.catalog-back-home {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #e11d48;
    background: #fff1f2;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #fecdd3;
    transition: all 0.15s ease;
}
.catalog-back-home:hover {
    background: #e11d48;
    color: #ffffff;
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .info-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-support-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 600px) {
    .hero-main-title {
        font-size: 24px;
    }
    .hero-guarantee-stack .hero-guarantee-card {
        padding: 12px 14px;
    }
    .info-features-grid {
        grid-template-columns: 1fr;
    }
    .hero-main-search-form .search-input-wrap {
        flex-direction: column;
        border-radius: 14px;
        padding: 10px 12px;
        gap: 8px;
    }
    .hero-main-search-form .btn-hero-search {
        width: 100%;
        border-radius: 8px;
    }
    .home-info-card {
        padding: 24px 16px;
    }
}

/* ========================================================
   HOME CATEGORIES GRID SECTION (3 ROWS X 4 COLS = 12 ITEMS)
   ======================================================== */
.home-categories-grid-section {
    padding-top: 20px;
    padding-bottom: 8px;
    background: transparent;
    position: relative;
    width: 100%;
}
.home-categories-container {
    max-width: 1380px;
    width: 92%;
    margin: 0 auto;
    position: relative;
}
.home-cat-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
}
.home-cat-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #c2182b;
    background: #fdf2f2;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 4px;
}
.home-cat-section-title {
    font-family: var(--font-heading, "Inter", sans-serif);
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.3px;
}
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

/* THEMATIC COLOR VARIABLES FOR 12 CATEGORIES */
.cat-theme-elektronika {
    --cat-accent: #0284c7;
    --cat-bubble-bg: #e0f2fe;
    --cat-bg-tint: #f0f9ff;
    --cat-shadow: rgba(2, 132, 199, 0.16);
    --cat-shadow-hover: rgba(2, 132, 199, 0.28);
}
.cat-theme-domakinski-uredi {
    --cat-accent: #ea580c;
    --cat-bubble-bg: #ffedd5;
    --cat-bg-tint: #fff7ed;
    --cat-shadow: rgba(234, 88, 12, 0.16);
    --cat-shadow-hover: rgba(234, 88, 12, 0.28);
}
.cat-theme-dom-i-gradina {
    --cat-accent: #16a34a;
    --cat-bubble-bg: #dcfce7;
    --cat-bg-tint: #f0fdf4;
    --cat-shadow: rgba(22, 163, 74, 0.16);
    --cat-shadow-hover: rgba(22, 163, 74, 0.28);
}
.cat-theme-sport-i-hobi {
    --cat-accent: #7c3aed;
    --cat-bubble-bg: #ede9fe;
    --cat-bg-tint: #f5f3ff;
    --cat-shadow: rgba(124, 58, 237, 0.16);
    --cat-shadow-hover: rgba(124, 58, 237, 0.28);
}
.cat-theme-detski-igrachki {
    --cat-accent: #d97706;
    --cat-bubble-bg: #fef3c7;
    --cat-bg-tint: #fffbeb;
    --cat-shadow: rgba(217, 119, 6, 0.16);
    --cat-shadow-hover: rgba(217, 119, 6, 0.28);
}
.cat-theme-instrumenti {
    --cat-accent: #b45309;
    --cat-bubble-bg: #fef9c3;
    --cat-bg-tint: #fefce8;
    --cat-shadow: rgba(180, 83, 9, 0.16);
    --cat-shadow-hover: rgba(180, 83, 9, 0.28);
}
.cat-theme-avto-moto {
    --cat-accent: #dc2626;
    --cat-bubble-bg: #fee2e2;
    --cat-bg-tint: #fef2f2;
    --cat-shadow: rgba(220, 38, 38, 0.16);
    --cat-shadow-hover: rgba(220, 38, 38, 0.28);
}
.cat-theme-konsumativi {
    --cat-accent: #0d9488;
    --cat-bubble-bg: #ccfbf1;
    --cat-bg-tint: #f0fdfa;
    --cat-shadow: rgba(13, 148, 136, 0.16);
    --cat-shadow-hover: rgba(13, 148, 136, 0.28);
}
.cat-theme-krasota-i-zdrave {
    --cat-accent: #e11d48;
    --cat-bubble-bg: #ffe4e6;
    --cat-bg-tint: #fff1f2;
    --cat-shadow: rgba(225, 29, 72, 0.16);
    --cat-shadow-hover: rgba(225, 29, 72, 0.28);
}
.cat-theme-osvetitelni-tela {
    --cat-accent: #ca8a04;
    --cat-bubble-bg: #fef08a;
    --cat-bg-tint: #fefce8;
    --cat-shadow: rgba(202, 138, 4, 0.16);
    --cat-shadow-hover: rgba(202, 138, 4, 0.28);
}
.cat-theme-promo-produkti {
    --cat-accent: #c2182b;
    --cat-bubble-bg: #fee2e2;
    --cat-bg-tint: #fff5f5;
    --cat-shadow: rgba(194, 24, 43, 0.18);
    --cat-shadow-hover: rgba(194, 24, 43, 0.32);
}
.cat-theme-kraft {
    --cat-accent: #9333ea;
    --cat-bubble-bg: #f3e8ff;
    --cat-bg-tint: #faf5ff;
    --cat-shadow: rgba(147, 51, 234, 0.16);
    --cat-shadow-hover: rgba(147, 51, 234, 0.28);
}

.home-category-card {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 14px -2px rgba(30, 10, 22, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease;
    cursor: pointer;
}
.home-category-card:hover {
    transform: translateY(-4px);
    border-color: var(--cat-accent, #c2182b);
    box-shadow: 0 14px 32px -4px var(--cat-shadow-hover, rgba(30, 10, 22, 0.18)), 0 6px 14px -2px var(--cat-shadow, rgba(194, 24, 43, 0.16));
}

/* 1/3 НАМАЛЕН РАЗМЕР НА КУТИЙКИТЕ (277x135) */
.cat-card-media-box {
    position: relative;
    width: 100%;
    aspect-ratio: 277 / 135;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    box-sizing: border-box;
}

/* БЛЪРНАТ ФОН С ПРОДУКТИ ОТ КАТЕГОРИЯТА (ТОЧНО 0.4% БЛЪР - 0.04px) */
.cat-card-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.cat-card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0.04px) saturate(1.06) brightness(0.99);
    transform: scale(1.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    display: block;
}
.home-category-card:hover .cat-card-bg-img {
    transform: scale(1.06);
    filter: blur(0px) saturate(1.12) brightness(1.02);
}
.cat-card-bg-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.28) 100%);
    transition: background 0.3s ease;
}
.home-category-card:hover .cat-card-bg-scrim {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.18) 100%);
}

/* СЪДЪРЖАНИЕ: ИКОНКА И ТЕКСТ ВЪРХУ БЛЪРНАТИЯ ФОН */
.cat-card-front-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    gap: 6px;
}

.cat-card-icon-bubble {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--cat-accent, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px var(--cat-shadow, rgba(0, 0, 0, 0.12)), 0 1px 3px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                background 0.3s ease;
}
.cat-svg-icon {
    width: 27px;
    height: 27px;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-category-card:hover .cat-card-icon-bubble {
    transform: scale(1.12) translateY(-2px);
    background: #ffffff;
    box-shadow: 0 8px 22px var(--cat-shadow-hover, rgba(0, 0, 0, 0.22));
}

.cat-card-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}
.cat-card-title-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.92);
    max-width: 95%;
    box-sizing: border-box;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-category-card:hover .cat-card-title-pill {
    background: #ffffff;
    border-color: var(--cat-accent, #c2182b);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}
.cat-card-title {
    font-family: var(--font-heading, "Inter", sans-serif);
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}
.home-category-card:hover .cat-card-title {
    color: var(--cat-accent, #c2182b);
}

.cat-card-hot-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    background: linear-gradient(135deg, #c2182b 0%, #e11d48 100%);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(194, 24, 43, 0.35);
    text-transform: uppercase;
}
.home-category-card.cat-is-promo {
    border-color: rgba(194, 24, 43, 0.35);
}

/* RESPONSIVE FOR COMPACT CATEGORIES GRID */
@media (max-width: 1024px) {
    .home-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .cat-card-media-box {
        aspect-ratio: 277 / 135;
    }
    .cat-card-icon-bubble {
        width: 46px;
        height: 46px;
    }
    .cat-svg-icon {
        width: 24px;
        height: 24px;
    }
    .cat-card-title {
        font-size: 13px;
    }
}
@media (max-width: 680px) {
    .home-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .cat-card-media-box {
        aspect-ratio: 277 / 135;
        padding: 8px 6px;
    }
    .cat-card-icon-bubble {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    .cat-svg-icon {
        width: 20px;
        height: 20px;
    }
    .cat-card-title {
        font-size: 11.5px;
        white-space: normal;
        line-height: 1.15;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .cat-card-cta {
        display: none;
    }
}
@media (max-width: 400px) {
    .cat-card-icon-bubble {
        width: 34px;
        height: 34px;
    }
    .cat-svg-icon {
        width: 18px;
        height: 18px;
    }
    .cat-card-title {
        font-size: 10.5px;
    }
}

/* ========================================================
   HOME BANNERS HORIZONTAL AUTOSLIDER (1380x400 - FULL WIDTH)
   ======================================================== */
.home-banners-slider-section {
    padding-top: 10px;
    padding-bottom: 16px;
    background: transparent;
    position: relative;
    overflow: hidden;
}
.home-banners-container {
    max-width: 1380px;
    width: 92%;
    margin: 0 auto;
    position: relative;
}
.home-banner-slider {
    position: relative;
    width: 100% !important;
    height: 440px;
    min-height: 440px;
    max-height: 440px;
    aspect-ratio: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(64, 51, 75, 0.08);
    background: #FFFFFF;
    border: 1px solid #EEE5E0;
}
.home-banner-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.home-banner-slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.banner-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}
.banner-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 54px 0 74px;
    box-sizing: border-box;
}

/* Category Specific Harmonized Gradients (Header #642D40 / Navigation #542537 base) */
.theme-free-delivery {
    background: linear-gradient(90deg, rgba(84, 37, 55, 0.96) 0%, rgba(100, 45, 64, 0.90) 44%, rgba(100, 45, 64, 0.45) 62%, transparent 82%);
}
.theme-it-iot {
    background: linear-gradient(90deg, rgba(84, 37, 55, 0.96) 0%, rgba(100, 45, 64, 0.90) 44%, rgba(232, 121, 88, 0.35) 62%, transparent 82%);
}
.theme-home-garden {
    background: linear-gradient(90deg, rgba(84, 37, 55, 0.96) 0%, rgba(100, 45, 64, 0.90) 44%, rgba(232, 121, 88, 0.35) 62%, transparent 82%);
}
.theme-tools {
    background: linear-gradient(90deg, rgba(84, 37, 55, 0.96) 0%, rgba(100, 45, 64, 0.90) 44%, rgba(230, 184, 92, 0.35) 62%, transparent 82%);
}
.theme-kids-toys {
    background: linear-gradient(90deg, rgba(84, 37, 55, 0.96) 0%, rgba(100, 45, 64, 0.90) 44%, rgba(232, 121, 88, 0.35) 62%, transparent 82%);
}
.theme-hobby {
    background: linear-gradient(90deg, rgba(84, 37, 55, 0.96) 0%, rgba(100, 45, 64, 0.90) 44%, rgba(217, 101, 70, 0.35) 62%, transparent 82%);
}

.banner-content-inner {
    max-width: 640px;
    position: relative;
    z-index: 3;
}

/* Brand Capsule */
.banner-brand-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(234, 219, 208, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 5px 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(53, 42, 43, 0.35);
}
.banner-logo-img {
    height: 34px;
    width: auto;
    display: block;
}

/* Category Badge */
.banner-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    color: #352A2B;
    background: #E6B85C;
    border: 1px solid rgba(234, 219, 208, 0.4);
    box-shadow: 0 2px 8px rgba(230, 184, 92, 0.35);
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.badge-free-delivery {
    background: #E6B85C;
    color: #352A2B;
    box-shadow: 0 2px 8px rgba(230, 184, 92, 0.35);
}
.badge-it-iot {
    background: #E87958;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(232, 121, 88, 0.35);
}
.badge-home-garden {
    background: #4C956C;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(76, 149, 108, 0.35);
}
.badge-tools {
    background: #E6B85C;
    color: #352A2B;
    box-shadow: 0 2px 8px rgba(230, 184, 92, 0.35);
}
.badge-kids-toys {
    background: #E87958;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(232, 121, 88, 0.35);
}
.badge-hobby {
    background: #D96546;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(217, 101, 70, 0.35);
}

/* Titles */
.banner-title {
    font-size: 27px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.22;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 8px rgba(53, 42, 43, 0.6);
    letter-spacing: -0.3px;
}
.hl-cyan { color: #E87958; }
.hl-emerald { color: #4C956C; }
.hl-amber { color: #E6B85C; }
.hl-rose { color: #E87958; }
.hl-purple { color: #D96546; }

/* Description */
.banner-desc {
    font-size: 14.5px;
    color: #FFF7F0;
    line-height: 1.45;
    margin: 0 0 18px 0;
    max-width: 580px;
    text-shadow: 0 1px 4px rgba(53, 42, 43, 0.5);
}

/* CTA Button */
.banner-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    background: #E87958 !important;
    border: 2px solid #E87958 !important;
    box-shadow: 0 6px 18px rgba(232, 121, 88, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.banner-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: #D96546 !important;
    border-color: #D96546 !important;
    box-shadow: 0 10px 24px rgba(217, 101, 70, 0.5) !important;
    color: #ffffff !important;
}
.btn-free-delivery,
.btn-it-iot,
.btn-home-garden,
.btn-tools,
.btn-kids-toys,
.btn-hobby {
    background: #E87958 !important;
    border-color: #E87958 !important;
}
.btn-free-delivery:hover,
.btn-it-iot:hover,
.btn-home-garden:hover,
.btn-tools:hover,
.btn-kids-toys:hover,
.btn-hobby:hover {
    background: #D96546 !important;
    border-color: #D96546 !important;
}

.cta-arrow-icon {
    transition: transform 0.25s ease;
}
.banner-cta-btn:hover .cta-arrow-icon {
    transform: translateX(4px);
}

/* Trust row */
.banner-trust-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #F1E5DA;
}
.trust-sep {
    color: rgba(234, 219, 208, 0.6);
    font-size: 10px;
}

/* Controls */
.slider-arrow-btn {
    background-color: rgba(255, 255, 255, 0.96) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #EEE5E0 !important;
    color: #40334B !important;
    box-shadow: 0 4px 14px rgba(64, 51, 75, 0.14) !important;
    z-index: 5 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    cursor: pointer !important;
}
.slider-arrow-btn:hover {
    background: #E87958;
    border-color: #E87958;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(232, 121, 88, 0.45);
}
.slider-prev-btn { left: 16px; }
.slider-next-btn { right: 16px; }

/* Progress Dots */
.slider-dots-nav {
    position: absolute;
    bottom: 16px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(84, 37, 55, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #EADBD0;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(234, 219, 208, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: width 0.3s ease, background 0.3s ease;
}
.slider-dot.active {
    width: 32px;
    border-radius: 10px;
    background: rgba(234, 219, 208, 0.25);
}
.slider-dot-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #E87958;
    border-radius: 10px;
}
.slider-dot.active .slider-dot-bar {
    width: 100%;
}

/* ========================================================
   HOME SEARCH STRIP (ПОД БАНЕРИТЕ, ПРЕЛИВАЩ ДИЗАЙН)
   ======================================================== */
.home-search-strip-section {
    padding: 0 0 28px 0;
    background: transparent;
    position: relative;
    z-index: 5;
}
.home-search-wrapper {
    max-width: 1380px;
    width: 92%;
    margin: 0 auto;
}
.home-standalone-search-form {
    width: 100%;
}
.standalone-search-border-glow {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 25%, #f59e0b 50%, #00b843 75%, #06b6d4 100%);
    padding: 2.5px;
    border-radius: 999px;
    box-shadow: 0 8px 24px -4px rgba(194, 24, 43, 0.18), 0 4px 12px rgba(0, 184, 67, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.standalone-search-border-glow:hover,
.standalone-search-border-glow:focus-within {
    box-shadow: 0 12px 32px -4px rgba(194, 24, 43, 0.3), 0 6px 18px rgba(0, 184, 67, 0.2);
    transform: translateY(-1px);
}
.search-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 8px 6px 22px;
    gap: 14px;
}
.search-icon-symbol {
    color: #e11d48;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}
.standalone-search-border-glow:focus-within .search-icon-symbol {
    color: #e11d48;
    transform: scale(1.1);
}
.search-input-wrap input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15.5px;
    color: #1e0a16;
    font-weight: 500;
    background: transparent;
    font-family: inherit;
}
.search-input-wrap input[type="text"]::placeholder {
    color: #94a3b8;
    font-size: 14.5px;
}
.live-search-clear-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    margin: 0 2px;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.live-search-clear-btn:hover {
    background: #fee2e2;
    color: #e11d48;
    transform: scale(1.1);
}
.live-search-clear-btn:active {
    transform: scale(0.92);
}
.live-search-clear-btn svg {
    display: block;
    stroke: currentColor;
}
.btn-hero-search {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 11px 30px;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}
.btn-hero-search:hover {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 50%, #c2410c 100%);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 22px rgba(194, 24, 43, 0.45);
}
@media (max-width: 640px) {
    .home-standalone-search-form .search-input-wrap {
        flex-direction: row;
        border-radius: 999px;
        padding: 4px 5px 4px 12px;
        gap: 6px;
    }
    .home-standalone-search-form .search-icon-symbol {
        width: 17px;
        height: 17px;
        flex-shrink: 0;
    }
    .home-standalone-search-form .search-input-wrap input[type="text"] {
        font-size: 13.5px;
        min-width: 0;
    }
    .home-standalone-search-form .live-search-clear-btn {
        width: 25px;
        height: 25px;
        margin: 0 1px;
    }
    .home-standalone-search-form .btn-hero-search {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 999px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ========================================================
   STORE QUICK CATEGORY PILLS (МАГАЗИН: КАТЕГОРИИ)
   ======================================================== */
.shop-category-pills-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.shop-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.shop-cat-pill:hover {
    border-color: #e11d48;
    color: #e11d48;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 24, 43, 0.15);
}
.shop-cat-pill.active {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #ea580c 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.32);
}
.shop-cat-count {
    font-size: 11.5px;
    font-weight: 800;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 7px;
    border-radius: 12px;
    line-height: 1;
}
.shop-cat-pill.active .shop-cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ========================================================
   HERO SECTION WHEN MOVED UNDER PRODUCT GRID
   ======================================================== */
.home-hero-subgrid {
    padding-top: 60px !important;
    position: relative;
    background: radial-gradient(120% 120% at 50% 0%, #351025 0%, #200a18 45%, #041f22 100%) !important;
}
.home-hero-subgrid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-rainbow-line);
    z-index: 10;
}

@media (max-width: 992px) {
    .home-banners-slider-section {
        padding-top: 10px;
    }
    .banner-title {
        font-size: 22px;
    }
    .banner-desc {
        font-size: 13.5px;
    }
    .banner-content-overlay {
        padding: 0 32px;
    }
}
@media (max-width: 768px) {
    .home-banners-slider-section {
        padding-top: 10px;
        padding-bottom: 12px;
    }
    .home-banners-container {
        width: 95%;
        padding: 0;
    }
    .home-banner-slider {
        aspect-ratio: auto;
        height: 380px;
        min-height: 380px;
        max-height: 380px;
        border-radius: 16px;
        position: relative;
        overflow: hidden;
    }
    .home-banner-track {
        height: 100%;
        width: 100%;
        display: flex;
    }
    .home-banner-slide-item {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    .banner-bg-wrap {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;
    }
    .banner-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 70% 30%;
        display: block;
    }
    .banner-content-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        display: flex;
        align-items: flex-end;
        padding: 16px 16px 36px 16px;
        box-sizing: border-box;
    }
    .banner-content-inner {
        max-width: 100%;
        width: 100%;
    }
    .banner-content-overlay.theme-free-delivery,
    .banner-content-overlay.theme-it-iot,
    .banner-content-overlay.theme-home-garden,
    .banner-content-overlay.theme-tools,
    .banner-content-overlay.theme-kids-toys,
    .banner-content-overlay.theme-hobby {
        background: linear-gradient(180deg, rgba(84, 37, 55, 0.15) 0%, rgba(84, 37, 55, 0.65) 38%, rgba(100, 45, 64, 0.95) 70%, #542537 100%);
    }
    .banner-brand-pill {
        padding: 3px 10px;
        margin-bottom: 6px;
    }
    .banner-logo-img {
        height: 24px;
    }
    .banner-cat-badge {
        font-size: 10px;
        padding: 3px 8px;
        margin-bottom: 6px;
        letter-spacing: 0.2px;
    }
    .banner-title {
        font-size: 17px;
        line-height: 1.25;
        margin-bottom: 6px;
    }
    .banner-desc {
        font-size: 12px;
        line-height: 1.35;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .banner-cta-btn {
        padding: 8px 16px;
        font-size: 12.5px;
    }
    .banner-trust-row {
        margin-top: 8px;
        font-size: 10.5px;
        gap: 6px;
    }
    .slider-arrow-btn {
    background-color: rgba(255, 255, 255, 0.96) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #EEE5E0 !important;
    color: #40334B !important;
    box-shadow: 0 4px 14px rgba(64, 51, 75, 0.14) !important;
    z-index: 5 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    cursor: pointer !important;
}
    .slider-prev-btn { left: 8px; }
    .slider-next-btn { right: 8px; }
    .slider-dots-nav {
        right: 50%;
        transform: translateX(50%);
        bottom: 8px;
        gap: 6px;
    }
    .slider-dot {
        width: 24px;
        height: 5px;
    }

    /* Categories Dropdown Mobile Floating Overlay */
    .nav-item-categories {
        position: static;
    }
    .header-cat-dropdown {
        position: fixed;
        left: 10px;
        right: 10px;
        width: auto;
        min-width: unset;
        max-width: 440px;
        margin: 0 auto;
        max-height: calc(80vh - 40px);
        background: #FFFFFF !important;
        box-shadow: 0 20px 50px rgba(64, 51, 75, 0.2) !important;
        border: 1px solid #EEE5E0 !important;
        border-radius: 18px !important;
        z-index: 99999;
    }
}

@media (max-width: 480px) {
    .home-banner-slider {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
    }
    .banner-content-overlay {
        padding: 12px 14px 32px 14px;
    }
    .banner-title {
        font-size: 15.5px;
    }
    .banner-desc {
        font-size: 11.5px;
        margin-bottom: 8px;
    }
    .banner-cta-btn {
        padding: 7px 14px;
        font-size: 12px;
    }
    .banner-trust-row {
        display: none;
    }
}

/* ========================================================
   FESTIVE CHRISTMAS THEME & ULTRA-LIGHTWEIGHT SNOW
   (0% CPU overhead, GPU hardware accelerated, no lag)
   ======================================================== */
#xmasSnowCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none !important;
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    z-index: 99990;
    opacity: 0.95;
}

/* 1. Празнична коледна шапка върху логото (обхваща кошничката) */
.logo-xmas-hat {
    position: absolute;
    top: -26px;
    left: 10px;
    width: 78px;
    height: 78px;
    z-index: 5;
    pointer-events: none;
    transform: rotate(-14deg);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo-xmas-hat svg {
    width: 100%;
    height: 100%;
    display: block;
}
.site-logo:hover .logo-xmas-hat {
    transform: rotate(-7deg) scale(1.08);
}

/* 2. Фини празнични лампички по долния ръб на хедъра */
.header-fairy-lights {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    pointer-events: none;
    z-index: 15;
    padding: 0 16px;
    height: 6px;
    overflow: hidden;
}
.fairy-bulb {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0.75;
    will-change: opacity, transform;
    animation: fairyGlow 2.6s infinite ease-in-out;
}
.bulb-rose {
    background: #f43f5e;
    box-shadow: 0 0 6px #f43f5e;
    animation-delay: 0s;
}
.bulb-gold {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
    animation-delay: 0.65s;
}
.bulb-green {
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
    animation-delay: 1.3s;
}
.bulb-cyan {
    background: #38bdf8;
    box-shadow: 0 0 6px #38bdf8;
    animation-delay: 1.95s;
}
@keyframes fairyGlow {
    0%, 100% {
        opacity: 0.45;
        transform: scale(0.92);
    }
    50% {
        opacity: 1;
        transform: scale(1.18);
    }
}

/* 3. Плаващ бутон за пълен контрол на снежинките (Вкл / Изкл) */
.xmas-snow-toggle-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 99995;
    background: rgba(26, 9, 19, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(194, 24, 43, 0.35);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}
.xmas-snow-toggle-btn:hover {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #ea580c 100%);
    border-color: #f43f5e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 24, 43, 0.4);
}
.xmas-snow-toggle-btn .snow-icon {
    font-size: 13px;
    line-height: 1;
}
.xmas-snow-toggle-btn .snow-toggle-text {
    font-size: 11.5px;
    letter-spacing: 0.2px;
}
.xmas-snow-toggle-btn:not(.is-active) {
    opacity: 0.65;
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}
.xmas-snow-toggle-btn:not(.is-active):hover {
    opacity: 1;
}

/* 4. Деликатен естетически натрупал сняг по хедъра ("на места") */
.header-snow-shelf {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    z-index: 12;
    overflow: hidden;
}

.header-snow-frostline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.45) 6%, 
        rgba(255, 255, 255, 0.7) 18%, 
        rgba(255, 255, 255, 0.25) 35%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.3) 68%, 
        rgba(255, 255, 255, 0.75) 82%, 
        rgba(255, 255, 255, 0.4) 94%, 
        rgba(255, 255, 255, 0.1) 100%
    );
    opacity: 0.85;
}

.snow-patch {
    position: absolute;
    top: 0;
    display: block;
    filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.35));
}

.snow-patch svg {
    display: block;
    width: 100%;
    height: 100%;
}

.patch-far-left {
    left: 0;
    width: 90px;
    height: 8px;
}

.patch-between-left {
    left: 21%;
    width: 130px;
    height: 8px;
    opacity: 0.95;
}

.patch-center {
    left: 49%;
    transform: translateX(-50%);
    width: 140px;
    height: 6.5px;
    opacity: 0.9;
}

.patch-between-right {
    right: 21%;
    width: 140px;
    height: 8px;
    opacity: 0.95;
}

.patch-far-right {
    right: 0;
    width: 100px;
    height: 8px;
}

@keyframes snowSparkle {
    0%, 100% { opacity: 0.25; transform: scale(0.75); }
    50% { opacity: 0.95; transform: scale(1.15); }
}

.snow-sparkle {
    transform-origin: center;
    animation: snowSparkle 3.8s infinite ease-in-out;
}
.snow-sparkle-delay-1 { animation-delay: 1.3s; }
.snow-sparkle-delay-2 { animation-delay: 2.5s; }

/* Снежна шапчица върху червения бутон на количката */
.cart-circle-icon {
    position: relative;
    overflow: visible !important;
}
.cart-circle-snowcap {
    position: absolute;
    top: -6px;
    left: 6px;
    width: 44px;
    height: 11px;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.45));
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-cart-capsule:hover .cart-circle-snowcap {
    transform: scale(1.08) translateY(-1px);
}

@media (max-width: 992px) {
    .patch-between-left, .patch-between-right {
        display: none;
    }
    .patch-center {
        width: 110px;
    }
}

@media (max-width: 768px) {
    .xmas-snow-toggle-btn {
        bottom: 14px;
        right: 14px;
        padding: 5px 10px;
        font-size: 11px;
    }
    .header-fairy-lights {
        padding: 0 8px;
    }
    .patch-between-left, .patch-between-right, .patch-center {
        display: none;
    }
    .patch-far-left {
        width: 60px;
        height: 6px;
    }
    .patch-far-right {
        width: 60px;
        height: 6px;
    }
    .cart-circle-snowcap {
        top: -4px;
        left: 2px;
        width: 28px;
        height: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #xmasSnowCanvas,
    .fairy-bulb,
    .snow-sparkle {
        animation: none !important;
        display: none !important;
    }
}

/* ========================================================
   SOFI-MART MYSTERY GIFT MODULE (BRAND-ALIGNED UI/UX)
   ======================================================== */

.sofi-mystery-box {
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 50%, #f0fdf4 100%);
    border: 1.5px solid #fecdd3;
    border-radius: 14px;
    padding: 12px 14px;
    margin: 12px 0;
    box-shadow: 0 4px 16px rgba(194, 24, 43, 0.06);
    position: relative;
    overflow: hidden;
}

.sofi-mystery-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-rainbow-line);
}

.smb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.smb-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.smb-gift-icon {
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    animation: giftWiggle 3.5s infinite ease-in-out;
}

@keyframes giftWiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    10%, 30% { transform: rotate(-8deg) scale(1.08); }
    20%, 40% { transform: rotate(8deg) scale(1.08); }
    50% { transform: rotate(0deg) scale(1); }
}

.smb-title {
    font-size: 13px;
    font-weight: 800;
    color: #1e0a16;
    margin: 0;
    line-height: 1.25;
}

.smb-sub {
    font-size: 10.5px;
    color: #64748b;
    margin: 1px 0 0 0;
}

.smb-badge-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 800;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
}

/* CARDS 2X2 GRID */
.smb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.smb-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 60px;
    user-select: none;
}

.smb-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.smb-card.is-selected {
    background: #ffffff;
    border-color: #e11d48;
    box-shadow: 0 0 0 2px rgba(194, 24, 43, 0.15), 0 4px 12px rgba(194, 24, 43, 0.1);
}

.smb-card.is-selected[data-tier="0"] {
    border-color: #64748b;
    box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.15);
}

.smb-card.is-selected[data-tier="2"] {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.smb-card.is-selected[data-tier="4"] {
    border-color: #e11d48;
    box-shadow: 0 0 0 2px rgba(194, 24, 43, 0.25);
}

.smb-card.is-selected[data-tier="6"] {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
}

/* CARD TOP: RADIO & PRICE */
.smb-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.smb-custom-radio {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.smb-radio-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
}

.smb-card.is-selected .smb-custom-radio {
    border-color: #e11d48;
}

.smb-card.is-selected[data-tier="0"] .smb-custom-radio {
    border-color: #64748b;
}
.smb-card.is-selected[data-tier="0"] .smb-radio-dot {
    background: #64748b;
}

.smb-card.is-selected[data-tier="2"] .smb-custom-radio {
    border-color: #10b981;
}
.smb-card.is-selected[data-tier="2"] .smb-radio-dot {
    background: #10b981;
}

.smb-card.is-selected[data-tier="4"] .smb-custom-radio {
    border-color: #e11d48;
}
.smb-card.is-selected[data-tier="4"] .smb-radio-dot {
    background: #e11d48;
}

.smb-card.is-selected[data-tier="6"] .smb-custom-radio {
    border-color: #8b5cf6;
}
.smb-card.is-selected[data-tier="6"] .smb-radio-dot {
    background: #8b5cf6;
}

.smb-custom-checkbox {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}
.smb-card.is-selected .smb-custom-checkbox {
    background: #e11d48;
    border-color: #e11d48;
}
.smb-card.is-selected[data-tier="2"] .smb-custom-checkbox {
    background: #10b981;
    border-color: #10b981;
}
.smb-card.is-selected[data-tier="4"] .smb-custom-checkbox {
    background: #e11d48;
    border-color: #e11d48;
}
.smb-card.is-selected[data-tier="6"] .smb-custom-checkbox {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.smb-price {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
}

.smb-price.free {
    color: #64748b;
    font-size: 11px;
}

.smb-price.accent-mini {
    color: #059669;
}

.smb-price.accent-super {
    color: #e11d48;
}

.smb-price.accent-vip {
    color: #7c3aed;
}

/* CARD DETAILS */
.smb-card-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    line-height: 1.25;
}

.smb-card-desc {
    font-size: 9.5px;
    color: #64748b;
    display: block;
    margin-top: 1px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* FLOATING VALUE BADGES */
.smb-pill-badge {
    position: absolute;
    top: -6px;
    right: 8px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 1px 5px;
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.smb-pill-mini {
    background: #0284c7;
}

.smb-pill-super {
    background: linear-gradient(135deg, #e11d48 0%, #ea580c 100%);
}

.smb-pill-vip {
    background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
}

/* ACTIVE FEEDBACK BANNER */
.smb-active-banner {
    margin-top: 10px;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeIn 0.2s ease-in;
}

.smb-active-banner.tier-2 {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.smb-active-banner.tier-4 {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.smb-active-banner.tier-6 {
    background: #faf5ff;
    color: #581c87;
    border: 1px solid #e9d5ff;
}

.smb-active-banner.tier-multi {
    background: linear-gradient(135deg, #fff1f2 0%, #ecfdf5 50%, #faf5ff 100%);
    color: #1e1b4b;
    border: 1px solid #fbcfe8;
}

/* SOFI ORDER SUMMARY BOX IN FAST ORDER & CART */
.sofi-order-summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    margin: 10px 0;
    font-size: 12.5px;
}

.sosb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    color: #475569;
}

.sosb-row.gift {
    color: #e11d48;
    font-weight: 700;
}

.sosb-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 6px 0;
}

.sosb-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3px;
}

.sosb-total-label {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.sosb-total-val {
    font-size: 18px;
    font-weight: 900;
    color: #e11d48;
}

@media (max-width: 480px) {
    .smb-grid {
        grid-template-columns: 1fr;
    }
    .smb-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================================
   DECORATIVE SNOWY PINES (BOKEH / SOFT BLUR IN HEADER, HERO, FOOTER)
   ======================================================== */
.snowy-pines-cluster {
    position: absolute;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    z-index: 5;
    filter: blur(1.5px);
    -webkit-filter: blur(1.5px);
    opacity: 0.90;
    transition: opacity 0.3s ease;
}

.snowy-pine-svg {
    display: block;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.snowy-pine-svg.pine-tall {
    width: 46px;
    height: 60px;
}

.snowy-pine-svg.pine-short {
    width: 36px;
    height: 48px;
    margin-left: -12px;
    opacity: 0.88;
}

/* Header placement */
.pines-header-left {
    top: 6px;
    left: 20px;
    transform: scale(0.9);
}

.pines-header-right {
    top: 6px;
    right: 20px;
    transform: scale(0.9) scaleX(-1);
}

/* Hero placement */
.pines-hero-left {
    bottom: 12px;
    left: 28px;
    transform: scale(1.15);
}

.pines-hero-right {
    bottom: 12px;
    right: 28px;
    transform: scale(1.15) scaleX(-1);
}

/* Footer placement */
.pines-footer-left {
    top: 14px;
    left: 24px;
    transform: scale(1.05);
}

.pines-footer-right {
    top: 14px;
    right: 24px;
    transform: scale(1.05) scaleX(-1);
}

@media (max-width: 768px) {
    .snowy-pines-cluster {
        display: none;
    }
}

/* ========================================================
   MODAL 5-STEP LAYOUT (FAST ORDER & CART)
   ======================================================== */
.sofi-modal-section {
    margin-bottom: 14px;
}

.sofi-modal-step-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.smst-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #02393c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.smst-label {
    flex: 1;
}

/* Step 1: Selected Product Card */
.sofi-selected-product-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.sspc-thumb-wrap {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sspc-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sspc-details {
    flex: 1;
    min-width: 0;
}

.sspc-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    margin-bottom: 4px;
}

.sspc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sspc-qty {
    font-size: 12px;
    color: #64748b;
}

.sspc-price {
    font-size: 15px;
    font-weight: 800;
    color: #02393c;
}

/* Step 2: Form Grid */
.sofi-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sofi-form-grid .form-group {
    margin-bottom: 0;
}

.sofi-form-grid .form-group.full-width {
    grid-column: 1 / -1;
}

.sofi-form-grid label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.sofi-form-grid input,
.sofi-form-grid textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    font-size: 13.5px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.sofi-form-grid input:focus,
.sofi-form-grid textarea:focus {
    border-color: #02393c;
    box-shadow: 0 0 0 3px rgba(2, 57, 60, 0.12);
}

.sofi-form-grid textarea {
    resize: vertical;
    min-height: 52px;
}

/* Step 4: Terms Checkbox */
.sofi-terms-checkbox-wrap {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 4px;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.4;
    user-select: none;
    margin: 0;
}

.terms-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 1px 0 0 0;
    accent-color: #02393c;
    cursor: pointer;
    flex-shrink: 0;
}

.terms-text a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.15s;
}

.terms-text a:hover {
    color: #0369a1;
}

/* Step 5: Action Row (Confirm Button & Total EUR) */
.sofi-confirm-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.liq-modal-submit-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #02393c 0%, #035256 100%);
    color: #ffffff;
    border: none;
    padding: 13px 18px;
    font-size: 14.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 57, 60, 0.28);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.liq-modal-submit-btn:hover {
    background: linear-gradient(135deg, #03484c 0%, #04656a 100%);
    box-shadow: 0 6px 18px rgba(2, 57, 60, 0.38);
    transform: translateY(-1px);
}

.liq-modal-submit-btn:active {
    transform: translateY(0);
}

.sofi-confirm-total-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    background: #fff1f2;
    border: 1.5px solid #fecdd3;
    padding: 7px 14px;
    border-radius: 10px;
    min-width: 140px;
    flex-shrink: 0;
}

.confirm-total-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9f1239;
    line-height: 1.2;
}

.confirm-total-val {
    font-size: 20px;
    font-weight: 900;
    color: #e11d48;
    line-height: 1.1;
    font-feature-settings: "tnum";
}

.cart-clear-link {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 6px;
    text-decoration: underline;
    transition: color 0.15s;
}

.cart-clear-link:hover {
    color: #ef4444;
}

@media (max-width: 520px) {
    .sofi-form-grid {
        grid-template-columns: 1fr;
    }
    .sofi-confirm-action-row {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .sofi-confirm-total-box {
        width: 100%;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 9px 14px;
    }
    .liq-modal-submit-btn {
        width: 100%;
    }
}

/* ========================================================
   CATALOG PAGINATION & PAGE COUNTER (SUNSET POP STYLED)
   ======================================================== */
.catalog-pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: #ffffff;
    border: 1.5px solid #EADBDF;
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 4px 14px rgba(64, 51, 75, 0.05);
}

.catalog-pagination-top {
    margin-top: 10px;
    margin-bottom: 24px;
}

.catalog-pagination-bottom {
    margin-top: 36px;
    margin-bottom: 30px;
}

/* Page Counter Badge */
.pagination-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFDFB;
    border: 1.5px solid #EADBDF;
    border-radius: 10px;
    padding: 7px 15px;
    font-size: 13.5px;
    color: #40334B;
    box-shadow: 0 1px 3px rgba(64, 51, 75, 0.04);
    font-feature-settings: "tnum";
}

.pagination-counter-badge .counter-icon {
    color: #C2182B;
    flex-shrink: 0;
}

.pagination-counter-badge .counter-text-label,
.pagination-counter-badge .counter-text-sep {
    color: #7A6F82;
    font-weight: 500;
}

.pagination-counter-badge .counter-total-digit {
    font-weight: 700;
    color: #40334B;
}

/* Active number inside the counter badge: Bold + Dot underneath */
.counter-current-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    padding: 0 2px;
}

.counter-current-digit {
    font-weight: 900 !important;
    font-size: 15px !important;
    color: #C2182B !important;
    letter-spacing: -0.2px;
}

.counter-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #C2182B;
    margin-top: 2.5px;
}

/* Pagination navigation links */
.pagination-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.pagination-nav-links .page-numbers,
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #40334B;
    background: #ffffff;
    border: 1.5px solid #EADBDF;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    line-height: 1;
}

.pagination-nav-links a.page-numbers:hover,
.pagination a.page-numbers:hover {
    background: #C2182B;
    border-color: #C2182B;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 24, 43, 0.28);
}

.pagination-nav-links .page-numbers.prev,
.pagination-nav-links .page-numbers.next,
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    padding: 0 15px;
    font-weight: 700;
    font-size: 13.5px;
    color: #40334B;
    background: #FFFDFB;
}

.pagination-nav-links a.page-numbers.prev:hover,
.pagination-nav-links a.page-numbers.next:hover,
.pagination a.page-numbers.prev:hover,
.pagination a.page-numbers.next:hover {
    background: #C2182B;
    border-color: #C2182B;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(194, 24, 43, 0.28);
}

.pagination-nav-links .page-numbers.dots,
.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: #94a3b8;
    min-width: 22px;
    cursor: default;
    box-shadow: none;
    font-weight: 700;
}

/* ========================================================
   ACTIVE PAGE NUMBER: SUNSET POP ACCENT + GLOW
   ======================================================== */
.pagination-nav-links .page-numbers.current,
.pagination .page-numbers.current {
    font-weight: 900 !important;
    font-size: 15.5px !important;
    color: #C2182B !important;
    background: #FFF2EE !important;
    border: 2px solid #C2182B !important;
    box-shadow: 0 3px 10px rgba(194, 24, 43, 0.22) !important;
    cursor: default;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-bottom: 5px !important;
}

.pagination-nav-links .page-numbers.current::after,
.pagination .page-numbers.current::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4.5px;
    height: 4.5px;
    border-radius: 50%;
    background-color: #C2182B;
    display: block;
}

/* Fallback for any standard WordPress list-based pagination */
.pagination,
.pagination ul.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 30px 0 !important;
}

.pagination ul.page-numbers li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
}

@media (max-width: 640px) {
    .catalog-pagination-bar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
    }
    .pagination-counter-badge {
        width: 100%;
        justify-content: center;
    }
    .pagination-nav-links {
        justify-content: center;
        width: 100%;
        gap: 5px;
    }
    .pagination-nav-links .page-numbers,
    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
    .pagination-nav-links .page-numbers.prev,
    .pagination-nav-links .page-numbers.next,
    .pagination .page-numbers.prev,
    .pagination .page-numbers.next {
        padding: 0 11px;
        font-size: 12px;
    }
}


/* ========================================================
   SOFI-MART UI/UX UPGRADES (POINTS 1, 2, 4, 5)
   ======================================================== */

/* 1. DUAL CURRENCY SUB-LABELS */
.price-bgn-sub {
    font-size: 0.82em;
    font-weight: 700;
    color: #64748b;
    margin-left: 4px;
    letter-spacing: -0.2px;
}
.cart-bgn-sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-left: 3px;
}
.confirm-total-bgn {
    font-size: 13.5px;
    font-weight: 700;
    color: #15803d;
    margin-left: 4px;
}

/* 2. CATEGORIES DROPDOWN IN HEADER */
.nav-item-categories {
    position: relative;
}
.nav-link-categories {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cat-caret {
    transition: transform 0.2s ease;
}
.nav-item-categories:hover .cat-caret,
.nav-item-categories:focus-within .cat-caret {
    transform: rotate(180deg);
}
.header-cat-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 310px;
    max-height: calc(85vh - 50px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #FFFFFF !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(64, 51, 75, 0.14), 0 2px 8px rgba(64, 51, 75, 0.06) !important;
    padding: 10px !important;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.header-cat-dropdown::-webkit-scrollbar {
    width: 6px;
}
.header-cat-dropdown::-webkit-scrollbar-track {
    background: #FFF8EF;
    border-radius: 8px;
}
.header-cat-dropdown::-webkit-scrollbar-thumb {
    background: #EEE5E0;
    border-radius: 8px;
}
.header-cat-dropdown::-webkit-scrollbar-thumb:hover {
    background: #F4C6B2;
}
.nav-item-categories:hover .header-cat-dropdown,
.nav-item-categories:focus-within .header-cat-dropdown,
.nav-item-categories.is-open .header-cat-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.nav-item-categories.is-open .cat-caret {
    transform: rotate(180deg);
}
.hcd-inner {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.hcd-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #40334B !important;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}
.hcd-link:hover {
    background: #FFF8EF !important;
    transform: translateX(4px);
}
.hcd-icon {
    font-size: 19px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #F6EDF7;
    border-radius: 10px;
    transition: background 0.18s ease, transform 0.18s ease;
}
.hcd-link:hover .hcd-icon {
    background: #FCEAE1;
    transform: scale(1.08);
}
.hcd-meta strong {
    display: block;
    font-family: var(--font-heading) !important;
    font-size: 13.5px;
    font-weight: 700;
    color: #40334B !important;
    line-height: 1.25;
    transition: color 0.18s ease;
}
.hcd-link:hover .hcd-meta strong {
    color: #C2182B !important;
}
.hcd-meta small {
    display: block;
    font-family: var(--font-main) !important;
    font-size: 11.5px;
    color: #887E87 !important;
    line-height: 1.25;
    margin-top: 2px;
}
.hcd-bottom {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #EEE5E0 !important;
}
.hcd-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px !important;
    background: #C2182B !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.28) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hcd-all-btn:hover {
    background: #9E121E !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(158, 18, 30, 0.38) !important;
    transform: translateY(-1px);
}

/* 3. PRODUCT QUANTITY SELECTOR ON SINGLE ITEM */
.product-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
}
.qty-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
}
.product-qty-ctrl {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}
.btn-qty-minus,
.btn-qty-plus {
    background: #f1f5f9;
    color: #0f172a;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.btn-qty-minus:hover,
.btn-qty-plus:hover {
    background: #e2e8f0;
}
.qty-input {
    width: 44px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    background: transparent;
    outline: none;
}

/* 4. ACTIVE FILTER CHIPS (CATALOG / MAGAZIN) */
.active-filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: #FFF8EF;
    border: 1px solid #EEE5E0;
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 18px;
}
.af-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #887E87;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-right: 4px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    color: #40334B;
    border: 1.5px solid #EEE5E0;
    border-radius: 999px;
    padding: 4px 10px 4px 12px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(64, 51, 75, 0.05);
}
.filter-chip:hover {
    background: #FCEAE1;
    border-color: #C2182B;
    color: #C2182B;
}
.chip-remove {
    font-size: 11px;
    font-weight: 800;
    color: #887E87;
    background: #FFF8EF;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}
.filter-chip:hover .chip-remove {
    background: #C2182B;
    color: #FFFFFF;
}
.filter-chip-clear-all {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #C2182B;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 8px;
    transition: all 0.18s ease;
}
.filter-chip-clear-all:hover {
    background: #FCEAE1;
    color: #9E121E;
}

/* 5. COURIER SELECTION & CHECKOUT REASSURANCE (CART MODAL) */
.delivery-courier-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.courier-card-opt {
    position: relative;
    display: block;
    cursor: pointer;
}
.courier-card-opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.cco-box {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 8px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    transition: all 0.18s ease;
}
.cco-icon {
    font-size: 22px;
    line-height: 1;
}
.cco-info strong {
    display: block;
    font-size: 12.5px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
}
.cco-info small {
    display: block;
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.2;
}
.courier-card-opt.active .cco-box,
.courier-card-opt input[type="radio"]:checked ~ .cco-box {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 0 0 1px #0284c7;
}
.cart-trust-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 9px 12px;
    margin-top: 12px;
}
.ctr-item {
    font-size: 12px;
    color: #166534;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 6. STICKY MOBILE BOTTOM NAVIGATION BAR */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(28, 10, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
}
.mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #cbd5e1;
    text-decoration: none;
    background: none;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 700;
    transition: color 0.15s ease;
}
.mbn-item:hover,
.mbn-item.active {
    color: #f43f5e;
}
.mbn-item.mbn-call {
    color: #38bdf8;
}
.mbn-cart-icon-wrap {
    position: relative;
    display: inline-flex;
}
.mbn-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 7. MOBILE CATEGORIES OFFCANVAS DRAWER */
.mobile-cat-drawer {
    display: none;
}
.mobile-cat-drawer.is-open {
    display: block;
}
.mobile-cat-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10001;
}
.mobile-cat-drawer-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: #FFFFFF;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -10px 40px rgba(64, 51, 75, 0.2);
    z-index: 10002;
    overflow-y: auto;
    animation: drawerSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes drawerSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.mobile-cat-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #EEE5E0;
    position: sticky;
    top: 0;
    background: #FFFFFF;
    z-index: 10;
}
.mobile-cat-drawer-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #40334B;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}
.drawer-close-btn {
    background: #FFF8EF;
    border: 1px solid #EEE5E0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 1;
    color: #887E87;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}
.drawer-close-btn:hover {
    background: #FCEAE1;
    color: #C2182B;
}
.mobile-cat-drawer-body {
    padding: 12px 16px 36px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cat-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #FFF8EF;
    border: 1px solid #EEE5E0;
    color: #40334B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.18s ease;
}
.cat-drawer-link:active,
.cat-drawer-link:hover {
    background: #FCEAE1;
    border-color: #C2182B;
    color: #C2182B;
    transform: scale(0.99);
}
.cat-drawer-link.all-products {
    background: #C2182B;
    border-color: #C2182B;
    color: #FFFFFF;
    margin-top: 6px;
}
.cat-drawer-link.all-products:hover {
    background: #9E121E;
    border-color: #9E121E;
    color: #FFFFFF;
}
.cat-drawer-link.all-products .cdl-arrow {
    color: #FFFFFF;
}
.cdl-icon {
    font-size: 20px;
}
.cdl-text {
    flex: 1;
}
.cdl-arrow {
    color: #C2182B;
    font-weight: 800;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    .delivery-courier-selector {
        grid-template-columns: 1fr;
    }
}


/* ========================================================
   ECONT AUTOCOMPLETE DROPDOWN & 4 EUR SHIPPING FEE STYLES
   ======================================================== */
.cart-totals-breakdown {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ctb-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}
.ctb-line strong {
    color: #0f172a;
    font-weight: 700;
}
.ctb-line.ctb-shipping-line {
    padding-top: 6px;
    border-top: 1px dashed #cbd5e1;
}
.cco-shipping-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10.5px;
    margin-top: 2px;
}
.econt-autocomplete-wrap {
    position: relative;
    width: 100%;
}
.econt-autocomplete-wrap input {
    padding-right: 42px !important;
}
.btn-econt-toggle-dropdown {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: all 0.15s ease;
}
.btn-econt-toggle-dropdown:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}
.econt-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #0284c7;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 10005;
    overflow: hidden;
    animation: econtFadeInDown 0.18s ease;
}
@keyframes econtFadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.econt-dd-header {
    background: #f0f9ff;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    border-bottom: 1px solid #bae6fd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.econt-dd-hint {
    font-size: 11px;
    color: #64748b;
    font-weight: normal;
}
.econt-dd-scroll {
    max-height: 240px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.econt-dd-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.12s ease;
}
.econt-dd-item:last-child {
    border-bottom: none;
}
.econt-dd-item:hover {
    background: #f0fdf4;
}
.econt-dd-item-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}
.econt-dd-icon {
    font-size: 15px;
}
.econt-dd-name {
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
}
.econt-badge-office {
    font-size: 10px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}
.econt-badge-aps {
    font-size: 10px;
    background: #fef3c7;
    color: #92400e;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}
.econt-dd-code {
    margin-left: auto;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}
.econt-dd-addr {
    font-size: 12px;
    color: #64748b;
    padding-left: 21px;
    line-height: 1.3;
}
.econt-office-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #0369a1;
    background: #f0f9ff;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #bae6fd;
}
.econt-office-hint.speedy-hint {
    color: #4338ca;
    background: #eef2ff;
    border-color: #c7d2fe;
}
.econt-dd-loading,
.econt-dd-empty {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* ========================================================
   MODERN BRAND-NEW ASSURANCE BADGES (100% НОВА СТОКА / 24М / ОТВОРЕНА КУТИЯ)
   ======================================================== */
.card-trust-micro.modern-card-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 2.5px 8px;
    border-radius: 6px;
    letter-spacing: -0.2px;
    line-height: 1.2;
}
.trust-badge-pill.badge-pill-warranty {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.trust-badge-pill.badge-pill-box {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.badge-new-condition {
    color: #059669;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}
.trust-box.modern-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 14px;
}
.trust-box.modern-trust-badges .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #334155;
}
.trust-box.modern-trust-badges .trust-item .icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* ========================================================
   LIVE AJAX SEARCH BAR & INTERACTIVE RESULTS DROPDOWN
   ======================================================== */
.header-nav-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Standalone Home Search dropdown positioning */
.standalone-search-border-glow {
    position: relative;
}
.standalone-search-results {
    top: calc(100% + 8px) !important;
    left: 0;
    right: 0;
    width: 100% !important;
}

/* Common Results Dropdown styling */
.live-search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 440px;
    max-width: 95vw;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    z-index: 99999;
    animation: lsFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lsFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ls-loading-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 600;
}
.ls-spinner {
    font-size: 18px;
    animation: lsSpin 1.4s infinite linear;
}
@keyframes lsSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ls-empty-box {
    padding: 28px 18px;
    text-align: center;
}
.ls-empty-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}
.ls-empty-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}
.ls-empty-sub {
    font-size: 12.5px;
    color: #64748b;
}

.ls-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}
.lsh-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}
.lsh-hint {
    font-size: 11px;
    color: #059669;
    font-weight: 600;
}

.ls-items-list {
    max-height: 380px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.ls-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f8fafc;
    cursor: pointer;
    transition: background 0.15s ease;
}
.ls-item-row:hover {
    background: #f8fafc;
}
.ls-thumb-link {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}
.ls-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ls-no-img {
    font-size: 18px;
}

.ls-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ls-item-cat {
    font-size: 10.5px;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ls-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}
.ls-item-title:hover {
    color: #0284c7;
}
.ls-item-badges {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.ls-badge-new {
    font-size: 9.5px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 1px 5px;
    border-radius: 4px;
}
.ls-badge-warr {
    font-size: 9.5px;
    font-weight: 700;
    color: #0284c7;
    background: #f0f9ff;
    padding: 1px 5px;
    border-radius: 4px;
}
.ls-badge-box {
    font-size: 9.5px;
    font-weight: 700;
    color: #6366f1;
    background: #eef2ff;
    padding: 1px 5px;
    border-radius: 4px;
}
mark.ls-match {
    background: #fef08a;
    color: #854d0e;
    font-weight: 700;
    padding: 0 2px;
    border-radius: 2px;
}

.ls-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.ls-price-box {
    text-align: right;
}
.ls-price-eur {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    display: block;
    line-height: 1.1;
}
.ls-price-bgn {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    display: block;
}

.btn-ls-cart {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-ls-cart:hover {
    background: #0369a1;
    transform: translateY(-1px);
}
.btn-ls-cart.btn-added {
    background: #059669 !important;
}
.ls-sold-badge {
    font-size: 11px;
    font-weight: 700;
    color: #991b1b;
    background: #fee2e2;
    padding: 2px 6px;
    border-radius: 4px;
}

.ls-footer-bar {
    padding: 9px 14px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}
.ls-view-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
    transition: color 0.15s ease;
}
.ls-view-all-link:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* Mobile responsive search dropdown */
@media (max-width: 991px) {
    .live-search-results-dropdown {
        width: 100%;
        left: 0;
        right: 0;
    }
}

/* ========================================================
   PRODUCT SKU / IDENTIFIER BADGES (EM0, EM1...)
   ======================================================== */
.card-sku-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 800;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 2px 7px;
    border-radius: 5px;
    letter-spacing: 0.3px;
}
.card-sku-tag .cst-label {
    font-size: 10px;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
}

.single-title-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.single-title-wrap .single-title {
    margin-bottom: 0;
    flex: 1;
}
.single-sku-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f9ff;
    color: #0369a1;
    border: 1.5px solid #bae6fd;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.08);
    white-space: nowrap;
}
.single-sku-pill .ssp-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #0284c7;
    font-weight: 800;
    letter-spacing: 0.4px;
}
.single-sku-pill .ssp-code {
    font-size: 15px;
    font-weight: 900;
    color: #0284c7;
}

.badge-sku-code {
    display: inline-block;
    padding: 4px 10px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.4px;
}

.buy-card-sku-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f9ff;
    border: 1px dashed #7dd3fc;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 13px;
    margin-bottom: 12px;
    color: #0369a1;
    font-weight: 600;
}
.buy-card-sku-badge strong {
    color: #0284c7;
    font-size: 14.5px;
    font-weight: 800;
}

.qv-sku-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 800;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.ls-sku-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    color: #0284c7;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.2px;
}


/* ==========================================================================
   SOFI-MART: SUNSET POP – MODERN RETAIL EDITION (v1.0)
   HIGH SPECIFICITY IMPLEMENTATION LAYER
   ========================================================================== */

/* 1. LIGHT MINIMALIST HEADER (#FFFFFF) */
header.site-header,
.site-header,
.header-top-row,
.site-header .header-top-row,
.header-nav-row,
.site-header .header-nav-row,
.main-navigation {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border-color: #EEE5E0 !important;
}
.site-header {
    border-bottom: 1px solid #EEE5E0 !important;
    box-shadow: 0 2px 14px rgba(64, 51, 75, 0.04) !important;
}
.site-header::after,
.header-fairy-lights,
.snowy-pines-cluster,
.header-snow-shelf,
.logo-xmas-hat,
.cart-circle-snowcap,
.footer-flow-wave,
.hero-bottom-curve {
    display: none !important;
}

/* Header Logo */
.site-logo {
    display: inline-flex !important;
    align-items: center !important;
}
.sofi-mart-logo-img {
    height: 74px !important;
    max-height: 80px !important;
    width: auto !important;
}

/* Header Phones */
.phone-sub-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4A3E49 !important; /* High Contrast Plum */
    letter-spacing: 0.3px !important;
    text-shadow: none !important;
}
.phone-number-val {
    font-family: var(--font-heading) !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #40334B !important; /* Dark Plum */
    letter-spacing: 0.5px !important;
    text-shadow: none !important;
}
.phone-main-link:hover .phone-number-val {
    color: #C2182B !important; /* Sunset Coral */
}
.phone-pill-icon.call {
    background-color: #C2182B !important;
    background: #C2182B !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(194, 24, 43, 0.3) !important;
}
.phone-pill-icon.viber {
    background-color: #B9A5E8 !important;
    background: #B9A5E8 !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(185, 165, 232, 0.3) !important;
}

/* Header Cart Widget */
.header-cart-capsule {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    border-radius: 999px !important;
    padding: 5px 20px 5px 5px !important;
    gap: 12px !important;
    color: #40334B !important;
    box-shadow: 0 2px 10px rgba(64, 51, 75, 0.05) !important;
    transition: all 0.2s ease !important;
}
.header-cart-capsule:hover {
    background-color: #FCEAE1 !important; /* Peach Light */
    background: #FCEAE1 !important;
    border-color: #C2182B !important;
    box-shadow: 0 4px 16px rgba(194, 24, 43, 0.2) !important;
    transform: translateY(-1px);
}
.cart-circle-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background-color: #C2182B !important; /* Sunset Coral */
    background: #C2182B !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(194, 24, 43, 0.35) !important;
}
.cart-circle-icon svg {
    color: #FFFFFF !important;
}
.cart-pill-data {
    color: #40334B !important;
}
.cart-pill-qty {
    color: #40334B !important;
    font-weight: 700 !important;
}
.cart-pill-divider {
    color: #EEE5E0 !important;
}
.cart-pill-price {
    color: #C2182B !important; /* WCAG AA High Contrast Sunset Terracotta */
    font-family: var(--font-price) !important;
    font-weight: 800 !important;
    font-size: 16px !important;
}

/* Header Navigation Bar */
.header-nav-row {
    border-top: none !important;
    border-bottom: 1px solid #EEE5E0 !important;
}
.header-nav-row .nav-link {
    color: #40334B !important; /* Dark Plum */
    font-family: var(--font-main) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    transition: all 0.16s ease !important;
}
.header-nav-row .nav-icon {
    color: #40334B !important;
    opacity: 0.85 !important;
}
.header-nav-row .nav-link:hover {
    color: #C2182B !important; /* High Contrast Coral */
    background-color: #FCEAE1 !important; /* Peach Light */
    background: #FCEAE1 !important;
}
.header-nav-row .nav-link:hover .nav-icon {
    color: #C2182B !important;
    opacity: 1 !important;
}
.header-nav-row .nav-item.active .nav-link {
    background-color: #C2182B !important; /* WCAG AA High Contrast (5.2:1) */
    background: #C2182B !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 12px rgba(194, 65, 12, 0.32) !important;
    font-weight: 700 !important;
}
.header-nav-row .nav-item.active .nav-icon {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

/* 2. INNER HEADER BAR (SUBPAGES) */
.inner-header-bar {
    background-color: #F6EDF7 !important; /* Lavender tint */
    background: #F6EDF7 !important;
    border-bottom: 1px solid #EEE5E0 !important;
    box-shadow: 0 2px 8px rgba(64, 51, 75, 0.04) !important;
    padding: 16px 0 !important;
}
.inner-breadcrumb {
    color: #887E87 !important;
    font-size: 14px !important;
}
.inner-breadcrumb a,
.bc-home {
    color: #C2182B !important;
    font-weight: 600 !important;
}
.inner-breadcrumb a:hover {
    color: #9E121E !important;
}
.bc-sep {
    color: #A69AA4 !important;
    margin: 0 8px !important;
}
.bc-current {
    color: #40334B !important;
    font-weight: 700 !important;
}

/* 3. ОСНОВЕН ФОН (#FFF8EF Warm Ivory) */
body,
html,
.page-wrapper,
.site-content,
.main-content,
#main-content,
.archive-items-section,
.home-items-section,
.home-products-section,
.single-item-section {
    background-color: #FFF8EF !important;
}
body::before {
    background-color: #FFF8EF !important;
    background-image: 
        radial-gradient(ellipse 80% 50% at 15% 10%, rgba(194, 24, 43, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 85% 15%, rgba(185, 165, 232, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(255, 214, 107, 0.03) 0%, transparent 70%),
        linear-gradient(180deg, #FFF8EF 0%, #fffbf5 35%, #FFF8EF 70%, #fdf6ec 100%) !important;
}

/* 4. ПРОДУКТОВИ КАРТИ (#FFFFFF, 18px radius) */
.item-card,
article.item-card,
.bazar-card,
.product-card {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 24px rgba(64, 51, 75, 0.06) !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.item-card:hover {
    transform: translateY(-3px) !important;
    border-color: #C2182B !important;
    box-shadow: 0 12px 30px rgba(64, 51, 75, 0.11) !important;
}
.card-media {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #EEE5E0 !important;
    border-radius: 18px 18px 0 0 !important;
}
.card-title,
.card-title a {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: #40334B !important; /* Dark Plum */
    transition: color 0.15s ease !important;
}
.card-title a:hover {
    color: #C2182B !important;
}
.card-excerpt-list {
    color: #887E87 !important; /* Muted Gray */
    font-size: 13.5px !important;
}

/* Card Pricing */
.card-pricing-block {
    background: #FFF8EF !important;
    border-left: 3px solid #C2182B !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    transition: background 0.2s ease !important;
}
.item-card:hover .card-pricing-block {
    background: #FCEAE1 !important;
    border-left: 3px solid #9E121E !important;
}
.price-current,
.price-val-eur {
    font-family: var(--font-price) !important;
    font-weight: 700 !important;
    color: #40334B !important; /* Dark Plum */
    font-size: 22px !important;
}
.price-current .currency-symbol {
    color: #C2182B !important;
}
.price-old-val {
    color: #594F58 !important; /* High Contrast Muted Gray */
    text-decoration: line-through !important;
    font-size: 14px !important;
}
.price-savings-row {
    color: #C2182B !important; /* High Contrast Savings Alert */
    font-weight: 700 !important;
    font-size: 12px !important;
}

/* Card Buttons */
.btn-card-add-cart,
.btn-card-add-cart-lg {
    background-color: #C2182B !important; /* WCAG AA Contrast (5.2:1) */
    background: #C2182B !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: var(--font-main) !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 12px rgba(194, 65, 12, 0.32) !important;
    transition: all 0.18s ease !important;
}
.btn-card-add-cart:hover,
.btn-card-add-cart-lg:hover {
    background-color: #9E121E !important;
    background: #9E121E !important;
    box-shadow: 0 6px 18px rgba(163, 54, 10, 0.42) !important;
    transform: translateY(-1px) !important;
}
.btn-quick-view {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #40334B !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(64, 51, 75, 0.08) !important;
}
.btn-quick-view:hover {
    background-color: #FCEAE1 !important;
    background: #FCEAE1 !important;
    color: #C2182B !important;
    border-color: #C2182B !important;
}

/* 5. ОСНОВНИ БУТОНИ (WCAG AA compliant, 12px radius) */
.btn-primary,
.filter-btn,
.btn-add-to-cart,
.btn-fast-order,
.btn-order-fast,
.btn-hero-search,
.liq-modal-submit,
.cart-checkout-btn,
.btn-checkout,
.hero-primary-btn,
.hero-cta-btn {
    background-color: #C2182B !important;
    background: #C2182B !important;
    border: none !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    font-family: var(--font-main) !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 12px rgba(194, 65, 12, 0.32) !important;
    transition: all 0.18s ease !important;
}
.btn-primary:hover,
.filter-btn:hover,
.btn-add-to-cart:hover,
.btn-fast-order:hover,
.btn-order-fast:hover,
.btn-hero-search:hover,
.liq-modal-submit:hover,
.cart-checkout-btn:hover,
.btn-checkout:hover,
.hero-primary-btn:hover,
.hero-cta-btn:hover {
    background-color: #9E121E !important;
    background: #9E121E !important;
    box-shadow: 0 6px 18px rgba(163, 54, 10, 0.42) !important;
    transform: translateY(-1px) !important;
}

/* Secondary Button */
.btn-secondary,
.filter-btn-reset {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: #40334B !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 12px !important;
    font-family: var(--font-main) !important;
    font-weight: 600 !important;
    transition: all 0.18s ease !important;
}
.btn-secondary:hover,
.filter-btn-reset:hover {
    background-color: #F6EDF7 !important;
    background: #F6EDF7 !important;
    color: #40334B !important;
    border-color: #B9A5E8 !important;
}

/* 6. БАДЖОВЕ И ЕТИКЕТИ (Sunset Pop System) */
/* NEW */
.badge-new {
    background-color: #E9DDF7 !important;
    background: #E9DDF7 !important;
    color: #40334B !important;
    border-radius: 8px !important;
}
/* SALE */
.card-discount-pill,
.badge-sale {
    background-color: #C2182B !important; /* High Contrast Sale Crimson */
    background: #C2182B !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.35) !important;
}
/* SPECIAL OFFER / PROMO */
.card-badge,
.card-badge.badge-hot,
.badge-promo,
.badge-hot,
.promo-tag,
.badge-discount,
.info-pill-badge {
    background-color: #FFD66B !important;
    background: #FFD66B !important;
    color: #40334B !important;
    border-color: #FFD66B !important;
    box-shadow: 0 2px 8px rgba(255, 214, 107, 0.4) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}
/* IN STOCK */
.card-stock-status,
.card-stock-status.status-in-stock,
.stock-status-in,
.in-stock-label,
.status-in-stock,
.avail-badge.avail-available {
    background-color: #E8F2E9 !important;
    background: #E8F2E9 !important;
    color: #166534 !important; /* High Contrast Success Green */
    border: 1px solid rgba(22, 101, 52, 0.25) !important;
    border-radius: 6px !important;
}
.card-stock-status.status-in-stock .stock-pulse-dot,
.stock-pulse-dot,
.avail-badge.avail-available .dot {
    background-color: #166534 !important;
    background: #166534 !important;
}
/* OUT OF STOCK */
.card-stock-status.status-sold,
.status-sold {
    background-color: #FCEAE1 !important;
    background: #FCEAE1 !important;
    color: #B91C1C !important; /* High Contrast Sold Red */
    border: 1px solid rgba(185, 28, 28, 0.25) !important;
    border-radius: 6px !important;
}
/* SKU */
.card-sku-tag,
.qv-sku-tag,
.buy-card-sku-badge,
.single-sku-pill,
.ls-sku-badge {
    background-color: #E9DDF7 !important;
    background: #E9DDF7 !important;
    color: #40334B !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 6px !important;
}
.card-sku-tag .cst-label,
.single-sku-pill .ssp-label {
    color: #40334B !important;
    font-weight: 700 !important;
}

/* 7. ЗАГЛАВИЯ И ТИПОГРАФИЯ (Inter & Manrope 700) */
h1, h2, h3, h4, h5, h6,
.section-title,
.section-heading,
.info-heading,
.single-title,
.liq-modal h3,
.guarantee-title,
.home-section-title,
.home-section-title-alt,
.shop-heading,
.hero-main-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: #40334B !important; /* Dark Plum */
}
p,
.banner-desc,
.hero-main-sub,
.home-section-desc,
.info-lead,
.guarantee-text,
.single-desc-content {
    font-family: var(--font-main) !important;
    color: #4A3E49 !important; /* High Contrast Plum Gray */
    line-height: 1.6 !important;
}
.home-section-tag {
    background: #E9DDF7 !important;
    color: #40334B !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}
.home-quick-all-link {
    color: #C2182B !important;
    font-weight: 700 !important;
}
.home-quick-all-link:hover {
    color: #9A3412 !important;
}

/* 8. PRODUCT CATEGORIES (Pills & Filters) */
.shop-cat-pill {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: #40334B !important;
    border: 1.5px solid #EEE5E0 !important;
    border-radius: 12px !important;
    font-family: var(--font-main) !important;
    font-weight: 600 !important;
    transition: all 0.18s ease !important;
}
.shop-cat-pill:hover {
    background-color: #FCEAE1 !important;
    background: #FCEAE1 !important;
    border-color: #C2182B !important;
    color: #C2182B !important;
    transform: translateY(-1px) !important;
}
.shop-cat-pill.active {
    background-color: #C2182B !important;
    background: #C2182B !important;
    color: #FFFFFF !important;
    border-color: #C2182B !important;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.35) !important;
}
.shop-cat-pill .shop-cat-count {
    background: rgba(64, 51, 75, 0.08) !important;
    color: #40334B !important;
    border-radius: 999px !important;
}
.shop-cat-pill.active .shop-cat-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
}

/* 9. SEARCH BAR (Sunset Pop Specification) */
.home-search-strip-section {
    background: transparent !important;
    padding: 16px 0 24px 0 !important;
}
.standalone-search-border-glow {
    background-color: #F7F4F2 !important;
    background: #F7F4F2 !important;
    border: 1.5px solid #EEE5E0 !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 16px rgba(64, 51, 75, 0.05) !important;
    transition: all 0.2s ease !important;
}
.standalone-search-border-glow:focus-within {
    border-color: #C2182B !important;
    box-shadow: 0 0 0 3px rgba(194, 24, 43, 0.18), 0 6px 20px rgba(64, 51, 75, 0.08) !important;
    background: #FFFFFF !important;
}
.search-icon-symbol {
    color: #887E87 !important;
}
.live-search-input {
    color: #40334B !important;
    font-family: var(--font-main) !important;
    font-size: 15px !important;
}
.live-search-input::placeholder {
    color: #887E87 !important;
}

/* 10. HERO SECTION (Guarantee Cards & Standards) */
.home-hero-section {
    background-color: #F6EDF7 !important;
    background: #F6EDF7 !important;
    color: #40334B !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 20px !important;
    margin: 32px auto !important;
    padding: 44px 36px !important;
    box-shadow: 0 6px 24px rgba(64, 51, 75, 0.05) !important;
}
.hero-badge-pill {
    background-color: #E9DDF7 !important;
    background: #E9DDF7 !important;
    color: #40334B !important;
    border: 1px solid #B9A5E8 !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}
.hero-trust-tag {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: #40334B !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 12px !important;
}
.hero-guarantee-card {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 24px rgba(64, 51, 75, 0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.hero-guarantee-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(64, 51, 75, 0.11) !important;
}
.guarantee-icon-wrap {
    background-color: #FCEAE1 !important;
    background: #FCEAE1 !important;
    color: #C2182B !important; /* Sunset Coral */
    border-radius: 12px !important;
}
.home-info-section {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 24px rgba(64, 51, 75, 0.05) !important;
}
.info-feature-box {
    background-color: #FFF8EF !important;
    background: #FFF8EF !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 16px !important;
}
.info-icon-bubble {
    background-color: #FCEAE1 !important;
    background: #FCEAE1 !important;
    color: #C2182B !important;
}

/* 11. PROMOTIONAL BANNERS – SUNSET POP MODERN RETAIL (VARIANTS A, B, C, D) */
.home-banner-slider {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 24px rgba(64, 51, 75, 0.08) !important;
    overflow: hidden !important;
    position: relative !important;
}
@media (min-width: 992px) {
    .home-banner-slider {
        height: 440px !important;
        min-height: 440px !important;
        max-height: 440px !important;
        aspect-ratio: auto !important;
    }
}
.home-banner-track {
    display: flex !important;
    height: 100% !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform !important;
}
.home-banner-slide-item {
    position: relative !important;
    overflow: hidden !important;
    height: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    border-radius: 20px !important;
}

/* Background Soft Ambient Glows */
.banner-decor-circle {
    position: absolute !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
.decor-1 {
    width: 380px !important;
    height: 380px !important;
    top: -100px !important;
    right: 18% !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%) !important;
}
.decor-2 {
    width: 300px !important;
    height: 300px !important;
    bottom: -80px !important;
    right: -40px !important;
    background: radial-gradient(circle, rgba(255, 214, 107, 0.35) 0%, rgba(255, 214, 107, 0) 70%) !important;
}

/* 2-Column Banner Slide Layout */
.banner-slide-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    align-items: center !important;
    height: 100% !important;
    position: relative !important;
    z-index: 2 !important;
}
@media (max-width: 991px) {
    .banner-slide-grid {
        grid-template-columns: 1.2fr 0.8fr !important;
    }
}
@media (max-width: 767px) {
    .banner-slide-grid {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}

/* Left Content Column */
.banner-content-col {
    padding: 28px 24px 28px 76px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
@media (max-width: 1200px) {
    .banner-content-col {
    padding: 28px 24px 28px 76px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
}
@media (max-width: 767px) {
    .banner-content-col {
        padding: 16px 14px 10px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        align-items: center !important;
    }
}

.banner-content-col .banner-cat-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    width: fit-content !important;
}

.banner-content-col .banner-title {
    font-family: var(--font-heading) !important;
    font-size: 25px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 10px 0 !important;
    text-transform: uppercase !important;
}
@media (max-width: 1200px) {
    .banner-content-col .banner-title {
    font-family: var(--font-heading) !important;
    font-size: 25px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 10px 0 !important;
    text-transform: uppercase !important;
}
}
@media (max-width: 767px) {
    .banner-content-col .banner-title {
    font-family: var(--font-heading) !important;
    font-size: 25px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 10px 0 !important;
    text-transform: uppercase !important;
}
}

.banner-content-col .banner-desc {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin: 0 0 18px 0 !important;
    max-width: 480px !important;
}

.banner-content-col .banner-action-wrap {
    margin-bottom: 0 !important;
}

.banner-content-col .banner-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    box-shadow: 0 4px 14px rgba(64, 51, 75, 0.15) !important;
}
.banner-content-col .banner-cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(64, 51, 75, 0.22) !important;
}

.banner-content-col .banner-trust-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    margin-top: 14px !important;
}
.banner-content-col .trust-sep {
    opacity: 0.5 !important;
}

/* Right Visual Showcase Card */
.banner-visual-col {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 68px 20px 10px !important;
    height: 100% !important;
}
@media (max-width: 767px) {
    .banner-visual-col {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 14px 16px 14px !important;
        height: auto !important;
    }
    .banner-showcase-card {
        width: 100% !important;
        max-width: 290px !important;
        height: auto !important;
        min-height: 220px !important;
        padding: 14px !important;
        border-radius: 18px !important;
        margin: 0 auto !important;
    }
}

.banner-showcase-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 330px !important;
    max-width: 100% !important;
    height: 310px !important;
    border-radius: 24px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    box-shadow: 0 16px 36px rgba(64, 51, 75, 0.09) !important;
    padding: 16px !important;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.banner-showcase-card:hover {
    transform: translateY(-4px) !important;
}

.showcase-images-cluster {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 200px !important;
}
.showcase-img {
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    filter: drop-shadow(0 8px 16px rgba(64, 51, 75, 0.12)) !important;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.showcase-img-main {
    width: 175px !important;
    height: 175px !important;
    z-index: 2 !important;
}
.showcase-img-sub {
    width: 135px !important;
    height: 135px !important;
    margin-left: -40px !important;
    z-index: 1 !important;
    transform: scale(0.92) !important;
}
.banner-showcase-card:hover .showcase-img-main {
    transform: scale(1.04) rotate(-2deg) !important;
}
.banner-showcase-card:hover .showcase-img-sub {
    transform: scale(0.98) rotate(3deg) !important;
}

.showcase-badge-top {
    position: absolute !important;
    top: 12px !important;
    left: 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    letter-spacing: 0.3px !important;
}
.showcase-badge-bottom {
    position: absolute !important;
    bottom: 12px !important;
    right: 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    letter-spacing: 0.3px !important;
}

/* ========================================================
   THEME SPECIFIC VARIANT COLORS (SUNSET POP SPEC)
   ======================================================== */

/* 1. VARIANT A – SUNSET CORAL */
.theme-sunset-coral {
    background: linear-gradient(135deg, #C2182B 0%, #D42B3A 50%, #9E121E 100%) !important;
    color: #FFFFFF !important;
}
.badge-coral-variant {
    background-color: #FFD66B !important;
    color: #40334B !important;
    box-shadow: 0 2px 8px rgba(255, 214, 107, 0.4) !important;
}
.theme-sunset-coral .banner-title {
    color: #FFFFFF !important;
    text-shadow: 0 1px 4px rgba(64, 51, 75, 0.25) !important;
}
.theme-sunset-coral .hl-yellow {
    color: #FFD66B !important;
    text-shadow: none !important;
}
.theme-sunset-coral .banner-desc {
    color: #FFFFFF !important;
    opacity: 0.95 !important;
}
.theme-sunset-coral .banner-trust-row {
    color: rgba(255, 255, 255, 0.95) !important;
}
.btn-coral-variant {
    background-color: #FFFFFF !important;
    color: #C2182B !important;
    font-weight: 800 !important;
    border: 2px solid #FFFFFF !important;
}
.btn-coral-variant:hover {
    background-color: #FFF8EF !important;
    color: #9E121E !important;
    border-color: #FFF8EF !important;
}
.card-coral-style {
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
}
.card-coral-style .showcase-badge-top {
    background-color: #FFD66B !important;
    color: #40334B !important;
}
.card-coral-style .showcase-badge-bottom {
    background-color: #C2182B !important;
    color: #FFFFFF !important;
}

/* 2. VARIANT B – SOFT LAVENDER */
.theme-soft-lavender {
    background: linear-gradient(135deg, #F8F2FE 0%, #E9DDF7 55%, #DDD0F5 100%) !important;
    color: #40334B !important;
}
.badge-lavender-variant {
    background-color: #B9A5E8 !important;
    color: #40334B !important;
    box-shadow: 0 2px 8px rgba(185, 165, 232, 0.4) !important;
}
.theme-soft-lavender .banner-title {
    color: #40334B !important;
}
.theme-soft-lavender .hl-coral {
    color: #C2182B !important;
}
.theme-soft-lavender .banner-desc {
    color: #4A3E49 !important;
}
.theme-soft-lavender .banner-trust-row {
    color: #4A3E49 !important;
}
.btn-lavender-variant {
    background-color: #C2182B !important;
    color: #FFFFFF !important;
    border: 2px solid #C2182B !important;
}
.btn-lavender-variant:hover {
    background-color: #9E121E !important;
    border-color: #9E121E !important;
}
.card-lavender-style {
    border: 1.5px solid #E9DDF7 !important;
}
.card-lavender-style .showcase-badge-top {
    background-color: #B9A5E8 !important;
    color: #40334B !important;
}
.card-lavender-style .showcase-badge-bottom {
    background-color: #C2182B !important;
    color: #FFFFFF !important;
}

/* 3. VARIANT C – SUNSHINE YELLOW */
.theme-sunshine-yellow {
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF0C9 55%, #FFE59E 100%) !important;
    color: #40334B !important;
}
.badge-yellow-variant {
    background-color: #FFD66B !important;
    color: #40334B !important;
    box-shadow: 0 2px 8px rgba(255, 214, 107, 0.4) !important;
}
.theme-sunshine-yellow .banner-title {
    color: #40334B !important;
}
.theme-sunshine-yellow .hl-deepcoral {
    color: #C2182B !important;
}
.theme-sunshine-yellow .banner-desc {
    color: #4A3E49 !important;
}
.theme-sunshine-yellow .banner-trust-row {
    color: #4A3E49 !important;
}
.btn-yellow-variant {
    background-color: #40334B !important;
    color: #FFFFFF !important;
    border: 2px solid #40334B !important;
}
.btn-yellow-variant:hover {
    background-color: #C2182B !important;
    border-color: #C2182B !important;
}
.card-yellow-style {
    border: 1.5px solid #FFF0C9 !important;
}
.card-yellow-style .showcase-badge-top {
    background-color: #FFD66B !important;
    color: #40334B !important;
}
.card-yellow-style .showcase-badge-bottom {
    background-color: #40334B !important;
    color: #FFFFFF !important;
}

/* 4. VARIANT D – SOFT PEACH */
.theme-soft-peach {
    background: linear-gradient(135deg, #FFF9F6 0%, #FCEAE1 55%, #F6D6C6 100%) !important;
    color: #40334B !important;
}
.badge-peach-variant {
    background-color: #F4C6B2 !important;
    color: #40334B !important;
    box-shadow: 0 2px 8px rgba(244, 198, 178, 0.4) !important;
}
.theme-soft-peach .banner-title {
    color: #40334B !important;
}
.theme-soft-peach .hl-coral {
    color: #C2182B !important;
}
.theme-soft-peach .banner-desc {
    color: #4A3E49 !important;
}
.theme-soft-peach .banner-trust-row {
    color: #4A3E49 !important;
}
.btn-peach-variant {
    background-color: #C2182B !important;
    color: #FFFFFF !important;
    border: 2px solid #C2182B !important;
}
.btn-peach-variant:hover {
    background-color: #9E121E !important;
    border-color: #9E121E !important;
}
.card-peach-style {
    border: 1.5px solid #FCEAE1 !important;
}
.card-peach-style .showcase-badge-top {
    background-color: #F4C6B2 !important;
    color: #40334B !important;
}
.card-peach-style .showcase-badge-bottom {
    background-color: #C2182B !important;
    color: #FFFFFF !important;
}

/* 5. VARIANT E – ADVENT MAGIC (КОЛЕДЕН КАЛЕНДАР • ИЗНЕНАДИ ПРЕЗ ДЕКЕМВРИ) */
.theme-advent-magic {
    background: linear-gradient(135deg, #1A0B2E 0%, #2D124D 45%, #C2182B 100%) !important;
    color: #FFFFFF !important;
}
.badge-advent-variant {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45) !important;
}
.theme-advent-magic .banner-title {
    color: #FFFFFF !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}
.theme-advent-magic .hl-advent {
    color: #FBBF24 !important;
    text-shadow: 0 0 16px rgba(251, 191, 36, 0.5) !important;
}
.theme-advent-magic .banner-desc {
    color: #E2E8F0 !important;
    opacity: 0.95 !important;
}
.theme-advent-magic .banner-trust-row {
    color: #FDE68A !important;
}
.btn-advent-variant {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4) !important;
}
.btn-advent-variant:hover {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.55) !important;
    color: #FFFFFF !important;
}
.card-advent-style {
    background: linear-gradient(180deg, #2A1344 0%, #1A0B2E 100%) !important;
    border: 1.5px solid rgba(251, 191, 36, 0.4) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35) !important;
}
.card-advent-style .showcase-badge-top {
    background: #F59E0B !important;
    color: #1A0B2E !important;
    font-weight: 800 !important;
}
.card-advent-style .showcase-badge-bottom {
    background: #C2182B !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}
.advent-banner-icon-cluster {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 190px !important;
    width: 100% !important;
}
.advent-banner-gift-box {
    position: relative !important;
    font-size: 78px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 10px 24px rgba(245, 158, 11, 0.5)) !important;
    animation: adventGiftBounce 2.4s ease-in-out infinite !important;
}
@keyframes adventGiftBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
}
.advent-gift-sparkles {
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    font-size: 30px !important;
}
.advent-banner-counter-pill {
    margin-top: 10px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    color: #FDE68A !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
}

/* Slider Arrow Controls */
.slider-arrow-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: rgba(255, 255, 255, 0.96) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #EEE5E0 !important;
    color: #40334B !important;
    box-shadow: 0 4px 14px rgba(64, 51, 75, 0.14) !important;
    z-index: 5 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    cursor: pointer !important;
}
.slider-prev-btn {
    left: 16px !important;
}
.slider-next-btn {
    right: 16px !important;
}
.slider-arrow-btn:hover {
    background-color: #C2182B !important;
    background: #C2182B !important;
    border-color: #C2182B !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(194, 24, 43, 0.35) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

/* Slider Progress Dots */
.slider-dots-nav {
    position: absolute !important;
    bottom: 14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: rgba(64, 51, 75, 0.15) !important;
    background: rgba(64, 51, 75, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    z-index: 5 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    gap: 8px !important;
}
.slider-dot {
    background: rgba(64, 51, 75, 0.25) !important;
    width: 32px !important;
    height: 5px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border: none !important;
    padding: 0 !important;
    position: relative !important;
    transition: width 0.25s ease !important;
}
.slider-dot.active {
    width: 44px !important;
    background: rgba(64, 51, 75, 0.3) !important;
}
.slider-dot-bar {
    display: block !important;
    height: 100% !important;
    width: 0% !important;
    background-color: #C2182B !important;
    background: #C2182B !important;
    border-radius: 999px !important;
}

@media (max-width: 991px) {
    .home-banner-slider {
        height: 440px !important;
        min-height: 440px !important;
        max-height: 440px !important;
    }
    .banner-slide-grid {
        grid-template-columns: 1.15fr 0.85fr !important;
    }
    .banner-content-col {
        padding: 24px 16px 24px 60px !important;
    }
    .banner-content-col .banner-title {
        font-size: 21px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    .banner-content-col .banner-desc {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin-bottom: 14px !important;
    }
    .banner-content-col .banner-cta-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
    .banner-content-col .banner-trust-row {
        margin-top: 10px !important;
        font-size: 11px !important;
    }
    .banner-visual-col {
        padding: 16px 56px 16px 0 !important;
    }
    .banner-showcase-card {
        width: 280px !important;
        height: 270px !important;
    }
    .showcase-images-cluster {
        height: 170px !important;
    }
    .showcase-img-main {
        width: 145px !important;
        height: 145px !important;
    }
    .showcase-img-sub {
        width: 115px !important;
        height: 115px !important;
        margin-left: -30px !important;
    }
}
@media (max-width: 767px) {
    .home-banner-slider {
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
        contain: layout paint !important;
    }
    .banner-slide-grid {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
        box-sizing: border-box !important;
    }
    .banner-content-col {
        padding: 32px 24px 44px 24px !important;
        text-align: center !important;
        align-items: center !important;
    }
    .banner-content-col .banner-cat-badge {
        margin: 0 auto 12px auto !important;
    }
    .banner-content-col .banner-title {
        font-size: 19px !important;
    }
    .banner-content-col .banner-desc {
        margin: 0 auto 16px auto !important;
        text-align: center !important;
    }
    .banner-content-col .banner-trust-row {
        justify-content: center !important;
    }
    .banner-visual-col {
        display: none !important;
    }
    .slider-arrow-btn {
        display: none !important;
    }
}

/* 12. FOOTER (Light, Clean & Festive Unified) */
footer.site-footer,
.site-footer {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: #5C4F60 !important;
    border-top: 1.5px solid #F1E5DF !important;
    box-shadow: 0 -4px 24px rgba(39, 26, 41, 0.03) !important;
    position: relative !important;
    padding-top: 56px !important;
    padding-bottom: 36px !important;
}
@media (max-width: 768px) {
    footer.site-footer,
    .site-footer {
        padding-top: 40px !important;
        padding-bottom: 28px !important;
    }
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9E121E 0%, #C2182B 30%, #D97706 50%, #15803D 70%, #9E121E 100%);
}
.footer-grid {
    border-bottom: 1px solid #F1E5DF !important;
}
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer .footer-col-title,
.site-footer .footer-heading {
    color: #271A29 !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px;
}
.site-footer p,
.site-footer .footer-col-desc,
.site-footer .footer-text,
.footer-desc,
.footer-bottom-copy,
.footer-bottom-note,
.footer-copyright-text {
    color: #5C4F60 !important;
    line-height: 1.6;
}
.site-footer a {
    color: #40334B !important;
    transition: all 0.18s ease !important;
}
.site-footer a:hover {
    color: #C2182B !important; /* Festive Crimson hover */
}
.site-footer .footer-heading-link {
    color: #271A29 !important;
}
.site-footer .footer-heading-link:hover {
    color: #C2182B !important;
}
.footer-divider,
.site-footer hr,
.footer-bottom-row {
    border-color: #F1E5DF !important;
}
.footer-icon,
.site-footer .footer-icon-svg,
.footer-social-link {
    color: #C2182B !important;
}
.footer-social-link:hover {
    color: #9E121E !important;
}
.footer-badge-pill {
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    background: #FFF5F2 !important;
    border: 1px solid #FCEAE1 !important;
    color: #271A29 !important;
    font-weight: 600 !important;
}
.footer-badge-pill:hover {
    background: #FFEBE5 !important;
    border-color: #C2182B !important;
    color: #C2182B !important;
}
.footer-badge-icon {
    color: #15803D !important; /* Festive Pine Green checkmark */
    font-weight: 800 !important;
    font-size: 13px !important;
}
.footer-contact-link,
.site-footer a.footer-contact-link,
.site-footer a.footer-contact-link span {
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    background: transparent !important;
    color: #C2182B !important; /* Festive Crimson */
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.18s ease !important;
}
.footer-contact-link:hover,
.site-footer a.footer-contact-link:hover,
.site-footer a.footer-contact-link:hover span {
    color: #9E121E !important;
    text-decoration: underline !important;
    transform: translateX(3px) !important;
}
.footer-contact-phone a {
    color: #C2182B !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: color 0.18s ease !important;
}
.footer-contact-phone a:hover {
    color: #9E121E !important;
}

/* 13. MODALS, POPUPS & FORMS (18px radius) */
.liq-modal,
.cart-modal-content,
.quick-view-modal-content,
.bazar-modal-content {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1px solid #EEE5E0 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 40px rgba(64, 51, 75, 0.16) !important;
    color: #40334B !important;
}
.liq-modal-form input,
.liq-modal-form textarea,
.filter-select,
.filter-input {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    border-radius: 12px !important;
    color: #40334B !important;
    font-family: var(--font-main) !important;
}
.liq-modal-form input:focus,
.liq-modal-form textarea:focus,
.filter-select:focus,
.filter-input:focus {
    border-color: #C2182B !important;
    box-shadow: 0 0 0 3px rgba(194, 24, 43, 0.18) !important;
    outline: none !important;
}

/* 14. BORDERS & DIVIDERS (#EEE5E0 Soft Border) */
.filters-bar,
.bazar-filter-box,
.single-main-col,
.buy-card,
.specs-table,
.specs-table td,
.pagination .page-numbers,
hr,
.border-subtle {
    border-color: #EEE5E0 !important;
}

/* ========================================================
   MOBILE HEADER COMPACT HARMONY (MAX-WIDTH: 768PX)
   ======================================================== */
@media (max-width: 768px) {
    .header-top-container {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
        width: 100% !important;
    }
    .site-logo {
        order: 1 !important;
        flex-shrink: 0 !important;
    }
    .sofi-mart-logo-img {
        height: 36px !important;
        max-width: 130px !important;
    }
    .header-actions {
        order: 2 !important;
        flex-shrink: 0 !important;
    }
    .header-cart-capsule {
        padding: 2px 10px 2px 2px !important;
        gap: 6px !important;
        border-width: 1px !important;
    }
    .cart-circle-icon {
        width: 32px !important;
        height: 32px !important;
    }
    .cart-circle-icon svg {
        width: 15px !important;
        height: 15px !important;
    }
    .cart-pill-data {
        font-size: 11.5px !important;
        gap: 4px !important;
    }
    .cart-pill-qty {
        font-size: 11.5px !important;
    }
    .cart-pill-price {
        font-size: 12px !important;
    }
    .header-phone-center {
        order: 2 !important;
        flex: 1 1 auto !important;
        width: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border-top: none !important;
    }
    .phone-sub-title {
        display: none !important;
    }
    .phone-number-val {
        font-size: 12.5px !important;
    }
    .phone-pill-icon {
        width: 18px !important;
        height: 18px !important;
    }
    .phone-pill-icon svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ========================================================
   LANGUAGE SWITCHER CAPSULE (SUNSET POP DESIGN)
   ======================================================== */
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.header-lang-toggle {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    border-radius: 999px !important;
    padding: 5px 14px 5px 6px !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #40334B !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 10px rgba(64, 51, 75, 0.05) !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    outline: none !important;
    text-decoration: none !important;
    height: 48px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

.header-lang-toggle:hover {
    background-color: #FCEAE1 !important; /* Peach Light */
    background: #FCEAE1 !important;
    border-color: #C2182B !important; /* Sunset Coral */
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.22) !important;
    transform: translateY(-1px) !important;
}

.header-lang-toggle:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(194, 24, 43, 0.15) !important;
}

.lang-flag-box {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #F8F5F2 !important;
    border: 1px solid rgba(64, 51, 75, 0.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 4px rgba(64, 51, 75, 0.08) !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-lang-toggle:hover .lang-flag-box {
    transform: scale(1.08) !important;
}

.lang-flag-svg {
    display: block !important;
    width: 22px !important;
    height: 14px !important;
    border-radius: 2px !important;
}

.lang-code-label {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    color: #40334B !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
}

.header-lang-toggle:hover .lang-code-label {
    color: #C2182B !important;
}

/* Visibility rules between Bulgarian mode and English mode */
/* 1. Default (Bulgarian mode): show UK flag & "EN" */
.header-lang-toggle .lang-flag-uk,
.header-lang-toggle .lang-label-uk {
    display: inline-flex !important;
    align-items: center !important;
}
.header-lang-toggle .lang-flag-bg,
.header-lang-toggle .lang-label-bg {
    display: none !important;
}

/* 2. English mode: show Bulgarian flag & "BG" */
.header-lang-toggle.is-en-mode .lang-flag-uk,
.header-lang-toggle.is-en-mode .lang-label-uk,
html.translated-ltr .header-lang-toggle .lang-flag-uk,
html.translated-ltr .header-lang-toggle .lang-label-uk,
html.site-lang-en .header-lang-toggle .lang-flag-uk,
html.site-lang-en .header-lang-toggle .lang-label-uk {
    display: none !important;
}

.header-lang-toggle.is-en-mode .lang-flag-bg,
.header-lang-toggle.is-en-mode .lang-label-bg,
html.translated-ltr .header-lang-toggle .lang-flag-bg,
html.translated-ltr .header-lang-toggle .lang-label-bg,
html.site-lang-en .header-lang-toggle .lang-flag-bg,
html.site-lang-en .header-lang-toggle .lang-label-bg {
    display: inline-flex !important;
    align-items: center !important;
}

/* Google Translate Overlays Neutralization */
body {
    top: 0px !important;
    position: static !important;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
#google_translate_element {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    border: none !important;
}
.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.skiptranslate iframe {
    display: none !important;
}

/* Responsive adjustment for Mobile (< 768px) */
@media (max-width: 768px) {
    .header-actions {
        gap: 6px !important;
    }
    .header-lang-toggle {
        height: 36px !important;
        padding: 2px 8px 2px 3px !important;
        gap: 5px !important;
        border-width: 1px !important;
    }
    .lang-flag-box {
        width: 28px !important;
        height: 28px !important;
    }
    .lang-flag-svg {
        width: 18px !important;
        height: 12px !important;
    }
    .lang-code-label {
        font-size: 11.5px !important;
        letter-spacing: 0.4px !important;
    }
}

/* ========================================================
   HOME: 4. SUNSET POP STORY HERO SECTION (TEAM & PASSION)
   ======================================================== */
.home-hero-story-section {
    background: linear-gradient(135deg, #FFFDFB 0%, #FFF5ED 50%, #F9F1FA 100%) !important;
    border: 1.5px solid #EEE5E0 !important;
    border-radius: 28px !important;
    margin: 44px auto 36px auto !important;
    padding: 50px 44px !important;
    box-shadow: 0 10px 32px rgba(64, 51, 75, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
}

.story-hero-grid {
    display: grid !important;
    grid-template-columns: 1.25fr 1fr !important;
    gap: 48px !important;
    align-items: start !important;
}

/* Left Column */
.story-hero-left {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.story-badge-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1.5px solid #B9A5E8;
    color: #40334B;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(185, 165, 232, 0.22);
    margin-bottom: 20px;
    align-self: flex-start;
}

.story-heart-pulse {
    display: inline-block;
    animation: storyHeartPulse 1.8s infinite ease-in-out;
}

@keyframes storyHeartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.story-hero-title {
    font-family: var(--font-heading) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #40334B !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.5px !important;
}

.story-title-highlight {
    color: #C2182B !important;
    background: linear-gradient(135deg, #C2182B 0%, #FF9E44 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline !important;
}

.story-hero-lead {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    color: #40334B !important;
    margin: 0 0 12px 0 !important;
    font-weight: 500 !important;
}

.story-hero-lead strong {
    color: #40334B !important;
    font-weight: 800 !important;
}

.story-hero-desc {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: #695D73 !important;
    margin: 0 0 26px 0 !important;
}

/* 4 Value Pillars */
.story-pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-bottom: 28px !important;
}

.story-pillar-card {
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    border-radius: 16px !important;
    padding: 15px 16px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 10px rgba(64, 51, 75, 0.04) !important;
}

.story-pillar-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(64, 51, 75, 0.09) !important;
}

.story-pillar-card.theme-coral {
    border-color: #FCDED4 !important;
}
.story-pillar-card.theme-coral .pillar-icon-box {
    background: #FCEAE1 !important;
    color: #C2182B !important;
}

.story-pillar-card.theme-lavender {
    border-color: #E6DCF5 !important;
}
.story-pillar-card.theme-lavender .pillar-icon-box {
    background: #E9DDF7 !important;
    color: #8B6CC8 !important;
}

.story-pillar-card.theme-yellow {
    border-color: #FDE8C7 !important;
}
.story-pillar-card.theme-yellow .pillar-icon-box {
    background: #FFF4D9 !important;
    color: #D98200 !important;
}

.story-pillar-card.theme-green {
    border-color: #D3F1E3 !important;
}
.story-pillar-card.theme-green .pillar-icon-box {
    background: #E3F7EE !important;
    color: #00966E !important;
}

.pillar-icon-box {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.pillar-title {
    font-family: var(--font-heading) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #40334B !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.pillar-text {
    font-size: 12px !important;
    color: #695D73 !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}

/* Action Buttons */
.story-hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.story-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #C2182B !important;
    background-color: #C2182B !important;
    color: #FFFFFF !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 13px 26px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(194, 65, 12, 0.35) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.story-btn-primary:hover {
    background: #9E121E !important;
    background-color: #9E121E !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(163, 54, 10, 0.45) !important;
    color: #FFFFFF !important;
}

.story-btn-primary .btn-arrow-icon {
    transition: transform 0.2s ease !important;
}

.story-btn-primary:hover .btn-arrow-icon {
    transform: translateX(4px) !important;
}

.story-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    color: #40334B !important;
    padding: 7px 18px 7px 8px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(64, 51, 75, 0.05) !important;
    transition: all 0.2s ease !important;
}

.story-btn-secondary:hover {
    background: #FCEAE1 !important;
    border-color: #C2182B !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(194, 65, 12, 0.2) !important;
}

.story-call-bubble {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #C2182B !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.35) !important;
}

.story-call-meta {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    line-height: 1.2 !important;
}

.call-meta-label {
    font-size: 11px !important;
    color: #4A3E49 !important;
    font-weight: 600 !important;
}

.call-meta-val {
    font-size: 14px !important;
    color: #40334B !important;
    font-weight: 800 !important;
}

/* Right Column: Care Card & Manifesto */
.story-care-card {
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    border-radius: 22px !important;
    padding: 28px 24px !important;
    box-shadow: 0 8px 28px rgba(64, 51, 75, 0.07) !important;
    position: relative !important;
}

.care-card-header {
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1.5px dashed #EEE5E0 !important;
}

.care-badge-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #FCEAE1 !important;
    color: #9A3412 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    margin-bottom: 8px !important;
}

.care-card-heading {
    font-family: var(--font-heading) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #40334B !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.care-card-sub {
    font-size: 13px !important;
    color: #4A3E49 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.care-steps-track {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-bottom: 22px !important;
    position: relative !important;
}

.care-step-item {
    display: flex !important;
    gap: 13px !important;
    align-items: flex-start !important;
    position: relative !important;
}

.care-step-num {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #F6EDF7 !important;
    border: 1.5px solid #B9A5E8 !important;
    color: #40334B !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
    box-shadow: 0 2px 6px rgba(185, 165, 232, 0.25) !important;
}

.care-step-title {
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #40334B !important;
    margin: 0 0 3px 0 !important;
    line-height: 1.3 !important;
}

.care-step-text {
    font-size: 12.5px !important;
    color: #695D73 !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}

/* Team Manifesto Bubble */
.team-quote-bubble {
    background: linear-gradient(135deg, #FFF8EF 0%, #FCEAE1 100%) !important;
    border: 1.5px solid #FFD9C7 !important;
    border-radius: 18px !important;
    padding: 18px 20px !important;
    position: relative !important;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.08) !important;
}

.quote-symbol {
    position: absolute !important;
    top: 6px !important;
    right: 14px !important;
    font-size: 46px !important;
    line-height: 1 !important;
    color: rgba(194, 24, 43, 0.22) !important;
    font-family: Georgia, serif !important;
    pointer-events: none !important;
}

.quote-text {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #40334B !important;
    font-style: italic !important;
    margin: 0 0 14px 0 !important;
    font-weight: 500 !important;
    position: relative !important;
    z-index: 1 !important;
}

.team-signature-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    position: relative !important;
    z-index: 1 !important;
}

.team-avatar-stack {
    display: flex !important;
    align-items: center !important;
}

.team-avatar-pill {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: 2px solid #FFFFFF !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-size: 11.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: -7px !important;
    box-shadow: 0 2px 6px rgba(64, 51, 75, 0.15) !important;
}

.team-avatar-pill:first-child {
    margin-left: 0 !important;
}

.team-avatar-pill.av-coral {
    background-color: #C2182B !important;
    background: #C2182B !important;
}

.team-avatar-pill.av-lavender {
    background-color: #B9A5E8 !important;
    background: #B9A5E8 !important;
}

.team-avatar-pill.av-yellow {
    background-color: #FFB84D !important;
    background: #FFB84D !important;
}

.team-sign-info {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.25 !important;
}

.team-name {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    color: #40334B !important;
}

.team-meta {
    font-size: 11px !important;
    color: #887E87 !important;
    font-weight: 600 !important;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .home-hero-story-section {
        padding: 36px 24px !important;
        margin: 32px auto 28px auto !important;
        border-radius: 20px !important;
    }
    .story-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
}

@media (max-width: 640px) {
    .home-hero-story-section {
        padding: 26px 16px !important;
        border-radius: 18px !important;
    }
    .story-hero-title {
        font-size: 23px !important;
    }
    .story-badge-capsule {
        font-size: 10.5px !important;
        padding: 5px 12px !important;
    }
    .story-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .story-hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .story-btn-primary,
    .story-btn-secondary {
        width: 100% !important;
        justify-content: center !important;
    }
    .story-care-card {
        padding: 20px 16px !important;
    }
}

/* ========================================================
   OFFERS: ADVENT REWARDS CALENDAR (1 - 24 ДЕКЕМВРИ)
   ======================================================== */
.advent-frame-outer-wrapper {
    position: relative !important;
    background: linear-gradient(135deg, #C2182B 0%, #FFB84D 20%, #B9A5E8 40%, #00966E 60%, #C2182B 80%, #FFB84D 100%) !important;
    background-size: 300% 300% !important;
    animation: adventBorderGlow 8s ease infinite !important;
    padding: 5px !important;
    border-radius: 34px !important;
    margin-bottom: 40px !important;
    box-shadow: 0 0 0 1px rgba(194, 24, 43, 0.25),
                0 18px 45px -8px rgba(194, 24, 43, 0.32),
                0 24px 65px -12px rgba(185, 165, 232, 0.38) !important;
}

@keyframes adventBorderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Crown Ribbon pinned to top of the frame */
.advent-frame-crown {
    position: absolute !important;
    top: -16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    background: linear-gradient(135deg, #40334B 0%, #5B486B 100%) !important;
    color: #FFF8EF !important;
    border: 2px solid #FFB84D !important;
    border-radius: 999px !important;
    padding: 6px 24px !important;
    font-size: 11.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    box-shadow: 0 6px 20px rgba(64, 51, 75, 0.38), 0 0 14px rgba(255, 184, 77, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    user-select: none !important;
}

.crown-star-icon {
    font-size: 14px !important;
}

.crown-sparkle-text {
    letter-spacing: 0.8px !important;
}

/* Corner Festive Ornaments */
.advent-corner-decor {
    position: absolute !important;
    font-size: 24px !important;
    line-height: 1 !important;
    opacity: 0.75 !important;
    pointer-events: none !important;
    user-select: none !important;
    filter: drop-shadow(0 2px 6px rgba(64, 51, 75, 0.15)) !important;
    z-index: 2 !important;
}

.advent-corner-decor.corner-tl { top: 16px !important; left: 18px !important; }
.advent-corner-decor.corner-tr { top: 16px !important; right: 18px !important; }
.advent-corner-decor.corner-bl { bottom: 16px !important; left: 18px !important; }
.advent-corner-decor.corner-br { bottom: 16px !important; right: 18px !important; }

.advent-calendar-section {
    background: linear-gradient(145deg, #FFFDFB 0%, #FFF8EF 50%, #FAF2FB 100%) !important;
    border: none !important;
    border-radius: 29px !important;
    padding: 44px 34px 44px 34px !important;
    margin-bottom: 0 !important;
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.8) !important;
    position: relative !important;
    overflow: hidden !important;
}

.advent-hero-header {
    text-align: center !important;
    max-width: 820px !important;
    margin: 0 auto 34px auto !important;
    position: relative !important;
    z-index: 3 !important;
}

.advent-badge-capsule {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #B9A5E8 !important;
    color: #40334B !important;
    border-radius: 999px !important;
    padding: 6px 18px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    box-shadow: 0 2px 10px rgba(185, 165, 232, 0.22) !important;
    margin-bottom: 16px !important;
}

.advent-sparkle-icon {
    font-size: 14px !important;
}

.advent-hero-title {
    font-family: var(--font-heading) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #40334B !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.5px !important;
}

.advent-hero-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #695D73 !important;
    margin: 0 auto 24px auto !important;
    max-width: 680px !important;
}

/* Order Checker Bar */
.advent-order-checker-bar {
    max-width: 580px !important;
    margin: 0 auto !important;
}

.advent-search-form {
    margin-bottom: 10px !important;
}

.advent-input-wrapper {
    display: flex !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border: 2px solid #EEE5E0 !important;
    border-radius: 999px !important;
    padding: 5px 6px 5px 16px !important;
    box-shadow: 0 4px 18px rgba(64, 51, 75, 0.08) !important;
    transition: all 0.2s ease !important;
}

.advent-input-wrapper:focus-within {
    border-color: #C2182B !important;
    box-shadow: 0 6px 22px rgba(194, 24, 43, 0.22) !important;
}

.advent-input-icon {
    font-size: 16px !important;
    margin-right: 8px !important;
    opacity: 0.7 !important;
}

.advent-input-field {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #40334B !important;
    padding: 8px 4px !important;
    font-family: inherit !important;
}

.advent-input-field::placeholder {
    color: #9B8F9A !important;
    font-weight: 400 !important;
}

.advent-btn-submit {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #C2182B !important;
    color: #FFFFFF !important;
    border: none !important;
    outline: none !important;
    border-radius: 999px !important;
    padding: 10px 20px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 10px rgba(194, 24, 43, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
}

.advent-btn-submit:hover {
    background: #9E121E !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(158, 18, 30, 0.45) !important;
}

.advent-quick-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 8px !important;
}

.advent-demo-pill {
    background: #FFFFFF !important;
    border: 1px solid #EEE5E0 !important;
    color: #40334B !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.advent-demo-pill:hover {
    background: #FCEAE1 !important;
    border-color: #C2182B !important;
    color: #C2182B !important;
}

.advent-orders-hint {
    font-size: 12px !important;
    color: #887E87 !important;
    font-weight: 500 !important;
}

/* 24-Day Grid */
.advent-calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 16px !important;
}

.advent-day-card {
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    border-top: 4px solid #C2182B !important;
    border-radius: 18px !important;
    padding: 14px 14px 16px 14px !important;
    min-height: 154px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(64, 51, 75, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    user-select: none !important;
}

.advent-day-card.theme-coral { border-top-color: #C2182B !important; }
.advent-day-card.theme-lavender { border-top-color: #B9A5E8 !important; }
.advent-day-card.theme-yellow { border-top-color: #FFB84D !important; }

.advent-day-card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    border-color: #C2182B !important;
    box-shadow: 0 14px 30px rgba(194, 24, 43, 0.22) !important;
}

.advent-day-card.is-day-24-grand {
    background: linear-gradient(135deg, #FFF6E0 0%, #FCEAE1 50%, #E9DDF7 100%) !important;
    border: 2px solid #FFB84D !important;
    border-top: 5px solid #C2182B !important;
    box-shadow: 0 0 25px rgba(255, 184, 77, 0.4), 0 8px 24px rgba(194, 24, 43, 0.2) !important;
    animation: grandPulse 3s infinite ease-in-out !important;
}

@keyframes grandPulse {
    0%, 100% { box-shadow: 0 0 22px rgba(255, 184, 77, 0.38), 0 8px 24px rgba(194, 24, 43, 0.2); }
    50% { box-shadow: 0 0 35px rgba(255, 184, 77, 0.65), 0 12px 32px rgba(194, 24, 43, 0.35); }
}

.advent-card-front {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
}

.advent-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.advent-day-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    color: #887E87 !important;
    text-transform: uppercase !important;
}

.advent-day-icon {
    font-size: 16px !important;
}

.advent-day-number {
    font-family: var(--font-heading) !important;
    font-size: 38px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: #40334B !important;
    margin: 6px 0 !important;
    letter-spacing: -1px !important;
}

.advent-card-tag {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #695D73 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
}

.advent-card-action {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #887E87 !important;
    margin-top: 8px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #EEE5E0 !important;
}

.advent-day-card:hover .action-text {
    color: #C2182B !important;
}

/* Day 24 Special Grand Prize Styling */
.advent-day-card.is-day-24-grand {
    background: linear-gradient(135deg, #FFF6E0 0%, #FCEAE1 50%, #E9DDF7 100%) !important;
    border: 2px solid #FFB84D !important;
    box-shadow: 0 6px 20px rgba(255, 184, 77, 0.3) !important;
}

.advent-day-card.is-day-24-grand:hover {
    box-shadow: 0 12px 28px rgba(255, 184, 77, 0.45) !important;
    transform: translateY(-5px) !important;
}

.advent-grand-ribbon {
    background: linear-gradient(135deg, #FFB84D 0%, #C2182B 100%) !important;
    color: #FFFFFF !important;
    font-size: 9.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.4px !important;
    padding: 3px 6px !important;
    border-radius: 6px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 6px rgba(194, 24, 43, 0.25) !important;
}

/* Unlocked Back State */
.advent-card-back {
    display: none !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
    text-align: center !important;
}

.advent-day-card.is-opened {
    background: linear-gradient(135deg, #FFF9F2 0%, #FFFFFF 100%) !important;
    border-color: #00966E !important;
    box-shadow: 0 4px 16px rgba(0, 150, 110, 0.15) !important;
}

.advent-day-card.is-opened .advent-card-front {
    display: none !important;
}

.advent-day-card.is-opened .advent-card-back {
    display: flex !important;
}

.advent-unlocked-badge {
    background: #E3F7EE !important;
    color: #00966E !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding: 2px 6px !important;
    border-radius: 999px !important;
    display: inline-block !important;
    margin: 0 auto 4px auto !important;
}

.advent-back-icon {
    font-size: 26px !important;
    line-height: 1 !important;
}

.advent-back-day {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #887E87 !important;
}

.advent-back-title {
    font-family: var(--font-heading) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #40334B !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.advent-back-code {
    background: #FFF8EF !important;
    border: 1px dashed #C2182B !important;
    color: #C2182B !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    border-radius: 6px !important;
    padding: 2px 4px !important;
    margin-top: 4px !important;
}

/* ========================================================
   ADVENT MODAL STYLES
   ======================================================== */
.advent-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(40, 28, 48, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    animation: adventFadeIn 0.2s ease !important;
}

.advent-modal-backdrop.is-active,
.advent-modal-backdrop[style*="display: flex"] {
    display: flex !important;
}

@keyframes adventFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.advent-modal-card {
    background: #FFFFFF !important;
    border: 2px solid #EEE5E0 !important;
    border-radius: 26px !important;
    max-width: 520px !important;
    width: 100% !important;
    padding: 36px 32px !important;
    position: relative !important;
    box-shadow: 0 16px 48px rgba(40, 28, 48, 0.25) !important;
    text-align: center !important;
    overflow: hidden !important;
    animation: adventScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes adventScaleUp {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.advent-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    background: #F6EDF7 !important;
    border: none !important;
    outline: none !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    color: #40334B !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: all 0.15s ease !important;
    z-index: 10 !important;
}

.advent-modal-close:hover {
    background: #FCEAE1 !important;
    color: #C2182B !important;
    transform: scale(1.08) !important;
}

.advent-confetti-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

/* Prompt View */
.advent-modal-header-icon {
    font-size: 44px !important;
    margin-bottom: 8px !important;
    line-height: 1 !important;
}

.advent-modal-tag {
    display: inline-block !important;
    background: #FCEAE1 !important;
    color: #C2182B !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    padding: 4px 14px !important;
    border-radius: 999px !important;
    margin-bottom: 12px !important;
}

.advent-modal-title {
    font-family: var(--font-heading) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #40334B !important;
    margin: 0 0 10px 0 !important;
}

.advent-modal-desc {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #695D73 !important;
    margin: 0 0 20px 0 !important;
}

.advent-modal-input-row {
    display: flex !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    border: 2px solid #EEE5E0 !important;
    border-radius: 999px !important;
    padding: 4px 5px 4px 16px !important;
    box-shadow: 0 4px 14px rgba(64, 51, 75, 0.06) !important;
}

.advent-modal-input-row:focus-within {
    border-color: #C2182B !important;
}

.advent-modal-input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #40334B !important;
    font-family: inherit !important;
}

.advent-modal-verify-btn {
    background: #C2182B !important;
    color: #FFFFFF !important;
    border: none !important;
    outline: none !important;
    border-radius: 999px !important;
    padding: 11px 22px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(194, 24, 43, 0.35) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.advent-modal-verify-btn:hover {
    background: #9E121E !important;
    transform: translateY(-1px) !important;
}

.advent-modal-feedback {
    margin-top: 14px !important;
    font-size: 13px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    text-align: left !important;
    line-height: 1.45 !important;
}

.advent-modal-feedback.error {
    background: #FFF2F2 !important;
    border: 1px solid #FECACA !important;
    color: #DC2626 !important;
}

.advent-wrong-day-box p {
    margin: 0 0 6px 0 !important;
}

.advent-btn-switch-day {
    display: inline-block !important;
    background: #00966E !important;
    color: #FFFFFF !important;
    border: none !important;
    outline: none !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    margin-top: 6px !important;
    transition: background 0.15s ease !important;
}

.advent-btn-switch-day:hover {
    background: #007D5B !important;
}

.advent-modal-demo-bar {
    margin-top: 18px !important;
    padding-top: 14px !important;
    border-top: 1px dashed #EEE5E0 !important;
}

.advent-btn-demo-link {
    background: #F8F5F2 !important;
    border: 1px solid #EEE5E0 !important;
    color: #40334B !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.advent-btn-demo-link:hover {
    background: #FCEAE1 !important;
    border-color: #C2182B !important;
    color: #C2182B !important;
}

/* Success Prize View */
.advent-success-sparkle {
    font-size: 42px !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
}

.advent-prize-pill-badge {
    display: inline-block !important;
    background: #E3F7EE !important;
    color: #00966E !important;
    border: 1px solid #00966E !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    padding: 4px 14px !important;
    border-radius: 999px !important;
    margin-bottom: 10px !important;
}

.advent-prize-heading {
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #40334B !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
}

.advent-prize-icon-bubble {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #FFF8EF 0%, #FCEAE1 100%) !important;
    border: 2px solid #FFD9C7 !important;
    font-size: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 12px auto !important;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.15) !important;
}

.advent-prize-description {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #695D73 !important;
    margin: 0 0 18px 0 !important;
}

.advent-promo-code-box {
    background: #FFF8EF !important;
    border: 2px dashed #C2182B !important;
    border-radius: 16px !important;
    padding: 14px 18px !important;
    margin-bottom: 14px !important;
}

.advent-promo-label {
    display: block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #887E87 !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.5px !important;
}

.advent-code-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.advent-code-val {
    font-family: 'Courier New', monospace !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    color: #C2182B !important;
}

.advent-copy-code-btn {
    background: #FFFFFF !important;
    border: 1.5px solid #EEE5E0 !important;
    color: #40334B !important;
    border-radius: 999px !important;
    padding: 5px 14px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.advent-copy-code-btn:hover {
    background: #FCEAE1 !important;
    border-color: #C2182B !important;
    color: #C2182B !important;
}

.advent-prize-instructions {
    font-size: 12px !important;
    color: #887E87 !important;
    line-height: 1.4 !important;
    margin-bottom: 18px !important;
}

.advent-modal-shop-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #C2182B !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 12px 24px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(194, 24, 43, 0.35) !important;
    transition: all 0.2s ease !important;
}

.advent-modal-shop-btn:hover {
    background: #9E121E !important;
    transform: translateY(-1px) !important;
    color: #FFFFFF !important;
}

/* Responsive Grid for Calendar */
@media (max-width: 1100px) {
    .advent-calendar-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .advent-calendar-section {
        padding: 26px 16px 32px 16px !important;
        border-radius: 20px !important;
    }
    .advent-hero-title {
        font-size: 24px !important;
    }
    .advent-calendar-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    .advent-day-card {
        min-height: 130px !important;
        padding: 12px 10px !important;
    }
    .advent-day-number {
        font-size: 30px !important;
    }
    .advent-modal-card {
        padding: 26px 18px !important;
        border-radius: 20px !important;
    }
    .advent-input-wrapper {
        flex-direction: column !important;
        border-radius: 16px !important;
        padding: 8px 10px !important;
        gap: 6px !important;
    }
    .advent-btn-submit {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .advent-calendar-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .advent-day-card {
        min-height: 120px !important;
    }
}

/* ========================================================
   2026 MOBILE OPTIMIZATION & PRODUCT QUICK EDIT SUITE
   (WCAG 2.5.5, TOUCH TARGETS, QUICK EDIT MODAL, STICKY BUY BAR)
   ======================================================== */

/* 1. Touch Targets for Touchscreens */
@media (pointer: coarse) {
    :where(button, select, textarea, input:not([type="checkbox"], [type="radio"]), [role="button"], nav a) {
        min-block-size: 44px;
    }
    .liq-modal-close {
        min-inline-size: 44px;
        min-block-size: 44px;
    }
}

/* 2. Scroll padding for fixed bottom bars */
@media (max-width: 900px) {
    html {
        scroll-padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    }
}

/* 3. Header Admin Indicator Pill */
.header-admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.header-admin-pill:hover {
    background: #fde68a;
    color: #78350f;
}
.admin-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
}

/* 4. Product Card Quick Edit Buttons */
.btn-card-quick-edit {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background: #fef3c7;
    color: #92400e;
    border: 1.5px solid #f59e0b;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    min-height: 32px;
    transition: all 0.2s ease;
}
.btn-card-quick-edit:hover,
.btn-card-quick-edit:active {
    background: #fde68a;
    color: #78350f;
    transform: scale(0.96);
}
.btn-card-quick-edit-bar {
    width: 100%;
    min-height: 38px;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fcd34d;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.btn-card-quick-edit-bar:hover,
.btn-card-quick-edit-bar:active {
    background: #fef3c7;
}

/* 5. Quick View Modal Edit Button */
.qv-edit-btn-ws {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1.5px solid #f59e0b !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    min-height: 44px !important;
}
.qv-edit-btn-ws:hover {
    background: #fde68a !important;
}

/* 6. Quick Edit Modal Styling */
.qe-modal-card {
    max-width: 540px !important;
    width: 95% !important;
    max-height: calc(100dvh - 30px) !important;
    max-height: calc(100vh - 30px) !important;
    border-radius: 18px !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
.qe-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}
.qe-modal-header h3 {
    margin: 0 !important;
    font-size: 19px !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}
.qe-sku-badge {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0284c7 !important;
    background: #e0f2fe !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
}
.qe-form .form-group {
    margin-bottom: 13px !important;
}
.qe-form label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 5px !important;
}
.qe-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}
@media (max-width: 520px) {
    .qe-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}
.qe-input, .qe-select, .qe-textarea {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
    outline: none !important;
}
.qe-input:focus, .qe-select:focus, .qe-textarea:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18) !important;
}
.qe-badge-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 6px !important;
}
.qe-pill {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
}
.qe-pill:hover, .qe-pill:active {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}
.qe-pill.clear {
    color: #64748b !important;
}
.qe-actions {
    margin-top: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.btn-qe-save {
    width: 100% !important;
    min-height: 48px !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.btn-qe-save:active {
    transform: scale(0.98) !important;
}
.btn-qe-wpadmin {
    display: block !important;
    text-align: center !important;
    padding: 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0284c7 !important;
    text-decoration: none !important;
}
.btn-qe-wpadmin:hover {
    text-decoration: underline !important;
}

/* 7. Single Product Page Admin Toolbar */
.single-admin-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.btn-single-quick-edit {
    background: #fef3c7;
    color: #92400e;
    border: 1.5px solid #f59e0b;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    transition: background 0.15s ease;
}
.btn-single-quick-edit:hover {
    background: #fde68a;
}
.btn-single-admin-wp {
    background: #f1f5f9;
    color: #0284c7;
    border: 1px solid #cbd5e1;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
}
.btn-single-admin-wp:hover {
    background: #e2e8f0;
}

/* 8. Single Product Mobile Purchase Block */
.single-mobile-buy-block {
    display: none;
}
@media (max-width: 900px) {
    .single-mobile-buy-block {
        display: block !important;
        margin: 18px 0 !important;
        padding: 16px !important;
        background: #f8fafc !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    }
    .smb-price-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 12px !important;
        gap: 10px !important;
    }
    .smb-price-box {
        display: flex !important;
        align-items: baseline !important;
        gap: 8px !important;
    }
    .smb-price-box .price-main {
        font-size: 24px !important;
        font-weight: 900 !important;
        color: #02393c !important;
    }
    .smb-price-box .price-old {
        font-size: 14px !important;
        color: #94a3b8 !important;
        text-decoration: line-through !important;
    }
    .smb-actions-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .smb-btn-cart {
        min-height: 48px !important;
        width: 100% !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .smb-btn-fast {
        min-height: 48px !important;
        width: 100% !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* 9. Single Product Sticky Bottom Buy Bar */
.mobile-sticky-buy-bar {
    display: none;
}
@media (max-width: 900px) {
    .mobile-sticky-buy-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-top: 1.5px solid rgba(226, 232, 240, 0.95) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
        padding: 8px 14px max(8px, env(safe-area-inset-bottom, 0px)) 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }
    .msb-thumb-info {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
    }
    .msb-thumb {
        width: 40px !important;
        height: 40px !important;
        border-radius: 6px !important;
        object-fit: cover !important;
        border: 1px solid #cbd5e1 !important;
        flex-shrink: 0 !important;
    }
    .msb-meta {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
    }
    .msb-title-clamp {
        font-size: 11.5px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 130px !important;
    }
    .msb-price-val {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #02393c !important;
    }
    .msb-btns {
        display: flex !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .msb-btn-cart {
        background: #02393c !important;
        color: #ffffff !important;
        border: none !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        min-height: 42px !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .msb-btn-order {
        background: #ffc200 !important;
        color: #000000 !important;
        border: none !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        min-height: 42px !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .msb-sold-badge {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #dc2626 !important;
        padding: 6px 12px !important;
    }
}



