/* ═══════════════════════════════════════════
   Product Tabs — Bijoux en Vogue
   Proposal D: "Frosted Glass"
   Glassmorphism luxury panels with
   translucent blur, warm pastels,
   floating cards & crystal clarity
   ═══════════════════════════════════════════ */

/* ── Main container ── */
.product-tabs {
  margin-top: 0;
  padding-top: 3.5rem;
  --gold: #d4af37;
  --gold-light: #e8d48b;
  --gold-faint: #faf6e8;
  --gold-border: #efe9dc;
  --warm-bg: #fdfaf4;
  --warm-bg-deep: #f9f5ec;
  --dark: #1a1a1a;
  --text: #444;
  --text-light: #777;
  --text-muted: #8a7a5a;
  --border: #ebe6db;
  --border-light: #f0ebe0;

  /* Frosted Glass palette */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-gold: rgba(212, 175, 55, 0.2);
  --glass-shadow: rgba(180, 160, 120, 0.08);
  --glass-shadow-deep: rgba(180, 160, 120, 0.14);
  --glass-blur: 16px;
  --frost-warm: rgba(253, 250, 244, 0.6);
  --frost-gold: rgba(232, 212, 139, 0.08);
  --pastel-peach: #fef7f0;
  --pastel-cream: #fefcf6;
  --pastel-blush: #fdf5ee;
  --pastel-ivory: #fefdfb;
}

/* ══════════════════════════════════════════════
   TAB NAVIGATION — PILL ROW (DO NOT CHANGE)
   ══════════════════════════════════════════════ */
.product-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 1.75rem;
  justify-content: center;
}

.product-tab-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #555;
  background: #fff;
  border: 1.5px solid #d8d3c8;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
}

.product-tab-btn:hover {
  border-color: #d4af37;
  color: #1a1a1a;
  background: #fdfaf4;
}

.product-tab-btn.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  font-weight: 600;
}

/* No separator pseudo-elements needed */
.product-tab-btn::after,
.product-tab-btn::before {
  content: none;
  display: none;
}

/* ══════════════════════════════════════════════
   TAB PANELS — Frosted Glass containers
   ══════════════════════════════════════════════ */

/* Warm pastel background behind the glass effect */
.product-tab-panel {
  display: none;
  position: relative;
  padding: 2.5rem 2rem 2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
  animation: tabFadeIn 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border-top: none;
  background: linear-gradient(
    160deg,
    var(--pastel-cream) 0%,
    var(--pastel-peach) 35%,
    var(--pastel-blush) 65%,
    var(--pastel-ivory) 100%
  );
  border-radius: 16px;
  overflow: hidden;
}

/* Frosted glass overlay on the panel */
.product-tab-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow:
    0 4px 24px var(--glass-shadow),
    0 1px 3px rgba(255, 255, 255, 0.6) inset;
  pointer-events: none;
  z-index: 0;
}

/* Subtle gold shimmer line at the top of the glass */
.product-tab-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.5) 30%,
    rgba(212, 175, 55, 0.7) 50%,
    rgba(212, 175, 55, 0.5) 70%,
    transparent 100%
  );
  border-radius: 1px;
  animation: goldLineExpand 0.6s 0.15s cubic-bezier(0.23, 1, 0.32, 1) both;
  z-index: 1;
}

.product-tab-panel.active {
  display: block;
}

/* All panel children above the glass layer */
.product-tab-panel > * {
  position: relative;
  z-index: 1;
}

/* ── Primary tab entrance ── */
@keyframes tabFadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Gold divider line expands ── */
@keyframes goldLineExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 80px;
    opacity: 1;
  }
}

/* ── Glass card shimmer sweep ── */
@keyframes glassShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

/* ══════════════════════════════════════════════
   DESCRIPTION — Frosted editorial layout
   ══════════════════════════════════════════════ */
.tab-description {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  box-shadow:
    0 2px 16px rgba(180, 160, 120, 0.06),
    0 0 0 0.5px rgba(212, 175, 55, 0.08) inset;
}

/* Frosted gold accent — top left corner glow */
.tab-description::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle at top left,
    rgba(212, 175, 55, 0.12) 0%,
    transparent 70%
  );
  border-radius: 14px 0 0 0;
  pointer-events: none;
  z-index: 0;
}

.tab-description p {
  margin-bottom: 1.35rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.9;
  letter-spacing: 0.005em;
  position: relative;
  z-index: 1;
}

