/* ================================
   CSS VARIABLES - Destiny Cards Theme
   Brand: Blue & Gold with Montserrat
   ================================ */

:root {
    /* Typography System - Brand Fonts */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Gibson', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-tertiary: 'Gibson Light', 'Gibson', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Color System - Brand Blues */
    --primary-dark: #1D7AAF;
    --primary-mid: #29ABE2;
    --primary-light: #A1D7F7;
    --primary-solid: #29ABE2;
    --primary-gradient: var(--primary-solid);

    /* Accent colors - Brand Orange */
    --accent-gold: #FF9900;
    --accent-gold-light: #FFB333;
    --accent-gold-dark: #E68A00;

    /* Text colors */
    --text-dark: #1a1a2e;
    --text-medium: #4a4a6a;
    --text-light: #6b7280;
    --text-muted: #9ca3af;

    /* Backgrounds */
    --background-white: #ffffff;
    --background-light: #f8fafc;
    --background-cream: #FFFDF3;
    --background-warm: #FFFDF3;

    /* Borders */
    --border-light: #e5e7eb;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-focus: var(--primary-light);

    /* Shadows - Refined for depth */
    --shadow-soft: 0 2px 8px rgba(29, 122, 175, 0.08), 0 1px 2px rgba(29, 122, 175, 0.05);
    --shadow-medium: 0 8px 24px rgba(29, 122, 175, 0.12), 0 2px 8px rgba(29, 122, 175, 0.08);
    --shadow-large: 0 16px 48px rgba(29, 122, 175, 0.15), 0 8px 24px rgba(29, 122, 175, 0.1);
    --shadow-glow: 0 0 40px rgba(255, 153, 0, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(255, 153, 0, 0.5);

    /* Layout - Mobile First */
    --section-padding: 48px 24px;
    --content-max-width: 1140px;
    --form-max-width: 760px;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================
   ACCESSIBILITY
   ================================ */

/* Skip Link - visible on focus for keyboard users */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.9em;
    z-index: 9999;
    transition: top var(--transition-fast);
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Enhanced focus states for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Remove default focus outline when using mouse */
:focus:not(:focus-visible) {
    outline: none;
}

/* ================================
   MOBILE-FIRST BASE STYLES
   ================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--background-white);
    min-height: 100vh;
    line-height: 1.65;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 400;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base typography - mobile */
h1 {
    font-family: var(--font-primary);
    font-size: 2.25em;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h2 {
    font-family: var(--font-primary);
    font-size: 1.75em;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

h3 {
    font-family: var(--font-primary);
    font-size: 1.35em;
    line-height: 1.3;
    font-weight: 600;
}

p {
    font-size: 1.0625em;
    line-height: 1.75;
    margin-bottom: 18px;
    color: var(--text-medium);
}

/* ================================
   SECTION CONTAINERS
   ================================ */

.header,
.hero-section,
.products-section,
.content-section,
.how-it-works,
.differentiation,
.limited-edition-banner,
.who-this-is-for,
.promise-section,
.testimonials,
.truth-section,
.form-section,
.footer {
    width: 100%;
    padding: var(--section-padding);
}

/* Content wrapper for readable width */
.header > *,
.hero-section > *,
.content-section > *,
.how-it-works > *,
.differentiation > *,
.limited-edition-banner > *,
.who-this-is-for > *,
.promise-section > *,
.testimonials > *,
.truth-section > *,
.footer > * {
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   TOP NAVIGATION BAR
   ================================ */

.top-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--primary-dark);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-back {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.1);
    border: none;
}

.nav-back:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-back svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2.5;
    fill: none;
}

.nav-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-checkout-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
}

.nav-checkout-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.nav-checkout-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.nav-checkout-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-checkout-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.nav-checkout-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-dark);
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--transition-fast);
}

/* When cart has items, show badge */
.nav-checkout-btn.has-items .nav-checkout-badge {
    opacity: 1;
    transform: scale(1);
}

/* Tablet adjustments */
@media (min-width: 640px) {
    .top-nav {
        padding: 12px 24px;
    }

    .nav-back,
    .nav-checkout-btn {
        width: 44px;
        height: 44px;
    }

    .nav-back svg,
    .nav-checkout-icon svg {
        width: 22px;
        height: 22px;
    }

    .nav-checkout-badge {
        width: 22px;
        height: 22px;
        font-size: 0.75em;
    }
}

/* Desktop adjustments */
@media (min-width: 1024px) {
    .top-nav {
        padding: 14px 40px;
    }
}

