/* ============================================================
   Health King AllergEase – Spanish Amazon Landing Page
   Design: bold-editorial | border: pill | shadow: dramatic
   Header: logo-left | CTA: solid
   Palette: #F4D03F (amber), #86B3D1 (steel), #B22B5B (crimson), #5D6D7E (slate)
   ============================================================ */

:root {
    --amber:        #F4D03F;
    --steel:        #86B3D1;
    --crimson:      #B22B5B;
    --slate:        #5D6D7E;
    --bg:           #f8f9fb;
    --surface:      #ffffff;
    --text:         #1c242e;
    --text-muted:   #5D6D7E;
    --border:       #dde4ec;
    --radius-card:  26px;
    --radius-btn:   50px;
    --shadow:       0 20px 60px rgba(134,179,209,0.18);
    --shadow-hover: 0 28px 72px rgba(134,179,209,0.28);
    --font:         'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: clamp(14px, 4vw, 16px);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   HEADER — logo-left: white bg, crimson logo, left-aligned
   ============================================================ */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    border-left: 5px solid var(--amber);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(134,179,209,0.12);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.site-logo {
    font-size: clamp(13px, 3vw, 15px);
    font-weight: 700;
    color: var(--crimson);
    letter-spacing: 0.01em;
}

/* ============================================================
   PRODUCT SECTION
   ============================================================ */
.product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 1.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
}

/* ============================================================
   GALLERY — pill, dramatic shadow
   ============================================================ */
.gallery-wrap {
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-wrap:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.gallery-wrap input[type="radio"] { display: none; }

.slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f9fc 0%, #fefdf5 100%);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#s1:checked ~ .slides #slide1,
#s2:checked ~ .slides #slide2,
#s3:checked ~ .slides #slide3,
#s4:checked ~ .slides #slide4 { opacity: 1; }

/* Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.gallery-dots label {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: block;
}

.gallery-dots label:hover { transform: scale(1.3); }

#s1:checked ~ .gallery-dots label[for="s1"],
#s2:checked ~ .gallery-dots label[for="s2"],
#s3:checked ~ .gallery-dots label[for="s3"],
#s4:checked ~ .gallery-dots label[for="s4"] { background: var(--crimson); }

/* Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbs label {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 58px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gallery-thumbs label img {
    width: 58px;
    height: 58px;
    object-fit: cover;
}

.gallery-thumbs label:hover { border-color: var(--crimson); }

#s1:checked ~ .gallery-thumbs label[for="s1"],
#s2:checked ~ .gallery-thumbs label[for="s2"],
#s3:checked ~ .gallery-thumbs label[for="s3"],
#s4:checked ~ .gallery-thumbs label[for="s4"] {
    border-color: var(--crimson);
    box-shadow: 0 0 0 2px rgba(178,43,91,0.18);
}

/* ============================================================
   PRODUCT INFO — bold-editorial: large title, contrast blocks
   ============================================================ */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* BOLD-EDITORIAL: massive headline */
.product-title {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text);
    letter-spacing: -0.025em;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--amber);
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Meta strip — compact info row */
.meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    padding: 0.75rem 1rem;
    background: rgba(134,179,209,0.1);
    border-radius: 14px;
    border-left: 3px solid var(--steel);
    font-size: clamp(13px, 3.5vw, 14px);
    color: var(--text-muted);
}

.ms-item strong { color: var(--text); }

/* Feature list — bold-editorial: colored dot + text */
.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-list li {
    display: flex;
    gap: 0.7rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    font-size: clamp(14px, 3.8vw, 15px);
    line-height: 1.65;
}

.feature-list li:first-child { border-top: 1px solid var(--border); }

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.daily-text {
    font-size: clamp(14px, 3.8vw, 15px);
    line-height: 1.7;
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(178,43,91,0.05);
    border-left: 3px solid var(--crimson);
}

.seo-note {
    font-size: 13px;
    color: var(--text-muted);
    padding: 0.65rem 0.85rem;
    border-left: 3px solid var(--slate);
    background: rgba(93,109,126,0.05);
    border-radius: 0 10px 10px 0;
}

/* ============================================================
   CTA — solid pill, crimson
   ============================================================ */
.cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    display: flex;
    justify-content: center;
}

.cta-btn {
    display: inline-block;
    width: 100%;
    max-width: 560px;
    text-align: center;
    padding: 1.1rem 2.5rem;
    min-height: 58px;
    font-size: clamp(16px, 4vw, 19px);
    font-weight: 700;
    color: #ffffff;
    background: var(--crimson);
    border-radius: var(--radius-btn);
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 28px rgba(178,43,91,0.3);
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
    border: none;
}

.cta-btn:hover {
    background: #9a2450;
    box-shadow: 0 14px 40px rgba(178,43,91,0.4);
    transform: translateY(-2px);
}

/* ============================================================
   REVIEWS — Amazon style
   ============================================================ */
.reviews-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 3.5rem;
}

.reviews-title {
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--border);
    letter-spacing: -0.02em;
}

.review {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.review:last-child { border-bottom: none; }

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.45rem;
}

.review-avatar { flex-shrink: 0; }

.review-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: clamp(14px, 3.5vw, 15px);
    color: var(--text);
}

.stars {
    color: var(--amber);
    font-size: 1rem;
    letter-spacing: 1px;
    filter: brightness(0.87);
}

.review-headline {
    font-weight: 600;
    font-size: clamp(14px, 3.5vw, 15px);
    color: var(--text);
    line-height: 1.4;
}

.review-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.review-attr {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
}

.review-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: clamp(14px, 4vw, 15px);
    line-height: 1.75;
}

/* ============================================================
   FOOTER — slate, amber hover
   ============================================================ */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.65);
    padding: 1.75rem 1rem;
    margin-top: 2rem;
    border-top: 3px solid var(--amber);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand {
    font-weight: 700;
    font-size: clamp(12px, 3vw, 14px);
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.25rem;
}

.footer-links a {
    color: rgba(255,255,255,0.58);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--amber); }