/* ═══════════════════════════════════════════════════════════════════════════════
   SASHA — PREMIUM HANDMADE REDESIGN 2025
   Design System: Warm Loft + Boho Chic
   Fonts: Playfair Display (display) + Inter (UI) + Caveat (accents)
   Features: CSS Variables, Dark Theme, 3D Tilt, Glassmorphism, Parallax
   ═══════════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
    /* Light Theme (default) */
    --bg-primary: #F9F5F0;
    --bg-secondary: #F0EAE3;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --text-primary: #2C1810;
    --text-secondary: #6B5B50;
    --text-muted: #9E8E82;
    --accent: #B85C38;
    --accent-hover: #9A4A2A;
    --accent-light: #D4785A;
    --accent-glow: rgba(184, 92, 56, 0.25);
    --success: #5B8C5A;
    --success-hover: #4A7349;
    --warning: #C9A227;
    --border: rgba(44, 24, 16, 0.08);
    --border-strong: rgba(44, 24, 16, 0.15);
    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
    --shadow-md: 0 8px 30px rgba(44, 24, 16, 0.08);
    --shadow-lg: 0 20px 60px rgba(44, 24, 16, 0.12);
    --shadow-glow: 0 8px 40px rgba(184, 92, 56, 0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Caveat', cursive;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #1A120E;
    --bg-secondary: #251A14;
    --bg-card: #2C1F18;
    --bg-elevated: #35251C;
    --text-primary: #E8DDD4;
    --text-secondary: #B5A89C;
    --text-muted: #7A6B60;
    --accent: #D4785A;
    --accent-hover: #E08F73;
    --accent-light: #E8A88F;
    --accent-glow: rgba(212, 120, 90, 0.3);
    --success: #6BA36A;
    --success-hover: #7DB87C;
    --warning: #D4B43A;
    --border: rgba(232, 221, 212, 0.08);
    --border-strong: rgba(232, 221, 212, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 40px rgba(212, 120, 90, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

::selection {
    background: var(--accent);
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ─── CUSTOM CURSOR ─── */
@media (pointer: fine) {
    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        border: 1.5px solid var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
        mix-blend-mode: difference;
    }
    .custom-cursor::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 6px;
        height: 6px;
        background: var(--accent);
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }
    .custom-cursor.hover {
        width: 60px;
        height: 60px;
        background: rgba(184, 92, 56, 0.08);
    }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ─── UTILITY CLASSES ─── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 3rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 20px 4px var(--accent-glow); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Scroll-triggered reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── HEADER ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

header.scrolled {
    background: rgba(var(--bg-primary-rgb, 249, 245, 240), 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] header.scrolled {
    background: rgba(26, 18, 14, 0.85);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-accent);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: transform var(--transition-fast), color var(--transition-fast);
    position: relative;
    z-index: 2;
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
    color: var(--accent-hover);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
    letter-spacing: 0.02em;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base), left var(--transition-base);
    border-radius: 2px;
}

nav a:hover {
    color: var(--text-primary);
}

nav a:hover::after {
    width: 100%;
    left: 0;
}

nav a.active {
    color: var(--accent);
    font-weight: 600;
}

nav a.active::after {
    width: 100%;
    left: 0;
}

/* Theme Toggle */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid var(--border);
}

.theme-toggle:hover {
    background: var(--accent);
    color: #fff;
    transform: rotate(20deg) scale(1.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform var(--transition-fast);
    color: var(--text-secondary);
}

.cart-icon:hover {
    transform: scale(1.1);
    color: var(--accent);
}

.cart-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--transition-fast);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.cart-count.bounce {
    animation: bounce 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--bg-secondary);
}

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

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO SECTION ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(184, 92, 56, 0.07) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(91, 140, 90, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulseGlow 2s infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease 0.7s both;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    background: var(--accent-hover);
}

.hero-cta:hover::before {
    transform: translateX(100%);
}

.hero-cta svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1.2s both;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: float 2s ease-in-out infinite;
}

