/* ═══════════════════════════════════════════════════════════════
   eWinery — Master Stylesheet
   Design: Corino-inspired + Glassmorphism
   File: assets/css/style.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Font Import ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800;900&display=swap');

/* ══════════════════════════════════════════════════════════════
   CSS VARIABLES
══════════════════════════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --ew-primary:       #1a0a0a;
    --ew-primary-dark:  #0d0505;
    --ew-primary-light: #2d1010;
    --ew-accent:        #c9a84c;
    --ew-accent-light:  #eed186;
    --ew-accent-dark:   #a8883a;

    /* Neutrals */
    --ew-white:         #ffffff;
    --ew-off-white:     #faf8f5;
    --ew-light:         #f4f0ea;
    --ew-border:        #e8e0d5;
    --ew-border-light:  #f0ebe4;
    --ew-text:          #2d2d2d;
    --ew-text-muted:    #777777;
    --ew-text-light:    #aaaaaa;
    --ew-dark:          #1a1a1a;

    /* Glassmorphism */
    --glass-bg:         rgba(255, 255, 255, 0.08);
    --glass-bg-light:   rgba(255, 255, 255, 0.15);
    --glass-bg-white:   rgba(255, 255, 255, 0.85);
    --glass-border:     rgba(255, 255, 255, 0.18);
    --glass-border-gold:rgba(201, 168, 76, 0.3);
    --glass-shadow:     0 8px 32px rgba(0, 0, 0, 0.12);
    --glass-blur:       blur(12px);
    --glass-blur-heavy: blur(20px);

    /* Backgrounds */
    --ew-bg-dark:       #0f0505;
    --ew-bg-wine:       #1a0a0a;
    --ew-bg-light:      #f8f5f0;
    --ew-bg-section:    #faf8f5;

    /* Typography */
    --ew-font:          'Sora', sans-serif;
    --ew-font-size:     14px;
    --ew-line-height:   1.7;

    /* Spacing */
    --ew-section-py:    80px;
    --ew-container:     1400px;

    /* Radius */
    --ew-radius:        6px;
    --ew-radius-md:     10px;
    --ew-radius-lg:     16px;
    --ew-radius-xl:     24px;
    --ew-radius-full:   9999px;

    /* Shadows */
    --ew-shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
    --ew-shadow:        0 4px 20px rgba(0,0,0,0.08);
    --ew-shadow-md:     0 8px 30px rgba(0,0,0,0.12);
    --ew-shadow-lg:     0 16px 48px rgba(0,0,0,0.16);
    --ew-shadow-xl:     0 24px 64px rgba(0,0,0,0.20);
    --ew-shadow-gold:   0 8px 30px rgba(201,168,76,0.25);

    /* Transitions */
    --ew-transition:    0.3s ease;
    --ew-transition-fast: 0.15s ease;
    --ew-transition-slow: 0.5s ease;

    /* Header */
    --ew-header-height: 72px;
    --ew-announce-h:    42px;
    --ew-nav-h:         48px;
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Smooth native scroll on iOS */
html, body {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ew-font);
    font-size: var(--ew-font-size);
    line-height: var(--ew-line-height);
    color: var(--ew-text);
    background: var(--ew-white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--ew-transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--ew-font); cursor: pointer; }
input, textarea, select { font-family: var(--ew-font); }

/* ══════════════════════════════════════════════════════════════
   CONTAINER
══════════════════════════════════════════════════════════════ */
.container {
    max-width: var(--ew-container);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ══════════════════════════════════════════════════════════════
   GLASSMORPHISM UTILITIES
══════════════════════════════════════════════════════════════ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.glass-white {
    background: var(--glass-bg-white);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--glass-shadow);
}

.glass-dark {
    background: rgba(26, 10, 10, 0.7);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border: 1px solid rgba(201,168,76,0.15);
}

.glass-gold {
    background: rgba(201, 168, 76, 0.1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-gold);
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--ew-font);
    letter-spacing: 0.04em;
    border-radius: var(--ew-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--ew-transition);
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity var(--ew-transition);
}

.btn:hover::before { opacity: 1; }

.btn--primary {
    background: var(--ew-primary);
    color: var(--ew-white);
    border-color: var(--ew-primary);
}

.btn--primary:hover {
    background: var(--ew-primary-light);
    border-color: var(--ew-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--ew-shadow-md);
    color: var(--ew-white);
}

