/**
 * Shop Before You Fly - Theme CSS
 * Clean, modern duty-free shopping design
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors */
    --color-primary: #0066CC;
    --color-primary-dark: #0052A3;
    --color-secondary: #222222;

    /* Accent Colors */
    --color-success: #059669;
    --color-warning: #FBBF24;
    --color-error: #EF4444;
    --color-exclusive: #7C3AED;

    /* Grays */
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #E8E8E8;
    --color-gray-300: #E0E0E0;
    --color-gray-400: #BDBDBD;
    --color-gray-500: #9E9E9E;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #222222;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border radius */
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-full: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-gray-900);
    background-color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    flex: 1;
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
}

.promo-banner strong {
    font-weight: 700;
}

.promo-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 8px;
}

.promo-banner a:hover {
    opacity: 0.9;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-gray-300);
}

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

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

.header-logo .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.header-logo .logo-text {
    font-weight: 600;
    font-size: 17px;
    color: var(--color-primary);
}

/* Collection Point Selector */
.collection-point {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
}

.collection-point:hover {
    border-color: var(--color-primary);
}

.collection-point .icon {
    color: var(--color-primary);
}

.collection-point .label {
    font-size: 11px;
    color: #666;
}

.collection-point .value {
    font-weight: 600;
    color: var(--color-gray-900);
}

/* Search */
.header-search {
    display: flex;
    align-items: center;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    width: 300px;
}

.header-search svg {
    color: #999;
    flex-shrink: 0;
}

.header-search input {
    border: none;
    background: transparent;
    margin-left: 10px;
    font-size: 14px;
    width: 100%;
    outline: none;
}

.header-search input::placeholder {
    color: #999;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.header-actions a {
    color: #444;
}

.header-actions a:hover {
    color: var(--color-primary);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #444;
}

.header-user:hover {
    color: var(--color-primary);
}

/* Mini Cart */
.mini-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-900);
    cursor: pointer;
}

.mini-cart:hover {
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--color-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wishlist Icon */
.mini-wishlist {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-900);
    cursor: pointer;
}

.mini-wishlist:hover {
    color: #e11d48;
}

.wishlist-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e11d48;
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Services Navigation */
.services-nav {
    background: #0052A3 !important;
}

.services-nav .container {
    padding-top: 0;
    padding-bottom: 0;
}

.services-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.service-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    border-radius: 4px;
}

.service-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background var(--transition-fast);
}

.service-tab:hover {
    color: white;
}

.service-tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.service-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.service-tab.active::after {
    background: white;
}

.service-tab svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .services-nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .service-tab {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Category Navigation */
.category-nav {
    border-top: 1px solid var(--color-gray-300);
}

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

.category-nav .nav-toggle,
.category-nav .nav-link {
    padding: 14px 16px;
    font-size: 14px;
    color: #444;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.category-nav .nav-toggle {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.category-nav .nav-toggle:hover,
.category-nav .nav-link:hover {
    color: var(--color-primary);
}

.category-nav .nav-toggle.active,
.category-nav .nav-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F7FC 100%);
    padding: 40px 20px;
    border-bottom: 1px solid var(--color-gray-300);
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 500px;
}

.hero-label {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 14px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 16px;
}

.hero-feature {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    width: 140px;
}

