/* ============================================================
   Prostasan Tea – Spanish Amazon Landing Page
   Design: soft-organic | border: pill | shadow: dramatic
   Header: centered-minimal | CTA: gradient
   Palette: #F0DB4F (lemon), #2D5C7F (teal navy), #F2D4C9 (blush), #ECF1F1 (frost)
   ============================================================ */

:root {
    --lemon:        #F0DB4F;
    --navy:         #2D5C7F;
    --blush:        #F2D4C9;
    --frost:        #ECF1F1;
    --bg:           #fdfcf4;
    --surface:      #ffffff;
    --text:         #1a2614;
    --text-muted:   #5a6a50;
    --border:       #e4e0c8;
    --radius-card:  26px;
    --radius-btn:   50px;
    --radius-inner: 18px;
    --shadow:       0 20px 60px rgba(45,92,127,0.14);
    --shadow-hover: 0 28px 72px rgba(45,92,127,0.24);
    --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, amber bottom line
   ============================================================ */
.site-header {
    background: var(--surface);
    border-bottom: 2px solid var(--lemon);
    padding: 1.1rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(240,219,79,0.1);
}

.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(--navy);
    text-align: center;
    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: var(--radius-inner);
    background: linear-gradient(135deg, #fffff0 0%, #f0f5fb 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(--navy); }

/* Thumbnails — pill radius */
.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;
}

.gallery-thumbs label img {
    width: 58px;
    height: 58px;
    object-fit: cover;
}

.gallery-thumbs label:hover { border-color: var(--navy); }

#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(--navy); }

/* ============================================================
   PRODUCT INFO — soft-organic: chips, numbered features
   ============================================================ */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: clamp(22px, 5vw, 34px);
    font-weight: 700;
    line-height: 1.22;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Benefit chips — pill */
.benefit-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chip {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-btn);
    background: rgba(240,219,79,0.18);
    border: 1px solid rgba(240,219,79,0.5);
    color: #6a5a00;
}

/* Numbered organic features */
.features-organic {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fo-item {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.fo-item:last-child { border-bottom: none; }

.fo-num {
    font-size: 10px;
    font-weight: 700;
    color: var(--navy);
    opacity: 0.5;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    min-width: 20px;
    margin-top: 0.3rem;
}

.fo-item strong {
    display: block;
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.fo-item p {
    font-size: clamp(14px, 3.8vw, 15px);
    line-height: 1.68;
    color: var(--text);
}

.seo-note {
    font-size: 13px;
    color: var(--text-muted);
    padding: 0.65rem 0.85rem;
    background: rgba(242,212,201,0.18);
    border-left: 3px solid var(--blush);
    border-radius: 0 12px 12px 0;
    line-height: 1.62;
}

/* ============================================================
   CTA — gradient pill button
   ============================================================ */
.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: linear-gradient(135deg, var(--navy) 0%, #3a7fb5 100%);
    border-radius: var(--radius-btn);
    text-decoration: none;
    letter-spacing: 0.02em;
    border: none;
    box-shadow: 0 8px 28px rgba(45,92,127,0.3);
    transition: filter 0.22s, box-shadow 0.22s, transform 0.18s;
}

.cta-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 14px 40px rgba(45,92,127,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(18px, 5vw, 24px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid var(--border);
}

.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: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--blush);
    box-shadow: 0 2px 6px rgba(45,92,127,0.08);
}

.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(--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(--navy);
    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 — navy, lemon hover
   ============================================================ */
.site-footer {
    background: var(--navy);
    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); }