/*
 * product.desktop.css - Product detail page, viewport >=1024px
 * Scope: product - Prefix: prd-
 * Self-contained styles for desktop (does not inherit mobile).
 */

/* Page background */
#main-content {
  background: #FAF7F2;
}

/* Breadcrumb */
.prd-breadcrumb-wrap {
  background: transparent;
  padding: 16px 0 0;
}

/* Gallery */
.prd-gallery {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  position: sticky;
  top: calc(var(--header-height) + var(--nav-height) + 16px);
}

/* Thumb strip */
.prd-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: unset;
  order: 0;
}

.prd-gallery__thumbs--empty {
  display: none;
}

.prd-gallery__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-8);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prd-gallery__thumb:hover { border-color: var(--color-primary); }
.prd-gallery__thumb.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(200,16,46,.2);
}
.prd-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main image container */
.prd-gallery__main {
  position: relative;
  aspect-ratio: auto;
  height: 440px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prd-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.18s ease;
  display: block;
}

.prd-gallery__main-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* TL badges */
.prd-gallery__badges-tl {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

/* TR icon buttons */
.prd-gallery__actions-tr {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.prd-gallery__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition);
}
.prd-gallery__icon-btn:hover { border-color: var(--color-primary); }

/* Page counter BL */
.prd-gallery__counter {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 11px;
  color: var(--color-text);
  background: rgba(255,255,255,0.95);
  padding: 4px 10px;
  border-radius: var(--radius-6);
  border: 1px solid var(--color-border);
}

/* Badges */
.prd-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-6);
  white-space: nowrap;
  line-height: 1.3;
}
.prd-badge--solid    { background: var(--color-primary); color: #fff; }
.prd-badge--accent   { background: var(--color-accent); color: #1F2937; }
.prd-badge--success  { background: var(--color-success-bg); color: #15803D; border: 1px solid #BBF7D0; }

/* Buy box */
.prd-buybox {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.prd-buybox__sep { color: var(--color-border); font-size: 14px; }

/* Product name */
.prd-buybox__name {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 0;
}

/* Rating row */
.prd-buybox__rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.prd-buybox__review-count { font-size: 13px; color: var(--color-text-muted); }
.prd-buybox__review-count--empty { font-style: italic; }
.prd-buybox__sold { font-size: 13px; color: var(--color-text-muted); }
.prd-buybox__sold strong { color: var(--color-text); }

/* Price box */
.prd-price-box {
  margin-top: 4px;
  padding: 20px;
  background: linear-gradient(135deg, #FDE8EC 0%, var(--color-bg-warm) 100%);
  border-radius: var(--radius-12);
  border: 1px solid #FBC8D0;
}

.prd-price-box__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.prd-price-box__sale {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -1px;
  line-height: 1;
}

.prd-price-box__original {
  font-size: 1rem;
  color: var(--color-text-soft);
  text-decoration: line-through;
}

.prd-price-box__discount-badge {
  font-size: 13px;
  padding: 4px 10px;
}

.prd-price-box__promo {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.prd-price-box__promo[hidden] { display: none; }

/* Price incl line */
.prd-price-box__incl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--color-text);
}
.prd-price-box__incl strong { color: var(--color-text); }

/* Qty stepper row */
.prd-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.prd-qty-row__label { font-size: 13px; font-weight: 600; color: var(--color-text); }
.prd-qty-row__max { font-size: 12px; color: var(--color-text-muted); }

.prd-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-8);
  overflow: hidden;
  background: #fff;
}

.prd-qty-stepper__btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  user-select: none;
}
.prd-qty-stepper__btn:hover { background: var(--color-bg-soft); }

.prd-qty-stepper__input {
  width: 48px;
  height: 40px;
  border: none;
  border-inline: 1.5px solid var(--color-border);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
}

.prd-qty-stepper--sm .prd-qty-stepper__btn  { width: 34px; height: 40px; }
.prd-qty-stepper--sm .prd-qty-stepper__input { width: 42px; height: 40px; font-size: 14px; }

/* CTA form */
.prd-cta-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.prd-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.prd-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  height: 56px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-10);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: -0.2px;
}

.prd-cta-btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 1px 2px rgba(200,16,46,.2), 0 4px 12px rgba(200,16,46,.25);
}
.prd-cta-btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  text-decoration: none;
  color: #fff;
}