.btn--accent {
    background: var(--ew-accent);
    color: var(--ew-primary);
    border-color: var(--ew-accent);
}

.btn--accent:hover {
    background: var(--ew-accent-dark);
    border-color: var(--ew-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--ew-shadow-gold);
    color: var(--ew-primary);
}

.btn--outline {
    background: transparent;
    color: var(--ew-primary);
    border-color: var(--ew-primary);
}

.btn--outline:hover {
    background: var(--ew-primary);
    color: var(--ew-white);
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: var(--ew-white);
    border-color: rgba(255,255,255,0.5);
}

.btn--outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--ew-white);
    color: var(--ew-white);
}

.btn--glass {
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--ew-white);
    border-color: var(--glass-border);
}

.btn--glass:hover {
    background: rgba(255,255,255,0.25);
    color: var(--ew-white);
    transform: translateY(-2px);
}

.btn--lg { padding: 15px 36px; font-size: 14px; }
.btn--sm { padding: 8px 18px; font-size: 11px; }
.btn--full { width: 100%; }
.btn--round { border-radius: var(--ew-radius-full); }

/* ══════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════════════════════════════════ */
.ew-announce-bar {
    background: var(--ew-primary);
    color: var(--ew-white);
    height: var(--ew-announce-h);
    overflow: hidden;
    position: relative;
    z-index: 1001;
}

.ew-announce-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: announceScroll 32s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ew-announce-track:hover { animation-play-state: paused; }

.ew-announce-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 64px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ew-announce-item .highlight { color: var(--ew-accent-light); }
.ew-announce-sep { color: var(--ew-accent); margin: 0 8px; font-size: 8px; }

.ew-announce-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border: 1px solid rgba(238,209,134,0.4);
    color: var(--ew-accent-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all var(--ew-transition);
    margin-left: 10px;
}

.ew-announce-btn:hover {
    background: var(--ew-accent);
    color: var(--ew-primary);
    border-color: var(--ew-accent);
}

@keyframes announceScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.ew-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border-bottom: 1px solid var(--ew-border);
    transition: box-shadow var(--ew-transition);
}

.ew-header.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.ew-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    height: var(--ew-header-height);
}

/* Logo */
.ew-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ew-logo-img { height: 42px; width: auto; }

.ew-logo-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--ew-primary);
    letter-spacing: -1px;
    line-height: 1;
}

.ew-logo-text span { color: var(--ew-accent); }

/* Search */
.ew-header-search { flex: 1; position: relative; }

.ew-search-form {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--ew-border);
    border-radius: var(--ew-radius-full);
    overflow: hidden;
    height: 44px;
    background: var(--ew-bg-light);
    transition: border-color var(--ew-transition), box-shadow var(--ew-transition);
}

.ew-search-form:focus-within {
    border-color: var(--ew-accent);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
    background: var(--ew-white);
}

.ew-search-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    background: var(--ew-primary);
    color: var(--ew-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    border-radius: var(--ew-radius-full) 0 0 var(--ew-radius-full);
    min-width: 120px;
    justify-content: space-between;
}

.ew-search-cat select {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
}

.ew-search-input {
    flex: 1;
    padding: 0 16px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    font-family: var(--ew-font);
    color: var(--ew-text);
}

.ew-search-input::placeholder { color: var(--ew-text-light); }

.ew-search-btn {
    padding: 0 20px;
    background: var(--ew-accent);
    color: var(--ew-primary);
    border: none;
    font-size: 15px;
    cursor: pointer;
    border-radius: 0 var(--ew-radius-full) var(--ew-radius-full) 0;
    transition: background var(--ew-transition);
}

.ew-search-btn:hover { background: var(--ew-accent-dark); }

/* Search Results Dropdown */
.ew-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--glass-bg-white);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--ew-border);
    border-radius: var(--ew-radius-md);
    box-shadow: var(--ew-shadow-lg);
    z-index: 1001;
    display: none;
    max-height: 380px;
    overflow-y: auto;
}

.ew-search-results.active { display: block; }

.ew-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    transition: background var(--ew-transition);
    cursor: pointer;
    border-bottom: 1px solid var(--ew-border-light);
}

.ew-search-result-item:last-child { border-bottom: none; }
.ew-search-result-item:hover { background: var(--ew-light); }

.ew-search-result-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--ew-radius);
    border: 1px solid var(--ew-border);
    flex-shrink: 0;
}