/* Elevated first paragraph */
.tab-description p:first-child {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.85;
}

/* Frosted drop cap */
.tab-description p:first-child::first-letter {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  float: left;
  line-height: 0.85;
  padding-right: 0.6rem;
  padding-top: 0.15rem;
  color: var(--gold);
  font-weight: 400;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.2));
}

.tab-description p:last-child {
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   SPECIFICATIONS — Frosted glass 2-column table
   ══════════════════════════════════════════════ */
.specs-table {
  display: grid;
  grid-template-columns: auto 1fr;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  gap: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 16px rgba(180, 160, 120, 0.07),
    0 0 0 0.5px rgba(212, 175, 55, 0.08) inset;
}

.specs-table dt,
.specs-table dd {
  padding: 0.85rem 1.25rem;
  margin: 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.specs-table dt {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-right: 1px solid rgba(212, 175, 55, 0.1);
}

.specs-table dt::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.5;
}

.specs-table dd {
  font-family: 'Lato', sans-serif;
  color: var(--dark);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Alternating row backgrounds */
.specs-table dt:nth-of-type(even),
.specs-table dt:nth-of-type(even) + dd {
  background: rgba(255, 255, 255, 0.25);
}

/* Clean last row */
.specs-table dt:last-of-type,
.specs-table dd:last-of-type {
  border-bottom: none;
}

/* ══════════════════════════════════════════════
   RHODIÉ BADGE — Shield icon + frosted pill
   ══════════════════════════════════════════════ */
.rhodie-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  margin-bottom: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a6fa5;
  background: linear-gradient(135deg, rgba(238, 243, 251, 0.85), rgba(220, 231, 247, 0.85));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(74, 111, 165, 0.2);
  border-radius: 20px;
  box-shadow: 0 1px 6px rgba(74, 111, 165, 0.08);
  cursor: default;
  letter-spacing: 0.02em;
}

.rhodie-badge svg {
  stroke: #4a6fa5;
}

/* Category card variant — smaller, positioned in image container */
.product-image-container .rhodie-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 3px 8px;
  font-size: 0.65rem;
  margin-bottom: 0;
}

.product-image-container .rhodie-badge svg {
  width: 12px;
  height: 12px;
}

/* ══════════════════════════════════════════════
   90 JOURS — Numbered steps in elegant circles
   ══════════════════════════════════════════════ */
.tab-retour {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 2.25rem 2.25rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(180, 160, 120, 0.08),
    0 1px 2px rgba(255, 255, 255, 0.5) inset;
}

/* Warm pastel glow behind the glass */
.tab-retour::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(254, 247, 240, 0.5) 0%,
    rgba(253, 245, 238, 0.3) 50%,
    rgba(254, 252, 246, 0.5) 100%
  );
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}

/* Decorative frosted circle — top right */
.tab-retour::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.tab-retour h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* Shield icon in a frosted circle */
.tab-retour h3::before {
  content: '';
  display: inline-flex;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d4af37' stroke-width='1.3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 22px 22px;
  background-repeat: no-repeat;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow:
    0 2px 8px rgba(212, 175, 55, 0.1),
    0 0 0 3px rgba(212, 175, 55, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tab-retour p {
  margin-bottom: 0.85rem;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

.tab-retour p:last-child {
  margin-bottom: 0;
}

.tab-retour p strong {
  color: var(--dark);
  font-weight: 600;
}

/* ── Numbered steps list ── */
.tab-retour ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  position: relative;
  z-index: 1;
  counter-reset: retour-step;
}

/* Elegant connecting line between step circles */
.tab-retour ul::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 2rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.3) 0%,
    rgba(212, 175, 55, 0.15) 70%,
    transparent 100%
  );
}

.tab-retour li {
  padding: 0.7rem 0 0.7rem 3.5rem;
  position: relative;
  color: var(--text);
  font-size: 0.91rem;
  line-height: 1.75;
  transition: color 0.2s ease;
  counter-increment: retour-step;
}

/* Numbered circle — frosted glass with gold border */
.tab-retour li::before {
  content: counter(retour-step);
  position: absolute;
  left: 2px;
  top: 0.6rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 2px 8px rgba(180, 160, 120, 0.08),
    0 0 0 3px rgba(212, 175, 55, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0;
  transition: all 0.3s ease;
}

.tab-retour li:hover::before {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow:
    0 3px 12px rgba(212, 175, 55, 0.2),
    0 0 0 5px rgba(212, 175, 55, 0.08);
}

.tab-retour li:hover {
  color: var(--dark);
}

/* ══════════════════════════════════════════════
   REVIEWS — Floating glass cards
   ══════════════════════════════════════════════ */

/* ── Summary hero block — frosted glass ── */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem 2.25rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(180, 160, 120, 0.08),
    0 1px 2px rgba(255, 255, 255, 0.5) inset;
}

