/* PORT MARKET — Product Page v1 */

/* ── Container padding fix — Astra default ~107px/side is too wide ──────── */
body.single-product .ast-woocommerce-container {
  padding-left:  24px !important;
  padding-right: 24px !important;
}
:root {
  --pm-gold:    #B08D3C;
  --pm-gold-dk: #8C6E26;
  --pm-gold-lt: #F3EAD3;
  --pm-ink:     #1C1C1A;
  --pm-soft:    #585852;
  --pm-mute:    #8A8A82;
  --pm-line:    #E8E0D2;
  --pm-burg:    #6E2A2A;
  --pm-ok:      #2E7D4F;
  --pm-font-body:    'Heebo','Assistant','Segoe UI',sans-serif;
  --pm-font-display: 'Heebo','Assistant',sans-serif;
}

/* ── Global font unification — matches checkout plugin (Heebo everywhere) ─
   Doubled .single-product class lifts specificity to (0,2,9) so it beats
   theme heading-font rules (e.g. Astra's .ast-separate-container .entry-title
   at 0,2,0) which otherwise override the product title h1. SVG primitives
   excluded so icon glyphs render correctly. */
body.single-product,
body.single-product.single-product *:not(svg):not(path):not(circle):not(rect):not(polyline):not(line):not(polygon):not(g) {
  font-family: 'Heebo','Assistant','Segoe UI',sans-serif !important;
}

/* ── Rating row ─────────────────────────────────────────────────────────── */
.pm-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--pm-soft);
  margin-bottom: 10px;
}
.pm-stars {
  color: #E0A92E;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
}
.pm-rating-num { font-weight: 700; color: var(--pm-ink); }
.pm-sep { color: var(--pm-line); }
.pm-reviews-link {
  color: var(--pm-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pm-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pm-ok);
  display: inline-block;
  flex-shrink: 0;
  animation: pm-pulse 1.6s ease-in-out infinite;
}
@keyframes pm-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: .4; }
}
.pm-viewers { color: var(--pm-ok); font-weight: 600; }
.pm-viewers-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Price card — top half ──────────────────────────────────────────────── */
body.single-product .summary .price,
body.single-product .entry-summary .price {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  background: linear-gradient(160deg, #FAF7F2 0%, #EFE5CC 100%) !important;
  border: 1.5px solid var(--pm-line) !important;
  border-bottom: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  padding: 20px 22px 18px !important;
  margin: 0 !important;
}

/* Sale price — big */
body.single-product .summary .price ins,
body.single-product .entry-summary .price ins {
  text-decoration: none !important;
  background: none !important;
  font-family: 'Frank Ruhl Libre', serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  color: var(--pm-ink) !important;
  line-height: 1 !important;
}

/* Original price — strikethrough */
body.single-product .summary .price del,
body.single-product .entry-summary .price del {
  font-size: 19px !important;
  font-weight: 400 !important;
  color: var(--pm-mute) !important;
  opacity: 1 !important;
  align-self: flex-end !important;
  padding-bottom: 6px !important;
}

/* Savings badge injected by JS */
.pm-save-badge {
  background: var(--pm-burg);
  color: #fff;
  font-family: Heebo, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9px;
  white-space: nowrap;
  letter-spacing: .01em;
  margin-right: auto; /* pushes to left in RTL */
}

/* ── Trust strip — 3 cards ─────────────────────────────────────────────── */
.pm-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 0 0 12px;
}
.pm-trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--pm-line);
  border-radius: 9px;
  padding: 8px 10px;
  background: #fff;
}
.pm-trust-ic {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--pm-gold-lt);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--pm-gold-dk);
  line-height: 1;
  font-family: sans-serif;
}
.pm-trust-item > div { flex: 1; min-width: 0; }
.pm-trust-item b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pm-ink);
  line-height: 1.2 !important;
  margin-bottom: 2px;
  white-space: nowrap;
}
.pm-trust-item > div > span {
  font-size: 10.5px;
  color: var(--pm-mute);
  display: block;
  line-height: 1.2 !important;
  white-space: nowrap;
}

