/* ═══════════════════════════════════════════════════
   LOTOS E-SHOP — Premium Redesign
   ═══════════════════════════════════════════════════ */

:root {
    --primary: #2c5f2d;
    --primary-light: #4a8b4b;
    --primary-dark: #1a3d1b;
    --primary-glow: rgba(44, 95, 45, 0.15);
    --accent: #e8a87c;
    --accent-warm: #f0c9a0;
    --bg: #faf9f7;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --text: #2d2d2d;
    --text-light: #666;
    --text-muted: #999;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(44, 95, 45, 0.12);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.15s ease;
    --transition: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ─── ANIMATED BACKGROUND ─── */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 50%, rgba(44,95,45,0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(232,168,124,0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(44,95,45,0.02) 0%, transparent 50%);
    z-index: -1;
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-0.5deg); }
}

/* ─── HEADER ─── */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.logo:hover { transform: scale(1.02); color: var(--primary); }
.logo-icon {
    font-size: 1.4em;
    filter: drop-shadow(0 2px 4px rgba(44,95,45,0.2));
    animation: logoPulse 3s ease-in-out infinite;
}

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

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ── LOGO IMAGE ─── */
.logo-img {
    height: 36px;
    width: auto;
    flex-shrink: 0;
    transition: transform var(--transition);
    /* feather edges: circular mask with soft fade */
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
    mask-image: radial-gradient(circle, black 60%, transparent 100%);
    -webkit-mask-size: cover;
    mask-size: cover;
}
.logo:hover .logo-img {
    transform: scale(1.05);
}

/* ── FOOTER LOGO ─── */
.footer-logo-img {
    height: 28px;
    width: auto;
    opacity: 0.9;
    vertical-align: middle;
    margin-right: 6px;
    /* feather edges */
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
    mask-image: radial-gradient(circle, black 60%, transparent 100%);
    -webkit-mask-size: cover;
    mask-size: cover;
}
.footer h4 .footer-logo-img {
    opacity: 1;
}

.nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9em;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform var(--transition);
}

.nav a:hover {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ═══ CATEGORY DROPDOWN ═══ */
.nav-dropdown {
    position: relative;
}

/* ── Toggle button ─── */
.nav-dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.9em;
    font-weight: 500;
    color: var(--text);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}
.nav-dropdown-toggle:hover {
    color: var(--primary);
    background: var(--primary-glow);
}
.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform var(--transition);
}
.nav-dropdown-toggle:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ── Arrow icon ─── */
.dropdown-arrow {
    transition: transform 0.25s ease;
    margin-left: 2px;
    flex-shrink: 0;
}
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* ── Dropdown menu ─── */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    max-height: 480px;
    overflow-y: auto;
    padding: 8px;
    z-index: 999;
    /* Hidden by default — shown only via .open */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    /* 2-column grid for many categories */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ── Dropdown items ─── */
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88em;
    font-weight: 500;
    color: var(--text) !important;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.nav-dropdown-menu a:hover {
    background: var(--primary-glow);
    color: var(--primary) !important;
}
.nav-dropdown-menu a::after {
    display: none;
}
.nav-dropdown-menu .icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.55;
}
.nav-dropdown-menu a:hover .icon {
    opacity: 1;
}

/* ── Mobile: single column ─── */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        min-width: 220px;
        grid-template-columns: 1fr;
    }
}

.cart-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(44,95,45,0.25);
    position: relative;
    overflow: hidden;
}

.cart-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cart-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(44,95,45,0.35);
    color: white !important;
}

.cart-link:hover::before { left: 100%; }

.cart-count {
    background: white;
    color: var(--primary);
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    line-height: 1;
    margin-left: 2px;
}
.cart-count-empty {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    box-shadow: none;
}

/* ─── MAIN ─── */
.main { flex: 1; padding: 20px 0 40px; }

/* ─── HERO ─── */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 100 100\\"><circle cx=\\"50\\" cy=\\"50\\" r=\\"40\\" fill=\\"none\\" stroke=\\"rgba(255,255,255,0.05)\\" stroke-width=\\"0.5\\"/></svg>') repeat;
    background-size: 80px 80px;
    animation: heroPattern 30s linear infinite;
}