/* Warm pastel glow behind glass */
.reviews-summary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(254, 252, 246, 0.4) 0%,
    rgba(253, 245, 238, 0.3) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Decorative frosted orb */
.reviews-summary::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.reviews-avg {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  /* Glass circle behind the number */
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  box-shadow:
    0 2px 12px rgba(180, 160, 120, 0.06),
    0 0 0 3px rgba(212, 175, 55, 0.05);
}

/* Remove the underline — we have the circle instead */
.reviews-avg::after {
  content: none;
  display: none;
}

.reviews-avg-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* ── Stars ── */
.review-stars {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.review-stars .star-filled {
  fill: var(--gold);
  stroke: var(--gold);
  stroke-width: 0.5;
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.25));
}

.review-stars .star-empty {
  fill: none;
  stroke: rgba(200, 190, 170, 0.5);
  stroke-width: 1;
}

/* Subtle star pulse on summary hover */
.reviews-summary:hover .review-stars svg {
  animation: starGlint 0.4s ease forwards;
}

.reviews-summary:hover .review-stars svg:nth-child(2) { animation-delay: 0.05s; }
.reviews-summary:hover .review-stars svg:nth-child(3) { animation-delay: 0.1s; }
.reviews-summary:hover .review-stars svg:nth-child(4) { animation-delay: 0.15s; }
.reviews-summary:hover .review-stars svg:nth-child(5) { animation-delay: 0.2s; }

@keyframes starGlint {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2) rotate(8deg); }
  100% { transform: scale(1); }
}

/* ── Individual review cards — floating glass ── */
.review-item {
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 16px rgba(180, 160, 120, 0.06),
    0 0.5px 1px rgba(255, 255, 255, 0.5) inset;
}

/* Shimmer sweep on hover */
.review-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  pointer-events: none;
  transition: left 0.6s ease;
}

.review-item:hover::before {
  left: 200%;
}

.review-item:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow:
    0 6px 28px rgba(180, 160, 120, 0.12),
    0 0 0 0.5px rgba(212, 175, 55, 0.12) inset;
  transform: translateY(-2px);
}

.review-item:last-child {
  margin-bottom: 0;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.review-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  position: relative;
  padding-left: 0.2rem;
}

/* Verified purchase indicator — gold glass badge */
.review-author::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 0.4rem;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23d4af37'/%3E%3Cpath d='M6.5 10.5l2 2 5-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.8;
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.2));
}

