/* ==========================================================================
   CSS CUSTOM STYLESHEET: HIGH VISUAL DENSITY LANDING PAGE FOR PRODUCT
   PALETTE DIRECTION: GREEN SCHEME (AS SPECIFIED IN MAIN PROMPT)
   ========================================================================== */

/* --- ROOT CONSTANTS & SYSTEM DESIGN TOKENS --- */
:root {
    /* Color Palette Variables - Built solely on green & supporting neutrals */
    --clr-primary: #047857;          /* Rich Emerald Green 700 */
    --clr-primary-light: #059669;    /* Medium Emerald Green 600 */
    --clr-primary-dark: #065f46;     /* Deep Forest Green 800 */
    --clr-primary-deep: #022c22;     /* Darkest Shadow Green 950 */
    --clr-accent-gold: #f59e0b;      /* Amber/Gold for precise rating stars/accents */
    
    /* Background Tint Blends */
    --bg-main: #f0fdf4;              /* Soft Sage Mint Background Green 50 */
    --bg-card: #ffffff;              /* Pure White for maximum content clarity */
    --bg-alert: #dcfce7;             /* Clean Green 100 for highlight box background */
    --bg-footer: #022c22;            /* Dark Emerald Green Base */
    
    /* Subtle Gray System Neutrals */
    --txt-main: #1f2937;             /* Dark Gray 800 */
    --txt-muted: #6b7280;            /* Muted Gray 500 */
    --txt-light: #f3f4f6;            /* Light Gray 200 */
    --border-soft: #e5e7eb;          /* Border lines */
    --border-green: #a7f3d0;         /* Mild Green Border 200 */

    /* Advanced Structural Layers and Shadows */
    --shadow-sm: 0 2px 4px rgba(4, 120, 87, 0.04);
    --shadow-md: 0 4px 12px rgba(4, 120, 87, 0.06), 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 25px -5px rgba(4, 120, 87, 0.08), 0 8px 16px -6px rgba(0, 0, 0, 0.03);
    --shadow-layered: 0 20px 40px -15px rgba(2, 44, 34, 0.12), 0 15px 25px -10px rgba(4, 120, 87, 0.06);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.04);
    
    /* Transition Timings */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

/* --- BASE & TYPOGRAPHY RESETS --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.custom-body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--txt-main);
    overflow-x: hidden;
    position: relative;
}

/* --- BACKGROUND DECORATIVE GLOW ELEMENTS --- */
.decor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.45;
}
.decor-blob-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(167,243,208,0.7) 0%, rgba(209,250,229,0) 70%);
    top: -100px;
    left: -150px;
}
.decor-blob-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(110,231,183,0.5) 0%, rgba(209,250,229,0) 70%);
    top: 30%;
    right: -200px;
}
.decor-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52,211,153,0.4) 0%, rgba(240,253,244,0) 70%);
    bottom: 10%;
    left: -100px;
}

/* --- HEADER VISUAL DESIGN --- */
.custom-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-b: 1px solid rgba(167, 243, 208, 0.4);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.header-container {
    height: 70px;
}
.header-accent-line {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
    border-radius: 2px;
}
.header-main-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clr-primary-dark);
    text-transform: tracking-wide;
    letter-spacing: -0.025em;
    position: relative;
}
.header-badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--clr-primary-light);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--clr-primary);
}

/* --- PRODUCT MAIN CARD COMPONENT --- */
.product-card-section {
    z-index: 10;
}
.product-card-inner {
    background-color: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: var(--shadow-layered);
}
.card-inner-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240,253,244,1) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 0;
}
.card-corner-accent {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    pointer-events: none;
    opacity: 0.3;
}
.card-corner-accent.top-0 {
    border-top-color: var(--clr-primary);
    border-left-color: var(--clr-primary);
    margin-top: 16px;
    margin-left: 16px;
}
.card-corner-accent.bottom-0 {
    border-bottom-color: var(--clr-primary);
    border-right-color: var(--clr-primary);
    margin-bottom: 16px;
    margin-right: 16px;
}

