/* ============================================================
   Health King Lung Soother – Spanish Amazon Landing Page
   Design: corporate-clean | border: sharp | shadow: flat
   Header: accent-bar | CTA: outlined
   Palette: #F7DC6F (lemon), #3498DB (sky blue), #F79C92 (peach), #0C0F24 (abyss)
   ============================================================ */

:root {
    --lemon:        #F7DC6F;
    --blue:         #3498DB;
    --peach:        #F79C92;
    --abyss:        #0C0F24;
    --bg:           #f8f9fb;
    --surface:      #ffffff;
    --text:         #0C0F24;
    --text-muted:   #566070;
    --border:       #dde4ec;
    --radius-card:  0;
    --radius-btn:   0;
    --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 — accent-bar: abyss bg, lemon underline, white name centered
   ============================================================ */
.site-header {
    background: var(--abyss);
    border-bottom: 3px solid var(--lemon);
    padding: 1rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-name {
    color: #ffffff;
    font-size: clamp(13px, 3.2vw, 16px);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
}

/* ============================================================
   PRODUCT SECTION — corporate-clean: single surface card
   ============================================================ */
.product-section {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--blue);
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* ============================================================
   GALLERY — sharp, flat
   ============================================================ */
.gallery-wrap {
    padding: 1.5rem;
    border-right: none;
    background: var(--surface);
}

@media (min-width: 768px) {
    .gallery-wrap {
        border-right: 1px solid var(--border);
    }
}

.gallery-wrap input[type="radio"] { display: none; }

.slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f6f8fb;
    border: 1px solid var(--border);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s 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 — sharp squares */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 0.85rem;
}

.gallery-dots label {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s;
    display: block;
}

#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(--blue); }

/* Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.7rem;
    flex-wrap: wrap;
}

.gallery-thumbs label {
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    flex: 0 0 52px;
    transition: border-color 0.2s;
}

.gallery-thumbs label img {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.gallery-thumbs label:hover { border-color: var(--blue); }

#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(--blue); }

/* ============================================================
   PRODUCT INFO — corporate-clean: strict grid, yellow accent
   ============================================================ */
.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-title {
    font-size: clamp(18px, 4.5vw, 26px);
    font-weight: 700;
    line-height: 1.28;
    color: var(--abyss);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--lemon);
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Spec table */
.spec-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.spec-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    border-bottom: 1px solid var(--border);
}

.spec-row:last-child { border-bottom: none; }

.sk {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    padding: 0.55rem 0.7rem;
    border-right: 1px solid var(--border);
    background: rgba(52,152,219,0.04);
    display: flex;
    align-items: center;
}

.sv {
    font-size: clamp(13px, 3.5vw, 14px);
    color: var(--text);
    padding: 0.55rem 0.7rem;
    display: flex;
    align-items: center;
}

/* Divider label */
.divider-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}

.desc-text {
    font-size: clamp(14px, 3.8vw, 15px);
    line-height: 1.7;
    color: var(--text);
}

/* Property badge */
.prop-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    background: var(--lemon);
    color: var(--abyss);
    border-radius: 0;
}

.seo-note {
    font-size: 13px;
    color: var(--text-muted);
    padding: 0.6rem 0.75rem;
    border-left: 3px solid var(--peach);
    background: rgba(247,156,146,0.07);
    line-height: 1.6;
}

/* ============================================================
   CTA — outlined button, sharp
   ============================================================ */
.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 2rem;
    min-height: 56px;
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 700;
    color: var(--blue);
    background: transparent;
    border: 2px solid var(--blue);
    border-radius: var(--radius-btn);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}

.cta-btn:hover {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(52,152,219,0.25);
}

/* ============================================================
   REVIEWS — Amazon style, corporate
   ============================================================ */
.reviews-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 3.5rem;
}

.reviews-title {
    font-size: clamp(17px, 4.5vw, 22px);
    font-weight: 700;
    color: var(--abyss);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--abyss);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.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.4rem;
}

.review-avatar { flex-shrink: 0; }

.review-avatar img {
    width: 42px;
    height: 42px;
    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(--abyss);
}

.stars {
    color: var(--lemon);
    font-size: 1rem;
    letter-spacing: 1px;
    filter: brightness(0.85);
}

.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 — abyss, lemon hover
   ============================================================ */
.site-footer {
    background: var(--abyss);
    color: rgba(255,255,255,0.65);
    padding: 1.75rem 1rem;
    margin-top: 2rem;
}

.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(--lemon); }