/* ============================================================
   Health King Stamina Tea – Spanish Amazon Landing Page
   Design: minimalist | border: rounded | shadow: dramatic
   Header: centered-minimal | CTA: outlined
   Palette: #F2D57F (straw), #4B1461 (deep plum), #F0A55A (amber), #B2B3B1 (silver)
   ============================================================ */

:root {
    --straw:        #F2D57F;
    --plum:         #4B1461;
    --amber:        #F0A55A;
    --silver:       #B2B3B1;
    --bg:           #ffffff;
    --surface:      #ffffff;
    --text:         #1a1a2e;
    --text-muted:   #686877;
    --border:       #e4e4e8;
    --radius-card:  12px;
    --radius-btn:   6px;
    --shadow:       0 20px 60px rgba(75,20,97,0.13);
    --shadow-hover: 0 28px 72px rgba(75,20,97,0.22);
    --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 — centered-minimal: white, thin bottom line
   ============================================================ */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.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 {
    font-size: clamp(13px, 3.2vw, 15px);
    font-weight: 600;
    color: var(--plum);
    text-align: center;
    letter-spacing: 0.01em;
}

/* ============================================================
   PRODUCT SECTION
   ============================================================ */
.product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem 1.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: start;
    }
}

/* ============================================================
   GALLERY — rounded, dramatic shadow
   ============================================================ */
.gallery-wrap {
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    padding: 1.1rem;
    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: 8px;
    background: #fafafa;
    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 */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 0.9rem;
}

.gallery-dots label {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    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(--plum); }

/* Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbs label {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 56px;
    transition: border-color 0.2s;
}

.gallery-thumbs label img {
    width: 56px;
    height: 56px;
    object-fit: cover;
}

.gallery-thumbs label:hover { border-color: var(--plum); }

#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(--plum); }

/* ============================================================
   PRODUCT INFO — minimalist: whitespace, thin lines, type-driven
   ============================================================ */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

/* Minimalist: title = hero element */
.product-title {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--plum);
    letter-spacing: -0.02em;
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Brand badges */
.brand-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--straw);
    border-radius: var(--radius-btn);
    color: var(--text-muted);
    background: rgba(242,213,127,0.12);
}

.product-intro {
    font-size: clamp(14px, 4vw, 15px);
    color: var(--text-muted);
    line-height: 1.72;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

/* Spec list — minimalist two-column, rounded container */
.spec-list {
    background: #fafafa;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    overflow: hidden;
}

.spec-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    border-bottom: 1px solid var(--border);
}

.spec-item:last-child { border-bottom: none; }

.spec-k {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.6rem 0.85rem;
    background: rgba(178,179,177,0.08);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.spec-v {
    font-size: clamp(13px, 3.5vw, 14px);
    color: var(--text);
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
}

.seo-note {
    font-size: clamp(13px, 3.5vw, 13px);
    color: var(--text-muted);
    line-height: 1.65;
    padding: 0.65rem 0.9rem;
    border-left: 2px solid var(--amber);
    background: rgba(240,165,90,0.06);
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
}

/* ============================================================
   CTA — outlined button, rounded
   ============================================================ */
.cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 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(--plum);
    background: transparent;
    border: 2px solid var(--plum);
    border-radius: var(--radius-btn);
    text-decoration: none;
    letter-spacing: 0.025em;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
}

.cta-btn:hover {
    background: var(--plum);
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(75,20,97,0.22);
    transform: translateY(-1px);
}

/* ============================================================
   REVIEWS — Amazon style, minimalist
   ============================================================ */
.reviews-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

.reviews-title {
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    color: var(--plum);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.01em;
}

.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: 1px 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(--plum);
}

.stars {
    color: var(--straw);
    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.5rem;
    font-size: clamp(14px, 4vw, 15px);
    line-height: 1.75;
}

/* ============================================================
   FOOTER — plum, amber hover
   ============================================================ */
.site-footer {
    background: var(--plum);
    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.60);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--straw); }