/* ── Secure payment — bottom of price card ──────────────────────────────── */
.pm-installments {
  background: #fff;
  border: 1.5px solid var(--pm-line);
  border-top: 1px solid var(--pm-line) !important;
  border-radius: 0 0 14px 14px !important;
  padding: 10px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 14px !important;
  font-size: 12.5px;
  color: var(--pm-soft);
}
.pm-installments strong { color: var(--pm-ink); font-weight: 600; font-size: 12.5px; }
.pm-installments small  { font-size: 11.5px; color: var(--pm-mute); }

/* Hide default WC rating if present (we inject our own) */
body.single-product .woocommerce-product-rating { display: none !important; }

/* ── ATC row — qty stepper + button ────────────────────────────────────── */
.pm-atc-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 10px;
}

/* Gold gradient ATC button */
body.single-product form.cart .single_add_to_cart_button.button {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  height: 58px !important;
  padding: 0 18px !important;
  background: linear-gradient(135deg, #8C6E26 0%, #B08D3C 45%, #C9A84C 100%) !important;
  border: none !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-family: Heebo, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: filter .2s !important;
  box-shadow: 0 4px 14px rgba(176,141,60,.35) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
body.single-product form.cart .single_add_to_cart_button.button:hover {
  filter: brightness(1.08) !important;
}

/* Arrow circle — right side in RTL */
.pm-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  font-size: 18px;
  line-height: 1;
  order: -1; /* leftmost in LTR, becomes rightmost in RTL */
}

.pm-btn-txt {
  flex: 1;
  text-align: center;
}

.pm-btn-price {
  font-size: 15px;
  font-weight: 600;
  opacity: .92;
}

/* Quantity stepper */
body.single-product form.cart .quantity {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  border: 1.5px solid var(--pm-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  overflow: hidden !important;
  height: 58px !important;
  width: auto !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

body.single-product form.cart .quantity input.qty {
  width: 42px !important;
  height: 100% !important;
  border: none !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--pm-ink) !important;
  background: #fff !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
body.single-product form.cart .quantity input.qty::-webkit-inner-spin-button,
body.single-product form.cart .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pm-qty-btn {
  width: 44px !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  color: var(--pm-soft) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  transition: color .15s !important;
}
.pm-qty-btn:hover { color: var(--pm-ink) !important; }

/* ── Trust features — 4 columns ────────────────────────────────────────── */
.pm-trust-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--pm-line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
  direction: rtl;
}
.pm-tf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 11px 6px 10px;
}
.pm-tf-item + .pm-tf-item { border-right: 1px solid var(--pm-line); }
.pm-tf-ic {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 7px;
  display: block;
}
.pm-tf-item b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pm-ink);
  line-height: 1.2;
  margin-bottom: 2px;
}
.pm-tf-item > span {
  font-size: 10px;
  color: var(--pm-mute);
  line-height: 1.2;
}

/* ── Contents section (#8 — per-product, opt-in via meta) ──────────────── */
.pm-contents {
  margin: 22px 0 8px;
  text-align: center;
}
.pm-contents-label {
  display: inline-block;
  background: var(--pm-burg);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.pm-contents-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--pm-ink);
  margin: 0 0 18px;
  line-height: 1.3;
}
.pm-contents-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  text-align: right;
}
.pm-contents-card {
  flex: 1 0 130px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.pm-contents-swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  margin-bottom: 9px;
}
.pm-contents-card b {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pm-ink);
  line-height: 1.3;
  margin-bottom: 2px;
}
.pm-contents-card > span {
  font-size: 11px;
  color: var(--pm-mute);
  line-height: 1.3;
}