@keyframes heroPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero .container { position: relative; z-index: 1; }


/* ═══ HERO LOGO ═══ */
.hero-logo-wrap {
    margin-bottom: 24px;
}
.hero-logo-img {
    max-height: 180px;
    width: auto;
    margin: 0 auto;
    display: block;
    /* feather edges: circular mask with soft fade */
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle, black 58%, transparent 100%);
    mask-image: radial-gradient(circle, black 58%, transparent 100%);
    -webkit-mask-size: cover;
    mask-size: cover;
    box-shadow: inset 0 0 14px 6px var(--bg, #faf9f7);
}

@media (max-width: 768px) {
    .hero-logo-img {
        max-height: 120px;
    }
}
@media (max-width: 768px) {
    .hero-logo-img {
        max-height: 120px;
    }
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── ALERTS ─── */
.alert {
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 0.95em;
    animation: slideInDown 0.4s ease-out;
    border-left: 4px solid;
    box-shadow: var(--shadow-sm);
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success { background: #d4edda; color: #155724; border-left-color: var(--success); }
.alert-error { background: #f8d7da; color: #721c24; border-left-color: var(--danger); }
.alert-info { background: #d1ecf1; color: #0c5460; border-left-color: #17a2b8; }
.alert-warning { background: #fff3cd; color: #856404; border-left-color: var(--warning); }

/* ─── SECTION TITLE ─── */
.section-title {
    font-size: 1.6em;
    margin: 40px 0 24px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
    opacity: 0.3;
}

/* ─── CATEGORY GRID ─── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition-slow);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.category-card:hover::before { transform: scaleX(1); }

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-icon {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    border-radius: 50%;
    transition: all var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 { font-size: 1.1em; margin-bottom: 6px; font-weight: 600; }
.category-card p { font-size: 0.85em; color: var(--text-light); }

/* ─── PRODUCT GRID ─── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

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

.product-image {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.product-image::after {
    content: 'Zobrazit →';
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.product-card:hover .product-image::after {
    opacity: 1;
    transform: translateY(0);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5em;
    background: linear-gradient(135deg, #f8f8f8, #eee);
}

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1.05em; margin-bottom: 10px; font-weight: 600; }
.product-info h3 a { color: var(--text); text-decoration: none; transition: color var(--transition-fast); }
.product-info h3 a:hover { color: var(--primary); }

.product-price { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.current-price { font-size: 1.2em; font-weight: 700; color: var(--primary); }
.original-price { font-size: 0.9em; color: var(--text-muted); text-decoration: line-through; }

.sale-badge {
    background: linear-gradient(135deg, #dc3545, #e85d6b);
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.add-to-cart-form { margin-top: auto; }

/* ─── PRODUCT DETAIL ─── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 30px 0;
}

.product-detail-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition);
}

.product-detail-image img:hover { box-shadow: var(--shadow-lg); }

.product-detail-image .product-image-placeholder.large {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    font-size: 6em;
}

/* ─── IMAGE GALLERY ─── */
.image-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.image-thumbnails .thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
}

.image-thumbnails .thumb:hover,
.image-thumbnails .thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44,95,45,0.15);
    transform: scale(1.05);
}

.product-detail-info h1 { font-size: 2em; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.02em; }
.product-description { margin: 24px 0; color: var(--text-light); line-height: 1.8; font-size: 1.02em; }

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.quantity-selector input {
    width: 72px;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 1em;
    font-weight: 600;
    transition: border-color var(--transition);
}

.quantity-selector input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ─── CART ─── */
.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 24px 0;
}

.cart-table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    letter-spacing: 0.02em;
}

.cart-table th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.cart-table th:last-child { border-radius: 0 var(--radius-lg) 0 0; }

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.cart-table tr:last-child td { border-bottom: none; }
.cart-table tr:hover td { background: rgba(44,95,45,0.02); }

.cart-product {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.qty-input {
    width: 64px;
    padding: 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    transition: border-color var(--transition);
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.cart-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ─── CHECKOUT ─── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.checkout-form, .checkout-summary {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.checkout-summary .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95em;
}

.checkout-summary .summary-total {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--primary);
    margin-top: 12px;
}

.summary-note {
    margin-top: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0f7f0, #e8f5e9);
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    color: var(--text-light);
    border-left: 3px solid var(--primary);
}

/* ─── ORDER SUCCESS ─── */
.order-success {
    text-align: center;
    padding: 80px 20px;
    max-width: 520px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4.5em;
    margin-bottom: 24px;
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.order-success h1 { color: var(--primary); margin-bottom: 16px; font-size: 1.8em; }
.order-success p { margin-bottom: 12px; color: var(--text-light); font-size: 1.05em; }

/* ─── CONTACT ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.contact-info, .contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 12px; font-size: 1.02em; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    margin-top: 4px;
    font-size: 0.9em;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb span { color: var(--text-muted); }

/* ─── FORMS ─── */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1em;
    font-family: var(--font);
    transition: all var(--transition);
    background: var(--bg-card);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    font-family: var(--font);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: width 0.4s, height 0.4s, top 0.4s, left 0.4s;
    transform: translate(-50%, -50%);
}

.btn:active::after {
    width: 200px;
    height: 200px;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44,95,45,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(44,95,45,0.35);
    color: white;
}

.btn-secondary {
    background: #f0f0f0;
    color: var(--text);
}
.btn-secondary:hover { background: #e0e0e0; transform: translateY(-1px); }

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #e85d6b);
    color: white;
    box-shadow: 0 4px 15px rgba(220,53,69,0.2);
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220,53,69,0.3); color: white; }

.btn-sm { padding: 8px 16px; font-size: 0.85em; }
.btn-lg { padding: 16px 32px; font-size: 1.05em; }
.btn-xl { padding: 18px 36px; font-size: 1.1em; border-radius: var(--radius); }

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

/* ─── FOOTER ─── */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f2a10 100%);
    color: rgba(255,255,255,0.85);
    padding: 50px 0 24px;
    margin-top: auto;
    position: relative;
}

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