.prd-cta-btn--accent {
  background: var(--color-accent);
  color: #1F2937;
  border-color: var(--color-accent);
  box-shadow: 0 1px 2px rgba(245,158,11,.2), 0 4px 12px rgba(245,158,11,.25);
}
.prd-cta-btn--accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  text-decoration: none;
  color: #1F2937;
}

.prd-cta-btn--zalo {
  background: var(--color-zalo);
  color: #fff;
  border-color: var(--color-zalo);
}
.prd-cta-btn--zalo:hover {
  background: #0056cc;
  border-color: #0056cc;
  text-decoration: none;
  color: #fff;
}

.prd-cta-btn--full { width: 100%; height: 48px; font-size: 14px; }

/* Trust badges */
.prd-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-10);
}

.prd-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
}

/* Hotline box */
.prd-hotline-box {
  background: #1F2937;
  color: #fff;
  border-radius: var(--radius-10);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.prd-hotline-box__text { flex: 1; min-width: 0; }
.prd-hotline-box__label {
  font-size: 11px;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.prd-hotline-box__number { font-size: 15px; font-weight: 800; line-height: 1.2; }
.prd-hotline-box__number strong { font-size: 17px; white-space: nowrap; }
.prd-hotline-box__call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 40px;
  background: var(--color-accent);
  color: #1F2937;
  border: none;
  border-radius: var(--radius-10);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}
.prd-hotline-box__call-btn:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
  color: #1F2937;
}

@keyframes pulse-call {
  0%   { box-shadow: 0 0 0 0 rgba(200,16,46,.5); }
  60%  { box-shadow: 0 0 0 8px rgba(200,16,46,.0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,.0); }
}

/* Tabs bar */
.prd-tabs-bar {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: var(--space-6);
  position: sticky;
  top: calc(var(--header-height) + var(--nav-height));
  z-index: 200;
}

.prd-tabs-nav {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.prd-tabs-nav::-webkit-scrollbar { display: none; }

.prd-tab-btn {
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  font-family: inherit;
}
.prd-tab-btn:hover { color: var(--color-primary); }
.prd-tab-btn.is-active {
  font-weight: 700;
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* Content panes */
.prd-pane {
  display: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-12);
  padding: 32px;
  overflow-x: clip;
}
.prd-pane.is-active { display: block; }

/* Specs table */
.prd-specs-table-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-10);
  overflow: hidden;
}

.prd-specs-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: 13px;
}
.prd-specs-row:last-child { border-bottom: none; }
.prd-specs-row--even { background: var(--color-bg-soft); }
.prd-specs-row__key { color: var(--color-text-muted); font-weight: 600; white-space: nowrap; }
.prd-specs-row__val { color: var(--color-text); font-weight: 500; }

/* FAQ accordion */
.prd-faq-list { display: flex; flex-direction: column; gap: 8px; }

.prd-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-8);
  overflow: hidden;
  background: #fff;
}

.prd-faq-question {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  transition: background var(--transition);
  font-family: inherit;
}
.prd-faq-question:hover { background: var(--color-bg-soft); }
.prd-faq-question.is-open { background: var(--color-bg-warm); }

.prd-faq-question__icon { flex-shrink: 0; }
.prd-faq-question > span:nth-child(2) { flex: 1; }
.prd-faq-chevron { flex-shrink: 0; }

.prd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.prd-faq-answer.is-open { max-height: 600px; }

