/* ------------------------------------------------------------------------------
   BASE CONFIGURATION & CUSTOM PROPERTIES
   ------------------------------------------------------------------------------ */
:root {
    /* Color Palette */
    --color-bg: #FFFBF7;          /* Soft warm cream off-white */
    --color-card-bg: #FFFFFF;     /* Clean white for containers */
    --color-text-main: #2D2520;   /* Deep charcoal with warm brown undertone */
    --color-text-muted: #6E6259;  /* Muted soft gray-brown */
    
    /* Pastels & Accent Tokens */
    --color-pink-soft: #FFECEB;
    --color-pink-accent: #FF857C;
    --color-pink-hover: #E06C64;
    
    --color-yellow-soft: #FFF5D6;
    --color-yellow-accent: #FFCC33;
    
    --color-mint-soft: #E5F6F5;
    --color-mint-accent: #7ACCC8;
    
    --color-blue-soft: #EAF0FA;
    --color-blue-accent: #5D9CEC;
    
    --color-border: #F3ECE6;
    --color-success: #4CAF50;
    
    /* Fonts */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(110, 98, 89, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(110, 98, 89, 0.08), 0 4px 6px -2px rgba(110, 98, 89, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(110, 98, 89, 0.1), 0 10px 10px -5px rgba(110, 98, 89, 0.04);
    --shadow-glow: 0 0 40px rgba(255, 133, 124, 0.15);
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    color: var(--color-pink-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-pink-hover);
    text-decoration: underline;
}

/* Common Layout Utilities */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.divider {
    height: 1px;
    background-color: var(--color-border);
    margin: 20px 0;
    width: 100%;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--color-pink-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 133, 124, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-checkout {
    width: 100%;
    background-color: var(--color-pink-accent);
    color: white;
    font-size: 18px;
    padding: 18px;
    margin-top: 15px;
    font-weight: 600;
}

.btn-checkout:hover:not(.disabled) {
    background-color: var(--color-pink-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 133, 124, 0.3);
}

.btn-checkout.disabled,
.btn-checkout[disabled] {
    background-color: #E2DBD5;
    color: #A39992;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-checkout.loading {
    background-color: var(--color-pink-hover);
    cursor: wait;
}

/* Spinner element for checkout */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

.hidden {
    display: none !important;
}

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

/* ------------------------------------------------------------------------------
   HEADER SECTION
   ------------------------------------------------------------------------------ */
.main-header {
    height: var(--header-height);
    background-color: rgba(255, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.logo:hover {
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-pink-accent);
}

.logo-text span {
    color: var(--color-pink-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--color-pink-accent);
    text-decoration: none;
}

.nav-cta {
    background-color: var(--color-pink-soft);
    color: var(--color-pink-accent) !important;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background-color: var(--color-pink-accent);
    color: white !important;
}

/* ------------------------------------------------------------------------------
   HERO BANNER
   ------------------------------------------------------------------------------ */
.hero-section {
    padding-top: 40px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background-color: var(--color-pink-soft);
    color: var(--color-pink-accent);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-pink-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 133, 124, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 133, 124, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 133, 124, 0); }
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
    background: white;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--color-yellow-accent);
    letter-spacing: 2px;
    font-size: 18px;
}

.rating-text {
    font-size: 14px;
    color: var(--color-text-muted);
}

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

.hero-info-text {
    font-size: 13px;
    color: var(--color-text-muted);
    padding-left: 10px;
}

/* Hero Image Wrapper */
.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
}

.media-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 236, 235, 0.8) 0%, rgba(255, 251, 247, 0) 70%);
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 15px 30px rgba(110, 98, 89, 0.12));
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.02) rotate(1deg);
}

/* Floating Elements */
.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 12%;
    right: -5%;
    animation-delay: 2s;
}

.fb-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-pink-accent);
    line-height: 1;
}

.fb-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ------------------------------------------------------------------------------
   SECTION "DANS VOTRE BOX"
   ------------------------------------------------------------------------------ */
.box-section {
    background-color: white;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-tagline {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-pink-accent);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 16px;
}

.box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.box-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.box-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-pink-accent);
    box-shadow: var(--shadow-md);
}