.footer a { color: rgba(255,255,255,0.8); transition: color var(--transition-fast); }
.footer a:hover { color: var(--accent-warm); }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 36px;
}

.footer h4 { color: white; margin-bottom: 14px; font-size: 1.05em; font-weight: 600; }
.footer p { font-size: 0.9em; margin-bottom: 8px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85em;
    color: rgba(255,255,255,0.5);
}

/* ─── EMPTY STATE ─── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1em;
}

.empty-state p { margin-bottom: 20px; }

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .header .container { flex-wrap: wrap; }
    .nav { order: 3; width: 100%; justify-content: center; gap: 4px; }
    .nav a { padding: 6px 12px; font-size: 0.85em; }
    .nav-dropdown-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-8px);
        min-width: 260px;
        grid-template-columns: 1fr;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
    
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 1.8em; }
    .hero p { font-size: 1em; }
    
    .product-detail { grid-template-columns: 1fr; gap: 24px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    
    .section-title { font-size: 1.3em; }
    .product-detail-info h1 { font-size: 1.5em; }
    
    .cart-table { font-size: 0.9em; }
    .cart-table th, .cart-table td { padding: 10px 8px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.5em; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-info { padding: 12px; }
    .product-info h3 { font-size: 0.9em; }
    .current-price { font-size: 1em; }
}

/* ── LUCIDE ICONS ── */
.icon {
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.icon-lg { width: 48px; height: 48px; }
.logo-icon .icon { color: var(--primary); width: 22px; height: 22px; }
.cart-link .icon { margin-right: 4px; }
.footer h4 .icon { margin-right: 6px; color: var(--primary); }
.footer p .icon { margin-right: 6px; opacity: 0.6; }
nav .icon { margin-right: 4px; }
.page-title .icon { margin-right: 10px; color: var(--primary); }
.btn .icon { margin-right: 6px; }
.empty-state .icon { margin-bottom: 12px; opacity: 0.3; }
h1 .icon, h2 .icon { margin-right: 8px; }

/* ── STOCK BADGES (customer facing) ── */
.stock-info {
    margin: 12px 0 16px;
}
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}
.stock-badge .icon {
    flex-shrink: 0;
}
.stock-ok {
    background: rgba(76, 175, 80, 0.12);
    color: #4CAF50;
}
.stock-low {
    background: rgba(255, 152, 0, 0.12);
    color: #FF9800;
}
.stock-empty {
    background: rgba(244, 67, 54, 0.12);
    color: #EF5350;
}
.stock-badge-sm {
    padding: 4px 10px;
    font-size: 0.75em;
    border-radius: 14px;
}