/* ── Social proof row ───────────────────────────────────────────────────── */
.pm-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--pm-soft);
  margin-bottom: 14px;
  direction: rtl;
  background: linear-gradient(160deg, #FAF7F2 0%, #EFE5CC 100%);
  border: 1.5px solid var(--pm-line);
  border-radius: 14px;
  padding: 12px 18px;
}
.pm-sp-avatars {
  display: flex;
  flex-direction: row-reverse;
}
.pm-sp-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-left: -7px;
  line-height: 1;
}
.pm-sp-avatars span:first-child  { margin-left: 0; background: var(--pm-gold-lt); color: var(--pm-gold-dk); }
.pm-sp-avatars span:nth-child(2) { background: #2E6B4A; }
.pm-sp-avatars span:nth-child(3) { background: var(--pm-burg); }
.pm-sp-avatars span:nth-child(4) { background: #3A3A38; }
.pm-social-proof > span strong { color: var(--pm-ink); }

/* ── Reviews section ────────────────────────────────────────────────────── */
.pm-reviews-section {
  background: linear-gradient(180deg, #EFE5CC 0%, #F5EFE0 100%);
  padding: 36px 0 32px;
  margin: 24px -24px 0;
  border-top: 1px solid var(--pm-line);
}
.pm-reviews-inner {
  padding: 0 24px;
}
.pm-reviews-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.pm-rh-title {
  font-family: 'Frank Ruhl Libre', serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--pm-ink) !important;
  margin: 0 0 6px !important;
  line-height: 1.2 !important;
}
.pm-rh-sub {
  font-size: 13px;
  color: var(--pm-soft);
  margin: 0;
}
.pm-score-card {
  background: #fff;
  border: 1.5px solid var(--pm-line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.pm-score-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pm-score-num {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--pm-ink);
  line-height: 1;
}
.pm-score-stars {
  color: #E0A92E;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 4px;
  line-height: 1;
}
.pm-score-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pm-score-left b  { font-size: 12.5px; font-weight: 700; color: var(--pm-ink); }
.pm-score-left span { font-size: 11px; color: var(--pm-mute); }

/* slider wrap + nav */
.pm-slider-wrap {
  position: relative;
  padding: 0 54px;
}
.pm-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--pm-line);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--pm-soft);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  padding: 0;
  line-height: 1;
}
.pm-sl-prev { right: 4px; }
.pm-sl-next { left: 4px; }
.pm-slider-btn:hover {
  background: var(--pm-gold);
  border-color: var(--pm-gold-dk);
  color: #fff;
  box-shadow: 0 4px 18px rgba(176,141,60,.35);
}