.ew-search-result-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ew-dark);
}

.ew-search-result-price {
    font-size: 12px;
    font-weight: 800;
    color: var(--ew-accent-dark);
    margin-top: 2px;
}

/* Header Actions */
.ew-header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.ew-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 12px;
    color: var(--ew-text);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--ew-font);
    text-decoration: none;
    transition: color var(--ew-transition);
    position: relative;
    border-radius: var(--ew-radius);
}

.ew-action-btn:hover { color: var(--ew-accent-dark); background: var(--ew-light); }

.ew-action-icon {
    position: relative;
    font-size: 20px;
    line-height: 1;
}

.ew-action-badge {
    position: absolute;
    top: -7px;
    right: -8px;
    background: var(--ew-primary);
    color: var(--ew-white);
    font-size: 9px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: var(--ew-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid var(--ew-white);
}

.ew-action-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ew-text-muted);
}

.ew-action-btn:hover .ew-action-label { color: var(--ew-accent-dark); }

.ew-cart-total {
    font-size: 10px;
    font-weight: 800;
    color: var(--ew-accent-dark);
}

/* Account dropdown */
.ew-account-wrap { position: relative; }

.ew-account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: var(--glass-bg-white);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--ew-border);
    border-radius: var(--ew-radius-md);
    box-shadow: var(--ew-shadow-lg);
    padding: 8px 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--ew-transition);
}

.ew-account-wrap:hover .ew-account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ew-account-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ew-text);
    transition: all var(--ew-transition);
}

.ew-account-dropdown a:hover {
    background: var(--ew-light);
    color: var(--ew-accent-dark);
    padding-left: 22px;
}

.ew-account-dropdown a i { width: 16px; color: var(--ew-text-muted); font-size: 13px; }
.ew-dropdown-divider { height: 1px; background: var(--ew-border); margin: 6px 0; }

/* Mobile menu button */
.ew-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.ew-mobile-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ew-primary);
    transition: all var(--ew-transition);
    border-radius: 2px;
}

.ew-mobile-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ew-mobile-btn.open span:nth-child(2) { opacity: 0; }
.ew-mobile-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION BAR
══════════════════════════════════════════════════════════════ */
.ew-navbar {
    background: var(--ew-primary);
    height: var(--ew-nav-h);
    position: relative;
    z-index: 999;
}

.ew-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Category mega menu trigger */
.ew-cat-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    height: 100%;
    background: var(--ew-accent);
    color: var(--ew-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    font-family: var(--ew-font);
    transition: background var(--ew-transition);
    position: relative;
    flex-shrink: 0;
}

.ew-cat-trigger:hover { background: var(--ew-accent-dark); }

.ew-cat-trigger .burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ew-cat-trigger .burger span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ew-primary);
    border-radius: 1px;
}

.ew-cat-trigger .burger span:nth-child(2) { width: 12px; }

/* Category dropdown */
.ew-cat-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: var(--glass-bg-white);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border: 1px solid var(--ew-border);
    border-radius: 0 0 var(--ew-radius-md) var(--ew-radius-md);
    box-shadow: var(--ew-shadow-xl);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--ew-transition);
    padding: 8px 0;
}

.ew-cat-trigger:hover .ew-cat-dropdown,
.ew-cat-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ew-cat-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ew-text);
    border-left: 3px solid transparent;
    transition: all var(--ew-transition);
}

.ew-cat-dropdown li a:hover {
    background: var(--ew-light);
    border-left-color: var(--ew-accent);
    color: var(--ew-primary);
    padding-left: 24px;
}

.ew-cat-dropdown li a i {
    width: 18px;
    text-align: center;
    color: var(--ew-accent);
    font-size: 13px;
}

.ew-cat-count {
    margin-left: auto;
    font-size: 10px;
    color: var(--ew-text-muted);
    background: var(--ew-light);
    padding: 1px 7px;
    border-radius: var(--ew-radius-full);
    font-weight: 700;
}

/* Main nav */
.ew-main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.ew-main-nav > li {
    height: 100%;
    position: relative;
}

.ew-main-nav > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--ew-transition);
}

.ew-main-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--ew-accent);
    transform: scaleX(0);
    transition: transform var(--ew-transition);
}

.ew-main-nav > li:hover > a,
.ew-main-nav > li.active > a { color: var(--ew-white); }