/* ── QUANTITY SELECTOR ── */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-elevated);
}
.qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.qty-btn:hover { background: var(--bg-hover); }
.qty-btn:active { background: var(--bg-active); }
.qty-control .qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1em;
    font-weight: 600;
    padding: 0;
    -moz-appearance: textfield;
}
.qty-control .qty-input::-webkit-outer-spin-button,
.qty-control .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-max {
    display: block;
    margin-top: 4px;
    font-size: 0.78em;
    color: var(--text-muted);
}

/* ── OUT OF STOCK ── */
.out-of-stock .btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    width: 100%;
}

/* ── THUMBNAIL VIDEO ── */
.thumb-video {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: rgba(0,0,0,0.6) !important;
    color: #fff !important;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.thumb-video .icon {
    color: #fff;
}
.thumb-video span {
    font-size: 0.6em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.thumb-video:hover {
    border-color: var(--primary) !important;
    background: rgba(0,0,0,0.8) !important;
}
.thumb-video.active {
    border-color: var(--primary) !important;
}

/* ── VIDEO OVERLAY ── */
.video-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}
.video-overlay-content {
    position: relative;
    width: 100%;
    max-width: 800px;
}
.video-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.video-close:hover { background: rgba(255,255,255,0.25); }
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 12px;
}

/* ── PRODUCT VIDEO LINK ── */
.product-video-link {
    margin-top: 12px;
}
.product-video-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.88em;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}
.product-video-link a:hover { opacity: 0.8; }


/* Made to order badge */
.stock-badge.stock-empty {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.stock-badge.stock-made-to-order {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}


/* ═══ PATCH: Professional Enhancements ═══ */

/* ─── TRUST BADGES ─── */
.trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 32px 0;
    margin: 60px 0 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.trust-item {
    padding: 12px;
    transition: transform var(--transition);
}
.trust-item:hover { transform: translateY(-4px); }
.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-glow);
    border-radius: 50%;
    margin-bottom: 12px;
    transition: all var(--transition);
}
.trust-item:hover .trust-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}
.trust-icon .icon { color: var(--primary); width: 24px; height: 24px; }
.trust-item:hover .trust-icon .icon { color: white; }
.trust-item h4 {
    font-size: 0.95em;
    margin-bottom: 4px;
    font-weight: 600;
}
.trust-item p {
    font-size: 0.82em;
    color: var(--text-light);
    line-height: 1.5;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(44,95,45,0.35);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--transition);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(44,95,45,0.45);
}
.back-to-top:active { transform: scale(0.95); }

/* ─── HERO ORB DECORATIONS ─── */
.hero {
    isolation: isolate;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb:nth-child(1) {
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.3);
    top: -40px; left: 10%;
    animation-delay: 0s;
}
.hero-orb:nth-child(2) {
    width: 140px; height: 140px;
    background: rgba(232,168,124,0.4);
    top: 50%; right: 8%;
    animation-delay: -4s;
}
.hero-orb:nth-child(3) {
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.2);
    bottom: -30px; left: 50%;
    animation-delay: -8s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.1); }
    50% { transform: translate(-10px, -60px) scale(0.95); }
    75% { transform: translate(-30px, -10px) scale(1.05); }
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero h1 {
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero p {
    line-height: 1.7;
}

/* ─── CATEGORY ICONS ─── */
.category-icon {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    border-radius: 50%;
    transition: all var(--transition);
}
.category-icon .icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: all var(--transition);
}
.category-card:hover .category-icon {
    background: var(--primary);
}
.category-card:hover .category-icon .icon { color: white; }

/* ─── NEW BADGE ─── */
.badge-new {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(99,102,241,0.3); }
    50% { box-shadow: 0 2px 16px rgba(99,102,241,0.5); }
}

/* ─── PRODUCT CARD: FULL-WIDTH BUTTON ─── */
.product-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