.prd-faq-answer__inner {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.prd-faq-answer__inner p { margin: 0 0 8px; }
.prd-faq-answer__inner p:last-child { margin-bottom: 0; }

/* Prose */
.prose {
  line-height: 1.8;
  color: var(--color-text);
  font-size: 15px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.prose > :first-child { margin-top: 0; }
.prose h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.2px;
  margin: 32px 0 12px;
  color: var(--color-text);
}
.prose h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 26px 0 10px;
  color: var(--color-text);
}
.prose p  { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 14px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--color-primary); font-weight: 700; }
.prose a  { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; color: var(--color-text); }
.prose .prose-step { margin: 0 0 14px; font-style: italic; color: var(--color-text); }
.prose img {
  display: block;
  margin: 24px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(16, 24, 40, .10);
}
.prose figure { max-width: 100%; margin: 24px auto; }
.prose figure img { margin: 0 auto; }
.prose figure figcaption {
  font-size: 13px;
  color: var(--color-text-soft);
  text-align: center;
  margin-top: 8px;
}
.prose iframe, .prose video, .prose embed { max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; font-size: 13px; }
.prose th, .prose td { border: 1px solid var(--color-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--color-bg-soft); font-weight: 700; }
.prose-table { max-width: 100%; margin: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose-table > table { min-width: 480px; }
.prose-table th, .prose-table td { white-space: nowrap; }
.prose a[href^="tel"], .prose li > strong[href^="tel"] { white-space: nowrap; }

/* Related */
.prd-related {
  background: #fff;
  padding: 40px 0 64px;
  margin-top: var(--space-8);
}
.prd-related__all-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.prd-related__all-link:hover { text-decoration: underline; }
.prd-sticky-bar.is-visible { transform: translateY(0); }

/* Mobile bar - hidden on desktop */
.prd-mobile-bar { display: none; }

/* Section backgrounds */
.prd-gallery__main { background: #fff; }
.prd-buybox { background: transparent; }.prd-tabs-bar, .prd-pane, .prd-related { background: #fff; }
.prd-trust-badges { background: #fff; }

/* Promo box */
.prd-promo-box { border: 1px solid var(--color-border); border-radius: var(--radius-10); overflow: hidden; background: #fff; }
.prd-promo-box__head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}
.prd-promo-box__list { list-style: none; margin: 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 9px; }
.prd-promo-box__item { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.5; color: var(--color-text); }
.prd-promo-box__num {
  flex-shrink: 0; width: 19px; height: 19px; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-accent); color: #fff;
  font-size: 11px; font-weight: 800;
}

/* Options */
.prd-options { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 4px; }
.prd-optgroup__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.prd-optgroup__label { font-size: 14px; font-weight: 700; color: var(--color-text); }
.prd-optgroup__hint { font-size: 12px; color: var(--color-text-muted); font-weight: 400; }
.prd-optgroup__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.prd-opt-chip--chip .prd-opt-chip__delta { margin-left: 8px; align-self: center; }
.prd-opt-chip--chip .prd-opt-chip__check {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--color-border); background: #fff;
  transition: background .15s, border-color .15s;
}
.prd-opt-chip--chip .prd-opt-chip__check svg { opacity: 0; }
.prd-opt-chip--chip.is-checked .prd-opt-chip__check,
.prd-opt-chip--chip:has(.prd-opt-chip__input:checked) .prd-opt-chip__check { background: var(--color-primary); border-color: var(--color-primary); }
.prd-opt-chip--chip.is-checked .prd-opt-chip__check svg,
.prd-opt-chip--chip:has(.prd-opt-chip__input:checked) .prd-opt-chip__check svg { opacity: 1; }

.prd-opt-chip {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-10);
  background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.prd-opt-chip:hover { border-color: var(--color-primary); }
.prd-opt-chip__input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.prd-opt-chip.is-checked,
.prd-opt-chip:has(.prd-opt-chip__input:checked) { border-color: var(--color-primary); background: #FDECEF; }
.prd-opt-chip__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.prd-opt-chip__label { font-size: 13.5px; font-weight: 600; color: var(--color-text); line-height: 1.25; }
.prd-opt-chip__note { font-size: 11.5px; color: var(--color-text-muted); line-height: 1.35; }
.prd-opt-chip__delta { flex-shrink: 0; margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--color-accent-dark); white-space: nowrap; }
.prd-opt-chip__check { display: none; }

.prd-optgroup__opts--swatch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.prd-opt-chip--swatch { justify-content: center; gap: 7px; padding: 9px 6px; }
.prd-opt-chip--swatch .prd-opt-chip__body { flex: 0 0 auto; }
.prd-opt-chip--swatch .prd-opt-chip__label { font-size: 13px; }
.prd-opt-chip--swatch .prd-opt-chip__note { display: none; }
.prd-opt-chip__dot {
  flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--color-border);
}
.prd-opt-chip--swatch.is-checked .prd-opt-chip__dot,
.prd-opt-chip--swatch:has(.prd-opt-chip__input:checked) .prd-opt-chip__dot { box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--color-primary); }