/* ================================
   HEADER
   ================================ */

.header {
    background: var(--primary-solid);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 56px 24px;
}

/* Subtle shimmer overlay */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    pointer-events: none;
}

/* Decorative corner element */
.header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(248, 207, 70, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.header h1 {
    position: relative;
    z-index: 1;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.header .tagline {
    font-family: var(--font-primary);
    font-size: 1.15em;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: white;
}

.header .subtitle {
    font-family: var(--font-primary);
    font-size: 0.8em;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 600;
}

/* ================================
   HERO SECTION - Enhanced
   ================================ */

.hero-section {
    background: var(--background-warm);
    background-image:
        radial-gradient(ellipse at 0% 50%, rgba(248, 207, 70, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 50%, rgba(0, 119, 182, 0.06) 0%, transparent 40%);
    border-bottom: 1px solid rgba(248, 207, 70, 0.25);
    position: relative;
    overflow: hidden;
    padding-top: 64px;
    padding-bottom: 64px;
}

/* Elegant top accent line */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* Subtle decorative elements */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(248, 207, 70, 0.2);
    border-radius: 50%;
    opacity: 0.6;
}

.hero-section h2 {
    color: var(--text-dark);
    font-size: 1.85em;
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-section p {
    font-size: 1.0625em;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.emphasis {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.25em;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px 0;
    letter-spacing: 0.01em;
}

/* ================================
   PRODUCTS SECTION
   ================================ */

.products-section {
    background: var(--background-white);
    padding: 64px 24px 40px;
    position: relative;
}

/* Subtle background pattern */
.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(248, 207, 70, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(3, 4, 94, 0.02) 0%, transparent 30%);
    pointer-events: none;
}

.section-intro {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.section-intro h2 {
    font-size: 2.25em;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-intro p {
    font-family: var(--font-primary);
    font-size: 0.95em;
    color: var(--primary-mid);
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* Urgency Indicator */
.urgency-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--background-cream);
    border: 1px solid var(--accent-gold);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95em;
    color: var(--text-dark);
    margin-top: 8px;
    transition: all var(--transition-medium);
}

.urgency-indicator .urgency-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.urgency-indicator .urgency-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-gold-dark);
}

.urgency-indicator .urgency-text {
    font-weight: 500;
}

.urgency-indicator .remaining-count {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Low stock state - more urgency */
.urgency-indicator.low-stock {
    background: #fff0f0;
    border-color: #e53935;
    animation: pulse-urgency 2s ease-in-out infinite;
}

.urgency-indicator.low-stock .urgency-icon svg {
    stroke: #e53935;
}

.urgency-indicator.low-stock .remaining-count {
    color: #e53935;
}

@keyframes pulse-urgency {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(229, 57, 53, 0);
    }
}

/* Product Grid - Mobile First (Single Column) */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 0;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.product-option {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-option:hover {
    border-color: var(--accent-gold-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.product-option.selected {
    border-color: var(--accent-gold);
    border-width: 2px;
    box-shadow: var(--shadow-glow), var(--shadow-medium);
}

.product-option.featured {
    border-color: rgba(212, 165, 116, 0.4);
    background: linear-gradient(180deg, var(--background-cream) 0%, var(--background-white) 100%);
}

/* Subtle shine effect on hover */
.product-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 5;
    pointer-events: none;
}

.product-option:hover::before {
    left: 100%;
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 6px 15px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 10;
    box-shadow: var(--shadow-soft);
}

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

/* Product Image */
.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--primary-solid);
    position: relative;
}

/* Subtle overlay for depth */
.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(10, 10, 35, 0.1), transparent);
    pointer-events: none;
}

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

.product-option:hover .product-image img {
    transform: scale(1.03);
}

/* Bundle Image - Two products with plus sign */
.product-image-bundle {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--primary-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 28px;
    position: relative;
}

.bundle-item {
    flex: 0 1 auto;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bundle-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform var(--transition-medium);
}

.product-option:hover .bundle-item img {
    transform: scale(1.03);
}

.bundle-plus {
    font-family: var(--font-primary);
    font-size: 1.75em;
    font-weight: 400;
    color: var(--accent-gold-light);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    width: 32px;
    text-align: center;
    opacity: 0.9;
}

