/* --- HERO --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 100px);
  overflow: hidden;
}

.hero-gallery {
  position: relative;
  background: var(--sand2);
  overflow: hidden;
}

/* Vertical photo thumbnails (desktop) */
.gallery-photo-thumbs {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 580px;
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 10;
}
.gallery-photo-thumbs::-webkit-scrollbar { display: none; }
.photo-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity .2s, border-color .2s;
  flex-shrink: 0;
}
.photo-thumb:hover { opacity: 0.8; }
.photo-thumb.active {
  opacity: 1;
  border-color: var(--ink);
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main photo area */
.gallery-main {
  width: 100%;
  height: 100%;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.gallery-slide.active {
  opacity: 1;
  pointer-events: all;
}

/* Product visuals */
.product-visual {
  width: 72%;
  aspect-ratio: 3/4;
  border-radius: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.18);
  cursor: zoom-in;
}
.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}
.product-visual .suit-icon {
  font-size: 7rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.2));
  position: relative;
  z-index: 1;
  animation: floatY 4s ease-in-out infinite;
}
.product-visual img.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform .15s ease-out;
  transform-origin: var(--zoom-x, center) var(--zoom-y, center);
}
.product-visual:hover img.product-photo {
  transform: scale(1.8);
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Mobile arrows */
.gallery-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ink);
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.gallery-arrow:hover { background: rgba(255,255,255,.9); }
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }

/* Mobile dots */
.gallery-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stone);
  opacity: 0.4;
  transition: all .25s;
  border: none;
  padding: 0;
  cursor: pointer;
}
.gallery-dot.active {
  opacity: 1;
  background: var(--ink);
  width: 24px;
  border-radius: 4px;
}

/* Mobile photo counter */
.photo-counter {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 15;
  font-variant-numeric: tabular-nums;
}

/* Old color thumbs (kept for landing page color switching) */
.gallery-thumbs {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.thumb {
  width: 52px; height: 52px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  overflow: hidden;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
}
.thumb:hover { transform: translateY(-3px); }
.thumb.active { border-color: var(--ink); }

.color-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
}

/* --- HERO RIGHT --- */
.hero-info {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp .8s var(--ease-out) both;
}
@keyframes fadeUp {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}

.product-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 16px;
}
.product-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--stone);
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 10px;
  color: var(--ink);
}
.product-name em {
  font-style: italic;
  font-weight: 300;
  color: var(--bark);
}

.product-tagline {
  font-size: 1rem;
  color: var(--bark);
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.6;
}

/* Stars */
.stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.stars { color: #E8A93A; font-size: 1rem; letter-spacing: 2px; }
.review-count { font-size: .82rem; color: var(--stone); }
.review-count a { color: var(--bark); text-decoration: underline; text-underline-offset: 2px; }

/* Price block */
.price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
}
.price-main {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
}
.price-old {
  font-size: 1.1rem;
  color: var(--stone);
  text-decoration: line-through;
  font-weight: 300;
}
.price-save {
  background: var(--rust);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 50px;
}

/* Free delivery badge */
.free-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 16px;
  background: rgba(122,155,118,.1);
  border-radius: 10px;
}
.free-delivery-icon {
  font-size: 1rem;
}
.free-delivery-text {
  font-size: .88rem;
  font-weight: 600;
  color: var(--sage);
}

/* Divider */
.divider { border: none; border-top: 1px solid var(--sand2); margin: 6px 0 26px; }

/* Color picker */
.option-title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 12px;
}
.option-value { color: var(--ink); font-weight: 400; }

.color-picker {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.color-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
  outline: none;
}
.color-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.color-btn:hover { transform: scale(1.12); }
.color-btn.active::after { border-color: var(--ink); }

