:root {
    --primary: #1a1a1a;
    --secondary: #6B7280;
    --accent: #D4AF37;
    /* Gold/Luxury */
    --accent-light: #F9F5EB;
    --background: #ffffff;
    --surface: #f8f9fa;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.5;
    padding-bottom: 80px;
    /* Space for sticky CTA */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.container {
    width: 90%;
    max-width: 600px;
    /* Mobile-focused layout max width for readability */
    margin: 0 auto;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--primary);
}

/* Hero */
.hero {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(to bottom, #ffffff, var(--surface));
    overflow: hidden;
}

.hero-image-container {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.hero-img {
    width: 100%;
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.headline {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.subheadline {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.price-tag {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

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

.price-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.promo-text {
    font-size: 0.875rem;
    color: #ef4444;
    /* Alert color */
    font-weight: 500;
    margin-top: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

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

.btn-primary:active {
    transform: scale(0.98);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.btn-block {
    display: block;
    width: 100%;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Features */
.features {
    padding: 3rem 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
}

.feature-icon-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: block;
}

.feature-full-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: block;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.925rem;
}

/* Lifestyle */
.lifestyle {
    padding: 1rem 0;
}

.lifestyle-content {
    margin-top: 1.5rem;
    text-align: center;
}

.lifestyle.compact {
    padding: 0;
}

/* Package */
.package {
    padding: 3rem 0;
    background: var(--surface);
}

.package h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.package-box {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.package-list {
    list-style: none;
    margin-top: 1.5rem;
}

.package-list li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-box {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* CTA Footer */
.cta {
    padding: 4rem 0;
    text-align: center;
    background: white;
}

.cta h2 {
    margin-bottom: 0.5rem;
}

.cta p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--secondary);
    font-size: 0.875rem;
    background: var(--surface);
}

/* Sticky CTA Mobile */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 0;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
    z-index: 999;
    border-top: 1px solid #f3f4f6;
}

.flash-sale-bar {
    background: #ef4444;
    /* Red color for urgency */
    color: white;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0;
    letter-spacing: 0.025em;
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    /* More horizontal padding */
}

.price-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: normal;
}

.price-from {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-bottom: 0px;
}

.price-to {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.btn-compact {
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    margin-left: 1rem;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .container {
        max-width: 900px;
    }

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

    .hero {
        padding: 4rem 0;
    }




}

/* Variants Slider */
.variants {
    padding: 1rem 0;
    /* Reduced from 3rem */
    background: #ffffff;
    overflow: hidden;
    /* Hide scrollbar overflow from parent */
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.variants-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 0.5rem;
    /* Reduced from 1.5rem */
    /* Space for scrollbar if visible */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.variants-scroller::-webkit-scrollbar {
    display: none;
}

.variant-card {
    flex: 0 0 70%;
    /* Show part of next card to encourage scrolling */
    scroll-snap-align: center;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.variant-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.variant-info {
    padding: 1rem;
    text-align: center;
}

.variant-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.variant-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.scroll-hint {
    text-align: center;
    font-size: 0.75rem;
    color: var(--secondary);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    /* Added spacing below */
    animation: bounceX 2s infinite;
}

@keyframes bounceX {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@media (min-width: 768px) {
    .variant-card {
        flex: 0 0 30%;
        /* Show more cards on desktop */
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    /* Mobile friendly */
    max-width: 500px;
    /* Reduced from 700px for desktop */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    /* Prevent overflowing vertically */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: grab;
    /* Indicates draggable */
}

.lightbox-img.zoomed {
    transform: scale(2);
    cursor: zoom-out;
}

.lightbox-caption {
    margin-top: 1rem;
    color: white;
}

.lightbox-caption h3 {
    margin-bottom: 0.25rem;
    color: var(--accent);
}

.lightbox-caption p {
    color: #ccc;
    font-size: 0.9rem;
}

.zoom-hint {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #888;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* Lightbox Navigation */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2002;
    background-color: rgba(0, 0, 0, 0.3);
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        padding: 12px;
        font-size: 18px;
    }
}

/* Lightbox Counter */
.lightbox-counter {
    display: block;
    color: var(--accent-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 10px;
    border-radius: 12px;
    display: inline-block;
}

/* Remove old nav styles if any remaining (cleanup) */
.lightbox-prev,
.lightbox-next {
    display: none !important;
}

/* Checkout Page Styles */
.checkout-section {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 2rem;
}

.checkout-section:last-child {
    border-bottom: none;
}

.checkout-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 cols on mobile */
    gap: 1rem;
}

.selection-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.selection-card:hover {
    border-color: #d1d5db;
}

.selection-card.selected {
    border-color: var(--primary);
    background-color: #f9fafb;
    box-shadow: var(--shadow-sm);
}

.selection-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.selection-info h4 {
    font-size: 0.875rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.selection-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.selection-card.selected .checkmark {
    opacity: 1;
    transform: scale(1);
}

.package-summary {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--surface);
    padding: 1rem;
    border-radius: var(--radius);
}

.summary-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.summary-details h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.summary-details ul {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Checkout Wizard Styles */
.checkout-step {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.4s ease-out;
}

.checkout-step.active {
    display: block;
    /* Visible when active */
}

.step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: var(--text-heading);
    border: 1px solid #e5e7eb;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.summary-card-full {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-heading);
}

.summary-row.total {
    border-top: 1px dashed #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

/* Suggestions List */
.suggestions-list {
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    width: 90%;
    background: white;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--text-body);
}

.suggestion-item:hover {
    background-color: var(--background);
}