.prd-optgroup--addons .prd-optgroup__opts { flex-direction: column; }
.prd-opt-addon {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-10);
  background: #fff; cursor: pointer; width: 100%;
  transition: border-color .15s, background .15s;
}
.prd-opt-addon:hover { border-color: var(--color-accent); }
.prd-opt-addon:has(.prd-opt-addon__input:checked) { border-color: var(--color-accent); background: #FFF7EC; }
.prd-opt-addon .prd-opt-chip__note { display: none; }
.prd-opt-addon .prd-opt-chip__body { flex-direction: row; align-items: center; }
.prd-opt-addon__box {
  flex-shrink: 0; width: 20px; height: 20px;
  border: 1.5px solid var(--color-border); border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; transition: background .15s, border-color .15s;
}
.prd-opt-addon__box svg { opacity: 0; }
.prd-opt-addon:has(.prd-opt-addon__input:checked) .prd-opt-addon__box { background: var(--color-accent); border-color: var(--color-accent); }
.prd-opt-addon:has(.prd-opt-addon__input:checked) .prd-opt-addon__box svg { opacity: 1; }

/* Reviews */
.prd-buybox__jump {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-size: 13px; font-weight: 600; color: #2563EB;
}
.prd-buybox__jump:hover { text-decoration: underline; }

/* PDP layout - desktop 2-column */
.prd-pdp__head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 14px 0 12px; }
.prd-pdp__head .prd-buybox__name { font-size: 24px; line-height: 1.3; margin: 0; }
.prd-pdp__head .prd-buybox__rating-row { margin: 0; }

.prd-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-areas: "gallery rail" "content rail";
  gap: 24px;
  align-items: start;
  padding-bottom: 8px;
}
.prd-pdp__gallery { grid-area: gallery; max-width: none; }
.prd-pdp__content { grid-area: content; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.prd-pdp__rail {
  grid-area: rail; align-self: start; position: sticky; top: 12px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-12);
  padding: 16px; display: flex; flex-direction: column; gap: 14px;
}

.prd-pdp__gallery .prd-gallery { position: static; top: auto; }