/* Size picker */
.size-picker {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.size-btn {
  min-width: 64px;
  padding: 10px 14px;
  border: 1.5px solid var(--sand2);
  border-radius: 10px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  text-align: center;
  color: var(--ink);
}
.size-btn:hover { border-color: var(--bark); }
.size-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.size-btn.out { color: var(--stone); border-color: var(--sand2); text-decoration: line-through; cursor: not-allowed; }

.size-guide-link {
  font-size: .78rem;
  color: var(--bark);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  margin-bottom: 28px;
  display: inline-block;
}

/* CTA */
.cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-buy {
  flex: 1;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-buy:hover { background: var(--bark); transform: translateY(-2px); }

.btn-wish {
  width: 52px;
  background: var(--sand2);
  border: none;
  border-radius: 14px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.btn-wish:hover { background: var(--stone); }

/* Perks */
.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--bark);
  font-weight: 300;
}
.perk-icon {
  width: 30px; height: 30px;
  background: var(--sand2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

/* --- RICH CONTENT BLOCKS (zigzag) --- */
.rich-section {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.rich-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.rich-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--sand2);
}
.rich-block:first-child { border-top: 1px solid var(--sand2); }

.rich-block--reverse {
  grid-template-columns: 1fr 1.2fr;
}
.rich-block--reverse .rich-block__media { order: 2; }
.rich-block--reverse .rich-block__body { order: 1; }

.rich-block__media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--sand2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rich-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rich-block__placeholder {
  font-size: 4rem;
  opacity: .25;
}

.rich-block__body {}
.rich-block__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--sand2);
  line-height: 1;
  margin-bottom: 12px;
}
.rich-block__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.rich-block__text {
  font-size: .95rem;
  color: var(--bark);
  line-height: 1.75;
  font-weight: 300;
}

/* Compact blocks (no photo) */
.rich-compact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.rich-compact {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: var(--sand);
  border-radius: 18px;
  align-items: flex-start;
}
.rich-compact__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--sand2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rich-compact__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.rich-compact__text {
  font-size: .88rem;
  color: var(--bark);
  line-height: 1.6;
  font-weight: 300;
}

/* Mid-section CTA */
.rich-cta {
  text-align: center;
  margin-top: 48px;
}
.rich-cta__btn {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 14px;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.rich-cta__btn:hover { background: var(--bark); transform: translateY(-2px); }

/* Responsive rich blocks */
@media (max-width: 900px) {
  .rich-section { padding: 56px 20px; }
  .rich-block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }
  .rich-block--reverse .rich-block__media { order: 0; }
  .rich-block--reverse .rich-block__body { order: 0; }
  .rich-compact-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .rich-block__num { font-size: 2.4rem; }
  .rich-block__title { font-size: 1.3rem; }
  .rich-block__media { aspect-ratio: 3/4; }
  .rich-compact { padding: 20px; }
}

/* --- SECTIONS --- */
.section-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--sand);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 56px;
  max-width: 600px;
}
.section-heading em { font-style: italic; font-weight: 300; color: var(--stone); }

/* --- WHY SECTION --- */
.why-section {
  background: var(--ink);
  padding: 80px 48px;
}
.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature {
  background: rgba(255,255,255,.04);
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s;
}
.feature:hover { background: rgba(255,255,255,.07); }
.feature-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(255,255,255,.08);
  line-height: 1;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 10px;
}
.feature p {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.7;
  font-weight: 300;
}