.ew-main-nav > li:hover > a::after,
.ew-main-nav > li.active > a::after { transform: scaleX(1); }

.ew-main-nav > li > a i { font-size: 9px; transition: transform var(--ew-transition); }
.ew-main-nav > li:hover > a i { transform: rotate(180deg); }

/* Nav dropdown */
.ew-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--glass-bg-white);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--ew-border);
    border-radius: 0 0 var(--ew-radius-md) var(--ew-radius-md);
    box-shadow: var(--ew-shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--ew-transition);
    z-index: 1000;
}

.ew-main-nav > li:hover .ew-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ew-nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ew-text);
    border-left: 3px solid transparent;
    transition: all var(--ew-transition);
    letter-spacing: 0.03em;
}

.ew-nav-dropdown li a:hover {
    background: var(--ew-light);
    border-left-color: var(--ew-accent);
    color: var(--ew-primary);
    padding-left: 24px;
}

/* Nav right */
.ew-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.ew-nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.ew-nav-phone i { color: var(--ew-accent); }
.ew-nav-phone strong { color: var(--ew-white); }

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════════ */
.ew-breadcrumb-bar {
    background: var(--ew-bg-section);
    border-bottom: 1px solid var(--ew-border);
    padding: 14px 0;
}

.ew-breadcrumb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.ew-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ew-text-muted);
    flex-wrap: wrap;
}

.ew-breadcrumb a { color: var(--ew-text-muted); transition: color var(--ew-transition); }
.ew-breadcrumb a:hover { color: var(--ew-accent-dark); }
.ew-breadcrumb .sep { font-size: 9px; color: var(--ew-text-light); }
.ew-breadcrumb .current { color: var(--ew-text); font-weight: 600; }

.ew-page-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ew-dark);
    letter-spacing: -0.5px;
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════════════════════ */
.section-header {
    margin-bottom: 40px;
}

.section-header--center { text-align: center; }

.section-header--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ew-accent-dark);
    margin-bottom: 10px;
}

.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--ew-accent);
}

.section-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--ew-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-title b { color: var(--ew-primary); }
.section-title span { color: var(--ew-accent-dark); }

.section-desc {
    font-size: 14px;
    color: var(--ew-text-muted);
    margin-top: 10px;
    line-height: 1.7;
    max-width: 520px;
}

.section-header--center .section-desc { margin-left: auto; margin-right: auto; }

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ew-primary);
    border-bottom: 1px solid var(--ew-primary);
    padding-bottom: 2px;
    transition: all var(--ew-transition);
    white-space: nowrap;
}

.view-all-btn:hover {
    color: var(--ew-accent-dark);
    border-color: var(--ew-accent-dark);
    gap: 10px;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════════════ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
    background: var(--ew-white);
    border: 1px solid var(--ew-border);
    border-radius: var(--ew-radius-lg);
    overflow: hidden;
    transition: all var(--ew-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ew-shadow-xl);
    border-color: rgba(201,168,76,0.3);
}

/* Product image */
.product-card-img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--ew-bg-section);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Product badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.product-badge {
    display: inline-block;
    padding: 3px 9px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 3px;
}

.product-badge--sale    { background: var(--ew-primary); color: var(--ew-white); }
.product-badge--new     { background: var(--ew-accent); color: var(--ew-primary); }
.product-badge--hot     { background: #e74c3c; color: var(--ew-white); }
.product-badge--organic { background: #27ae60; color: var(--ew-white); }
.product-badge--low     { background: #e67e22; color: var(--ew-white); }

/* Product actions overlay */
.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--ew-transition);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg-white);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--ew-border);
    color: var(--ew-text);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ew-transition);
    text-decoration: none;
}

.product-action-btn:hover {
    background: var(--ew-primary);
    color: var(--ew-white);
    border-color: var(--ew-primary);
    transform: scale(1.1);
}

.product-action-btn.active {
    background: var(--ew-primary);
    color: var(--ew-white);
    border-color: var(--ew-primary);
}

/* Add to cart overlay */
.product-card-atc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(26,10,10,0.85));
    transform: translateY(100%);
    transition: transform var(--ew-transition);
    z-index: 2;
}

.product-card:hover .product-card-atc { transform: translateY(0); }

