/* =============================================
   Genteel Plus — Redesign v2
   Aesthetic: Soft lifestyle / editorial / airy
   Palette: ice-white, powder-blue, slate navy
============================================= */

:root {
  --navy:       #1e3a5f;
  --blue:       #2f6eb5;
  --blue-soft:  #4a90d9;
  --sky:        #daeaf8;
  --sky-light:  #eef6fd;
  --sky-pale:   #f5f9fe;
  --white:      #ffffff;
  --slate:      #4a6080;
  --slate-lt:   #7a95b0;
  --ink:        #1a2c3d;
  --warm-gray:  #f7f8fa;
  --star:       #f5a623;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  40px;
  --font-head:  'Cormorant Garamond', 'Georgia', serif;
  --font-body:  'Nunito', sans-serif;
  --ease:       cubic-bezier(.4,0,.2,1);
  --shadow-xs:  0 1px 4px rgba(30,58,95,.06);
  --shadow-sm:  0 4px 18px rgba(30,58,95,.09);
  --shadow-md:  0 8px 40px rgba(30,58,95,.12);
  --shadow-lg:  0 20px 60px rgba(30,58,95,.14);
}

*, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--sky-pale);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── SUBTLE BACKGROUND PATTERN ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(74,144,217,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(30,58,95,.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ─── HEADER ─── */
header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid rgba(74,144,217,.15);
  z-index: 10;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .03em;
  line-height: 1;
}
.header-logo em {
  font-style: normal;
  color: var(--blue-soft);
}

/* thin decorative line under logo */
.header-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.header-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-soft), transparent);
  border-radius: 2px;
}

/* ─── MAIN WRAPPER ─── */
main {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 24px 0;
}

/* ─── PRODUCT SECTION ─── */
.product-section {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
  align-items: start;
}

/* ─── GALLERY — CSS-only radio switcher ─── */

/* hide the radio inputs */
.g-radio { display: none; }

.gallery { position: sticky; top: 28px; }

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sky-light);
  box-shadow: var(--shadow-md);
}

/* slides container */
.gallery-slides {
  display: flex;
  width: 400%;          /* 4 slides × 100% */
  transition: transform .42s cubic-bezier(.4,0,.2,1);
}

.gallery-slide {
  width: 25%;           /* each slide = 1/4 of .gallery-slides = 100% of visible area */
  flex-shrink: 0;
}

.gallery-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  background: var(--sky-light);
}

/* move the strip based on which radio is checked */
#g1:checked ~ .gallery-main .gallery-slides { transform: translateX(0%); }
#g2:checked ~ .gallery-main .gallery-slides { transform: translateX(-25%); }
#g3:checked ~ .gallery-main .gallery-slides { transform: translateX(-50%); }
#g4:checked ~ .gallery-main .gallery-slides { transform: translateX(-75%); }

/* thumbnails */
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 4px;
}
.gallery-thumbnails::-webkit-scrollbar { display: none; }

.g-thumb {
  display: block;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 2.5px solid transparent;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  overflow: hidden;
}
.g-thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
  background: var(--sky-light);
}
.g-thumb:hover {
  border-color: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* highlight active thumbnail */
#g1:checked ~ .gallery-thumbnails .g-thumb:nth-child(1),
#g2:checked ~ .gallery-thumbnails .g-thumb:nth-child(2),
#g3:checked ~ .gallery-thumbnails .g-thumb:nth-child(3),
#g4:checked ~ .gallery-thumbnails .g-thumb:nth-child(4) {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

/* ─── PRODUCT INFO ─── */
.product-info {
  padding-top: 8px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--sky);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.product-badge svg { flex-shrink: 0; }

.product-info h1 {
  font-family: var(--font-head);
  font-size: 2.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: .01em;
}

/* feature list */
.product-description ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-description ul li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(74,144,217,.12);
  align-items: flex-start;
}
.product-description ul li:first-child { padding-top: 0; }
.product-description ul li:last-child { border-bottom: none; }

.feat-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}
.feat-icon svg { width: 16px; height: 16px; }

.feature-title {
  display: block;
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: .01em;
}

.feat-text {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.65;
}

/* SEO blurb */
.seo-blurb {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--sky-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue-soft);
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.65;
}
.seo-blurb strong { color: var(--navy); font-weight: 700; }

/* ─── CTA SECTION ─── */
.cta-section {
  display: flex;
  justify-content: center;
  margin: 12px 0 64px;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 22px 58px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(30,58,95,.28), 0 2px 8px rgba(30,58,95,.12);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  overflow: hidden;
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  border-radius: inherit;
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 16px 48px rgba(30,58,95,.30), 0 4px 12px rgba(30,58,95,.14);
}
.cta-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── REVIEWS SECTION ─── */
.reviews-section {
  margin-bottom: 72px;
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.reviews-section h2 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
  line-height: 1.15;
}

.reviews-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(74,144,217,.3), transparent);
  border: none;
}

/* individual review */
.review {
  position: relative;
  padding: 32px 0 32px;
  border-bottom: 1px solid rgba(30,58,95,.07);
}
.review:last-child { border-bottom: none; }

/* soft hover wash */
.review::before {
  content: '';
  position: absolute;
  inset: 0 -16px;
  background: var(--sky-pale);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.review:hover::before { opacity: 1; }

.review-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
  position: relative;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2.5px solid var(--sky);
  box-shadow: var(--shadow-xs);
  background: var(--sky-light);
}

.review-meta { flex: 1; }

.review-author {
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: 3px;
}

.review-stars {
  font-size: 1rem;
  color: var(--star);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: .04em;
}

.review-title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
}

.review-location {
  font-size: .8rem;
  color: var(--slate-lt);
  margin-bottom: 8px;
}

.review-attributes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.review-attr-chip {
  font-size: .76rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--sky);
  border-radius: 100px;
  padding: 3px 10px;
  letter-spacing: .02em;
}

.review-body {
  font-size: .915rem;
  color: var(--slate);
  line-height: 1.75;
  white-space: pre-line;
}

/* attached photo */
.review-photo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 16px;
  background: var(--sky-light);
  border: 1.5px dashed rgba(74,144,217,.35);
  border-radius: var(--radius-md);
}
.review-photo-thumb {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74,144,217,.2);
  background: var(--sky);
  display: block;
  flex-shrink: 0;
}
.review-photo-label {
  font-size: .8rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .02em;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(218,234,248,.75);
  padding: 40px 24px 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}
footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-soft), var(--sky), var(--blue-soft));
  position: absolute;
  top: 0; left: 0; right: 0;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: .04em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: .84rem;
  color: rgba(218,234,248,.7);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-copy {
  font-size: .78rem;
  color: rgba(218,234,248,.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 820px) {
  .product-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gallery { position: static; }
  .gallery-slide img { height: 300px; }
  .product-info h1 { font-size: 1.6rem; }
  main { padding: 32px 16px 0; }
  .cta-btn { font-size: 1rem; padding: 18px 36px; width: 100%; max-width: 380px; }
  .reviews-section h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .header-logo { font-size: 1.55rem; }
  .gallery-slide img { height: 240px; }
  .g-thumb img { width: 58px; height: 58px; }
  .product-info h1 { font-size: 1.38rem; }
  .cta-btn { padding: 17px 28px; font-size: .96rem; }
  .review-photo-placeholder { flex-direction: column; align-items: flex-start; }
}