.hero-feature .icon {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.hero-feature .title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.hero-feature .desc {
    font-size: 12px;
    color: #666;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: white;
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-secondary {
    background: white;
    border: 1px solid #DDD;
    color: #444;
}

.btn-secondary:hover {
    background: var(--color-gray-100);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ============================================
   PROMOTION BANNER SLIDER
   ============================================ */
.promo-slider-section {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.promo-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.promo-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.promo-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    gap: 32px;
    box-sizing: border-box;
}

.promo-slide:nth-child(2) {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%);
}

.promo-slide:nth-child(3) {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d4a6f 100%);
}

.promo-slide:nth-child(4) {
    background: linear-gradient(135deg, #831843 0%, #be185d 100%);
}

.promo-slide-content {
    flex: 1;
    color: white;
}

.promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.promo-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.promo-desc {
    font-size: 15px;
    opacity: 0.9;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.promo-slide .btn {
    background: white;
    color: var(--color-gray-900);
    border: none;
}

.promo-slide .btn:hover {
    background: var(--color-gray-100);
    color: var(--color-gray-900);
}

.promo-slide-image {
    width: 200px;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.promo-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Navigation Arrows */
.promo-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-700);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
    z-index: 10;
}

.promo-slider-arrow:hover {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.promo-slider-prev {
    left: 16px;
}

.promo-slider-next {
    right: 16px;
}

/* Slider Dots */
.promo-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.promo-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.promo-slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.promo-slider-dot.active {
    background: white;
    width: 24px;
    border-radius: 5px;
}

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

    .promo-slide {
        flex-direction: column;
        padding: 24px;
        text-align: center;
        gap: 20px;
    }

    .promo-title {
        font-size: 22px;
    }

    .promo-desc {
        font-size: 14px;
    }

    .promo-slide-image {
        width: 120px;
        height: 100px;
        order: -1;
    }

    .promo-slider-arrow {
        width: 32px;
        height: 32px;
    }

    .promo-slider-prev {
        left: 8px;
    }

    .promo-slider-next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .promo-slide {
        padding: 20px 16px;
    }

    .promo-title {
        font-size: 18px;
    }

    .promo-slider-arrow {
        display: none;
    }
}

/* ============================================
   CATEGORY PILLS
   ============================================ */
.category-pills {
    display: flex;
    gap: 8px;
    padding: 20px 0;
    overflow-x: auto;
}

.category-pill {
    padding: 10px 20px;
    border: 1px solid #DDD;
    background: white;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 400;
    color: #444;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.category-pill:hover {
    background: var(--color-gray-100);
}

.category-pill.active {
    border: 2px solid var(--color-primary);
    background: #E8F4FD;
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-section {
    padding: 0 0 40px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.products-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.products-count {
    font-size: 14px;
    color: #666;
}

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

/* Product Card */
.product-card {
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
    cursor: pointer;
}

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

.product-card:hover .add-btn {
    background: var(--color-primary);
    color: white;
}

.product-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.product-card .add-btn {
    margin: 0 16px 16px 16px;
    width: calc(100% - 32px);
}

.product-image {
    position: relative;
    background: var(--color-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background: var(--color-primary);
    color: white;
}

.badge-exclusive {
    background: var(--color-exclusive);
    color: white;
}

.badge-member {
    background: var(--color-success);
    color: white;
}

.badge-duty-free {
    background: #2563eb;
    color: white;
}

.badge-age {
    background: #dc2626;
    color: white;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: 1px solid var(--color-gray-300);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.wishlist-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.wishlist-btn svg {
    width: 16px;
    height: 16px;
    color: #999;
}

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

.product-info {
    padding: 14px;
}

.product-brand {
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-900);
    margin-bottom: 4px;
    line-height: 1.4;
}

.product-size {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.product-rating .stars {
    display: flex;
}

.product-rating .stars svg {
    width: 12px;
    height: 12px;
}

.product-rating .count {
    font-size: 11px;
    color: #888;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gray-900);
}

.price-was {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.add-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-primary);
    background: white;
    color: var(--color-primary);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.add-btn:hover {
    background: var(--color-primary);
    color: white;
}

/* Load More */
.load-more {
    text-align: center;
    margin-top: 32px;
}

/* ============================================
   INFO BANNER
   ============================================ */
.info-banner {
    background: #F8F9FA;
    padding: 40px 20px;
    border-top: 1px solid var(--color-gray-300);
}

.info-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.info-item .number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 18px;
    font-weight: 700;
}

.info-item .title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}

.info-item .desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-gray-900);
    color: white;
    padding: 48px 20px 24px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-brand .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.footer-brand .logo-text {
    font-weight: 600;
    font-size: 16px;
}

.footer-desc {
    font-size: 13px;
    color: #AAA;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 13px;
    color: #AAA;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #888;
}

.footer-links a:hover {
    color: white;
}

/* ============================================
   PRODUCTS PAGE LAYOUT
   ============================================ */
.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.filters-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filters-sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.filter-group {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-gray-200);
}

.filter-group h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    color: var(--color-gray-600);
}

.filter-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.price-range {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.price-range input {
    width: 80px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-200);
}

.results-info {
    font-weight: 600;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.sort-controls select {
    min-width: 200px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.page-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-gray-300);
    background: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.page-btn:hover {
    background: var(--color-gray-100);
}

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

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-gray-700);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #F59E0B;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #3B82F6;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-spinner {
    border: 3px solid var(--color-gray-200);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: var(--spacing-xl) auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }

    .collection-point {
        display: none;
    }

    .header-actions > a:not(.mini-cart):not(.mini-wishlist) {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .category-nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

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

    .hero-title {
        font-size: 24px;
    }
}