/* Tablet and up */
@media (min-width: 640px) {
    .product-image-bundle {
        height: 250px;
        gap: 8px;
        padding: 25px 30px;
    }

    .bundle-plus {
        font-size: 2em;
        width: 35px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .product-image-bundle {
        height: 280px;
        gap: 12px;
        padding: 30px 40px;
    }

    .bundle-plus {
        font-size: 2.5em;
        width: 45px;
    }
}

/* Product Info */
.product-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-info .price {
    font-family: var(--font-primary);
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-mid);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.product-info .features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-info .features li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-medium);
}

.product-info .features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* Shipping Notice for Pre-Orders */
.shipping-notice {
    background: var(--background-cream);
    border-left: 3px solid var(--accent-gold);
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 0 6px 6px 0;
    font-size: 0.875em;
    color: var(--text-medium);
    line-height: 1.55;
}

.shipping-notice strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Select Button */
.select-button {
    background: var(--primary-dark);
    color: white;
    padding: 14px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95em;
    letter-spacing: 0.03em;
    transition: all var(--transition-fast);
}

.product-option:hover .select-button {
    background: var(--primary-mid);
}

.product-option.selected .select-button {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* Pricing Summary */
.pricing-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 30px auto;
    border-left: 5px solid var(--primary-light);
    box-shadow: var(--shadow-soft);
    max-width: 600px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1.05em;
}

.pricing-row.total {
    border-top: 3px solid var(--primary-light);
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.4em;
    color: var(--primary-dark);
}

.shipping-note {
    font-size: 0.85em;
    color: var(--text-light);
    margin-top: 12px;
    font-style: italic;
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, var(--background-cream), #fff8dc);
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator p {
    font-size: 1.05em;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* ================================
   CONTENT SECTIONS
   ================================ */

.content-section {
    background: var(--background-white);
    position: relative;
    border-top: 1px solid var(--border-light);
}

/* Accent bar at top */
.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 0 0 2px 2px;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 32px;
}

/* ================================
   HOW IT WORKS - Enhanced Section
   ================================ */

.how-it-works {
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal pattern */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(135deg, transparent 25%, rgba(248, 207, 70, 0.03) 25%, rgba(248, 207, 70, 0.03) 50%, transparent 50%, transparent 75%, rgba(248, 207, 70, 0.03) 75%);
    background-size: 40px 40px;
    pointer-events: none;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.how-it-works-header h2 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.how-it-works-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: var(--accent-gold);
}

.how-it-works .intro {
    font-family: var(--font-primary);
    font-size: 1.35em;
    font-style: italic;
    color: var(--text-medium);
    margin: 0;
    font-weight: 400;
}

/* Steps Container with Timeline Effect */
.steps-container {
    max-width: 720px;
    margin: 0 auto 56px auto;
    position: relative;
    z-index: 1;
}

.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Connecting line between steps */
.steps-list::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 32px;
    bottom: 32px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        var(--accent-gold) 0%,
        var(--border-light) 50%,
        var(--accent-gold) 100%
    );
    opacity: 0.5;
}

.step-item {
    counter-increment: step-counter;
    margin-bottom: 20px;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-content {
    display: flex;
    align-items: center;
    padding: 20px 24px 20px 72px;
    background: var(--background-white);
    border-radius: 8px;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-subtle);
}

.step-content:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold-light);
}

/* Numbered circle */
.step-content::before {
    content: counter(step-counter);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1em;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.step-content:hover::before {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.step-text {
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 400;
}

/* Footer Section */
.how-it-works-footer {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.closing-statement {
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.explanation {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 0;
}

.differentiation {
    background: var(--background-white);
    padding-left: 32px;
    position: relative;
}

.differentiation::before {
    content: '';
    position: absolute;
    left: 0;
    top: var(--section-padding);
    bottom: var(--section-padding);
    width: 3px;
    background: linear-gradient(180deg, var(--accent-gold), var(--primary-mid));
    border-radius: 2px;
}

.limited-edition-banner {
    background: var(--primary-solid);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Diagonal stripe pattern overlay */
.limited-edition-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.03) 40px,
        rgba(255, 255, 255, 0.03) 80px
    );
    pointer-events: none;
}

/* Decorative sparkles */
.limited-edition-banner::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-top: 1px solid rgba(248, 207, 70, 0.3);
    border-right: 1px solid rgba(248, 207, 70, 0.3);
    pointer-events: none;
}

.limited-edition-banner h2 {
    color: white;
    font-size: 2em;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.limited-edition-banner p {
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.limited-edition-banner .emphasis {
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

.who-this-is-for {
    background: var(--background-cream);
    position: relative;
}

/* Subtle corner accent */
.who-this-is-for::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    border-top: 2px solid rgba(248, 207, 70, 0.3);
    border-left: 2px solid rgba(248, 207, 70, 0.3);
    pointer-events: none;
}

.who-this-is-for h2 {
    text-align: center;
    margin-bottom: 32px;
}

.who-this-is-for ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.who-this-is-for ul li {
    text-align: left;
    margin-bottom: 16px;
    position: relative;
    font-size: 1em;
    padding-left: 32px;
    color: var(--text-medium);
    transition: transform var(--transition-fast);
}

.who-this-is-for ul li:hover {
    transform: translateX(4px);
}

.who-this-is-for ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-fast);
}

.who-this-is-for ul li:hover::before {
    width: 20px;
}

.promise-section {
    background: var(--background-white);
    position: relative;
    padding-left: 32px;
}

.promise-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: var(--section-padding);
    bottom: var(--section-padding);
    width: 3px;
    background: linear-gradient(180deg, var(--primary-mid), var(--accent-gold));
    border-radius: 2px;
}