/* ─── CATALOG SECTION ─── */
.catalog {
    padding: 5rem 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.75rem 2rem;
    border: 1.5px solid var(--border-strong);
    background: transparent;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    z-index: -1;
}

.category-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.category-tab.active {
    border-color: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.category-tab.active::before {
    transform: scaleX(1);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ─── PRODUCT CARD (with 3D Tilt) ─── */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.18s; }
.product-card:nth-child(3) { animation-delay: 0.26s; }
.product-card:nth-child(4) { animation-delay: 0.34s; }
.product-card:nth-child(5) { animation-delay: 0.42s; }
.product-card:nth-child(6) { animation-delay: 0.5s; }

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 280px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.view-product-hint {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.product-card:hover .view-product-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-info {
    padding: 1.75rem;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.product-name:hover {
    color: var(--accent);
}

.product-specs {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}

.add-to-cart {
    width: 100%;
    padding: 0.9rem;
    background: var(--success);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.add-to-cart::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.add-to-cart:hover {
    background: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 140, 90, 0.3);
}

.add-to-cart:hover::before {
    transform: translateX(100%);
}

.add-to-cart.sold {
    background: var(--bg-secondary);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.add-to-cart.sold:hover {
    transform: none;
}

/* Sold Badge */
.sold-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(44, 24, 16, 0.85);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-xl);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(8px);
}

/* ─── CART SIDEBAR ─── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -460px;
    width: 460px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2001;
    box-shadow: var(--shadow-lg);
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-primary);
    font-weight: 600;
}

.close-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.close-cart:hover {
    background: var(--bg-secondary);
    color: var(--accent);
    transform: rotate(90deg);
}

.close-cart svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 2rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    stroke: var(--border-strong);
    margin-bottom: 1.25rem;
    stroke-width: 1.5;
}

.cart-empty p {
    font-size: 0.95rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    animation: slideInRight 0.4s ease;
}

.cart-item-image {
    width: 72px;
    height: 72px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--border-strong);
    background: var(--bg-card);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.cart-item-qty {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.remove-item {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 6px;
    transition: all var(--transition-fast);
    color: var(--text-muted);
}

.remove-item:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    transform: scale(1.1);
}

.remove-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.cart-total-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.cart-total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-body);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.checkout-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.checkout-btn:hover::before {
    transform: translateX(100%);
}

/* ─── ORDER MODAL ─── */
.order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.order-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.order-modal-overlay.active .order-modal {
    transform: scale(1) translateY(0);
}

.order-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.order-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.close-order-modal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.close-order-modal:hover {
    background: var(--bg-secondary);
    color: var(--accent);
    transform: rotate(90deg);
}

.close-order-modal svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
}

.order-summary {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.order-summary-title {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.order-summary-list {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.9;
}

.order-summary-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-strong);
    font-weight: 700;
    color: var(--accent);
    font-size: 1.15rem;
}

/* ─── FORMS ─── */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-elevated);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.submit-order-btn {
    width: 100%;
    padding: 1rem;
    background: var(--success);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-order-btn:hover:not(:disabled) {
    background: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 140, 90, 0.3);
}