/* ================================
   Cart Slide-out Panel
   ================================ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
}

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

.cart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-gray-200);
}

.cart-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.cart-panel-header h3 span {
    font-weight: 400;
    color: var(--color-gray-500);
    margin-left: 8px;
}

.cart-panel-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-gray-600);
    transition: color 0.2s;
}

.cart-panel-close:hover {
    color: var(--color-gray-900);
}

.cart-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--color-gray-500);
}

.cart-panel-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.cart-panel-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-panel-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-100);
}

.cart-panel-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-panel-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-gray-100);
}

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

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

.cart-panel-item-brand {
    font-size: 12px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cart-panel-item-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-panel-item-qty {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 4px;
}

.cart-panel-item-price {
    font-weight: 600;
    color: var(--color-primary);
}

.cart-panel-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-gray-400);
    transition: color 0.2s;
    align-self: flex-start;
}

.cart-panel-item-remove:hover {
    color: var(--color-error);
}

.cart-panel-footer {
    padding: 20px;
    border-top: 1px solid var(--color-gray-200);
    background: var(--color-gray-50);
}

.cart-panel-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cart-panel-footer .btn {
    margin-bottom: 10px;
}

.cart-panel-footer .btn:last-child {
    margin-bottom: 0;
}

/* ================================
   Modal Overlay & Collection Modal
   ================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

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

.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-gray-200);
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-gray-600);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-gray-900);
}

.modal-body {
    padding: 24px;
}

.modal-desc {
    color: var(--color-gray-600);
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-footer {
    padding: 16px 24px 24px;
}

/* Form elements in modal */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label .required {
    color: var(--color-gray-400);
    font-weight: 400;
    font-size: 12px;
    margin-left: 8px;
}

.form-select,
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Empty cart styles */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart svg {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.empty-cart h2 {
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--color-gray-600);
    margin-bottom: 24px;
}

/* Cart page styles */
.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-gray-100);
}

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

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

.cart-item-brand {
    font-size: 12px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--color-gray-600);
}

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

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-gray-300);
    background: #fff;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 500;
}

.cart-item-total {
    font-weight: 600;
    font-size: 16px;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-gray-400);
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: var(--color-error);
}

.cart-summary {
    background: var(--color-gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    max-width: 400px;
    margin-left: auto;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cart-summary-row.cart-total {
    font-size: 18px;
    font-weight: 600;
    padding-top: 12px;
    border-top: 1px solid var(--color-gray-300);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .cart-panel {
        width: 100%;
        right: -100%;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .cart-item-quantity,
    .cart-item-total,
    .cart-item-remove {
        grid-column: 2;
    }

    .cart-item-quantity {
        justify-self: start;
    }

    .cart-item-total {
        text-align: left;
    }
}

/* ============================================
   AUTH PAGES (Login, Register, Terms)
   ============================================ */
.auth-page {
    min-height: calc(100vh - 200px);
    background: var(--color-gray-50);
    padding: 40px 20px;
}

.auth-banner {
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
    margin: -40px -20px 40px;
}

.auth-container {
    max-width: 480px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.auth-card.terms-card {
    max-width: 520px;
    margin: 0 auto;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--color-gray-900);
}

.terms-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--color-gray-900);
}

/* Social Login Buttons */
.social-login-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.social-btn {
    width: 56px;
    height: 56px;
    border: 1px solid var(--color-gray-300);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-gray-200);
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    color: var(--color-gray-500);
    font-size: 14px;
}

/* Auth Form */
.auth-form {
    margin-top: 20px;
}

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

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--color-gray-700);
}

.auth-form .form-group label .required {
    color: var(--color-gray-400);
    font-weight: 400;
    font-size: 12px;
    margin-left: 8px;
}

.auth-form .form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-gray-500);
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-500);
    padding: 4px;
}

.password-toggle:hover {
    color: var(--color-gray-700);
}

/* Checkbox Label */
.auth-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-700);
}

.auth-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}

.auth-form .checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Country Select with Flag */
.country-select {
    padding-left: 16px;
}

/* Promo Code Field */
.promo-field {
    background: var(--color-gray-50);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-top: -8px;
}

/* Terms Notice */
.terms-notice {
    background: #E8F4FD;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.terms-notice p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-700);
    margin: 0;
}

/* Terms Agreement */
.terms-agreement {
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.terms-agreement p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin: 0;
}

.terms-agreement a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}