/* Testimonials - Enhanced */
.testimonials {
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: var(--accent-gold);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.testimonial {
    background: var(--background-white);
    padding: 32px 28px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: all var(--transition-fast);
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold-light);
}

/* Large decorative quote */
.testimonial::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 4em;
    font-family: var(--font-primary);
    color: var(--accent-gold);
    opacity: 0.25;
    line-height: 1;
    pointer-events: none;
}

/* Accent bar at bottom */
.testimonial::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 0 0 8px 8px;
    transition: width var(--transition-medium);
}

.testimonial:hover::after {
    width: 100%;
}

.testimonial-text {
    font-family: var(--font-primary);
    font-size: 1.05em;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-family: var(--font-primary);
    font-size: 0.9em;
    color: var(--primary-dark);
    font-weight: 700;
    text-align: right;
    position: relative;
}

.testimonial-author::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--accent-gold);
    margin-right: 12px;
    vertical-align: middle;
}

.truth-section {
    background: var(--background-warm);
    text-align: center;
}

.truth-section h2 {
    margin-bottom: 28px;
}

.truth-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.truth-section .final-cta {
    font-family: var(--font-primary);
    font-size: 1.35em;
    color: var(--text-dark);
    margin-top: 32px;
    font-weight: 500;
}

.truth-section .final-cta strong {
    color: var(--primary-dark);
}

/* ================================
   FORM SECTION
   ================================ */

.form-section {
    max-width: var(--form-max-width);
    margin: 0 auto;
    padding: 50px 20px;
    background: white;
}

.section-title {
    font-size: 1.6em;
    color: var(--text-dark);
    margin-bottom: 25px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.section-title:first-of-type {
    margin-top: 0;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary-light), var(--accent-gold));
    margin-right: 15px;
    border-radius: 2px;
}

/* Form Inputs - Mobile First */
.customer-info,
.billing-info,
.shipping-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

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

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

label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9em;
}

input[type="text"],
input[type="email"],
select {
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1em;
    transition: all var(--transition-fast);
    background: var(--background-white);
    font-family: var(--font-primary);
    color: var(--text-dark);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
    color: var(--text-muted);
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(248, 207, 70, 0.2);
}

#card-element {
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-bottom: 20px;
    background: var(--background-white);
}

.checkout-button {
    background: var(--primary-solid);
    color: white;
    border: none;
    padding: 18px 32px;
    font-family: var(--font-primary);
    font-size: 1.05em;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    transition: all var(--transition-fast);
    margin-top: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

/* Subtle hover glow */
.checkout-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.checkout-button:hover::before {
    opacity: 1;
}

#checkout-form {
    border: none;
}

.checkout-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium), var(--shadow-glow);
}

.checkout-button:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.guarantee {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #fffaed 100%);
    border-left: 5px solid var(--accent-gold);
    border-radius: 10px;
    font-size: 0.95em;
    line-height: 1.6;
}

.error-message {
    color: #dc3545;
    margin-top: 12px;
    padding: 12px;
    background: #f8d7da;
    border-radius: 8px;
    border-left: 5px solid #dc3545;
    display: none;
}

/* ================================
   FOOTER - Enhanced
   ================================ */

.footer {
    background: var(--primary-dark);
    background-image:
        radial-gradient(ellipse at 30% 100%, rgba(0, 119, 182, 0.3) 0%, transparent 50%);
    color: rgba(255, 255, 255, 0.85);
    padding: 64px 24px 48px;
    text-align: center;
    line-height: 1.7;
    position: relative;
}

