/* ============================================
   OnlyPuff - Design Professionnel Premium
   ============================================ */

:root {
    --primary: #9B5DE5;
    --primary-light: #B07AED;
    --primary-dark: #7C3AED;
    --accent: #00B4D8;
    --accent-light: #00F5FF;
    --gold: #D4AF37;
    --gold-light: #E5C76B;
    --bg: #0D0D0D;
    --bg-card: #1A1A2E;
    --bg-card-hover: #222240;
    --bg-surface: #111827;
    --bg-elevated: #1E1E36;
    --text: #E0E0E6;
    --text-muted: #8B8B9E;
    --text-heading: #F8F8F8;
    --border: #2A2A40;
    --border-hover: #3D3D5C;
    --success: #16a34a;
    --danger: #C4475A;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #9B5DE5, #F15BB5);
    color: #fff;
    border: none;
}
.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(155, 93, 229, 0.35);
    transform: translateY(-1px);
}

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

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: var(--border-hover);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--text-heading);
    background: rgba(155, 93, 229, 0.08);
}

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #9B5DE5, #F15BB5);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(155, 93, 229, 0.3);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-cloud {
    display: flex;
    align-items: center;
    filter: drop-shadow(0 2px 8px rgba(155, 93, 229, 0.4));
}

.logo-cloud svg {
    width: 38px;
    height: 28px;
}

.nav {
    display: flex;
    gap: 2px;
}

.nav-link {
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 450;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--text-heading);
}
.nav-link.active {
    color: var(--text-heading);
    background: var(--bg-surface);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-btn {
    position: relative;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 0.8rem;
}
.cart-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-heading);
}

.cart-count {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
}
.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 200px 0 140px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 50% 0%, rgba(155, 93, 229, 0.15), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    font-size: 0.95rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
}

.gradient-text {
    color: var(--primary-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 44px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 90px;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    justify-content: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============ SECTIONS ============ */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.section-cta {
    margin-top: 48px;
    text-align: center;
}

/* ============ CATEGORIES ============ */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.category-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transform: translateY(-4px);
}
.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(155,93,229,0.15), rgba(155,93,229,0.08));
    transition: all 0.3s ease;
}
.category-card:nth-child(2) .category-icon {
    background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,180,216,0.08));
}
.category-card:nth-child(3) .category-icon {
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.08));
}
.category-card:nth-child(4) .category-icon {
    background: linear-gradient(135deg, rgba(22,163,74,0.15), rgba(22,163,74,0.08));
}

.category-card:hover .category-icon {
    transform: scale(1.08);
}

.category-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
}
.category-card:nth-child(2) .category-icon svg {
    stroke: #00B4D8;
}
.category-card:nth-child(3) .category-icon svg {
    stroke: #D4AF37;
}
.category-card:nth-child(4) .category-icon svg {
    stroke: #16a34a;
}

.category-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.category-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--primary);
    margin-top: auto;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-8px);
}
.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============ PRODUCTS GRID ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

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

.product-image-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.08;
}

.product-image-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    opacity: 0.4;
}

.product-image-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--text-muted);
    stroke-width: 1;
    fill: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.product-specs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: 4px;
}