.card-icon-container {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon {
    width: 32px;
    height: 32px;
}

.bg-pink { background-color: var(--color-pink-soft); color: var(--color-pink-accent); }
.bg-yellow { background-color: var(--color-yellow-soft); color: var(--color-yellow-accent); }
.bg-mint { background-color: var(--color-mint-soft); color: var(--color-mint-accent); }
.bg-blue { background-color: var(--color-blue-soft); color: var(--color-blue-accent); }

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 20px;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* ------------------------------------------------------------------------------
   DETAILED SECTIONS (Alternating row layout)
   ------------------------------------------------------------------------------ */
.detail-section {
    padding: 80px 0;
}

.detail-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.detail-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.detail-row.reverse .detail-image-wrapper {
    order: 1;
}

.detail-row.reverse .detail-text {
    order: 2;
}

.detail-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.detail-tag {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-pink-accent);
    margin-bottom: 12px;
}

.detail-row-title {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.detail-row-desc {
    color: var(--color-text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    color: var(--color-text-muted);
}

.detail-list li::before {
    content: "•";
    color: var(--color-pink-accent);
    font-size: 24px;
    position: absolute;
    left: 4px;
    top: -4px;
}

.detail-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: white;
    border: 1px solid var(--color-border);
    padding: 10px;
}

.detail-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
    transition: transform 0.5s ease;
}

.detail-image-wrapper:hover .detail-image {
    transform: scale(1.03);
}