.product-atc-btn {
    width: 100%;
    padding: 10px;
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--ew-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--ew-radius);
    cursor: pointer;
    font-family: var(--ew-font);
    transition: all var(--ew-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.product-atc-btn:hover {
    background: var(--ew-accent);
    color: var(--ew-primary);
    border-color: var(--ew-accent);
}

/* Product info */
.product-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-cat {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ew-accent-dark);
    margin-bottom: 5px;
}

.product-card-cat a:hover { color: var(--ew-primary); }

.product-card-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ew-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-name a:hover { color: var(--ew-primary); }

/* Star rating */
.star-rating {
    display: inline-block;
    position: relative;
    font-size: 12px;
    color: #ddd;
    margin-bottom: 8px;
    font-family: sans-serif;
}

.star-rating::before { content: '★★★★★'; }

.star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: var(--ew-accent);
}

.star-rating span::before { content: '★★★★★'; }

/* Product price */
.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.product-price-current {
    font-size: 1rem;
    font-weight: 900;
    color: var(--ew-primary);
}

.product-price-old {
    font-size: 12px;
    color: var(--ew-text-light);
    text-decoration: line-through;
}

.product-price-save {
    font-size: 10px;
    font-weight: 700;
    color: #27ae60;
    background: rgba(39,174,96,0.1);
    padding: 1px 6px;
    border-radius: 3px;
}

/* ══════════════════════════════════════════════════════════════
   SWIPER / SLIDER
══════════════════════════════════════════════════════════════ */
.ew-swiper-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ew-swiper-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--ew-border);
    background: var(--ew-white);
    color: var(--ew-text);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ew-transition);
}

.ew-swiper-btn:hover {
    background: var(--ew-primary);
    border-color: var(--ew-primary);
    color: var(--ew-white);
    transform: scale(1.1);
}

.ew-swiper-btn-dark {
    background: rgba(255,255,255,0.1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-color: rgba(255,255,255,0.2);
    color: var(--ew-white);
}

.ew-swiper-btn-dark:hover {
    background: var(--ew-accent);
    border-color: var(--ew-accent);
    color: var(--ew-primary);
}

/* ══════════════════════════════════════════════════════════════
   SCROLLING TEXT BANNER
══════════════════════════════════════════════════════════════ */
.ew-scroll-banner {
    overflow: hidden;
    padding: 18px 0;
}

.ew-scroll-banner-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollBanner 25s linear infinite;
}

.ew-scroll-banner-track:hover { animation-play-state: paused; }

.ew-scroll-banner-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 40px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.ew-scroll-banner-item .sep {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--ew-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes scrollBanner {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════════ */
.ew-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.ew-page-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--ew-radius);
    border: 1.5px solid var(--ew-border);
    background: var(--ew-white);
    color: var(--ew-text);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ew-transition);
    font-family: var(--ew-font);
    text-decoration: none;
}

.ew-page-btn:hover,
.ew-page-btn.active {
    background: var(--ew-primary);
    border-color: var(--ew-primary);
    color: var(--ew-white);
}

.ew-page-btn--prev,
.ew-page-btn--next { width: auto; padding: 0 14px; gap: 5px; font-size: 11px; }

/* ══════════════════════════════════════════════════════════════
   STATUS BADGES
══════════════════════════════════════════════════════════════ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--ew-radius-full);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.badge--warning  { background: #fff3cd; color: #856404; }
.badge--success  { background: #d1e7dd; color: #0a3622; }
.badge--info     { background: #cff4fc; color: #055160; }
.badge--danger   { background: #f8d7da; color: #842029; }
.badge--primary  { background: rgba(26,10,10,0.08); color: var(--ew-primary); }

/* ══════════════════════════════════════════════════════════════
   FORM ELEMENTS
══════════════════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ew-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.required { color: var(--ew-accent-dark); }

.form-control {
    padding: 11px 14px;
    border: 1.5px solid var(--ew-border);
    border-radius: var(--ew-radius);
    font-size: 13px;
    font-family: var(--ew-font);
    color: var(--ew-dark);
    background: var(--ew-white);
    outline: none;
    width: 100%;
    transition: border-color var(--ew-transition), box-shadow var(--ew-transition);
}

.form-control:focus {
    border-color: var(--ew-accent);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-control.is-invalid { border-color: #e74c3c; }
.form-control:read-only  { background: var(--ew-bg-light); cursor: default; }

select.form-control {
    appearance: none;
    background: var(--ew-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23777'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

select.form-control:disabled { background-color: var(--ew-bg-light); cursor: not-allowed; opacity: .6; }
textarea.form-control { resize: vertical; }

.field-error { font-size: 11px; color: #e74c3c; font-weight: 600; }

.form-message { padding: 10px 14px; border-radius: var(--ew-radius); font-size: 13px; font-weight: 600; }
.form-message--success { background: rgba(39,174,96,.1); color: #27ae60; border: 1px solid rgba(39,174,96,.2); }
.form-message--error   { background: rgba(231,76,60,.08); color: #e74c3c; border: 1px solid rgba(231,76,60,.2); }

.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 44px; }

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ew-text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: color var(--ew-transition);
    padding: 4px;
}

.toggle-password:hover { color: var(--ew-primary); }

/* ══════════════════════════════════════════════════════════════
   MOBILE NAV OVERLAY
══════════════════════════════════════════════════════════════ */
.ew-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ew-transition);
}