.product-specs span {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    font-weight: 500;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}
.badge-new { background: var(--primary); color: #fff; border: none; }
.badge-promo { background: var(--gold); color: #0D0D0D; border: none; }
.badge-hot { background: linear-gradient(135deg, #9B5DE5, #F15BB5); color: #fff; border: none; }

.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.product-category {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-nicotine {
    font-size: 0.65rem;
    color: var(--text-muted);
    padding: 1px 6px;
    border: 1px solid var(--border);
    border-radius: 3px;
}

.product-name {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.product-old-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}

.product-add-btn {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: rgba(155, 93, 229, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.product-add-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.product-see-btn {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}
.product-card:hover .product-see-btn {
    text-decoration: underline;
}

/* ============ HEALTH WARNING ============ */
.health-warning {
    font-size: 0.6rem;
    color: rgba(139, 139, 158, 0.4);
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* ============ FEATURES ============ */
.features-section {
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature {
    padding: 32px 24px;
    background: var(--bg);
}

.feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.feature p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============ CART SIDEBAR ============ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    max-width: 92vw;
    height: 100vh;
    background: var(--bg);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
}
.cart-sidebar.open { right: 0; }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.cart-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
}

.cart-close {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-close:hover { color: var(--text-heading); border-color: var(--border-hover); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 48px 0;
    font-size: 0.875rem;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-image {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow: hidden;
}

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

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

.cart-item-name {
    font-weight: 500;
    color: var(--text-heading);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.cart-item-flavor {
    font-size: 0.72rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.cart-item-price {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}
.qty-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-surface);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: var(--transition);
}
.cart-item-remove:hover { color: var(--danger); }

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 16px;
}

/* ============ AGE MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}
.modal-overlay.hidden { display: none; }

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

@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes iconShine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Keep .modal for other modals (stock alert, checkout, etc.) */
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal p {
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 0.875rem;
}

.modal p strong {
    color: var(--text-heading);
    font-weight: 600;
}

/* Age verification premium modal */
.age-modal-card {
    position: relative;
    background: linear-gradient(165deg, rgba(26, 26, 46, 0.95), rgba(13, 13, 13, 0.98));
    border: 1px solid rgba(155, 93, 229, 0.2);
    border-radius: 24px;
    padding: 52px 44px 40px;
    text-align: center;
    max-width: 440px;
    width: 100%;
    animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow:
        0 0 80px rgba(155, 93, 229, 0.08),
        0 24px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.age-modal-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(155, 93, 229, 0.3), rgba(241, 91, 181, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
    filter: blur(30px);
}

.age-modal-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9B5DE5, #F15BB5);
    box-shadow:
        0 0 30px rgba(155, 93, 229, 0.3),
        0 0 60px rgba(241, 91, 181, 0.15);
}

.age-modal-icon::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(165deg, #1A1A2E, #0D0D0D);
}

.age-modal-icon span {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #F8F8F8 20%, #9B5DE5 50%, #F15BB5 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconShine 4s linear infinite;
}

.age-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.age-modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.age-modal-desc strong {
    color: var(--text-heading);
    font-weight: 600;
}

.age-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-modal-btn-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 28px;
    background: linear-gradient(135deg, #9B5DE5, #F15BB5);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(155, 93, 229, 0.3);
    letter-spacing: -0.01em;
}

.age-modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(155, 93, 229, 0.45);
}

.age-modal-btn-confirm:active {
    transform: translateY(0);
}

.age-modal-btn-deny {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.age-modal-btn-deny:hover {
    border-color: var(--danger);
    color: var(--danger);
    background: rgba(196, 71, 90, 0.08);
}

.age-modal-legal {
    margin-top: 24px;
    font-size: 0.72rem;
    color: rgba(139, 139, 158, 0.5);
    line-height: 1.5;
}

/* ============ CATALOGUE PAGE ============ */
.page-header {
    padding: 110px 0 36px;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.catalogue-layout {
    display: flex;
    gap: 40px;
    padding: 32px 0 80px;
}

.filters-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group h4 {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.85rem;
}
.filter-option:hover { color: var(--text); }

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    accent-color: var(--primary);
    width: 14px;
    height: 14px;
}

.catalogue-content {
    flex: 1;
    min-width: 0;
}

.catalogue-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.results-count {
    color: var(--text-muted);
    font-size: 0.825rem;
}

.sort-select {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.825rem;
    cursor: pointer;
}

.search-bar {
    width: 100%;
    max-width: 380px;
    position: relative;
    margin-top: 20px;
}

.search-bar input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.875rem;
    transition: var(--transition);
}
.search-bar input:focus {
    outline: none;
    border-color: var(--border-hover);
    background: var(--bg-surface);
}
.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.mobile-filter-btn {
    display: none;
}

/* ============ PRODUCT PAGE (PDP) ============ */
.pdp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 24px 0 16px;
    transition: color var(--transition);
}
.pdp-back:hover { color: var(--primary); }

.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 24px 0 64px;
    align-items: center;
}

.pdp-image {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border: 1px solid var(--border);
}

.pdp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.pdp-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pdp-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pdp-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 500;
}

.pdp-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 8px 0 12px;
    line-height: 1.2;
}

.pdp-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.pdp-meta span {
    font-size: 0.8rem;
    padding: 4px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-muted);
    font-weight: 500;
}

.pdp-puffs {
    font-weight: 600 !important;
    color: var(--primary-light) !important;
    border-color: var(--primary) !important;
    background: rgba(155,93,229,0.15) !important;
}

.pdp-description {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.pdp-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.pdp-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.pdp-spec svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--primary);
}
.pdp-spec div {
    display: flex;
    flex-direction: column;
}
.pdp-spec-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pdp-spec-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
}