.auth-footer p {
    font-size: 14px;
    color: var(--color-gray-600);
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Button Block */
.btn-block {
    width: 100%;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page {
    background: var(--color-gray-50);
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    padding: 0 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-gray-200);
    color: var(--color-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.step.active .step-number {
    background: var(--color-primary);
    color: white;
}

.step.completed .step-number {
    background: var(--color-success);
    color: white;
}

.step-label {
    font-size: 12px;
    color: var(--color-gray-500);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--color-primary);
}

.step.completed .step-label {
    color: var(--color-success);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--color-gray-200);
    margin: 0 8px;
    margin-bottom: 24px;
}

/* Checkout Content Layout */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Checkout Section */
.checkout-section {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-200);
}

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.edit-link {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.edit-link:hover {
    text-decoration: underline;
}

/* Order Items */
.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.order-item .item-image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--color-gray-100);
}

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

.order-item .item-brand {
    font-size: 11px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.order-item .item-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 2px;
}

.order-item .item-qty {
    font-size: 13px;
    color: var(--color-gray-600);
}

.order-item .item-price {
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.empty-order {
    text-align: center;
    padding: 32px;
    color: var(--color-gray-500);
}

.empty-order a {
    color: var(--color-primary);
}

/* Collection Details */
.collection-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-row .label {
    font-size: 12px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-row .value {
    font-weight: 500;
    font-size: 14px;
}

/* Checkout Form */
.checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-form .form-group {
    margin-bottom: 20px;
}

.checkout-form .form-group:last-child {
    margin-bottom: 0;
}

.checkout-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.checkout-form label .required {
    color: var(--color-error);
}

.checkout-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.checkout-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    border-color: var(--color-primary);
    background: #F8FAFF;
}

.payment-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.payment-desc {
    font-size: 13px;
    color: var(--color-gray-500);
}

.payment-cards {
    display: flex;
    gap: 8px;
}

.payment-cards img {
    height: 20px;
    width: auto;
}

/* Card Details */
.card-details {
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: -8px;
}

/* Checkout Sidebar */
.checkout-sidebar {
    position: sticky;
    top: 20px;
}

.order-summary {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.order-summary h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-200);
}

.summary-items {
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
}

.summary-item span:first-child {
    color: var(--color-gray-600);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-item span:last-child {
    font-weight: 500;
    white-space: nowrap;
}

/* Promo Code in Sidebar */
.promo-code {
    border-top: 1px solid var(--color-gray-200);
    padding-top: 16px;
    margin-bottom: 16px;
}

.promo-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
}

.promo-toggle:hover {
    text-decoration: underline;
}

.promo-input {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.promo-input .form-input {
    flex: 1;
}

.promo-input .btn {
    padding: 10px 16px;
}

/* Summary Totals */
.summary-totals {
    border-top: 1px solid var(--color-gray-200);
    padding-top: 16px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row.discount {
    color: var(--color-success);
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--color-gray-200);
    margin-top: 8px;
}

/* Secure Checkout */
.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--color-gray-500);
}

.secure-checkout svg {
    color: var(--color-success);
}

/* Checkout Responsive */
@media (max-width: 1024px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-page {
        padding: 20px 16px;
    }

    .checkout-steps {
        flex-wrap: wrap;
        gap: 8px;
    }

    .step-line {
        width: 30px;
    }

    .checkout-section {
        padding: 20px;
    }

    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }

    .collection-details {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 24px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   INFO PAGES (Privacy, Terms, FAQ, Pickup)
   ============================================ */
.info-page {
    background: var(--color-gray-50);
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.info-page .container {
    max-width: 800px;
}

.info-page h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 8px;
}

.info-page .page-subtitle {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 32px;
}

/* Legal Content (Privacy, Terms) */
.legal-content {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.legal-content > p:first-child {
    font-size: 13px;
    color: var(--color-gray-500);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-200);
}

.legal-content h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul,
.legal-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-primary-dark);
}

/* FAQ Content */
.faq-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    border: 1px solid var(--color-gray-200);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin: 0;
}

/* Pickup/How It Works Content */
.pickup-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pickup-content .step {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--color-gray-200);
}

.pickup-content .step-number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    font-weight: 700;
}

.pickup-content .step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 10px;
}

.pickup-content .step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin: 0;
}

@media (max-width: 768px) {
    .info-page {
        padding: 24px 16px;
    }

    .info-page h1 {
        font-size: 24px;
    }

    .legal-content {
        padding: 24px;
    }

    .pickup-content {
        grid-template-columns: 1fr;
    }
}
