/* Color Scheme Variables */

:root {
    /* Primary Colors */
    --primary-color: #b85773;
    --primary-light: #f0b3c1;
    --primary-dark: #64324f;
    --primary-vibrant: #d94c7d;

    /* Secondary Colors */
    --secondary-color: #7f9b67;
    --secondary-light: #d6e4c9;
    --secondary-dark: #3f5f3b;

    /* Accent Colors */
    --accent-color: #d9895b;
    --accent-light: #f2c6a8;
    --accent-dark: #9d5636;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #b85773, #7f9b67);
    --gradient-secondary: linear-gradient(135deg, #f2c6a8, #d6e4c9);
    --gradient-accent: linear-gradient(90deg, #b85773, #7f9b67, #d9895b);
    --gradient-vibrant: linear-gradient(45deg, #d94c7d, #d9895b);
    --gradient-soft: linear-gradient(180deg, #fff7f5, #eef6e8);

    /* Status Colors */
    --success-color: #18bf18;
    --success-light: #4edf62;
    --success-dark: #219509;
    --warning-color: #f0a428;
    --warning-light: #ebba52;
    --warning-dark: #d78614;
    --error-color: #df2911;
    --error-light: #e66a56;
    --danger-color: #df2911;

    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #6a6a6a;
    --text-muted: #9a9a9a;
    --text-inverse: #ffffff;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fff8f7;
    --bg-tertiary: #f3f7ee;
    --bg-inverse: #1a1a1a;
    --bg-overlay: rgba(255, 255, 255, 0.9);
    --bg-overlay-light: rgba(255, 255, 255, 0.2);

    /* Border Colors */
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --border-dark: #c0c0c0;

    /* Overlay Colors */
    --overlay-light: rgba(255, 255, 255, 0.1);
    --overlay-medium: rgba(255, 255, 255, 0.2);
    --overlay-dark: rgba(0, 0, 0, 0.1);
    --overlay-darker: rgba(0, 0, 0, 0.2);

    /* Themed Overlays (primary-dark based) */
    --primary-overlay-90: rgba(100, 50, 79, 0.9);
    --primary-overlay-75: rgba(100, 50, 79, 0.75);
    --primary-overlay-50: rgba(100, 50, 79, 0.5);
    --primary-overlay-25: rgba(100, 50, 79, 0.25);
    --primary-rgb: 184, 87, 115;

    /* Shadow Colors */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 10px 30px #b8577333;
}

/* ── BASE RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(180deg, #fffdfb 0%, #ffffff 42%, #fff8f7 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1380px; margin: 0 auto; padding: 0 24px; }

/* ── CSS CUSTOM PROPERTIES (design tokens) ── */
:root {
    --max-width: 1380px;
    --header-height: 64px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 8px;
}

/* ── SECTIONS ── */
.section { padding: 72px 0; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.section-title { font-size: 28px; font-weight: 700; letter-spacing: 0; }
.section-subtitle { font-size: 15px; color: var(--text-secondary); margin-top: 6px; }
.section-link {
    font-size: 14px; font-weight: 500; color: var(--primary-color);
    display: flex; align-items: center; gap: 4px; transition: gap 0.2s; text-decoration: none;
}
.section-link:hover { gap: 8px; }
.section-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ── HEADER ── */

/* ── HEADER: Top Bar Split ── */
.header { position: sticky; top: 0; z-index: 100; background: #fff; }
.header-top-bar {
    background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
    padding: 8px 0; font-size: 13px;
}
.header-top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.header-top-left { display: flex; align-items: center; gap: 20px; }
.header-top-right { display: flex; gap: 20px; }
.header-top-right a {
    color: var(--text-secondary); text-decoration: none; font-size: 13px;
    transition: color 0.2s;
}
.header-top-right a:hover { color: var(--primary-color); }
.header-phone {
    display: flex; align-items: center; gap: 6px;
    font-weight: 600; color: var(--text-primary); text-decoration: none;
}
.header-phone svg { width: 14px; height: 14px; stroke: var(--primary-color); stroke-width: 2; fill: none; }
.header-main { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.header-main .container { display: flex; align-items: center; justify-content: space-between; }
.header-logo {
    font-size: 24px; font-weight: 800; letter-spacing: 0;
    color: var(--text-primary); text-decoration: none; flex-shrink: 0;
    display: inline-flex; align-items: center;
}
.header-logo img { width: 206px; height: auto; display: block; }
.header-logo span { color: var(--primary-color); }
.header-nav { display: flex; gap: 28px; list-style: none; }
.header-nav a {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    text-decoration: none; transition: color 0.2s;
}
.header-nav a:hover { color: var(--primary-color); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-action-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--border-color);
    background: transparent; color: var(--text-secondary); cursor: pointer;
    border-radius: var(--radius-sm, 6px); transition: all 0.2s;
}
.header-action-btn:hover { color: var(--primary-color); border-color: var(--primary-color); }
.header-action-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.cart-count { position: relative; }
.cart-count::after {
    content: '0'; position: absolute; top: -4px; right: -4px;
    width: 18px; height: 18px; background: var(--primary-color); color: #fff;
    font-size: 10px; font-weight: 600; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; }

/* ── HERO ── */

/* ── HERO: Split Layout + Image ── */
.hero {
    padding: 72px 0 76px; overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(240, 179, 193, 0.34), transparent 28%),
        radial-gradient(circle at 84% 24%, rgba(214, 228, 201, 0.55), transparent 30%),
        linear-gradient(180deg, #fffdfb 0%, #fff7f5 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-text { max-width: 520px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; background: color-mix(in srgb, var(--primary-color) 8%, white); color: var(--primary-color);
    font-size: 13px; font-weight: 600; border-radius: 50px; margin-bottom: 24px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 15%, white);
}
.hero-badge svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
.hero h1 {
    font-size: 46px; font-weight: 800; line-height: 1.12;
    letter-spacing: 0; color: var(--text-primary); margin-bottom: 20px;
}
.hero h1 em {
    font-style: normal; color: var(--primary-color);
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 12px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--text-primary); letter-spacing: 0; }
.hero-stat-label { font-size: 13px; color: var(--text-secondary); }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.hero-visual::before {
    content: ''; position: absolute; inset: 36px -18px -18px 42px;
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    background: rgba(255, 255, 255, 0.52);
    transform: rotate(-3deg);
}
.hero-image-main {
    width: 100%; aspect-ratio: 1/1; border-radius: 28px 28px 8px 28px;
    background: var(--bg-secondary) url('../assets/hero-bg.jpg') center/cover no-repeat;
    border: 10px solid #fff;
    box-shadow: 0 26px 60px rgba(100, 50, 79, 0.18);
    position: relative; z-index: 1;
}
.hero-float-card {
    position: absolute; background: #fff; border-radius: var(--radius-md, 10px);
    padding: 14px 18px; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--border-color); font-size: 13px; z-index: 2;
}
.hero-float-card.top-right { top: -8px; right: -16px; display: flex; align-items: center; gap: 10px; }
.hero-float-card.bottom-left { bottom: 16px; left: -24px; display: flex; align-items: center; gap: 10px; }
.float-icon {
    width: 36px; height: 36px; border-radius: var(--radius-sm, 6px);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-icon svg { width: 18px; height: 18px; stroke-width: 2; fill: none; }
.float-icon.green { background: rgba(16,185,129,0.1); color: var(--success-color); }
.float-icon.green svg { stroke: var(--success-color); }
.float-icon.blue { background: color-mix(in srgb, var(--primary-color) 10%, white); color: var(--primary-color); }
.float-icon.blue svg { stroke: var(--primary-color); }
.float-card-text strong { display: block; color: var(--text-primary); font-weight: 600; }
.float-card-text span { color: var(--text-secondary); font-size: 12px; }

@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 36px; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .hero { padding: 40px 0 48px; }
    .hero h1 { font-size: 28px; letter-spacing: 0; }
    .hero-desc { font-size: 15px; }
    .hero-buttons { flex-direction: column; gap: 8px; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 22px; }
}

/* ── BUTTONS ── */

/* ── BUTTONS: Clean Modern ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; font-size: 15px; font-weight: 600;
    border-radius: var(--radius-md, 10px); border: none; cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    text-decoration: none; line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

.btn-primary {
    background: var(--primary-color); color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-primary:hover {
    background: var(--primary-dark); box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--primary-color); color: var(--primary-color);
}

.btn-white {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; font-size: 15px; font-weight: 600;
    border-radius: var(--radius-md, 10px); border: none; cursor: pointer;
    background: #fff; color: var(--primary-color);
    transition: transform 0.15s, box-shadow 0.2s;
    position: relative; z-index: 1; text-decoration: none;
}
.btn-white:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-white:active { transform: scale(0.97); }
.btn-white svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

/* Cart and Product Buttons */
.add-to-cart, .product-btn, .cart-button {
    background: var(--primary-color); color: #fff;
    padding: 14px 28px; border-radius: var(--radius-md, 10px);
    font-weight: 600; cursor: pointer; border: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
}
.add-to-cart:hover, .product-btn:hover, .cart-button:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

/* ── PRODUCT CARDS ── */

/* ── PRODUCT CARDS: Minimal Flat ── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
    background: transparent; border: none; border-radius: 0;
    transition: opacity 0.2s;
}
.product-card:hover { opacity: 0.85; }
.product-card-image {
    position: relative; aspect-ratio: 3/4; background: var(--bg-secondary);
    overflow: hidden; display: block; text-decoration: none;
    border-radius: var(--radius-sm, 6px); margin-bottom: 12px;
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 0; }
.product-card-category {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-secondary); margin-bottom: 4px;
}
.product-card-title {
    font-size: 14px; font-weight: 500; color: var(--text-primary);
    margin-bottom: 6px; line-height: 1.4; text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.product-card-stars { display: flex; gap: 1px; color: var(--accent-color, var(--warning-color)); }
.product-card-stars svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.product-card-stars .empty { color: var(--border-color); }
.product-card-rating span { font-size: 11px; color: var(--text-secondary); }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-card-price { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.product-card-cart-btn {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--border-color); background: transparent;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; color: var(--text-secondary);
    padding: 0; box-shadow: none;
}
.product-card-cart-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.product-card-cart-btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
.product-card-stars .half-filled { margin-left: -14px; clip-path: inset(0 50% 0 0); }

/* ── ITEM PAGE ── */

/* ── BREADCRUMBS ── */
.breadcrumbs { padding: 16px 0; border-bottom: 1px solid var(--border-color); }
.breadcrumbs-list { display: flex; align-items: center; gap: 8px; list-style: none; font-size: 13px; color: var(--text-secondary); padding: 0; margin: 0; }
.breadcrumbs-list a { color: var(--text-secondary); transition: color 0.2s; text-decoration: none; }
.breadcrumbs-list a:hover { color: var(--primary-color); }
.breadcrumbs-list .separator { color: var(--border-color); }
.breadcrumbs-list .current { color: var(--text-primary); font-weight: 500; }

/* ── PRODUCT DETAIL: Tabs Info ── */
.product-detail { padding: 48px 0 72px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-height, 64px) + 24px); }
.product-gallery-main {
    aspect-ratio: 1/1; border-radius: var(--radius-lg, 16px); background: var(--bg-secondary);
    border: 1px solid var(--border-color); overflow: hidden; margin-bottom: 12px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 12px; }
.product-gallery-thumb {
    width: 72px; height: 72px; border-radius: var(--radius-sm, 6px);
    background: var(--bg-secondary); border: 2px solid var(--border-color);
    overflow: hidden; cursor: pointer; transition: border-color 0.2s;
}
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumb.active, .product-gallery-thumb:hover { border-color: var(--primary-color); }
.product-info-category {
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--primary-color); font-weight: 600; margin-bottom: 12px;
}
.product-info h1 { font-size: 30px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.product-rating-stars { display: flex; gap: 2px; color: var(--accent-color, var(--warning-color)); }
.product-rating-stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.product-rating-stars .empty { color: var(--border-color); }
.product-rating-text { font-size: 14px; color: var(--text-secondary); }
.product-price-block { margin-bottom: 24px; }
.product-price-current { font-size: 34px; font-weight: 800; letter-spacing: 0; }
.product-actions { display: flex; gap: 12px; margin-bottom: 32px; }
.product-actions .btn { flex: 1; justify-content: center; }
.product-tabs { border-top: 1px solid var(--border-color); padding-top: 24px; }
.product-tabs-nav { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.product-tab-btn {
    padding: 12px 20px; font-size: 14px; font-weight: 600; background: none;
    border: none; border-bottom: 2px solid transparent; cursor: pointer;
    color: var(--text-secondary); transition: all 0.2s; margin-bottom: -1px;
}
.product-tab-btn.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.product-tab-btn:hover { color: var(--text-primary); }
.product-tab-content { display: none; font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.product-tab-content.active { display: block; }
.related-section { padding: 72px 0; border-top: 1px solid var(--border-color); }

/* ── FOOTER ── */

/* ── FOOTER: Centered Stack ── */
.footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 56px 0 32px; color: var(--text-secondary);
}
.footer-stack {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 24px;
}
.footer-logo {
    font-size: 24px; font-weight: 800; color: var(--text-primary);
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.footer-logo img { width: 214px; height: auto; display: block; }
.footer-logo span { color: var(--primary-color); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
    font-size: 14px; color: var(--text-secondary); text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-color); }
.footer-contact-info {
    display: flex; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap;
    justify-content: center;
}
.footer-contact-info a {
    font-weight: 600; color: var(--text-primary); text-decoration: none;
}
.footer-divider { color: var(--border-color); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border-color); display: flex;
    align-items: center; justify-content: center;
    color: var(--text-secondary); transition: all 0.2s; text-decoration: none;
}
.footer-social a:hover { border-color: var(--primary-color); color: var(--primary-color); }
.footer-social svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.footer-copyright {
    font-size: 13px; color: var(--text-secondary);
    padding-top: 24px; border-top: 1px solid var(--border-color); width: 100%;
}

/* ── CATEGORIES ── */

/* ── CATEGORIES: Pill Tags ── */
.categories { padding: 32px 0; }
.categories-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.category-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 50px;
    background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(var(--primary-rgb), 0.18);
    font-size: 14px; font-weight: 500; color: var(--text-primary);
    text-decoration: none; cursor: pointer;
    transition: all 0.2s ease;
}
.category-pill:hover { border-color: var(--primary-color); color: var(--primary-color); }
.category-pill.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.category-pill.active .pill-count { background: rgba(255,255,255,0.25); color: #fff; }
.pill-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 24px; height: 24px; padding: 0 6px;
    border-radius: 12px; background: var(--border-color);
    font-size: 11px; font-weight: 600; color: var(--text-secondary);
}
.catalog-empty {
    min-height: 300px;
    border: 1px solid rgba(var(--primary-rgb), 0.16);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 247, 238, 0.86)),
        var(--bg-primary);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 44px 24px; border-radius: var(--radius-lg);
}
.catalog-empty img { width: 84px; height: 84px; margin-bottom: 16px; }
.catalog-empty h3 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.catalog-empty p { max-width: 520px; color: var(--text-secondary); margin-bottom: 22px; }
@media (max-width: 480px) {
    .categories-pills { gap: 8px; }
    .category-pill { padding: 8px 14px; font-size: 13px; }
}