.pdp-flavors {
    margin-bottom: 24px;
}

.pdp-flavors-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.pdp-flavors-count {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 2px 8px;
    border-radius: 10px;
}

.pdp-flavors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
}

.pdp-flavors-grid::-webkit-scrollbar {
    width: 4px;
}
.pdp-flavors-grid::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 4px;
}
.pdp-flavors-grid::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 4px;
}

.pdp-flavor-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.pdp-flavor-stock {
    font-size: 0.65rem;
    color: var(--success);
    font-weight: 500;
}
.pdp-flavor-stock.preorder {
    color: #f59e0b;
}

.pdp-flavor-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.pdp-flavor-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pdp-flavor-btn.active .pdp-flavor-stock {
    color: rgba(255,255,255,0.8);
}

.pdp-flavor-preorder {
    border-style: dashed;
}

.cart-item-preorder {
    font-size: 0.7rem;
    color: #f59e0b;
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(245,158,11,0.15);
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
}

.cart-item-is-preorder {
    border-left: 3px solid #f59e0b;
}

.order-item-preorder {
    color: #f59e0b;
    font-size: 0.78rem;
    font-weight: 600;
}

.pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.pdp-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-heading);
}

.pdp-old-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pdp-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pdp-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.pdp-qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: var(--bg-surface);
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-heading);
    transition: background var(--transition);
}
.pdp-qty-btn:hover { background: var(--border); }

.pdp-qty-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-heading);
}

.pdp-add {
    flex: 1;
    height: 44px;
}

@media (max-width: 768px) {
    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pdp-title { font-size: 1.4rem; }
    .pdp-specs { grid-template-columns: 1fr; }
}

/* ============ WHOLESALE ============ */
.wholesale-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wholesale-benefit {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.wholesale-benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: rgba(155,93,229,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wholesale-benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.wholesale-benefit h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.wholesale-benefit p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .wholesale-benefits { grid-template-columns: 1fr; }
}

/* ============ SHIPPING OPTIONS ============ */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-card {
    cursor: pointer;
    display: block;
}

.shipping-card input[type="radio"] {
    display: none;
}

.shipping-card-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    transition: all var(--transition);
}

.shipping-card:hover .shipping-card-content {
    border-color: var(--border-hover);
    background: var(--bg-elevated);
}

.shipping-card input[type="radio"]:checked ~ .shipping-card-content {
    border-color: var(--primary);
    background: rgba(155,93,229,0.1);
    box-shadow: 0 0 0 1px var(--primary);
}

.shipping-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all var(--transition);
}

.shipping-card input[type="radio"]:checked ~ .shipping-card-content .shipping-card-icon {
    background: var(--primary);
    color: #fff;
}

.shipping-card-icon svg {
    stroke: currentColor;
}

.shipping-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shipping-card-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
}

.shipping-card-delay {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.shipping-card-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    flex-shrink: 0;
}

/* ============ CHECKOUT PAGE ============ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 36px 0 80px;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.form-group label {
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 9px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-family: inherit;
    font-size: 0.875rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 84px;
    height: fit-content;
}

.order-summary h3 {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.order-item-name { color: var(--text); }
.order-item-flavor { display: block; font-size: 0.75rem; color: var(--primary); margin-top: 1px; }
.order-item-qty { color: var(--text-muted); font-size: 0.8rem; }
.order-item-price { font-weight: 600; color: var(--text-heading); }

.order-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
}

/* ============ FOOTER ============ */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.825rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 3px 0;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--text-heading); }

.footer-col p {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 3px 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
}

/* ============ LEGAL PAGE ============ */
.legal-content {
    padding: 36px 0 80px;
    max-width: 720px;
}

.legal-content h2 {
    font-size: 1.1rem;
    color: var(--text-heading);
    margin: 32px 0 10px;
    font-weight: 600;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 0.875rem;
}