.submit-order-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─── CONSENT ─── */
.consent-block {
    margin: 1.5rem 0 0.5rem;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    user-select: none;
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.consent-details {
    margin-top: 0.75rem;
    font-size: 0.8rem;
}

.consent-details summary {
    display: inline-block;
    cursor: pointer;
    color: var(--accent);
    font-weight: 600;
    transition: color var(--transition-fast);
    list-style: none;
}

.consent-details summary::-webkit-details-marker {
    display: none;
}

.consent-details summary::after {
    content: ' ▾';
    font-size: 0.7rem;
}

.consent-details[open] summary::after {
    content: ' ▴';
}

.consent-details summary:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.consent-full-text {
    margin-top: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    max-height: 240px;
    overflow-y: auto;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.8rem;
    border: 1px solid var(--border);
}

.consent-full-text p {
    margin-bottom: 0.75rem;
}

.consent-full-text p:last-child {
    margin-bottom: 0;
}

/* ─── SUCCESS MODAL ─── */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.success-overlay.active .success-modal {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both;
}

.success-icon svg {
    width: 38px;
    height: 38px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-modal h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.success-modal p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.success-btn {
    padding: 0.9rem 2.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.success-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ─── FOOTER ─── */
footer {
    background: var(--text-primary);
    color: var(--bg-secondary);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-brand .footer-logo {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bg-secondary);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.08);
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(184, 92, 56, 0.3);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ─── MOBILE NAV ─── */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1500;
    padding: 2rem;
    transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1499;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-close {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 2rem;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.mobile-nav-close:hover {
    background: var(--bg-secondary);
    color: var(--accent);
    transform: rotate(90deg);
}

.mobile-nav-close svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
}

.mobile-nav ul {
    list-style: none;
    flex: 1;
}

.mobile-nav li {
    margin-bottom: 0.5rem;
}

.mobile-nav a {
    display: block;
    padding: 0.9rem 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--bg-secondary);
    color: var(--accent);
}

.mobile-nav-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.mobile-nav-footer a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-nav-footer a:hover {
    background: var(--bg-secondary);
    color: var(--accent);
}

/* ─── PAGE SECTIONS (Delivery, Payment, Contacts) ─── */
.page-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(184, 92, 56, 0.06) 0%, transparent 60%);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

.page-content {
    padding: 4rem 0;
}

/* Info Cards */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-card p, .info-card li {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.info-card ul {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}

.info-card li {
    margin-bottom: 0.5rem;
}

.info-card .price-tag {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* ─── CONTACTS PAGE ─── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    text-align: left;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--accent);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-card a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.contact-card .contact-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ─── PRODUCT PAGE ─── */
.product-page {
    padding: 8rem 0 5rem;
}

.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 520px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    cursor: zoom-in;
}

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

.gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    z-index: 3;
    backdrop-filter: blur(8px);
}

.gallery-arrow:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all var(--transition-fast);
    background: var(--bg-card);
    flex-shrink: 0;
    position: relative;
}

.gallery-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: var(--accent);
    opacity: 1;
    box-shadow: var(--shadow-glow);
}

.gallery-thumb.active::after {
    opacity: 0.1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    padding-top: 0.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color var(--transition-fast);
}

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

.back-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-fast);
}

.back-link:hover svg {
    transform: translateX(-3px);
}

.product-detail-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-weight: 600;
}

.product-detail-specs {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.product-detail-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.product-detail-description {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.product-detail-btn {
    max-width: 320px;
    padding: 1.1rem;
    font-size: 1rem;
}

.sold-note {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--warning);
}

.product-not-found {
    text-align: center;
    padding: 5rem 1rem;
}

.product-not-found h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-not-found p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .product-detail {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1.25rem;
    }
    nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .theme-toggle {
        width: 38px;
        height: 38px;
    }
    .hero {
        padding: 7rem 1.25rem 3rem;
        min-height: auto;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-image {
        height: 320px;
    }
    .cart-sidebar {
        width: 100%;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-gallery {
        position: static;
    }
    .gallery-main {
        height: 360px;
    }
    .page-hero {
        padding: 7rem 1.25rem 3rem;
    }
    .section {
        padding: 3rem 0;
    }
    .catalog {
        padding: 3rem 0;
    }
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .product-image {
        height: 260px;
    }
    .gallery-main {
        height: 280px;
    }
    .product-detail-price {
        font-size: 1.8rem;
    }
    .order-modal {
        padding: 1.75rem;
    }
    .cart-sidebar {
        right: -100%;
        width: 100%;
    }
    .info-card, .contact-card {
        padding: 1.5rem;
    }
}

/* ─── ACCESSIBILITY ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── LOADING STATE ─── */
.loading-shimmer {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-primary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: gradientShift 1.5s infinite;
}