/* Subtle top border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.footer p {
    font-family: var(--font-primary);
    font-style: italic;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 1em;
    line-height: 1.8;
}

/* Trust badges */
.footer-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
    letter-spacing: 0.03em;
}

.trust-badge:hover {
    color: var(--accent-gold-light);
}

.trust-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ================================
   TABLET STYLES (min-width: 640px)
   ================================ */

@media (min-width: 640px) {
    :root {
        --section-padding: 64px 40px;
    }

    h1 {
        font-size: 2.75em;
    }

    h2 {
        font-size: 2.25em;
    }

    .header {
        padding: 64px 40px;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-section h2 {
        font-size: 2.25em;
    }

    .product-image,
    .product-image-bundle {
        height: 260px;
    }

    .product-info {
        padding: 32px;
    }

    /* Two columns for form inputs on tablet */
    .customer-info,
    .billing-info,
    .shipping-info {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 28px;
    }

    /* How It Works Tablet Adjustments */
    .how-it-works-header h2 {
        font-size: 2.75em;
    }

    .step-content {
        padding: 22px 28px 22px 80px;
    }

    .step-content::before {
        width: 48px;
        height: 48px;
        font-size: 1.2em;
        left: 18px;
    }

    .steps-list::before {
        left: 30px;
    }

    .step-text {
        font-size: 1.1em;
    }
}

/* ================================
   DESKTOP STYLES (min-width: 1024px)
   ================================ */

@media (min-width: 1024px) {
    :root {
        --section-padding: 88px 64px;
    }

    h1 {
        font-size: 3.25em;
    }

    h2 {
        font-size: 2.5em;
    }

    .header {
        padding: 24px 64px;
    }

    .header .tagline {
        font-size: 1.35em;
    }

    .hero-section {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .hero-section h2 {
        font-size: 2.75em;
    }

    /* Two-column product grid on desktop */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .product-image,
    .product-image-bundle {
        height: 300px;
    }

    .product-info {
        padding: 36px;
    }

    .product-info h3 {
        font-size: 1.6em;
    }

    .product-info .price {
        font-size: 2.75em;
    }

    /* Three-column testimonials on desktop */
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Better spacing for How It Works */
    .how-it-works-header h2 {
        font-size: 2.75em;
    }

    .how-it-works .intro {
        font-size: 1.4em;
    }

    .steps-list::before {
        left: 32px;
    }

    .step-content {
        padding: 24px 32px 24px 88px;
    }

    .step-content::before {
        left: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.3em;
    }

    .step-text {
        font-size: 1.15em;
    }

    .closing-statement {
        font-size: 1.6em;
    }

    .explanation {
        font-size: 1.05em;
    }

    /* Side accents on desktop */
    .differentiation,
    .promise-section {
        padding-left: 48px;
    }

    .differentiation::before,
    .promise-section::before {
        width: 4px;
    }

    .limited-edition-banner h2 {
        font-size: 2.75em;
    }
}

/* ================================
   LARGE DESKTOP (min-width: 1280px)
   ================================ */

@media (min-width: 1280px) {
    :root {
        --section-padding: 100px 80px;
    }

    /* More breathing room on large screens */
    .products-section,
    .form-section {
        padding: 80px 60px;
    }
}

/* ================================
   FLOATING CHECKOUT BUTTON
   ================================ */

.floating-checkout {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary-solid);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-large);
    z-index: 1000;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: all var(--transition-medium);
}

.floating-checkout.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-checkout:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large), 0 0 30px rgba(41, 171, 226, 0.4);
}

.floating-checkout:active {
    transform: translateY(0);
}

.floating-checkout-text {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.floating-checkout-price {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95em;
}

/* Tablet and up - slightly larger */
@media (min-width: 640px) {
    .floating-checkout {
        bottom: 32px;
        right: 32px;
        padding: 16px 28px;
        font-size: 1em;
        gap: 14px;
    }

    .floating-checkout-price {
        padding: 5px 12px;
    }
}

/* ================================
   QUANTITY SELECTOR STYLES
   ================================ */

.hidden {
    display: none !important;
}

/* ================================
   SCROLL-TRIGGERED ANIMATIONS
   ================================ */

/* Initial hidden state for animated elements */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children animation */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Counter animation for numbers */
.count-up {
    display: inline-block;
}

.product-selector {
    margin-top: auto;
    padding-top: 20px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add to Cart Button (initial state) */
.add-to-cart-button {
    background: var(--primary-solid);
    color: white;
    padding: 15px 28px;
    border: none;
    border-radius: 10px;
    text-align: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0.04em;
    cursor: pointer;
    width: 100%;
    transition: all var(--transition-fast);
    text-transform: uppercase;
}

.add-to-cart-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.add-to-cart-button:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.add-to-cart-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Quantity Selector (shown after adding to cart) */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--background-white);
    border: 2px solid var(--accent-gold);
    border-radius: 6px;
    width: 100%;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-light);
    background: var(--background-white);
    color: var(--text-dark);
    font-size: 1.25em;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.quantity-btn:hover {
    background: var(--primary-mid);
    color: white;
    border-color: var(--primary-mid);
}