.review-date {
  font-size: 0.78rem;
  color: rgba(160, 150, 130, 0.8);
  font-weight: 300;
  margin-left: auto;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.6rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.review-text {
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.85;
  padding-left: 0.2rem;
}

/* ── No reviews state — frosted empty ── */
.reviews-none {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 3.5rem 2rem;
  font-size: 0.92rem;
  position: relative;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(180, 160, 120, 0.05);
}

/* Decorative empty-state — frosted speech bubble */
.reviews-none::before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 1.25rem;
  opacity: 0.25;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d4af37' stroke-width='1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 011.037-.443 48.282 48.282 0 005.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z'/%3E%3C/svg%3E") center/contain no-repeat;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile-first adjustments
   ══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .product-tabs {
    margin-top: 1.75rem;
  }

  /* Pills scroll horizontally on mobile */
  .product-tabs-nav {
    gap: 8px;
    padding-bottom: 1.25rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .product-tab-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  /* Panel: tighter padding, smaller radius */
  .product-tab-panel {
    padding: 1.75rem 1rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .product-tab-panel::before {
    border-radius: 12px;
  }

  .product-tab-panel::after {
    width: 50px;
  }

  @keyframes goldLineExpand {
    0% { width: 0; opacity: 0; }
    100% { width: 50px; opacity: 1; }
  }

  /* Description: reduce glass card padding */
  .tab-description {
    padding: 1.25rem 1.15rem;
    max-width: 100%;
    border-radius: 10px;
  }

  .tab-description::before {
    width: 40px;
    height: 40px;
    border-radius: 10px 0 0 0;
  }

  .tab-description p:first-child::first-letter {
    font-size: 2.6rem;
    padding-right: 0.45rem;
  }

  /* Specs: stack on mobile */
  .specs-table {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .specs-table dt {
    padding: 0.6rem 1rem 0.15rem;
    border-right: none;
    border-bottom: none;
    font-size: 0.6rem;
  }

  .specs-table dd {
    padding: 0.1rem 1rem 0.65rem;
    font-size: 0.88rem;
  }

  /* 90 Jours: tighter glass card */
  .tab-retour {
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 12px;
    max-width: 100%;
  }

  .tab-retour h3 {
    font-size: 0.88rem;
    gap: 0.6rem;
  }

  .tab-retour h3::before {
    width: 34px;
    height: 34px;
    background-size: 18px 18px;
  }

  .tab-retour li {
    padding-left: 3rem;
    font-size: 0.88rem;
  }

  .tab-retour li::before {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
    left: 1px;
    top: 0.55rem;
  }

  .tab-retour ul::before {
    left: 15px;
  }

  /* Reviews: compact glass cards */
  .reviews-summary {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 12px;
  }

  .reviews-avg {
    font-size: 2.2rem;
    width: 58px;
    height: 58px;
  }

  .review-item {
    padding: 1.15rem 1.25rem;
    margin-bottom: 0.65rem;
    border-radius: 10px;
  }

  .review-date {
    margin-left: 0;
    padding: 0.1rem 0.5rem;
  }

  .reviews-none {
    padding: 2.5rem 1.25rem;
    border-radius: 10px;
  }
}

/* ── Medium screens ── */
@media (min-width: 641px) and (max-width: 900px) {
  .tab-description {
    max-width: 100%;
  }

  .specs-table {
    max-width: 100%;
  }

  .tab-retour {
    max-width: 100%;
  }
}

/* ── Large screens ── */
@media (min-width: 901px) {
  .specs-table {
    max-width: 580px;
  }
}

/* ══════════════════════════════════════════════
   PRINT — Clean output, no glass effects
   ══════════════════════════════════════════════ */
@media print {
  .product-tabs-nav {
    display: none;
  }

  .product-tab-panel {
    display: block !important;
    padding: 1rem 0;
    animation: none;
    page-break-inside: avoid;
    background: none;
    border-radius: 0;
    border: none;
  }

  .product-tab-panel::before,
  .product-tab-panel::after {
    display: none;
  }

  .tab-description {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
  }

  .tab-description::before {
    display: none;
  }

  .specs-table {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid #ddd;
    box-shadow: none;
  }

  .specs-table dt,
  .specs-table dd {
    background: #fff !important;
    border-bottom: 1px solid #eee;
  }

  .specs-table dt {
    border-right: 1px solid #eee;
  }

  .review-item {
    box-shadow: none;
    border: 1px solid #ddd;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 4px;
  }

  .review-item::before {
    display: none;
  }

  .tab-retour {
    background: none;
    border: 1px solid #ddd;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 4px;
  }

  .tab-retour::before,
  .tab-retour::after {
    display: none;
  }

  .tab-retour li::before {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .reviews-summary {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 4px;
  }

  .reviews-summary::before,
  .reviews-summary::after {
    display: none;
  }

  .reviews-avg {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: auto;
    height: auto;
  }

  .reviews-none {
    background: none;
    border: 1px solid #ddd;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-radius: 4px;
  }

  .reviews-none::before {
    background-color: transparent;
    border: none;
  }

  .review-date {
    background: none;
    border: none;
    padding: 0;
  }
}

/* ══════════════════════════════════════════════
   SPEC TOOLTIP — "?" help icon for Rhodié etc.
   ══════════════════════════════════════════════ */
.spec-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  font-family: 'Lato', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  cursor: help;
  position: relative;
  vertical-align: middle;
  margin-left: 4px;
  flex-shrink: 0;
}

.spec-tooltip-text {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  padding: 10px 12px;
  background: #333;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 100;
  pointer-events: none;
  white-space: normal;
}

/* Arrow pointing down */
.spec-tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
}

/* Show on hover + focus (mobile) */
.spec-tooltip:hover .spec-tooltip-text,
.spec-tooltip:focus .spec-tooltip-text {
  display: block;
}

/* Align tooltip left on small screens to avoid overflow */
@media (max-width: 640px) {
  .spec-tooltip-text {
    left: auto;
    right: -8px;
    transform: none;
    width: 220px;
  }
  .spec-tooltip-text::after {
    left: auto;
    right: 12px;
    transform: none;
  }
}