/* --- DETAILS SECTION --- */
.details-section {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.detail-visual {
  background: var(--sand2);
  border-radius: 24px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: sticky;
  top: 90px;
}
.detail-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.detail-item {
  border-bottom: 1px solid var(--sand2);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
}
.detail-item:first-child { border-top: 1px solid var(--sand2); }
.detail-key {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
  padding-top: 2px;
}
.detail-val {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
}
.detail-val strong { font-weight: 600; }

/* --- SIZE GUIDE TABLE --- */
.sizes-section {
  background: var(--sand);
  padding: 80px 48px;
}
.sizes-inner { max-width: 760px; margin: 0 auto; }
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 36px;
  font-size: .88rem;
}
.size-table thead tr {
  border-bottom: 2px solid var(--bark);
}
.size-table th {
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bark);
  padding: 0 0 12px;
}
.size-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--sand2);
  color: var(--ink);
  font-weight: 300;
}
.size-table td:first-child { font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.size-table tr.highlight td { background: rgba(122,102,82,.08); }
.size-tip {
  margin-top: 20px;
  background: rgba(122,102,82,.1);
  border-left: 3px solid var(--bark);
  padding: 14px 18px;
  font-size: .85rem;
  color: var(--bark);
  border-radius: 0 10px 10px 0;
  line-height: 1.6;
}

/* --- REVIEWS --- */
.reviews-section {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.review-card {
  background: var(--sand);
  border-radius: 20px;
  padding: 28px;
}
.review-stars { color: #E8A93A; font-size: .9rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text {
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 18px;
  font-style: italic;
  font-family: var(--font-display);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.review-name { font-size: .82rem; font-weight: 600; color: var(--ink); }
.review-size { font-size: .75rem; color: var(--stone); }

/* --- FAQ --- */
.faq-section {
  background: var(--ink);
  padding: 80px 48px;
}
.faq-inner { max-width: 700px; margin: 0 auto; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--sand);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color .2s;
}
.faq-q:hover { color: #fff; }
.faq-arrow { font-size: 1rem; transition: transform .3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.7;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .3s;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

/* --- RESPONSIVE PRODUCT --- */

/* Tablet <= 900px */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: unset; }
  .hero-gallery { min-height: 360px; }
  .gallery-photo-thumbs { display: none; }
  .gallery-arrow { display: flex; }
  .gallery-dots { display: flex; }
  .photo-counter { display: block; }
  .product-visual { cursor: default; }
  .product-visual:hover img.product-photo { transform: none; }
  .hero-info { padding: 36px 20px 48px; }

  .why-section,
  .sizes-section,
  .reviews-section,
  .faq-section,
  .details-section { padding: 56px 20px; }

  .features-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .reviews-grid   { grid-template-columns: 1fr 1fr; }
  .details-grid   { grid-template-columns: 1fr; }
  .detail-visual  { display: none; }
}

/* Mobile <= 600px */
@media (max-width: 600px) {
  .hero-gallery { min-height: 300px; }
  .product-visual { width: 85%; }
  .product-visual .suit-icon { font-size: 5rem; }

  .hero-info { padding: 28px 16px 40px; }
  .product-name { font-size: 2.2rem; }
  .product-tagline { font-size: .92rem; }

  .price-main { font-size: 2rem; }

  .color-btn { width: 36px; height: 36px; }
  .size-btn {
    min-width: 56px;
    padding: 11px 10px;
    font-size: .82rem;
    min-height: 52px;
  }
  .size-picker { gap: 6px; }

  .btn-buy { padding: 15px 20px; font-size: .95rem; min-height: 52px; }
  .btn-wish { min-height: 52px; }

  .perks { grid-template-columns: 1fr; gap: 8px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 24px 20px; }
  .feature-num { font-size: 2rem; margin-bottom: 10px; }
  .section-heading { font-size: 1.7rem; margin-bottom: 36px; }

  .detail-item { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .detail-key { font-size: .7rem; }

  .size-table { font-size: .8rem; }
  .size-table th, .size-table td { padding: 11px 0; }

  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { padding: 22px 18px; }

  .faq-q { font-size: .88rem; padding: 18px 0; }
  .faq-inner { max-width: 100%; }
}

/* --- SEO TEXT --- */
.seo-section {
  max-width: 840px;
  margin: 0 auto;
  padding: 48px 32px 56px;
  color: var(--stone);
  font-size: .92rem;
  line-height: 1.75;
}
.seo-text h2, .seo-text h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 8px;
}
.seo-text h2 { font-size: 1.3rem; font-weight: 900; }
.seo-text h3 { font-size: 1.1rem; font-weight: 700; }
.seo-text p { margin-bottom: 12px; }
@media (max-width: 600px) {
  .seo-section { padding: 32px 16px 40px; }
}
