/* ══════════════════════════════════════════════
   Oilway Blue Light Glasses — style.css
   Palette: warm oyster + espresso ink + olive-bronze + coral-rust CTA
   Fonts: Fraunces (optical fashion serif) + Source Sans 3 (body)
   Persona: Editorial fashion eyewear — warm, elegant, structured
   Dominant idea: Spacing & rhythm — numbered feature list,
                  generous vertical cadence, lens-strip header detail.
   Layout: Content LEFT, gallery RIGHT (sticky card) — reversed
           from AOMASTE. Warm oyster gallery card (not dark).
══════════════════════════════════════════════ */

:root {
  /* Warm oyster palette */
  --bg:          #F7F3ED;
  --bg2:         #EDE8DF;
  --surface:     #FFFFFF;
  --surface2:    #FAF7F2;
  --card-bg:     #F2EDE4;

  /* Espresso ink */
  --ink:         #1C1208;
  --ink2:        #2A1E0E;
  --muted:       #72624A;
  --light-muted: #A8967A;

  /* Olive-bronze accent */
  --olive:       #7A6830;
  --olive-lt:    #9C8848;
  --olive-bg:    #F0EBD8;
  --olive-border:#D4C890;

  /* Coral-rust CTA */
  --coral:       #C44A2A;
  --coral-h:     #A03820;
  --coral-bg:    #FAEEE9;

  /* Rules / borders */
  --border:      #DDD0B8;
  --rule:        #E8DFC8;
  --rule-lt:     #EEE8D8;

  /* Star gold */
  --star:        #C89808;

  /* Lens strip */
  --lens-bg:     #D4C088;
  --lens-text:   #4A3C10;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink2);
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

img { display: block; max-width: 100%; height: auto; }

/* ════════════════════════
   HEADER
════════════════════════ */
.site-header {
  background: var(--ink);
  padding: 0;
}
.hdr-inner {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brand row */
.hdr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 5vw 0.8rem;
  text-decoration: none;
}
.hdr-icon {
  color: var(--olive-lt);
  font-size: 1.1rem;
}
.hdr-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

/* Lens strip — SIGNATURE ELEMENT */
.lens-strip {
  width: 100%;
  background: var(--lens-bg);
  padding: 0.38rem 5vw;
  text-align: center;
}
.ls-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lens-text);
}

/* Tagline row */
.hdr-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 5vw 1rem;
}

/* ════════════════════════
   PRODUCT SECTION
════════════════════════ */
.product-section {
  padding: 0;
}

.product-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  /* content left, gallery right */
  grid-template-columns: 6fr 5fr;
  gap: 0;
  align-items: start;
  padding: 4rem 5vw;
  gap: 5rem;
}

/* ── CONTENT COL (left) ── */
.content-col {}

/* Eyebrow */
.product-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.ey-brand {
  font-family: 'Fraunces', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}
.ey-sep { color: var(--light-muted); font-size: 0.8rem; }
.ey-cat {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* Title — large editorial serif */
.product-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.title-em {
  font-style: italic;
  font-weight: 300;
  color: var(--olive);
}
.title-azul {
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
/* Underline accent on "Azul" */
.title-azul::after {
  content: '';
  display: block;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
  margin-top: 4px;
  width: 60%;
}

/* Short desc */
.product-desc-short {
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.desc-sub {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Stars */
.star-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.stars { color: var(--star); font-size: 1rem; letter-spacing: 0.05em; }
.star-label {
  font-size: 0.8rem;
  color: var(--olive);
  text-decoration: underline;
  cursor: default;
}

.hr-rule {
  height: 1px;
  background: var(--rule);
  margin: 1.4rem 0;
}

/* Feature pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.fpill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--olive-bg);
  border: 1px solid var(--olive-border);
  color: var(--olive);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 3px;
}
.fpill i { font-size: 0.68rem; }

/* ABOUT — numbered list */
.about-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-lt);
}
.about-list li:last-child { border-bottom: none; }

.ab-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--light-muted);
  flex-shrink: 0;
  line-height: 1.4;
  width: 28px;
  text-align: right;
  padding-top: 2px;
}
.ab-body {
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.75;
}
.ab-body strong { color: var(--ink); font-weight: 600; }

/* Disclaimer */
.disclaimer-box {
  background: var(--surface2);
  border-left: 3px solid var(--olive-border);
  padding: 0.85rem 1rem;
  border-radius: 0 4px 4px 0;
}
.disclaimer-box p {
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── GALLERY COL (right, sticky) ── */
.gallery-col {
  position: sticky;
  top: 2rem;
}

.gallery-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.gallery-frame {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery-slide img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  padding: 2rem 1.5rem;
  background: var(--surface2);
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.g-thumb {
  flex: 0 0 58px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.15s;
}
.g-thumb:hover,
.g-thumb:focus {
  border-color: var(--olive);
  outline: none;
}
.g-thumb img { width: 58px; height: 58px; object-fit: cover; }

/* Trust panel */
.trust-panel {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.tp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.tp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.3rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.tp-item:last-child { border-right: none; }
.tp-item i { color: var(--olive); font-size: 0.95rem; }
.tp-item span { font-size: 0.67rem; font-weight: 600; color: var(--ink2); line-height: 1.2; }

/* CTA inside card */
.cta-block {
  padding: 1.2rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  background: var(--coral);
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.95rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(196,74,42,0.3);
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--coral-h);
  transform: translateY(-1px);
  outline: none;
}
.cta-btn:active { transform: translateY(0); }
.cta-btn i { font-size: 1.1rem; }
.cta-note {
  font-size: 0.72rem;
  color: var(--light-muted);
  text-align: center;
}

/* ════════════════════════
   REVIEWS SECTION
════════════════════════ */
.reviews-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 5vw 5rem;
}
.reviews-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.reviews-hdr {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--olive);
}
.reviews-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.rev-avg { font-size: 0.87rem; font-weight: 600; color: var(--ink2); }
.rev-n { font-size: 0.8rem; color: var(--muted); }

/* Individual review */
.review {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule-lt);
}
.review:last-child { border-bottom: none; }

.review-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}
.rev-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--surface2);
  flex-shrink: 0;
}
.rev-meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.rev-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.rev-stars { color: var(--star); font-size: 0.88rem; letter-spacing: 0.04em; }
.rev-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.3;
}
.rev-date { font-size: 0.77rem; color: var(--muted); margin-bottom: 0.2rem; }
.rev-attrs { font-size: 0.77rem; color: var(--muted); margin-bottom: 0.7rem; }
.rev-body {
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}
.rev-photos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.rev-photos img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ════════════════════════
   FOOTER
════════════════════════ */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--olive);
  padding: 2rem 5vw;
  text-align: center;
}
.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--olive-lt); }
.fsep { color: rgba(255,255,255,0.15); font-size: 0.76rem; }
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.18); }

/* ════════════════════════
   RESPONSIVE
════════════════════════ */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 4vw;
  }
  /* image on top, content below */
  .content-col { order: 2; }
  .gallery-col { order: 1; position: static; }

  .gallery-slide img { height: 260px; }
  .product-section { padding: 0; }
}

@media (max-width: 580px) {
  .product-title { font-size: 2.6rem; }
  .gallery-slide img { height: 220px; }
  .g-thumb { flex: 0 0 52px; }
  .g-thumb img { width: 52px; height: 52px; }
  .reviews-section { padding: 2.5rem 4vw 4rem; }
  .rev-photos img { width: 78px; height: 78px; }
}

@media (max-width: 380px) {
  .product-grid { padding: 1.5rem 3.5vw; }
  .product-title { font-size: 2.2rem; }
}