.ew-mobile-nav.open { opacity: 1; visibility: visible; }

.ew-mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ew-mobile-nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 90vw;
    height: 100%;
    background: var(--ew-white);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--ew-transition);
}

.ew-mobile-nav.open .ew-mobile-nav-panel { transform: translateX(0); }

.ew-mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--ew-primary);
}

.ew-mobile-nav-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: color var(--ew-transition);
}

.ew-mobile-nav-close:hover { color: var(--ew-white); }

.ew-mobile-nav-body { padding: 12px 0; }

.ew-mobile-nav-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ew-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--ew-transition);
    border-left: 3px solid transparent;
}

.ew-mobile-nav-item > a:hover {
    background: var(--ew-light);
    color: var(--ew-primary);
    border-left-color: var(--ew-accent);
    padding-left: 24px;
}

.ew-mobile-sub { display: none; background: var(--ew-bg-section); }
.ew-mobile-sub.open { display: block; }

.ew-mobile-sub li a {
    display: block;
    padding: 10px 30px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ew-text-muted);
    transition: all var(--ew-transition);
    border-left: 3px solid transparent;
}

.ew-mobile-sub li a:hover {
    color: var(--ew-primary);
    background: var(--ew-light);
    padding-left: 36px;
    border-left-color: var(--ew-accent);
}

.ew-mobile-divider { height: 1px; background: var(--ew-border); margin: 8px 0; }

/* ══════════════════════════════════════════════════════════════
   EMPTY STATES
══════════════════════════════════════════════════════════════ */
.ew-empty {
    text-align: center;
    padding: 64px 20px;
}

.ew-empty-icon {
    font-size: 3rem;
    color: var(--ew-border);
    margin-bottom: 20px;
}

.ew-empty h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ew-dark);
    margin-bottom: 8px;
}

.ew-empty p {
    font-size: 14px;
    color: var(--ew-text-muted);
    margin-bottom: 24px;
}

/* ══════════════════════════════════════════════════════════════
   BACK LINK
══════════════════════════════════════════════════════════════ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ew-text-muted);
    margin-bottom: 20px;
    transition: color var(--ew-transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.back-link:hover { color: var(--ew-primary); }

/* ══════════════════════════════════════════════════════════════
   TOOLTIP
══════════════════════════════════════════════════════════════ */
[data-tooltip] { position: relative; }

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ew-primary);
    color: var(--ew-white);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ew-transition);
    z-index: 100;
}

[data-tooltip]:hover::after { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   LAZY LOAD
══════════════════════════════════════════════════════════════ */
img[loading="lazy"] { opacity: 0; transition: opacity 0.4s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--ew-bg-section); }
::-webkit-scrollbar-thumb { background: var(--ew-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ew-accent); }

/* ══════════════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════════════ */
.d-none { display: none !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-auto { margin-top: auto; }
.w-100 { width: 100%; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ew-navbar { display: none; }
    .ew-mobile-btn { display: flex; }
    .ew-search-cat { display: none; }
    .ew-search-form { border-radius: var(--ew-radius-full); }
}

@media (max-width: 768px) {
    :root { --ew-section-py: 48px; }
    .ew-header-inner { grid-template-columns: auto auto auto; }
    .ew-header-search { display: none; }
    .ew-action-label { display: none; }
    .ew-cart-total   { display: none; }
    .ew-action-btn   { padding: 6px 8px; }
}

@media (max-width: 480px) {
    .ew-action-btn:not(.ew-cart-btn):not(.ew-account-btn) { display: none; }
}