/* slider clip + track */
.pm-slider-clip {
  overflow: hidden;
  width: 100%;
}
.pm-reviews-track {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  overflow: visible;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.pm-review-card {
  flex: 0 0 calc((100% - 28px) / 3);
  background: #fff;
  border: 1.5px solid var(--pm-line);
  border-radius: 16px;
  padding: 20px 20px 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: box-shadow .2s;
}
.pm-review-card:hover {
  box-shadow: 0 6px 28px rgba(176,141,60,.18);
}
.pm-rc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pm-rc-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.pm-rc-meta b    { display: block; font-size: 13px; font-weight: 700; color: var(--pm-ink); line-height: 1.3; }
.pm-rc-meta span { font-size: 11px; color: var(--pm-mute); line-height: 1.3; }
.pm-rc-verified  { color: var(--pm-ok); font-weight: 600; font-style: normal; }
.pm-rc-stars     { color: #E0A92E; font-size: 14px; letter-spacing: 1px; margin-bottom: 8px; }
.pm-review-card p { font-size: 13px; color: var(--pm-soft); line-height: 1.65; margin: 0; }

/* ── FAQ section ────────────────────────────────────────────────────────── */
.pm-faq-section {
  background: linear-gradient(180deg, #F5EFE0 0%, #FFFFFF 100%);
  padding: 40px 0 36px;
  margin: 0 -24px;
  border-top: 1px solid var(--pm-line);
  border-bottom: 1px solid var(--pm-line);
}
.pm-faq-inner {
  padding: 0 24px;
  max-width: 720px;
  margin: 0 auto;
}
.pm-faq-title {
  font-family: 'Frank Ruhl Libre', serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--pm-ink) !important;
  text-align: center !important;
  margin: 0 0 24px !important;
  line-height: 1.2 !important;
}
.pm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pm-faq-item {
  background: #fff;
  border: 1.5px solid var(--pm-line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.pm-faq-item:hover { border-color: var(--pm-gold); box-shadow: 0 2px 12px rgba(176,141,60,.12); }
.pm-faq-item.open  { border-color: var(--pm-gold); background: #fff; }
.pm-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--pm-ink);
  gap: 12px;
  user-select: none;
}
.pm-faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--pm-gold-lt);
  color: var(--pm-gold-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s, background .2s, color .2s;
}
.pm-faq-item.open .pm-faq-icon {
  transform: rotate(45deg);
  background: var(--pm-ink);
  color: #E8C77A;
}
.pm-faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 13.5px;
  color: var(--pm-soft);
  line-height: 1.65;
  padding: 0 20px;
  transition: max-height .35s ease, padding .35s ease;
}
.pm-faq-item.open .pm-faq-a {
  max-height: 300px;
  padding: 0 20px 16px;
}

/* ──────────────────────────────────────────────────────────────────────────
   MOBILE ONLY (max-width: 640px) — Desktop layout is untouched above.
   Surgical fixes for issues observed in the field:
   1. Trust strip: white-space:nowrap on text + 3 fixed columns → overflow.
      Fix: allow text wrap, tighten padding/icon sizes.
   2. Trust features: 4 columns too narrow → 2x2 grid with re-distributed
      borders.
   3. Review cards: flex:0 0 100% without min-width:0 lets long content
      push past flex container → cards overflow clip. Fix: min-width:0.
   4. Slider wrap padding 0 54px steals too much room on a 360px viewport.
      Fix: 0 40px, smaller buttons.
   5. Section negative margins assumed 24px container padding. On mobile
      we tighten container to 16px → match negative margins.
   6. Price card / ATC / installments — proportionally scaled down.
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {

  /* 1. Container — tighter horizontal padding on small screens */
  body.single-product .ast-woocommerce-container {
    padding-left:  16px !important;
    padding-right: 16px !important;
  }

  /* 2. Price card — compact mobile sizing */
  body.single-product .summary .price,
  body.single-product .entry-summary .price {
    padding: 16px 18px 14px !important;
    gap: 10px !important;
    border-radius: 12px 12px 0 0 !important;
  }
  body.single-product .summary .price ins,
  body.single-product .entry-summary .price ins {
    font-size: 32px !important;
  }
  body.single-product .summary .price del,
  body.single-product .entry-summary .price del {
    font-size: 15px !important;
    padding-bottom: 4px !important;
  }
  .pm-save-badge {
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 7px;
  }

  /* 3. Installments row — stack vertically (no longer overflowing) */
  .pm-installments {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 18px;
    border-radius: 0 0 12px 12px !important;
  }
  .pm-installments small { font-size: 11px; }

  /* 4. Trust strip (3 cards) — tighter padding, allow wrap, smaller icons */
  .pm-trust-strip {
    gap: 5px;
    margin-bottom: 10px;
  }
  .pm-trust-item {
    padding: 7px 8px;
    gap: 6px;
    border-radius: 8px;
  }
  .pm-trust-ic {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 11px;
    border-radius: 5px;
  }
  .pm-trust-item b {
    font-size: 11px;
    white-space: normal !important;       /* override desktop nowrap */
    line-height: 1.2 !important;
    margin-bottom: 1px;
  }
  .pm-trust-item > div > span {
    font-size: 9.5px;
    white-space: normal !important;       /* override desktop nowrap */
    line-height: 1.2 !important;
  }

  /* 5. Trust features (4 cards) — 2×2 grid, redistribute borders */
  .pm-trust-features {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 12px;
  }
  .pm-tf-item + .pm-tf-item       { border-right: 0; }
  .pm-tf-item:nth-child(2n)       { border-right: 1px solid var(--pm-line); }
  .pm-tf-item:nth-child(-n+2)     { border-bottom: 1px solid var(--pm-line); }
  .pm-tf-item                     { padding: 10px 6px 9px; }
  .pm-tf-ic                       { font-size: 22px; margin-bottom: 5px; }
  .pm-tf-item b                   { font-size: 11.5px; }

  /* 6. ATC — smaller height, tighter padding */
  body.single-product form.cart .single_add_to_cart_button.button {
    height: 52px !important;
    font-size: 15px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
  }
  body.single-product form.cart .quantity {
    height: 52px !important;
    border-radius: 12px !important;
  }
  .pm-btn-arrow { width: 30px; height: 30px; font-size: 16px; }
  .pm-btn-price { font-size: 14px; }
  body.single-product form.cart .quantity input.qty {
    width: 38px !important;
    font-size: 15px !important;
  }
  .pm-qty-btn { width: 38px !important; font-size: 20px !important; }

  /* 7. Social proof — tighter */
  .pm-social-proof {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 12px;
  }
  .pm-sp-avatars span { width: 24px; height: 24px; font-size: 10px; }

  /* 8. Contents (horizontal scroll) — slightly narrower cards */
  .pm-contents-card { flex-basis: 110px; }

  /* 9. Reviews section — match mobile container padding (-16px) */
  .pm-reviews-section {
    margin: 24px -16px 0;
    padding: 28px 0 24px;
  }
  .pm-reviews-inner       { padding: 0 16px; }
  .pm-reviews-top         { flex-direction: column; gap: 12px; align-items: stretch; }
  .pm-rh-title            { font-size: 20px !important; }
  .pm-rh-sub              { font-size: 12.5px; }

  /* 10. Score card — full-width on mobile, horizontal layout preserved */
  .pm-score-card {
    align-self: stretch;
    padding: 12px 16px;
    justify-content: space-between;
    border-radius: 12px;
  }
  .pm-score-num   { font-size: 34px; }
  .pm-score-stars { font-size: 13px; letter-spacing: 1.5px; }

  /* 11. Slider — narrower wrap padding so cards have room to breathe */
  .pm-slider-wrap { padding: 0 40px; }
  .pm-slider-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .pm-sl-prev { right: 0; }
  .pm-sl-next { left: 0; }

  /* 12. Review card — min-width:0 lets flex actually shrink to 100% of clip */
  .pm-review-card {
    flex: 0 0 100%;
    min-width: 0;                          /* CRITICAL: without this, long
                                              Hebrew content keeps card wider
                                              than 100% and overflows clip. */
    box-sizing: border-box;                /* Ensure padding+border don't
                                              push card past flex-basis 100%
                                              (defensive against themes with
                                              no global box-sizing reset). */
    padding: 16px 16px 14px;
    border-radius: 12px;
  }
  .pm-rc-meta b           { font-size: 12.5px; }
  .pm-rc-meta span        { font-size: 10.5px; }
  .pm-review-card p       { font-size: 12.5px; line-height: 1.6; }

  /* 13. FAQ — match mobile container padding (-16px) */
  .pm-faq-section {
    margin: 0 -16px;
    padding: 28px 0 24px;
  }
  .pm-faq-inner               { padding: 0 16px; }
  .pm-faq-title               { font-size: 20px !important; margin-bottom: 18px !important; }
  .pm-faq-q                   { padding: 14px 16px; font-size: 13.5px; gap: 10px; }
  .pm-faq-a                   { font-size: 12.5px; padding: 0 16px; }
  .pm-faq-item.open .pm-faq-a { padding: 0 16px 14px; }
  .pm-faq-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 16px;
  }

  /* 14. Rating row — tighter spacing, smaller stars */
  .pm-rating-row {
    font-size: 12.5px;
    gap: 6px;
  }
  .pm-stars { font-size: 14px; }

  /* 15. Viewers line drops to its own row below stars/rating/review-count.
        Without this, the dot stays on top row and only the text wraps,
        leaving the dot stranded next to the review count. */
  .pm-viewers-line { flex-basis: 100%; margin-top: 2px; }
  .pm-sep-viewers  { display: none; }

  /* 16. ATC row — stack vertically so button + qty don't get clipped on narrow viewports.
        Button on top (primary CTA), qty below stretched full-width. */
  .pm-atc-row {
    flex-direction: column;
    gap: 8px;
  }
  body.single-product form.cart .quantity {
    width: 100% !important;
    justify-content: space-between !important;
  }
  body.single-product form.cart .quantity input.qty {
    flex: 1 !important;
    width: auto !important;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   FULL-BLEED SECTIONS — break reviews + FAQ out of theme's max-width
   container so their backgrounds extend edge-to-edge of the viewport.
   width:100vw + position:relative + left:50% + negative 50vw margins is
   the standard escape technique. Works regardless of the parent's
   max-width or padding (Astra's .ast-woocommerce-container caps at ~1200px).
   Placed last in file: source order alone overrides the earlier
   `margin: ... -24px ...` declarations and their mobile -16px counterparts,
   so no specificity hacks or !important needed.
   `overflow-x: clip` on body prevents the extra viewport-width from
   triggering a horizontal scrollbar; clip (vs hidden) doesn't break
   position:sticky descendants.
   ────────────────────────────────────────────────────────────────────────── */
body.single-product { overflow-x: clip; }

.pm-reviews-section,
.pm-faq-section {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Cap reviews content on huge monitors so the 3-card row stays readable;
   FAQ-inner already has its own max-width:720px so no change needed there. */
.pm-reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
}
