/* Product page styles */

/* ——— HERO SECTION ——— */
.product-hero {
  min-height: 100vh;
  padding: 140px 48px 80px;
  background: var(--bg);
}

.product-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ——— BREADCRUMB ——— */
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-family: var(--font-body);
  font-weight: 400;
}

.product-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.product-breadcrumb a:hover {
  color: var(--plum);
}

.product-breadcrumb span:last-child {
  color: var(--plum);
  font-weight: 500;
}

/* ——— MAIN LAYOUT ——— */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ——— VISUAL COLUMN ——— */
.product-visual {
  position: sticky;
  top: 120px;
}

.product-img-frame {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--blush);
  margin-bottom: 16px;
}

.product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  object-fit: cover;
  background: var(--blush);
  cursor: pointer;
  transition: opacity 0.2s;
  opacity: 0.8;
}

.product-thumb:hover {
  opacity: 1;
}

/* ——— INFO COLUMN ——— */
.product-info {
  padding-top: 12px;
}

.product-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  border: 1px solid var(--rose);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -1px;
  margin-bottom: 8px;
  line-height: 1.1;
}

.product-tagline {
  font-size: 18px;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: 32px;
  font-weight: 400;
}

/* ——— PRICE ——— */
.product-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--plum);
}

.price-note {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ——— DESCRIPTION ——— */
.product-description {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 28px;
  font-weight: 300;
}

/* ——— CLAIMS ——— */
.product-claims {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--blush);
  border-radius: 4px;
}

.claim {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
}

.claim-icon {
  color: var(--rose);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ——— SHADE PICKER ——— */
.shade-section {
  margin-bottom: 32px;
}

.shade-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.shade-guide-link {
  color: var(--rose);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.shade-guide-link:hover {
  text-decoration: underline;
}

.shade-grid {
  display: flex;
  gap: 12px;
}

.shade-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: 2px solid transparent;
  padding: 12px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex: 1;
}

.shade-btn:hover {
  background: white;
}

.shade-btn.active {
  border-color: var(--plum);
  background: white;
  box-shadow: 0 2px 12px rgba(74,27,77,0.1);
}

.shade-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  border: 2px solid rgba(0,0,0,0.08);
}

.shade-swatch.berry-flush {
  background: linear-gradient(135deg, #C2185B, #E91E63, #AD1457);
}

.shade-swatch.rose-dusk {
  background: linear-gradient(135deg, #D4A373, #C17F59, #B0664A);
}

.shade-swatch.clear-gloss {
  background: linear-gradient(135deg, #f5e6d3, #e8d5c0, #fff8f2);
  border-color: #e0d0c0;
}

.shade-name {
  font-size: 12px;
  color: var(--text);
  font-weight: 400;
  text-align: center;
}

/* ——— BUY BUTTON ——— */
.buy-btn {
  display: block;
  text-align: center;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 18px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-bottom: 32px;
}

.buy-btn:hover {
  background: var(--plum-deep);
  transform: translateY(-2px);
}

/* ——— TABS ——— */
.product-detail-tabs {
  border-top: 1px solid rgba(74,27,77,0.12);
}

.tab-header {
  display: flex;
  gap: 0;
  margin-bottom: 0;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  color: var(--plum);
}

.tab-btn.active {
  color: var(--plum);
  border-bottom-color: var(--plum);
}

.tab-content {
  padding: 24px 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

.tab-content.hidden {
  display: none;
}

.tab-content p + p {
  margin-top: 12px;
}

.tab-content strong {
  color: var(--text);
  font-weight: 500;
}

/* ——— THANKS BANNER ——— */
.thanks-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #3a7d44;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.thanks-banner span {
  font-size: 18px;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  .product-hero {
    padding: 120px 32px 60px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-visual {
    position: static;
  }

  .product-img-frame {
    max-height: 400px;
  }

  .product-name {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .product-hero {
    padding: 100px 20px 48px;
  }

  .shade-grid {
    flex-direction: column;
    gap: 8px;
  }

  .shade-btn {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 16px;
  }
}