/* Product page (SLUG.html). Shared by product-details.php (server HTML) and
   oliveshisha-react/src/pages/Product.jsx, so both render the same page.
   Every rule sits under .pdx so nothing leaks into the header, footer or other pages. */

.pdx { background: var(--bg); color: var(--text); font-family: "Albert Sans", sans-serif; -webkit-font-smoothing: antialiased; }
.pdx a { color: inherit; text-decoration: none; }
.pdx button { font-family: inherit; cursor: pointer; }
.pdx .wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.pdx h1, .pdx h2, .pdx h4 { color: var(--text); font-family: inherit; }
.pdx{
    --bg: #141614; --panel: #1b1e1b; --panel-2: #212521; --line: rgba(255,255,255,.09);
    --gold: rgb(235,209,151); --gold-deep: rgb(187,155,73); --text: #fefefe; --muted: rgba(254,254,254,.62);
    --grad: linear-gradient(90deg, rgb(235,209,151) 0%, rgb(187,155,73) 60%);
    --ok: #6fd39a; --warn: #f0b35a; --bad: #ff8f85;
    --ease: cubic-bezier(.2,.7,.2,1);
  }
  .pdx * { box-sizing: border-box; }

  /* preview chrome */

  .pdx .crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 22px 0 6px; font-size: 13px; color: var(--muted); }
  .pdx .crumb a:hover { color: var(--gold); }
  .pdx .crumb .cur { color: var(--text); }

  /* ── main grid ── */
  .pdx .pd { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; padding: 22px 0 70px; align-items: start; }

  /* gallery */
  .pdx .gal { position: sticky; top: 20px; display: grid; grid-template-columns: 86px 1fr; gap: 14px; }
  .pdx .thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow: auto; scrollbar-width: none; }
  .pdx .thumbs::-webkit-scrollbar { display: none; }
  .pdx .thumb { padding: 0; border: 1px solid transparent; border-radius: 3px; overflow: hidden; background: var(--panel); aspect-ratio: 4/5; opacity: .6; transition: opacity .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
  .pdx .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pdx .thumb:hover { opacity: 1; transform: translateY(-2px); }
  .pdx .thumb.on { opacity: 1; border-color: var(--gold); }
  .pdx .stage { position: relative; border-radius: 4px; overflow: hidden; background: var(--panel); aspect-ratio: 4/5; cursor: zoom-in; }
  .pdx .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .45s var(--ease), transform .7s var(--ease); }
  .pdx .stage img.on { opacity: 1; transform: scale(1); }
  .pdx .stage.zoom img.on { transform: scale(1.9); transition: transform .12s linear; }
  .pdx .badge-off { position: absolute; top: 0; left: 0; z-index: 2; padding: 7px 12px; background: var(--gold); color: #141614; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
  .pdx .count { position: absolute; bottom: 14px; right: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: #141614; font-size: 12px; color: #fff; }
  .pdx .nav-btn { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--line); background: #141614; color: #fff; font-size: 18px; opacity: 0; transition: opacity .25s, transform .2s var(--ease), background .2s; }
  .pdx .stage:hover .nav-btn { opacity: 1; }
  .pdx .nav-btn:hover { background: var(--gold); color: #141614; }
  .pdx .nav-btn:active { transform: scale(.94); }
  .pdx .nav-btn.prev { left: 14px; } .pdx .nav-btn.next { right: 14px; }
  /* YouTube slide (normal or Shorts): last in the gallery, iframe only while it is showing */
  .pdx .vid { position: absolute; inset: 0; z-index: 1; display: none; background: #000; }
  .pdx .vid.on { display: block; }
  .pdx .vid iframe { width: 100%; height: 100%; border: 0; display: block; }
  .pdx .stage:has(.vid.on) { cursor: default; }
  .pdx .vthumb { position: relative; }
  .pdx .vthumb::after { content: '\25B6'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 20px; background: rgba(0,0,0,.35); }

  /* buy box */
  .pdx .eyebrow { display: inline-block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
  .pdx .buy h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.12; font-weight: 400; color: var(--text); letter-spacing: -.01em; }
  .pdx .rate-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
  .pdx .stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 15px; letter-spacing: 1px; }
  .pdx .stars .off { color: rgba(255,255,255,.18); }
  .pdx .rate-row a { text-decoration: underline; text-underline-offset: 3px; }
  .pdx .rate-row a:hover { color: var(--gold); }
  .pdx .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding-bottom: 6px; }
  .pdx .price .now { font-size: 36px; font-weight: 600; color: var(--gold); }
  .pdx .price .was { font-size: 18px; color: var(--muted); text-decoration: line-through; }
  .pdx .price .save { color: var(--gold); font-size: 14px; }
  .pdx .tax { font-size: 12.5px; color: var(--muted); margin: 0 0 22px; }
  .pdx .tax b { color: var(--gold); font-weight: 600; font-size: 14px; }
  .pdx .rule { height: 1px; background: var(--line); margin: 22px 0; }

  .pdx .opt-label { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
  .pdx .opt-label b { color: var(--text); font-weight: 600; }
  .pdx .swatches { display: flex; flex-wrap: wrap; gap: 22px; }
  .pdx .sw { display: flex; align-items: center; gap: 8px; padding: 6px 2px 8px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 14px; transition: color .2s, border-color .2s; }
  .pdx .sw i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: block; }
  .pdx .sw:hover { color: var(--text); }
  .pdx .sw.on { color: var(--text); border-bottom-color: var(--gold); }
  .pdx .sw.out { opacity: .45; text-decoration: line-through; }

  .pdx .stock { display: flex; align-items: center; gap: 9px; font-size: 14px; margin: 18px 0 0; }
  .pdx .stock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
  .pdx .stock.low .dot { background: var(--warn); }
  .pdx .stock.out .dot { background: var(--bad); }

  .pdx .cta { display: grid; grid-template-columns: 132px 1fr 54px; gap: 12px; margin-top: 22px; }
  .pdx .qty { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: transparent; height: 54px; }
  .pdx .qty button { background: none; border: 0; color: var(--text); font-size: 20px; height: 100%; }
  .pdx .qty button:hover { color: var(--gold); }
  .pdx .qty output { text-align: center; font-size: 16px; font-weight: 600; }
  .pdx .btn { height: 54px; border-radius: 4px; border: 1px solid transparent; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .18s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; }
  .pdx .btn:active { transform: scale(.975); }
  .pdx .btn.gold { background: var(--grad); color: #141614; }
  .pdx .btn.gold:hover { filter: brightness(1.06); }
  .pdx .btn.ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.22); width: 100%; margin-top: 12px; }
  .pdx .btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
  .pdx .btn.icon { background: var(--panel); border-color: var(--line); color: var(--text); font-size: 20px; }
  .pdx .btn.icon.on, .pdx .btn.icon:hover { color: var(--gold); border-color: var(--gold); }
  .pdx .btn.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transition: transform .25s var(--ease), fill .2s; }
  .pdx .btn.icon:hover svg { transform: scale(1.1); }
  .pdx .btn.icon.on { background: rgba(235,209,151,.1); }
  .pdx .btn.icon.on svg { fill: currentColor; animation: pdx-heart .45s var(--ease); }
  @keyframes pdx-heart { 35% { transform: scale(1.3); } 60% { transform: scale(.92); } }
  @media (prefers-reduced-motion: reduce) { .pdx .btn.icon.on svg { animation: none; } }
  .pdx .btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }

  .pdx .pin { display: flex; gap: 10px; margin-top: 22px; }
  .pdx .pin input { flex: 1; height: 48px; border-radius: 4px; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 0 14px; font-size: 14.5px; outline: none; transition: border-color .2s; }
  .pdx .pin input:focus { border-color: var(--gold); }
  .pdx .pin button { height: 48px; padding: 0 18px; border-radius: 4px; border: 1px solid rgba(187,155,73,.5); background: transparent; color: var(--gold); font-weight: 600; font-size: 14px; }
  .pdx .pin-msg { font-size: 13.5px; color: var(--muted); margin-top: 9px; min-height: 20px; }
  .pdx .pin-msg.ok { color: var(--ok); } .pdx .pin-msg.err { color: var(--bad); }

  .pdx .trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 26px; border-top: 1px solid var(--line); }
  .pdx .trust div { display: flex; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
  .pdx .trust svg { flex: none; color: var(--gold); }
  .pdx .trust small { display: block; color: var(--muted); font-size: 12.5px; }

  /* accordions */
  .pdx .acc { border-top: 1px solid var(--line); margin-top: 26px; }
  .pdx .acc details { border-bottom: 1px solid var(--line); }
  .pdx .acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; font-size: 16px; font-weight: 600; cursor: pointer; }
  .pdx .acc summary::-webkit-details-marker { display: none; }
  .pdx .acc summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--gold); transition: transform .3s var(--ease); }
  .pdx .acc details[open] summary::after { transform: rotate(45deg); }
  .pdx .acc .body { padding: 0 2px 20px; color: var(--muted); font-size: 15px; line-height: 1.75; }
  .pdx .acc .body p { margin: 0 0 12px; }
  .pdx .acc table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
  .pdx .acc td, .pdx .acc th { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); font-weight: 400; }
  .pdx .acc tr > *:first-child { color: var(--text); width: 42%; }

  /* sections */
  .pdx section.block { padding: 70px 0; border-top: 1px solid var(--line); }
  .pdx .h2 { margin: 0 0 30px; font-size: 30px; font-weight: 400; letter-spacing: -.01em; }
  .pdx .sub { color: var(--muted); margin: 0 0 34px; font-size: 15.5px; }

  /* bundle */
  .pdx .fbt-wrap { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.03); }
  .pdx .fbt-wrap .h2 { margin-bottom: 24px; }
  .pdx .fbt { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
  .pdx .fbt-item { position: relative; flex: 1 1 200px; max-width: 220px; padding: 12px 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); text-align: center; cursor: pointer; transition: opacity .25s, border-color .2s; }
  .pdx .fbt-item.on:hover { border-color: rgba(187,155,73,.45); }
  .pdx .fbt-item.this::after { content: "This item"; position: absolute; top: 20px; right: 20px; padding: 3px 9px; border-radius: 100px; font-size: 10.5px; font-weight: 600; letter-spacing: .03em; color: #141614; background: var(--gold); }
  .pdx .fbt-item:hover { opacity: 1; }
  .pdx .fbt-item.off { opacity: .45; }
  .pdx .fbt-item.on { opacity: 1; }
  .pdx .fbt-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 12px; }
  .pdx .fbt-item input { position: absolute; z-index: 1; top: 20px; left: 20px; width: 20px; height: 20px; accent-color: rgb(187,155,73); }
  .pdx .fbt-item .n { font-size: 14.5px; line-height: 1.35; margin-bottom: 6px; }
  .pdx .fbt-item .p { color: var(--gold); font-weight: 600; }
  .pdx .fbt-plus { align-self: center; font-size: 26px; color: var(--muted); }
  .pdx .fbt-sum { flex: 0 1 280px; margin-left: auto; display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: right; }
  .pdx .fbt-sum .t { font-size: 26px; font-weight: 600; }
  .pdx .fbt-sum .s { color: var(--ok); font-size: 14px; min-height: 20px; }

  .pdx .btn.line { width: 100%; background: transparent; color: var(--gold); border-color: rgba(187,155,73,.6); }
  .pdx .btn.line:hover { background: var(--gold); color: #141614; border-color: var(--gold); }

  /* reviews: summary strip on top, one readable column below */
  .pdx .h2 small { font-size: 16px; color: var(--muted); margin-left: 8px; }
  .pdx .rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; padding-bottom: 30px; }
  .pdx .rv-big { display: flex; align-items: center; gap: 16px; }
  .pdx .rv-big b { font-size: 48px; font-weight: 500; line-height: 1; }
  .pdx .rv-big .stars { font-size: 17px; }
  .pdx .rv-big small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
  .pdx .bars { display: grid; gap: 6px; width: 260px; }
  .pdx .bar { display: grid; grid-template-columns: 26px 1fr 20px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); background: none; border: 0; padding: 0; text-align: left; }
  .pdx .bar:hover { color: var(--text); }
  .pdx .bar .track { height: 4px; background: rgba(255,255,255,.08); }
  .pdx .bar .fill { display: block; height: 100%; background: var(--gold); }
  .pdx .rv-head .btn.line { width: auto; padding: 0 28px; height: 46px; margin-left: auto; }
  .pdx .rv-body { max-width: 820px; }
  .pdx .chips { display: flex; flex-wrap: wrap; gap: 24px; border-bottom: 1px solid var(--line); }
  .pdx .chip { padding: 0 0 12px; margin-bottom: -1px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 14px; }
  .pdx .chip.on, .pdx .chip:hover { color: var(--text); border-bottom-color: var(--gold); }
  /* .card is also a Bootstrap class (white box): reset it to a plain row */
  .pdx .card { padding: 26px 0; background: transparent; color: inherit; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .pdx .card-top { display: flex; align-items: center; gap: 12px; }
  .pdx .card h4 { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
  .pdx .card p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; font-size: 15px; }
  .pdx .card .meta { margin-top: 12px; font-size: 13px; color: var(--muted); }
  .pdx .card .meta b { color: var(--text); font-weight: 500; }
  .pdx .reply { margin-top: 16px; padding: 14px 16px; background: var(--panel); font-size: 14.5px; line-height: 1.6; color: var(--muted); }
  .pdx .reply b { color: var(--text); display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
  .pdx .helpful { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; gap: 14px; align-items: center; }
  .pdx .helpful button { background: none; border: 0; color: var(--muted); padding: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
  .pdx .helpful button:hover { color: var(--text); }

  .pdx .form { display: none; padding: 26px 0; border-bottom: 1px solid var(--line); }
  .pdx .form.open { display: block; }
  .pdx .form h4 { margin: 0 0 16px; font-size: 18px; color: var(--text); }
  .pdx .pick { display: flex; gap: 6px; margin-bottom: 16px; }
  .pdx .pick button { background: none; border: 0; font-size: 28px; color: rgba(255,255,255,.2); padding: 0; }
  .pdx .pick button.on { color: var(--gold); }
  .pdx .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .pdx .form input, .pdx .form textarea { width: 100%; border-radius: 4px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 13px 14px; font-size: 14.5px; font-family: inherit; margin-bottom: 12px; outline: none; }
  .pdx .form input:focus, .pdx .form textarea:focus { border-color: var(--gold); }
  .pdx .form textarea { min-height: 110px; resize: vertical; }
  .pdx .form .btn.line { width: auto; padding: 0 28px; }
  .pdx .form .hint { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

  /* related */
  .pdx .rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .pdx .rel a { display: block; }
  .pdx .rel .im { border-radius: 3px; overflow: hidden; aspect-ratio: 4/5; background: var(--panel); margin-bottom: 12px; }
  .pdx .rel img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pdx .rel .n { font-size: 15px; margin-bottom: 4px; text-underline-offset: 3px; }
  .pdx .rel a:hover .n { text-decoration: underline; }
  .pdx .rel .p { color: var(--muted); }

  /* sticky bar */
  .pdx .bar-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--bg); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .pdx .bar-buy.show { transform: none; }
  .pdx .bar-buy .in { display: flex; align-items: center; gap: 16px; padding: 12px 24px; max-width: 1320px; margin: 0 auto; }
  .pdx .bar-buy img { width: 46px; height: 56px; object-fit: cover; border-radius: 3px; }
  .pdx .bar-buy .t { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pdx .bar-buy .p { color: var(--muted); font-size: 14.5px; }
  .pdx .bar-buy .grow { flex: 1; min-width: 0; }
  .pdx .bar-buy .btn { height: 48px; padding: 0 26px; }

  @media (max-width: 1100px) {
    .pdx .pd { grid-template-columns: 1fr; gap: 30px; }
    .pdx .gal { position: static; grid-template-columns: 1fr; }
    .pdx .thumbs { flex-direction: row; order: 2; max-height: none; }
    .pdx .thumb { flex: 0 0 68px; }
    .pdx .rel { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .pdx .buy h1 { font-size: 29px; } .pdx .price .now { font-size: 31px; }
    .pdx .cta { grid-template-columns: 112px 1fr 52px; }
    .pdx .trust { grid-template-columns: 1fr; }
    .pdx .h2 { font-size: 25px; } .pdx section.block { padding: 48px 0; }
    .pdx .form .row { grid-template-columns: 1fr; }
    .pdx .fbt-wrap { padding: 20px 16px; } .pdx .fbt-item { max-width: none; flex-basis: 140px; } .pdx .fbt-plus { display: none; } .pdx .fbt-sum { flex-basis: 100%; text-align: left; }
    .pdx .bars { width: 100%; } .pdx .rv-head .btn.line { width: 100%; margin-left: 0; }
    .pdx .bar-buy .in { padding: 10px 16px; gap: 10px; } .pdx .bar-buy img { display: none; } .pdx .bar-buy .btn { padding: 0 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .pdx *, .pdx *::before, .pdx *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  }

/* ── added for the live page ── */
@media (max-width: 640px) { .pdx .wrap { padding: 0 16px; } }
.pdx .gal { top: 100px; }                                  /* clear the site's sticky header */
.pdx .stage img { cursor: zoom-in; }
.pdx .stage img:only-of-type ~ .nav-btn { display: none; }
.pdx .sw-out-note { font-size: 13px; color: var(--muted); }
.pdx .buy form { margin: 0; }
.pdx .cta form .btn { width: 100%; }
.pdx .btn.ghost { margin-top: 12px; }
.pdx .ghost-form .btn.ghost { margin-top: 0; }
.pdx .buy .ghost-form { margin-top: 12px; }

/* reviews: nothing approved yet */
.pdx .rv-empty { padding: 26px 0; color: var(--muted); font-size: 15px; border-bottom: 1px solid var(--line); }
.pdx .rv-msg { font-size: 14px; margin: 12px 0 0; min-height: 20px; }
.pdx .rv-msg.ok { color: var(--ok); } .pdx .rv-msg.err { color: var(--bad); }
.pdx .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* "Email me when it's back" (out of stock) */
.pdx .form.notify { padding: 18px 0 0; border-bottom: 0; }
.pdx .form.notify h4 { font-size: 15px; margin-bottom: 10px; }
.pdx .notify-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.pdx .notify-row input { margin-bottom: 0; }
.pdx .notify-msg { margin: 14px 0 0; font-size: 14px; }
.pdx .notify-msg.ok { color: var(--gold); }
.pdx .notify-msg.err { color: var(--bad); margin-top: 8px; }
@media (max-width: 480px) { .pdx .notify-row { grid-template-columns: 1fr; } }

/* related: a scroll-snap slider, six across on desktop */
.pdx .rel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.pdx .rel-head .h2 { margin: 0; }
.pdx .rel-nav { display: flex; gap: 8px; }
.pdx .rel-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 18px; line-height: 1; }
.pdx .rel-nav button:hover { border-color: var(--gold); color: var(--gold); }
.pdx .rel-nav button[disabled] { opacity: .3; cursor: default; border-color: var(--line); color: var(--text); }
.pdx .rel { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 5 * 20px) / 6); gap: 20px;
            overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pdx .rel::-webkit-scrollbar { display: none; }
.pdx .rel a { scroll-snap-align: start; }
.pdx .rel .n { font-size: 14px; }
@media (max-width: 1100px) { .pdx .rel { grid-template-columns: none; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; } }
@media (max-width: 640px)  { .pdx .rel { grid-auto-columns: 42%; gap: 12px; } .pdx .rel-nav { display: none; } }

/* Bootstrap's .row adds negative side margins; the review form's two-up row must not. */
.pdx .form .row { margin: 0; }
.pdx .form .row > * { width: 100%; padding: 0; margin-top: 0; }
.pdx .rv-msg:empty { display: none; }
/* Below 1150px the site has its own fixed bottom toolbar plus floating WhatsApp/call buttons,
   which would cover a second bar, so the buy bar is desktop-only. */
@media (max-width: 1150px) { .pdx .bar-buy { display: none; } }
@media (max-width: 640px) {
  .pdx .fbt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .pdx .fbt-item { max-width: none; }
  .pdx .fbt-sum { grid-column: 1 / -1; }
}