.quantity-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--background-light);
}

.quantity-btn:disabled:hover {
    background: var(--background-light);
    color: var(--text-dark);
    border-color: var(--border-light);
}

.quantity-btn.minus {
    font-size: 1.5em;
}

.quantity-btn.plus {
    font-size: 1.25em;
}

.quantity-display {
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 40px;
    text-align: center;
}

/* Responsive adjustments */
@media (min-width: 640px) {
    .quantity-btn {
        width: 45px;
        height: 45px;
    }
}

@media (min-width: 1024px) {
    .quantity-btn {
        width: 50px;
        height: 50px;
    }

    .quantity-display {
        font-size: 1.8em;
        min-width: 50px;
    }
}

/* ================================
   MODAL STYLES (POLISHED)
   ================================ */

/* Modal Overlay - covers entire screen */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 4, 94, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
    padding: 24px;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Modal Container */
.modal-container {
    background: var(--background-white);
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-large), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(20px);
    transition: transform var(--transition-medium);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--background-light);
}

.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 3px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

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

/* Modal Header */
.modal-header {
    background: var(--primary-solid);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.35em;
    font-weight: 500;
}

.modal-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Modal Body */
.modal-body {
    padding: 24px;
}

/* ================================
   CHECKOUT STEPS (POLISHED)
   ================================ */

.checkout-step {
    animation: slideIn 0.3s ease;
}

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

/* Order Summary Section */
.order-summary-section {
    background: var(--background-light);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.order-summary-section h3 {
    font-family: var(--font-primary);
    margin: 0 0 16px 0;
    color: var(--text-dark);
    font-size: 1.1em;
    font-weight: 500;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.order-item:last-of-type {
    border-bottom: none;
}

.order-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-item-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95em;
}

.order-item-qty {
    font-size: 0.85em;
    color: var(--text-light);
}

.order-item-price {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.05em;
}

.order-item-note {
    font-size: 0.8em;
    color: var(--text-light);
    font-style: italic;
    padding: 8px 0 8px 12px;
    border-left: 3px solid var(--accent-gold);
    margin: 6px 0 10px 0;
    background: rgba(248, 207, 70, 0.1);
}

.order-summary-totals {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95em;
}

.summary-row:last-child {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--primary-dark);
    padding-top: 8px;
}

/* Email Section */
.email-section {
    margin-bottom: 20px;
}

.email-section .form-group {
    margin-bottom: 12px;
}

.email-section label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9em;
}

.email-section input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1em;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
}

.email-section input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(248, 207, 70, 0.2);
}

.email-section input[type="email"]::placeholder {
    color: var(--text-muted);
}

.email-section small {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.8em;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--background-cream);
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
}

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

.consent-group label {
    font-size: 0.85em;
    line-height: 1.55;
    color: var(--text-medium);
    font-weight: 400;
    margin: 0;
}

/* Loading State */
.checkout-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-light);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.checkout-loading p {
    font-family: var(--font-primary);
    color: var(--text-medium);
    font-size: 1em;
    font-style: italic;
    margin: 0;
}

/* Stripe Checkout Container */
#stripe-checkout-container {
    min-height: 350px;
}

#stripe-checkout-container iframe {
    border-radius: 8px;
}

/* Checkout Button in Modal */
.modal-body .checkout-button {
    margin-top: 20px;
    padding: 16px 30px;
    font-size: 1.05em;
}

/* Empty Cart State */
.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    text-align: center;
}

.empty-cart-icon {
    width: 48px;
    height: 48px;
    stroke: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-cart-text {
    font-family: var(--font-primary);
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.empty-cart-subtext {
    font-size: 0.9em;
    color: var(--text-light);
    margin: 0;
}

/* Desktop modal sizing */
@media (min-width: 1024px) {
    .modal-container {
        max-width: 650px;
    }

    .modal-body {
        padding: 28px;
    }
}