/* ── PROMO BANNER ── */
.promo-banner { padding: 0 0 72px; }
.promo-inner {
    background:
        linear-gradient(135deg, rgba(100, 50, 79, 0.92), rgba(127, 155, 103, 0.86)),
        url('../assets/hero-bg.jpg') center/cover no-repeat;
    border-radius: var(--radius-lg); padding: 56px 64px;
    display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
    color: #fff; position: relative; overflow: hidden;
}
.promo-inner::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.promo-inner::after {
    content: ''; position: absolute; bottom: -30%; left: 20%;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.promo-text { position: relative; z-index: 1; }
.promo-text h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: 0; }
.promo-text p { font-size: 16px; opacity: 0.85; line-height: 1.6; max-width: 480px; }

/* ── FEATURES ── */
.features { padding: 72px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--primary-color) 8%, white); color: var(--primary-color);
}
.feature-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.feature-card h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ── PLACEHOLDER IMAGE ── */
.placeholder-img {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: var(--bg-secondary); color: var(--border-color);
}
.placeholder-img svg { width: 48px; height: 48px; stroke: currentColor; stroke-width: 1.2; fill: none; }

/* ── CART MODAL ── */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1000;
    backdrop-filter: blur(4px);
}
.cart-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #fff; border-radius: var(--radius-lg); width: 95%; max-width: 750px;
    max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid var(--border-color);
}
.cart-header h3 { font-size: 18px; font-weight: 700; }
.close-cart { font-size: 28px; cursor: pointer; color: var(--text-secondary); line-height: 1; }
.close-cart:hover { color: var(--text-primary); }
.cart-body { padding: 20px 24px; }
.show-cart { width: 100%; border-collapse: collapse; }
.show-cart th { padding: 10px 0; border-bottom: 2px solid var(--border-color); font-size: 13px; font-weight: 600; text-align: left; color: var(--text-secondary); }
.show-cart td { padding: 10px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; vertical-align: middle; }
.show-cart td img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.quantity-control { display: inline-flex; align-items: center; gap: 4px; }
.quantity-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--bg-secondary); border-radius: var(--radius-sm); cursor: pointer; font-size: 16px; user-select: none; }
.quantity-btn:hover { background: var(--border-color); }
.item-count { width: 40px; text-align: center; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 4px; font-size: 14px; }
.delete-item { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 16px; padding: 4px 8px; }
.delete-item:hover { color: #e53e3e; }
.cart-total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; font-size: 18px; font-weight: 700;
}
.cart-form { padding: 0 24px 16px; }
.cart-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.cart-form input {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); font-size: 14px; outline: none;
}
.cart-form input:focus { border-color: var(--primary-color); }
.cart-footer {
    display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border-color);
}
.cart-footer button {
    flex: 1; padding: 12px; border-radius: var(--radius-md); font-size: 14px;
    font-weight: 600; cursor: pointer; border: none; transition: background 0.2s;
}
.clear-cart { background: var(--bg-secondary); color: var(--text-secondary); }
.clear-cart:hover { background: var(--border-color); }
.order-btn { background: var(--primary-color); color: #fff; }
.order-btn:hover { background: var(--primary-dark); }
.close-btn { background: var(--bg-secondary); color: var(--text-secondary); }
.close-btn:hover { background: var(--border-color); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-text { max-width: 100%; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 400px; margin: 0 auto; }
    .hero-float-card.top-right, .hero-float-card.bottom-left { display: none; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .promo-inner { padding: 40px 36px; }
    .promo-text h2 { font-size: 26px; }
}
@media (max-width: 768px) {
    .hero { padding: 40px 0 48px; }
    .hero h1 { font-size: 34px; }
    .hero-desc { font-size: 15px; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 22px; }
    .section { padding: 48px 0; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .header-nav, .header-phone { display: none; }
    .menu-toggle { display: flex; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .product-gallery { position: static; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .section-header { flex-direction: column; gap: 8px; }
    .promo-inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .header-logo img { width: 168px; }
    .header-actions { gap: 6px; }
    .header-action-btn { width: 36px; height: 36px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card-body { padding: 10px; }
    .product-card-title { font-size: 13px; }
    .product-card-price { font-size: 15px; }
    .container { padding: 0 16px; }
    .product-info h1 { font-size: 24px; }
    .product-price-current { font-size: 28px; }
    .product-actions { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
}