/* Composition Pack Component */
.composition-card {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.comp-badge {
    background-color: var(--color-mint-soft);
    color: var(--color-mint-accent);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
}

.comp-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.comp-desc {
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.comp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.comp-col h3 {
    font-size: 16px;
    color: var(--color-text-main);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 8px;
}

.comp-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-col li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.comp-check-icon {
    width: 16px;
    height: 16px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ------------------------------------------------------------------------------
   REASSURANCE STRIP
   ------------------------------------------------------------------------------ */
.reassurance-section {
    background-color: var(--color-pink-soft);
    border-top: 1px solid rgba(255, 133, 124, 0.1);
    border-bottom: 1px solid rgba(255, 133, 124, 0.1);
    padding: 30px 0;
}

.reassurance-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.reassurance-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reassurance-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--color-pink-accent);
}

.reassurance-icon {
    width: 24px;
    height: 24px;
}

.reassurance-info h4 {
    font-size: 16px;
    color: var(--color-text-main);
}

.reassurance-info p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------------------------
   CHECKOUT SECTION & STRIPE INTEGRATION
   ------------------------------------------------------------------------------ */
.checkout-section {
    background-color: white;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.checkout-container {
    max-width: 960px; /* Centered compact section */
    margin: 0 auto;
    padding: 80px 24px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

/* Left Card: Details & Upsell */
.checkout-details-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.product-badge {
    background-color: var(--color-pink-soft);
    color: var(--color-pink-accent);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

.checkout-title {
    font-size: 26px;
    margin-bottom: 8px;
}

.checkout-intro {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.checkout-item-row {
    display: flex;
    gap: 16px;
    align-items: center;
    background-color: white;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.item-img-container {
    width: 80px;
    height: 60px;
    background-color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.item-mini-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-info {
    flex-grow: 1;
}

.item-info h3 {
    font-size: 14px;
    margin-bottom: 4px;
}

.item-info p {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.item-price {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Upsell Box Styling */
.upsell-box {
    background-color: var(--color-yellow-soft);
    border: 2px dashed var(--color-yellow-accent);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: transform 0.2s ease;
}

.upsell-box:hover {
    transform: scale(1.01);
}

.upsell-label {
    display: flex;
    gap: 16px;
    cursor: pointer;
}

.upsell-checkbox-container {
    margin-top: 4px;
}

.upsell-checkbox,
.terms-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom Checkbox Design */
.custom-checkbox {
    width: 22px;
    height: 22px;
    background-color: white;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.upsell-checkbox:checked + .custom-checkbox {
    background-color: var(--color-yellow-accent);
    border-color: var(--color-yellow-accent);
    color: var(--color-text-main);
}

.terms-checkbox:checked + .custom-checkbox {
    background-color: var(--color-pink-accent);
    border-color: var(--color-pink-accent);
    color: white;
}

.checkmark-icon {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
}

.upsell-checkbox:checked + .custom-checkbox .checkmark-icon,
.terms-checkbox:checked + .custom-checkbox .checkmark-icon {
    opacity: 1;
    transform: scale(1);
}

.upsell-text-content {
    display: flex;
    flex-direction: column;
}

.upsell-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upsell-badge-price {
    background-color: white;
    color: var(--color-text-main);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    border: 1px solid var(--color-yellow-accent);
}

.upsell-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* Right Card: Totals & Button */
.checkout-summary-card {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.summary-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--color-text-muted);
}

.total-row.shipping-row .free-shipping {
    color: var(--color-success);
    font-weight: 700;
}

.final-total-row {
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 16px;
}

.final-price {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-pink-accent);
}

/* Compliance Blocks */
.checkout-compliance-block {
    margin-top: 24px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compliance-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.comp-icon {
    width: 16px;
    height: 16px;
    color: var(--color-pink-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-action-box {
    margin-top: 20px;
}

/* Terms consent checkbox box */
.terms-acceptance-box {
    margin-bottom: 12px;
}

.terms-label {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.terms-checkbox-container {
    margin-top: 2px;
}

.terms-text-content {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.terms-text-content a {
    text-decoration: underline;
    font-weight: 500;
}

.lock-icon {
    width: 16px;
    height: 16px;
}

/* Secure footer elements */
.checkout-footer {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-logo-svg {
    width: 32px;
    height: 20px;
    color: var(--color-text-muted);
}

.stripe-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.stripe-lock-svg {
    width: 12px;
    height: 12px;
}

/* ------------------------------------------------------------------------------
   MAIN FOOTER
   ------------------------------------------------------------------------------ */
.main-footer {
    background-color: var(--color-text-main);
    color: #E2DBD5;
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo-text {
    color: white;
    font-size: 26px;
}

.footer-brand .logo-text span {
    color: var(--color-pink-accent);
}

.footer-tagline {
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 20px;
    color: #A39992;
}

.footer-contact-info {
    font-size: 12px;
    color: #A39992;
    line-height: 1.5;
}

.footer-contact-info a {
    color: #E2DBD5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.footer-links a {
    color: #A39992;
    font-size: 14px;
}

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

.footer-copy-container {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid #3E352F;
    text-align: center;
    font-size: 11px;
    color: #7E736B;
}

/* ------------------------------------------------------------------------------
   LEGAL DOCUMENTS MODAL OVERLAY (TABS IN WINDOW)
   ------------------------------------------------------------------------------ */
.legal-overlay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(45, 37, 32, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.legal-modal-window {
    width: 90%;
    max-width: 900px;
    height: 80vh;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.legal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
    line-height: 1;
}

.legal-close-btn:hover {
    color: var(--color-pink-accent);
}

.legal-modal-layout {
    display: flex;
    height: 100%;
    width: 100%;
}

/* Sidebar navigation tabs */
.legal-tabs-nav {
    width: 250px;
    background-color: var(--color-bg);
    border-right: 1px solid var(--color-border);
    padding: 30px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.legal-tab-btn {
    text-align: left;
    padding: 14px 18px;
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.legal-tab-btn:hover {
    background-color: rgba(255, 133, 124, 0.05);
    color: var(--color-pink-accent);
}

.legal-tab-btn.active {
    background-color: var(--color-pink-soft);
    color: var(--color-pink-accent);
}

/* Legal content panel */
.legal-modal-content {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
}

.legal-tab-content {
    display: none;
}

.legal-tab-content.active {
    display: block;
}

.legal-tab-content h2 {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.legal-tab-content h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.legal-tab-content p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.legal-intro {
    font-size: 15px !important;
    font-style: italic;
    color: var(--color-text-main) !important;
    border-left: 3px solid var(--color-pink-accent);
    padding-left: 12px;
}

/* ------------------------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ------------------------------------------------------------------------------ */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .floating-badge.badge-1 {
        left: 0;
    }
    
    .floating-badge.badge-2 {
        right: 0;
    }
    
    .box-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-row,
    .detail-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .detail-row.reverse .detail-image-wrapper {
        order: 2;
    }
    
    .detail-row.reverse .detail-text {
        order: 1;
    }
    
    .comp-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reassurance-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-modal-layout {
        flex-direction: column;
    }
    
    .legal-tabs-nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        overflow-x: auto;
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    
    .legal-tab-btn {
        white-space: nowrap;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .legal-modal-content {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .main-header {
        position: relative;
    }
    
    .nav-menu {
        display: none; /* Hide nav links on mobile for simplicity */
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .box-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}