/* ============ TOAST ============ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    color: var(--text-heading);
    font-weight: 500;
    font-size: 0.85rem;
    z-index: 300;
    transform: translateY(80px);
    opacity: 0;
    transition: 0.25s ease;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .filters-sidebar { display: none; }
    .filters-sidebar.open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        z-index: 200;
        padding: 80px 24px 24px;
        overflow-y: auto;
        border-right: 1px solid var(--border);
    }
    .mobile-filter-btn { display: inline-flex; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 12px;
    }
    .nav.open { display: flex; }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 120px 0 60px; }
    .hero-stats { gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
}

/* ============ COOKIE BANNER (RGPD) ============ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.cookie-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(155,93,229,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cookie-banner-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}
.cookie-banner-text {
    flex: 1;
}
.cookie-banner-text p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner-icon { display: none; }
    .cookie-banner-actions { width: 100%; justify-content: center; }
}

/* ============ ACCOUNT PAGE ============ */
.account-empty {
    text-align: center;
    padding: 60px 0;
}
.account-empty svg { margin: 0 auto 20px; display: block; }
.account-empty h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.account-empty p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* Auth forms */
.auth-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 0;
}
.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
}
.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.auth-tab.active {
    color: var(--primary);
}
.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}
.auth-tab:hover {
    color: var(--primary);
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auth-form.hidden {
    display: none;
}

.account-header-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}
.account-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.account-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-heading);
}
.account-email {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.account-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.account-stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 2px;
}
.account-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.account-section {
    margin-bottom: 36px;
}
.account-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.account-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.account-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.account-info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    font-weight: 500;
}
.account-info-value {
    font-size: 0.875rem;
    color: var(--text-heading);
    font-weight: 500;
}

/* Order Cards */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.order-card:hover {
    border-color: var(--border-hover);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    gap: 16px;
    transition: background var(--transition);
}
.order-card-header:hover {
    background: var(--bg-elevated);
}

.order-card-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.order-card-id {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
}
.order-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.order-card-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.order-card-status {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 4px;
}
.status-confirmed { background: rgba(0,180,216,0.15); color: #00B4D8; }
.status-preparing { background: rgba(212,175,55,0.15); color: #D4AF37; }
.status-shipped { background: rgba(155,93,229,0.15); color: #B07AED; }
.status-delivered { background: rgba(22,163,74,0.15); color: #16a34a; }

.order-card-total {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
}

.order-card-chevron {
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.order-card.open .order-card-chevron {
    transform: rotate(180deg);
}

.order-card-detail {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
}
.order-card.open .order-card-detail {
    display: block;
}

.order-detail-items {
    padding: 12px 0;
}
.order-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-surface);
}
.order-detail-item:last-child { border-bottom: none; }

.order-detail-item-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
}
.order-detail-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-detail-item-info {
    flex: 1;
    min-width: 0;
}
.order-detail-item-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-heading);
    display: block;
}
.order-detail-item-flavor {
    font-size: 0.72rem;
    color: var(--primary);
}
.order-detail-item-qty {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.order-detail-item-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
}

.order-detail-summary {
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.order-detail-line {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.825rem;
    color: var(--text-muted);
}
.order-detail-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0;
    margin-top: 6px;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
}

.order-detail-address {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
    font-size: 0.825rem;
    color: var(--text);
}

.order-invoice-btn {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .account-stats { grid-template-columns: 1fr; }
    .account-info-grid { grid-template-columns: 1fr; }
    .order-card-header { flex-direction: column; align-items: flex-start; }
    .order-card-right { width: 100%; justify-content: space-between; }
}

/* ============ SIMILAR PRODUCTS ============ */
.similar-section {
    padding: 48px 0 80px;
    border-top: 1px solid var(--border);
    margin-top: 0;
}
.similar-section .section-title {
    margin-bottom: 8px;
}
.similar-section .section-subtitle {
    margin-bottom: 32px;
}

/* ============ SCROLL ANIMATIONS ============ */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-animate-delay-1 { transition-delay: 0.1s; }
.scroll-animate-delay-2 { transition-delay: 0.2s; }
.scroll-animate-delay-3 { transition-delay: 0.3s; }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-heading);
    border: 1px solid var(--border);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: linear-gradient(135deg, #9B5DE5, #F15BB5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(155, 93, 229, 0.4);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
}