/* Policy */
.prd-policy { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-12); padding: 0 16px; }
.prd-policy__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--color-text); margin: 0; padding: 14px 0 12px; border-bottom: 1px solid var(--color-border); }
.prd-policy__title-ic { display: inline-flex; flex-shrink: 0; }
.prd-policy__list { list-style: none; margin: 0; padding: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.prd-policy__item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--color-text); }
.prd-policy__ic { flex-shrink: 0; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: #FEF2F2; border-radius: var(--radius-10, 10px); }
.prd-policy__txt { flex: 1; min-width: 0; }
.prd-policy__txt strong { font-weight: 700; color: var(--color-text); }

/* Detail card tabs */
.prd-detail-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-12); overflow: hidden; }
.prd-detail-card .prd-tabs-nav {
  display: flex; gap: 0;
  background: var(--color-bg-soft, #f7f8fa);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto; scrollbar-width: none;
}
.prd-detail-card .prd-tabs-nav::-webkit-scrollbar { display: none; }
.prd-detail-card .prd-tab-btn {
  flex: 1 1 0; min-width: 120px; border: 0; background: transparent;
  padding: 15px 16px; font-size: 14px; font-weight: 600;
  color: var(--color-text-muted); cursor: pointer; white-space: nowrap; text-align: center;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.prd-detail-card .prd-tab-btn:hover { color: var(--color-text); }
.prd-detail-card .prd-tab-btn.is-active { color: var(--color-primary); background: #fff; border-bottom-color: var(--color-primary); font-weight: 700; }
.prd-pdp__content .prd-detail-card .prd-pane { background: transparent; border: 0; border-radius: 0; padding: 20px 22px; }
.prd-pdp__content .prd-detail-card .prd-pane[hidden] { display: none; }

.prd-pdp__rail.prd-buybox { gap: 14px; }

/* Rail width overflow fix */
.prd-pdp__rail .prd-cta-grid { gap: 8px; }
.prd-pdp__rail .prd-cta-grid .prd-cta-btn { min-width: 0; padding: 0 10px; height: 50px; font-size: 13.5px; white-space: nowrap; }
.prd-pdp__rail .prd-cta-btn span { overflow: hidden; text-overflow: ellipsis; }
.prd-pdp__rail .prd-cta-btn--full { height: 46px; font-size: 14px; }
.prd-pdp__rail > *, .prd-pdp__rail form > * { max-width: 100%; }
.prd-pdp__rail .prd-cta-form { min-width: 0; }

/* Wide screen */
@media (min-width: 1280px) {
  .prd-pdp { grid-template-columns: minmax(0, 1fr) 360px; }
}

/* FAQ chevron toggle (JS sets is-open on button) */
.prd-faq-chevron__up   { display: none; }
.prd-faq-chevron__down { display: inline-flex; }
.prd-faq-question.is-open .prd-faq-chevron__up   { display: inline-flex; }
.prd-faq-question.is-open .prd-faq-chevron__down { display: none; }

/* Option popular badge */
.prd-opt-chip__pop {
  display: inline-block; vertical-align: middle; margin-left: 4px;
  font-size: 10px; font-weight: 800; line-height: 1; color: #fff;
  background: var(--color-accent); padding: 3px 6px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: .3px;
}

/* ───── Reviews block (prd-reviews) ───── */
.prd-reviews { background: var(--color-bg-warm, #FAF7F2); padding: 8px 0 4px; }
.prd-reviews__card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-12);
  padding: 22px; margin: 8px 0;
}
.prd-reviews__title { font-size: 20px; font-weight: 800; color: var(--color-text); margin: 0 0 16px; }
.prd-reviews__summary {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center;
  padding: 16px 0 20px; border-bottom: 1px solid var(--color-border);
}
.prd-reviews__score { text-align: center; }
.prd-reviews__avg { font-size: 44px; font-weight: 800; color: var(--color-primary); line-height: 1; }
.prd-reviews__avg span { font-size: 20px; color: var(--color-text-muted); font-weight: 600; }
.prd-reviews__avg--empty { color: var(--color-text-muted); }
.prd-reviews__avg-stars { margin: 6px 0 4px; display: flex; justify-content: center; }
.prd-reviews__count { font-size: 13px; color: var(--color-text-muted); }
.prd-reviews__bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.prd-reviews__bar-row { display: grid; grid-template-columns: 42px 1fr 44px; align-items: center; gap: 8px; }
.prd-reviews__bar-num { font-size: 12.5px; color: var(--color-text); white-space: nowrap; }
.prd-reviews__bar-star { color: var(--color-accent); }
.prd-reviews__bar-track { height: 8px; background: var(--color-bg-soft, #F1F1F1); border-radius: 5px; overflow: hidden; }
.prd-reviews__bar-track i { display: block; height: 100%; background: var(--color-accent); border-radius: 5px; }
.prd-reviews__bar-pct { font-size: 12px; color: var(--color-text-muted); text-align: right; }
.prd-reviews__cta { align-self: center; }
.prd-reviews__write-btn { white-space: nowrap; }
.prd-reviews__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; }
.prd-review { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.prd-review:last-child { border-bottom: none; }
.prd-review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prd-review__author { font-weight: 700; color: var(--color-text); font-size: 14px; }
.prd-review__verified {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11.5px; font-weight: 600; color: #16A34A;
  background: var(--color-success-bg, #ECFDF3); padding: 2px 8px; border-radius: 20px;
}
.prd-review__stars { margin: 6px 0 4px; display: inline-flex; gap: 1px; }
.prd-review__star { color: var(--color-border); font-size: 15px; }
.prd-review__star.is-on { color: var(--color-accent); }
.prd-review__content { color: var(--color-text); line-height: 1.6; font-size: 14px; margin: 4px 0 6px; }
.prd-review__foot { font-size: 12px; color: var(--color-text-muted); }
.prd-reviews__form { margin-top: 18px; }
.prd-reviews__form .comments-section { margin-top: 0; padding-top: 0; border-top: none; }
.prd-reviews__empty { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }
.prd-reviews__empty strong { color: var(--color-text); }

/* PDP content: reviews sit inside the left column, no extra frame */
.prd-pdp__content .prd-reviews { background: transparent; padding: 0; }
.prd-pdp__content .prd-reviews__card { margin: 0; }