/* ─── PRODUCT META ─── */
.product-meta {
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.88em;
}
.product-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
}
.product-meta-item .icon { opacity: 0.6; }
.product-meta-item a { color: var(--primary); font-weight: 500; }

/* ─── PRODUCT DESCRIPTION ENHANCED ─── */
.product-description {
    font-size: 1.03em;
    line-height: 1.85;
    color: #444;
}
.product-description p { margin-bottom: 12px; }
.product-description strong { color: var(--text); }

/* ─── SHARE SECTION ─── */
.share-section {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88em;
    color: var(--text-light);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition);
}
.share-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ─── CHECKOUT FORM IMPROVEMENTS ─── */
.checkout-form h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-form .form-group {
    margin-bottom: 22px;
}
.checkout-form .form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
}
.checkout-form .required-star {
    color: var(--danger);
    font-weight: 700;
    margin-left: 2px;
}
.checkout-summary .summary-item {
    padding: 14px 0;
}
.summary-payment {
    margin-top: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0f7f0, #e8f5e9);
    border-radius: var(--radius-sm);
    font-size: 0.88em;
    color: var(--text-light);
    border-left: 3px solid var(--primary);
}
.summary-payment p { margin-bottom: 6px; }
.summary-payment strong { color: var(--text); }

/* ─── ORDER SUCCESS ENHANCED ─── */
.order-success-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin: 20px auto;
    max-width: 560px;
}
.order-details {
    margin-top: 28px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    text-align: left;
    font-size: 0.92em;
}
.order-details p { margin-bottom: 8px; }
.order-details strong { color: var(--text); }

/* ─── 404 PAGE ─── */
.error-page {
    text-align: center;
    padding: 80px 20px;
}
.error-code {
    font-size: 8em;
    font-weight: 800;
    color: var(--primary-glow);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}
.error-page h1 {
    font-size: 1.5em;
    margin-bottom: 12px;
    color: var(--text);
}
.error-page p {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 1.05em;
}

/* ─── STAGGER ANIMATIONS ─── */
.stagger-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MOBILE NAV HAMBURGER ─── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── FOOTER ENHANCEMENTS ─── */
.footer-grid > div:first-child p {
    line-height: 1.7;
    opacity: 0.8;
    margin-top: 4px;
}
.footer-newsletter {
    margin-top: 16px;
}
.footer-newsletter p {
    font-size: 0.85em;
    margin-bottom: 10px;
    opacity: 0.7;
}
.footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all var(--transition);
}
.footer .social-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateY(-2px);
}

/* ─── RESPONSIVE ADDITIONS ─── */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .trust-item { padding: 8px; }
    
    .nav-toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
        overflow-y: auto;
    }
    .nav.open {
        opacity: 1;
        pointer-events: auto;
    }
    .nav a {
        font-size: 1.15em;
        padding: 12px 24px;
    }
    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .nav-dropdown-toggle {
        font-size: 1.15em;
        padding: 12px 24px;
    }
    .nav-dropdown-menu {
        position: static;
        background: rgba(0,0,0,0.03);
        box-shadow: none;
        border: none;
        border-radius: var(--radius-sm);
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: none;
        display: none;
        padding: 6px 20px;
        min-width: auto;
        grid-template-columns: 1fr;
        width: 90vw;
        max-width: 320px;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        display: grid;
    }
    .nav-dropdown-menu a {
        font-size: 1em;
        padding: 10px 18px;
        justify-content: flex-start;
    }
    
    .error-code { font-size: 5em; }
    .back-to-top { bottom: 20px; right: 20px; }
    
    .product-meta { gap: 16px; }
}

@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .trust-item h4 { font-size: 0.85em; }
    .trust-item p { font-size: 0.75em; }
    .order-success-card { padding: 28px 20px; }
}

/* ─── SKELETON LOADING ─── */
@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton {
    background: linear-gradient(90deg, var(--border-light) 25%, #f5f5f5 50%, var(--border-light) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ── Fallback for browsers without mask-image support ─── */
@supports not (mask-image: radial-gradient(circle, black 60%, transparent 100%)) {
    .logo-img,
    .hero-logo-img,
    .footer-logo-img {
        border-radius: 50%;
        overflow: hidden;
    }
}