/* --- INTERACTIVE PHOTO GALLERY WITHOUT JAVASCRIPT --- */
.main-display-frame {
    height: 420px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-inner);
    transition: var(--transition-smooth);
}
.main-display-frame:hover {
    border-color: var(--border-green);
    box-shadow: 0 12px 24px -10px rgba(4, 120, 87, 0.1);
}
.frame-border-effect {
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: 16px;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.gallery-main-image {
    display: none;
    animation: fadeInGalleryImage 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    max-height: 100%;
    max-width: 100%;
}

/* Core Selector Interactivity for Tabs */
.gallery-trigger-1:checked ~ .main-display-frame #gallery-target-1 { display: block; }
.gallery-trigger-2:checked ~ .main-display-frame #gallery-target-2 { display: block; }
.gallery-trigger-3:checked ~ .main-display-frame #gallery-target-3 { display: block; }
.gallery-trigger-4:checked ~ .main-display-frame #gallery-target-4 { display: block; }

/* Active State Highlighting for Thumbnails */
.thumb-label-item {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    border: 2px solid var(--border-soft);
    padding: 3px;
    background-color: var(--bg-card);
}
.thumb-label-item:hover {
    border-color: var(--clr-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.gallery-trigger-1:checked ~ .thumbnails-nav-wrapper .label-for-1,
.gallery-trigger-2:checked ~ .thumbnails-nav-wrapper .label-for-2,
.gallery-trigger-3:checked ~ .thumbnails-nav-wrapper .label-for-3,
.gallery-trigger-4:checked ~ .thumbnails-nav-wrapper .label-for-4 {
    border-color: var(--clr-primary);
    background-color: var(--bg-main);
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15);
    transform: scale(1.05);
}

@keyframes fadeInGalleryImage {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* --- RIGHT PANEL COMPOSITIONAL TYPOGRAPHY --- */
.product-main-h1 {
    color: var(--clr-primary-deep);
    line-height: 1.15;
}
.heading-decor-bar {
    width: 64px;
    height: 4px;
    background-color: var(--clr-primary);
    border-radius: 2px;
    margin-top: 8px;
}
.health-neutral-alert-box {
    background-color: var(--bg-alert);
    border: 1px solid var(--border-green);
    box-shadow: var(--shadow-sm);
}
.alert-decorative-pillar {
    width: 4px;
    height: 100%;
    background-color: var(--clr-primary);
    position: absolute;
    left: 0;
    top: 0;
}
.health-neutral-text {
    color: var(--clr-primary-dark);
}

/* Structured Bullets Content Architecture */
.about-item-section-title {
    color: var(--clr-primary-dark);
}
.title-square-marker {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--clr-primary);
    border-radius: 2px;
}
.bullet-item-card {
    background-color: rgba(249, 250, 251, 0.6);
    border: 1px solid rgba(243, 244, 246, 0.8);
    transition: var(--transition-smooth);
}
.bullet-item-card:hover {
    background-color: #ffffff;
    border-color: var(--border-green);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.critical-notice-card {
    background-color: rgba(254, 242, 242, 0.7);
    border-color: rgba(252, 165, 165, 0.4);
}
.critical-notice-card:hover {
    background-color: rgba(254, 242, 242, 1);
    border-color: rgba(239, 68, 68, 0.4);
}

/* --- COMPACT ACTION CTA HERO BANNER --- */
.cta-action-container-section {
    background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary-deep) 100%);
    border: 1px solid rgba(4, 120, 87, 0.2);
}
.cta-section-bg-blend {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(167,243,208,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(5,150,105,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.cta-decor-shape-1, .cta-decor-shape-2 {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}
.cta-decor-shape-1 { width: 240px; height: 240px; top: -60px; left: -60px; }
.cta-decor-shape-2 { width: 320px; height: 320px; bottom: -100px; right: -100px; }

/* Custom Action Interactive Button Component */
.custom-cta-button-element {
    background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
    border: 1px solid #d97706;
    color: #111827;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
    min-width: 280px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 5;
}
.custom-cta-button-element:hover {
    background: linear-gradient(180deg, #fde047 0%, #d97706 100%);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}
.custom-cta-button-element:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}
.custom-cta-button-element:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(252, 211, 77, 0.5);
}
/* Subtle Animation for Pulsing Ambient Glow effect around CTA Section */
.cta-pulse-indicator-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 12px;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    pointer-events: none;
    z-index: 1;
    animation: pulseCtaGlow 2.5s infinite;
}

@keyframes pulseCtaGlow {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* --- AMAZON QUALITY REVIEW LAYOUT ROWS --- */
.reviews-display-custom-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-soft);
}
.reviews-section-bg-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(240,253,244,0.3) 0%, rgba(255,255,255,0) 300px);
    pointer-events: none;
}
.single-review-row-block {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
}
.single-review-row-block:hover {
    background-color: var(--bg-main);
    border-color: rgba(167, 243, 208, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.user-avatar-circle-frame {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--border-green);
    box-shadow: var(--shadow-inner);
}
.amazon-stars-colored {
    color: var(--clr-accent-gold);
}
.verified-purchase-text {
    color: #c45500; /* Distinct classical verified token amber coloring from platform standards */
    background-color: #fdf5ef;
    padding: 2px 6px;
    border-radius: 4px;
}
.verified-badge-pill {
    color: var(--txt-main);
}
.review-paragraph {
    line-height: 1.6;
}

/* --- EXTENDED COMPOSITE FOOTER COMPONENT --- */
.custom-footer-block {
    background-color: var(--bg-footer);
    color: rgba(255, 255, 255, 0.65);
    padding: 48px 0 32px 0;
    border-top: 4px solid var(--clr-primary);
}
.footer-top-accent-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(110,231,183,0.3), transparent);
}
.policy-anchor-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}
.policy-anchor-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--clr-primary-light);
    transition: var(--transition-smooth);
}
.policy-anchor-item:hover {
    color: #ffffff;
}
.policy-anchor-item:hover::after {
    width: 100%;
}
.policy-item-dot {
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}
.footer-divider-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}
.footer-copyright-disclaimer {
    color: rgba(255, 255, 255, 0.4);
}

/* --- MOBILE FIRST EXTENSIVE BREAKPOINT MEDIA QUERIES --- */
@media (max-width: 639px) {
    .main-display-frame {
        height: 300px;
    }
    .thumb-label-item {
        width: 58px;
        height: 58px;
    }
    .custom-cta-button-element {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .main-display-frame {
        height: 380px;
    }
    /* Balanced Desktop layout columns */
    .gallery-wrapper {
        position: sticky;
        top: 95px; /* Sticks neatly during scroll inside bounds */
    }
}

@media (min-width: 1024px) {
    .main-display-frame {
        height: 440px;
    }
}