/*
 * Redesign mounts3d.ro — pagina de produs (inc/redesign/product.php).
 * Canvas: PDP-Chin-Mobile / PDP-Chin-Desktop, PDP-Can-*. Mobil întâi.
 *
 * Pagina e cea din WooCommerce + Blocksy, cu piesele pluginurilor (kiturile din woobt-ui,
 * reducerea la cantitate, ETA, siguranța, garanția). Aici doar se restilizează, sub
 * body.m3d-rd: specificitatea trece peste woobt-ui.css și style.css fără !important.
 */

/* ── Pagina: fără „cutia” cu chenar pe care Blocksy o pune pe mobil ──────────────────── */
body.m3d-rd[data-prefix="product"] [class*="ct-container"] > article[class*="post"] {
  --has-boxed: var(--false);
  --has-wide: var(--true);
  --theme-boxed-content-border: none;
  --theme-boxed-content-spacing: 0px;
  --theme-boxed-content-box-shadow: none;
  --theme-boxed-content-border-radius: 0px;
  background-color: transparent;
}
body.m3d-rd.single-product .ct-container-full[data-vertical-spacing] { padding-top: 8px; }
body.m3d-rd.single-product .product-entry-wrapper { --product-gallery-width: 50%; }

/* ── Firul de navigare ───────────────────────────────────────────────────────────────── */
body.m3d-rd.single-product .ct-breadcrumbs {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
  color: var(--rd-muted);
}
body.m3d-rd.single-product .ct-breadcrumbs a { color: var(--rd-muted); text-decoration: none; }
body.m3d-rd.single-product .ct-breadcrumbs a:hover { color: var(--rd-ink); }
body.m3d-rd.single-product .ct-breadcrumbs .last-item { color: var(--rd-ink); font-weight: 600; }
body.m3d-rd.single-product .ct-breadcrumbs .ct-separator { width: 7px; height: 7px; margin-inline: 6px; opacity: .6; }
/* Pe un rând: numele lung al produsului se taie cu „…”. */
body.m3d-rd.single-product .ct-breadcrumbs { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; overflow: hidden; white-space: nowrap; }
body.m3d-rd.single-product .ct-breadcrumbs > span { display: inline-flex; align-items: center; flex: none; }
body.m3d-rd.single-product .ct-breadcrumbs > span.last-item { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ── Galeria (aceeași, rotunjită; miniaturile pe un rând) ────────────────────────────── */
body.m3d-rd.single-product .woocommerce-product-gallery .flexy-view,
body.m3d-rd.single-product .woocommerce-product-gallery .flexy-items {
  border-radius: 26px;
  overflow: hidden;
  background: #FFFFFF;
}
body.m3d-rd.single-product .woocommerce-product-gallery .flexy-item figure { border-radius: 0; }
body.m3d-rd.single-product .woocommerce-product-gallery__trigger {
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
}
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] { margin-top: 10px; }
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] ol {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0 0 2px;
  overflow-x: auto;
  scrollbar-width: none;
  --thumbs-spacing: 8px;
}
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] ol::-webkit-scrollbar { display: none; }
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] li {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
  opacity: 1;
}
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] li.active { border-color: var(--rd-ink); }
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] li .ct-media-container,
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] li img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] li::after { content: none; }
@media (min-width: 1000px) {
  body.m3d-rd.single-product .flexy-pills[data-type="thumbs"] li { flex-basis: 84px; width: 84px; height: 84px; border-radius: 18px; }
}
/*
 * Banda de miniaturi urmărește poza curentă (product.js). Când nu încap toate, capătul cu
 * miniaturi ascunse se estompează, iar cu mouse-ul apare acolo un buton care derulează banda.
 */
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"].rd-more-r ol {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"].rd-more-l ol {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px);
  mask-image: linear-gradient(90deg, transparent, #000 40px);
}
body.m3d-rd.single-product .flexy-pills[data-type="thumbs"].rd-more-l.rd-more-r ol {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
body.m3d-rd.single-product .rd-thumbs__btn { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.m3d-rd.single-product .rd-thumbs__btn {
    position: absolute;
    top: calc(50% - 19px);
    z-index: 1;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, .95);
    color: var(--rd-ink);
    box-shadow: var(--rd-shadow-sm);
    cursor: pointer;
  }
  body.m3d-rd.single-product .rd-thumbs__btn:hover { background: #FFFFFF; box-shadow: var(--rd-shadow); }
  body.m3d-rd.single-product .rd-thumbs__btn--prev { left: 2px; }
  body.m3d-rd.single-product .rd-thumbs__btn--prev .rd-ico { transform: rotate(90deg); }
  body.m3d-rd.single-product .rd-thumbs__btn--next { right: 2px; }
  body.m3d-rd.single-product .rd-thumbs__btn--next .rd-ico { transform: rotate(-90deg); }
  body.m3d-rd.single-product .flexy-pills.rd-more-l .rd-thumbs__btn--prev,
  body.m3d-rd.single-product .flexy-pills.rd-more-r .rd-thumbs__btn--next { display: flex; }
}

/* ── Coloana de cumpărare ────────────────────────────────────────────────────────────── */
body.m3d-rd.single-product .entry-summary-items > * { --product-element-spacing: 14px; }
body.m3d-rd.single-product .entry-summary-items > .product_title { --product-element-spacing: 16px; }
body.m3d-rd.single-product .entry-summary-items > .woocommerce-product-rating { --product-element-spacing: 10px; }
body.m3d-rd.single-product .entry-summary-items > .price { --product-element-spacing: 10px; }
body.m3d-rd.single-product .entry-summary-items > .m3d-finder-link { --product-element-spacing: 18px; }

/* Spațierile sunt marginile de jos ale fiecărui element (Blocksy le pune prin
   --product-element-spacing, dar regulile de mai jos le-ar fi anulat cu margin: 0). */
body.m3d-rd.single-product .product_title {
  margin: 4px 0 16px;
  font-family: var(--rd-font);
  font-size: clamp(32px, 9vw, 40px);
  font-weight: 700;
  font-stretch: var(--rd-display-stretch);
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--rd-ink);
  text-wrap: balance;
}
body.m3d-rd.single-product .rd-pdp__tail {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  font-stretch: 100%;
  line-height: 1.4;
  text-transform: none;
  color: var(--rd-muted);
  text-wrap: pretty;
}
@media (min-width: 1000px) {
  body.m3d-rd.single-product .product_title { font-size: clamp(40px, 3.6vw, 56px); }
  body.m3d-rd.single-product .rd-pdp__tail { font-size: 15px; }
}

body.m3d-rd.single-product .entry-summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--rd-muted);
}
body.m3d-rd.single-product .entry-summary .star-rating { color: var(--rd-star); font-size: 14px; }
body.m3d-rd.single-product .entry-summary .woocommerce-review-link { color: var(--rd-muted); text-decoration: none; }
body.m3d-rd.single-product .entry-summary .woocommerce-review-link:hover { color: var(--rd-ink); text-decoration: underline; }

body.m3d-rd.single-product .entry-summary > .price {
  margin: 0 0 14px;
  font-family: var(--rd-font);
  font-size: 32px;
  font-weight: 700;
  font-stretch: 82%;
  line-height: 1.05;
  color: var(--rd-ink);
}
body.m3d-rd.single-product .entry-summary > .price del { margin-right: 6px; font-size: 18px; font-weight: 500; color: var(--rd-muted); }
body.m3d-rd.single-product .entry-summary > .price ins { text-decoration: none; }

/* „Găsește pentru altă cască” */
body.m3d-rd.single-product .m3d-finder-link { margin: 0 0 22px; font-size: 14px; }
body.m3d-rd.single-product .m3d-finder-link a { color: var(--rd-accent-text); font-weight: 600; }

/* „Explorează”: marca + accesoriile (sau categoria), la capătul coloanei de cumpărare */
body.m3d-rd.single-product .entry-summary-items > .rd-pdp-explore { --product-element-spacing: 0px; }
body.m3d-rd.single-product .rd-pdp-explore {
  display: flex;
  flex-direction: column;
  margin: 8px 0 0;
  border-top: 1px solid var(--rd-line);
}
body.m3d-rd.single-product .rd-pdp-explore__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--rd-line);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rd-ink);
  text-decoration: none;
}
body.m3d-rd.single-product .rd-pdp-explore__link .rd-ico { flex: none; color: var(--rd-muted); transition: transform .15s var(--rd-ease), color .15s var(--rd-ease); }
body.m3d-rd.single-product .rd-pdp-explore__link:hover .rd-ico { color: var(--rd-ink); transform: translateX(3px); }

/* În stoc + ETA: un rând de text, ca în canvas */
body.m3d-rd.single-product .entry-summary p.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--rd-ok-fg);
}
body.m3d-rd.single-product .entry-summary p.stock.in-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #22A06B;
}
body.m3d-rd.single-product .m3d-single-slim { margin: 0 !important; }
body.m3d-rd.single-product .m3d-single-slim .m3d-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--rd-muted);
}
body.m3d-rd.single-product .m3d-single-slim .m3d-line svg { flex: none; margin-top: 2px; color: var(--rd-muted); }

/* ── Pachetele (kiturile WPC, desenate de woobt-ui.js) ───────────────────────────────── */
body.m3d-rd.single-product .m3d-bundle-ui { margin: 6px 0 4px; overflow: visible; }
body.m3d-rd.single-product .m3d-bundle-selector { margin: 0 0 16px; }
body.m3d-rd.single-product .m3d-bundle-selector__label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rd-ink);
}
body.m3d-rd.single-product .m3d-cam-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; }
body.m3d-rd.single-product .m3d-cam-chip {
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--rd-line);
  border-radius: var(--rd-r-pill);
  background: var(--rd-bg);
  color: var(--rd-ink);
  font-family: var(--rd-font);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
body.m3d-rd.single-product .m3d-cam-chip:hover { border-color: var(--rd-ink); }
body.m3d-rd.single-product .m3d-cam-chip.is-active { border-color: var(--rd-ink); background: var(--rd-ink); color: var(--rd-bg); box-shadow: none; }

body.m3d-rd.single-product .m3d-bundle-ui__grid { gap: 8px; }
body.m3d-rd.single-product .m3d-card,
body.m3d-rd.single-product .m3d-card[data-mode="bundle"] {
  min-height: 72px;
  padding: 14px 16px 14px 50px;
  border: 1.5px solid var(--rd-line);
  border-radius: 20px;
  background: var(--rd-bg);
  box-shadow: none;
  color: var(--rd-ink);
  overflow: hidden;
  transition: border-color .15s var(--rd-ease), background-color .15s var(--rd-ease);
}
body.m3d-rd.single-product .m3d-card[data-mode="bundle"]::before { content: none; }
body.m3d-rd.single-product .m3d-card:hover { border-color: var(--rd-muted); }
body.m3d-rd.single-product .m3d-card.is-selected,
body.m3d-rd.single-product .m3d-card[data-mode="bundle"].is-selected {
  border: 2px solid var(--rd-ink);
  padding: 13.5px 15.5px 13.5px 49.5px;
  background: var(--rd-s1);
  box-shadow: none;
}
body.m3d-rd.single-product .m3d-card.is-compat { box-shadow: 0 0 0 2px var(--rd-ok-fg); }
body.m3d-rd.single-product .m3d-card.is-dimmed { opacity: .5; filter: none; }

body.m3d-rd.single-product .m3d-card__radio {
  top: 50%;
  left: 16px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 2px solid var(--rd-line);
  background: var(--rd-bg);
}
body.m3d-rd.single-product .m3d-card:has(.m3d-card__details:not(:empty)).is-selected .m3d-card__radio { top: 26px; margin-top: 0; }
body.m3d-rd.single-product .m3d-card.is-selected .m3d-card__radio { border-color: var(--rd-ink); }
body.m3d-rd.single-product .m3d-card__radio::after { inset: 4px; background: var(--rd-ink); }

body.m3d-rd.single-product .m3d-card__top { align-items: center; padding-right: 0; }
body.m3d-rd.single-product .m3d-card__name { font-family: var(--rd-font); font-size: 16px; font-weight: 700; line-height: 1.25; }
body.m3d-rd.single-product .m3d-card__sub { font-size: 13px; color: var(--rd-muted); opacity: 1; }
body.m3d-rd.single-product .m3d-card__price { align-self: center; margin: 0; }
body.m3d-rd.single-product .m3d-card__now { font-family: var(--rd-font); font-size: 20px; font-weight: 700; font-stretch: 82%; }
body.m3d-rd.single-product .m3d-card__was { font-size: 12px; color: var(--rd-muted); opacity: 1; }

/* Insigna kitului: o etichetă mică deasupra numelui, nu panglica din colț. */
body.m3d-rd.single-product .m3d-badge {
  position: static;
  display: inline-flex;
  align-self: flex-start;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  margin: 0 0 4px;
  padding: 2px 8px;
  border-radius: var(--rd-r-xs);
  background: var(--rd-ok-bg);
  box-shadow: none;
  color: var(--rd-ok-fg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  transform: none;
}
body.m3d-rd.single-product .m3d-badge--premium { background: var(--rd-warn-bg); color: var(--rd-warn-fg); }
body.m3d-rd.single-product .m3d-badge--ultimate { background: var(--rd-ink); color: var(--rd-bg); }

/* Detaliile: doar la pachetul ales, compacte. */
body.m3d-rd.single-product .m3d-card__details,
body.m3d-rd.single-product .m3d-card[data-mode="only"] .m3d-card__details { display: none; }
body.m3d-rd.single-product .m3d-card.is-selected .m3d-card__details {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rd-line);
  opacity: 1;
  filter: none;
}
body.m3d-rd.single-product .m3d-rows { gap: 0; border: 0; }
body.m3d-rd.single-product .m3d-row {
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: none;
}
body.m3d-rd.single-product .m3d-row__title,
body.m3d-rd.single-product .m3d-row__link { font-size: 13px; font-weight: 600; color: var(--rd-ink); }
body.m3d-rd.single-product .m3d-row__price { font-size: 13px; color: var(--rd-muted); }
body.m3d-rd.single-product .m3d-thumb { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: #FFFFFF; }
body.m3d-rd.single-product .m3d-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.m3d-rd.single-product .m3d-plus { margin: 0; padding: 0 0 0 12px; border: 0; background: none; font-size: 12px; color: var(--rd-muted); }
body.m3d-rd.single-product .m3d-plus::before,
body.m3d-rd.single-product .m3d-plus::after { content: none; }
body.m3d-rd.single-product .m3d-only-media { flex-direction: row; align-items: center; gap: 12px; }
body.m3d-rd.single-product .m3d-only-media__link { flex: none; width: 96px; height: 96px; border: 0; border-radius: 14px; }
body.m3d-rd.single-product .m3d-only-media__link img { height: 100%; max-height: none; object-fit: contain; }
body.m3d-rd.single-product .m3d-only-media__zoom { right: 4px; bottom: 4px; width: 24px; height: 24px; font-size: 12px; }
body.m3d-rd.single-product .m3d-only-media__cap { text-align: left; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--rd-muted); }
body.m3d-rd.single-product .m3d-note { font-size: 13px; color: var(--rd-muted); }

/* ── Conținutul unui kit (WPC Product Bundles): listă compactă, ca „În cutie” ────────── */
body.m3d-rd.single-product .woosb-wrap { margin: 0 0 4px; }
body.m3d-rd.single-product .woosb-products {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 4px 14px;
  border: 0;
  border-radius: 20px;
  background: var(--rd-s1);
}
body.m3d-rd.single-product .woosb-products .woosb-product {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: auto;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--rd-line);
  background: none;
  text-align: left;
}
body.m3d-rd.single-product .woosb-products .woosb-product:last-child { border-bottom: 0; }
/* woosb pune „width: 100% !important” pe coloanele cardului (aranjarea în grilă); aici rândul are
   miniatură + text, deci doar aceste două proprietăți trebuie întoarse tot cu !important. */
body.m3d-rd.single-product .woosb-products .woosb-product > .woosb-thumb { flex: 0 0 56px !important; width: 56px !important; margin: 0; padding: 0; }
body.m3d-rd.single-product .woosb-products .woosb-product > .woosb-title { flex: 1 1 auto !important; width: auto !important; }
body.m3d-rd.single-product .woosb-products .woosb-thumb img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #FFFFFF;
  object-fit: cover;
}
body.m3d-rd.single-product .woosb-products .woosb-title { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; text-align: left; }
body.m3d-rd.single-product .woosb-products .woosb-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
body.m3d-rd.single-product .woosb-products .woosb-name a { color: var(--rd-ink); text-decoration: none; }
body.m3d-rd.single-product .woosb-products .woosb-name a:hover { text-decoration: underline; }
body.m3d-rd.single-product .woosb-products .woosb-price { margin-top: 2px; font-size: 13px; color: var(--rd-muted); }
body.m3d-rd.single-product .woosb-products .woosb-availability { display: none; }

/* ── Cantitate + „Adaugă în coș” ─────────────────────────────────────────────────────── */
body.m3d-rd.single-product .entry-summary form.cart { margin: 4px 0 0; }
body.m3d-rd.single-product .entry-summary .ct-cart-actions { display: flex; flex-wrap: nowrap; gap: 8px; align-items: stretch; }
body.m3d-rd.single-product .entry-summary .ct-cart-actions > * { width: auto; }
body.m3d-rd.single-product .entry-summary .quantity {
  --quantity-height: 56px;
  --quantity-width: 120px;
  --quantity-initial-color: transparent;
  --quantity-hover-color: var(--rd-s1);
  --quantity-arrows-initial-color: var(--rd-ink);
  --quantity-arrows-hover-color: var(--rd-ink);
  flex: 0 0 120px;
  width: 120px;
  height: 56px;
  border: 1.5px solid var(--rd-line);
  border-radius: var(--rd-r-pill);
  overflow: hidden;
}
body.m3d-rd.single-product .entry-summary .quantity input.qty {
  height: 100%;
  border: 0;
  background: transparent;
  font-family: var(--rd-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--rd-ink);
}
body.m3d-rd.single-product .entry-summary .quantity .ct-increase,
body.m3d-rd.single-product .entry-summary .quantity .ct-decrease { color: var(--rd-ink); border: 0; }
body.m3d-rd.single-product .entry-summary .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--rd-r-pill);
  background: var(--rd-accent);
  color: var(--rd-on-accent);
  font-family: var(--rd-font);
  font-size: 17px;
  font-weight: 700;
}
body.m3d-rd.single-product .entry-summary .single_add_to_cart_button:hover { background: var(--rd-accent-hover); color: var(--rd-on-accent); }

/* Reducerea la cantitate */
body.m3d-rd.single-product .m3d-cmp-vol {
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: var(--rd-s1);
}
body.m3d-rd.single-product .m3d-cmp-vol__title { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--rd-ink); }
body.m3d-rd.single-product .m3d-cmp-vol__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.m3d-rd.single-product .m3d-cmp-vol__list li {
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-r-pill);
  background: var(--rd-bg);
  font-size: 13px;
}
body.m3d-rd.single-product .m3d-cmp-vol__note { margin: 8px 0 0; font-size: 12px; color: var(--rd-muted); }

/* Logo-urile de plată (Stripe) */
body.m3d-rd.single-product .ct-payment-methods {
  margin: 0;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid var(--rd-line);
  border-radius: 0;
  text-align: left;
}
body.m3d-rd.single-product .ct-payment-methods legend {
  position: static;
  margin: 0 0 6px;
  padding: 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--rd-muted);
  transform: none;
}

/* ── Sub galerie / după buton: descriere, siguranță, insigne, garanție ───────────────── */
body.m3d-rd.single-product .m3d-info-col .woocommerce-product-details__short-description { font-size: 15px; line-height: 1.55; color: var(--rd-muted); }
body.m3d-rd.single-product .m3d-info-col .woocommerce-product-details__short-description strong { color: var(--rd-ink); }
body.m3d-rd.single-product .m3d-safety-notice {
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: var(--rd-warn-bg);
  color: var(--rd-warn-fg);
}
body.m3d-rd.single-product .m3d-safety-notice p { margin: 0; font-size: 14px; line-height: 1.5; color: inherit; }
body.m3d-rd.single-product .m3d-safety-notice a { color: inherit; font-weight: 700; }

body.m3d-rd.single-product .m3d-trust-badges { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.m3d-rd.single-product .m3d-trust-rating { padding: 0 0 2px; border: 0; }
body.m3d-rd.single-product .m3d-trust-rating__label { color: var(--rd-muted); }
body.m3d-rd.single-product .m3d-trust-rating__stars-fill { color: var(--rd-star); }
body.m3d-rd.single-product .m3d-tb__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
}
body.m3d-rd.single-product .m3d-tb__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--rd-s1);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--rd-ink);
}
body.m3d-rd.single-product .m3d-tb__item::before { content: none; }
body.m3d-rd.single-product .m3d-tb__item svg { flex: none; color: var(--rd-ok-fg); }
body.m3d-rd.single-product .m3d-tb__link { color: var(--rd-ink); text-decoration: underline; text-underline-offset: 3px; }

body.m3d-rd.single-product .m3d-gn-thumb {
  border: 1px solid var(--rd-line);
  border-radius: 16px;
  background: var(--rd-bg);
}
body.m3d-rd.single-product .m3d-gn-thumb__title { color: var(--rd-ink); font-weight: 700; }
body.m3d-rd.single-product .m3d-gn-thumb__cta { color: var(--rd-accent-text); }

/* ── Acordeonul (în locul tab-urilor) ────────────────────────────────────────────────── */
body.m3d-rd.single-product .rd-pdp-details {
  max-width: var(--rd-max);
  margin: 28px auto 0;
  padding-inline: var(--rd-gutter);
}
body.m3d-rd.single-product .rd-acc__item { border-top: 1px solid var(--rd-line); }
body.m3d-rd.single-product .rd-acc__item:last-of-type { border-bottom: 1px solid var(--rd-line); }
body.m3d-rd.single-product .rd-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 8px 0;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--rd-ink);
  cursor: pointer;
}
body.m3d-rd.single-product .rd-acc__head::-webkit-details-marker { display: none; }
body.m3d-rd.single-product .rd-acc__head .rd-ico { flex: none; transition: transform .2s var(--rd-ease); }
body.m3d-rd.single-product .rd-acc__item[open] > .rd-acc__head .rd-ico { transform: rotate(45deg); }
body.m3d-rd.single-product .rd-acc__body {
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rd-ink);
  scroll-margin-top: 90px;
}
body.m3d-rd.single-product .rd-acc__body [id] { scroll-margin-top: 90px; }
body.m3d-rd.single-product .rd-acc__body > :first-child { margin-top: 0; }
body.m3d-rd.single-product .rd-acc__body h2 { font-size: 22px; font-stretch: 82%; text-transform: uppercase; line-height: 1.05; }
body.m3d-rd.single-product .rd-acc__body h3 { font-size: 17px; }
/* Tabelele (specificații, greutate și dimensiuni): etichetă | valoare pe toate ecranele. */
body.m3d-rd.single-product .rd-acc__body .m3d-tab-tablewrap { margin: 0 0 16px; }
body.m3d-rd.single-product .rd-acc__body table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; }
body.m3d-rd.single-product .rd-acc__body tr {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 12px;
  border-bottom: 1px solid var(--rd-line);
}
body.m3d-rd.single-product .rd-acc__body tr:last-child { border-bottom: 0; }
body.m3d-rd.single-product .rd-acc__body th,
body.m3d-rd.single-product .rd-acc__body td {
  display: block;
  width: auto;
  padding: 10px 0;
  border: 0;
  background: none;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}
body.m3d-rd.single-product .rd-acc__body th { font-weight: 500; color: var(--rd-muted); }
body.m3d-rd.single-product .rd-acc__body td { color: var(--rd-ink); }
body.m3d-rd.single-product .rd-acc__body td p { margin: 0; }

/* Desktop: file orizontale (product.js pune .rd-tabs-on), un singur panou, într-un card */
body.m3d-rd.single-product .rd-pdp-tabs[hidden] { display: none; }
body.m3d-rd.single-product .rd-tabs-on .rd-pdp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
body.m3d-rd.single-product .rd-pdp-tabs__btn {
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-r-pill);
  background: transparent;
  color: var(--rd-ink);
  font-family: var(--rd-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
body.m3d-rd.single-product .rd-pdp-tabs__btn:hover { border-color: var(--rd-ink); }
body.m3d-rd.single-product .rd-pdp-tabs__btn[aria-selected="true"] { border-color: var(--rd-ink); background: var(--rd-ink); color: var(--rd-bg); }
body.m3d-rd.single-product .rd-tabs-on .rd-acc__item { border: 0; }
body.m3d-rd.single-product .rd-tabs-on .rd-acc__item:not([open]) { display: none; }
body.m3d-rd.single-product .rd-tabs-on .rd-acc__head { display: none; }
body.m3d-rd.single-product .rd-tabs-on .rd-acc__body {
  max-width: none;
  padding: 32px 36px;
  border-radius: 28px;
  background: var(--rd-s1);
}
body.m3d-rd.single-product .rd-tabs-on .rd-acc__body > * { max-width: 860px; }

/* ── Recenziile (secțiune proprie, nu tab) ───────────────────────────────────────────── */
body.m3d-rd.single-product .rd-pdp-reviews {
  max-width: var(--rd-max);
  margin: 48px auto 0;
  padding-inline: var(--rd-gutter);
}
body.m3d-rd.single-product .rd-pdp-reviews__h { margin: 0 0 16px; }
body.m3d-rd.single-product .rd-pdp-reviews__grid { display: flex; flex-direction: column; gap: 16px; }
body.m3d-rd.single-product .rd-pdp-reviews__score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px;
  border-radius: 28px;
  background: var(--rd-inv, var(--rd-ink));
  color: var(--rd-inv-ink, var(--rd-bg));
}
body.m3d-rd.single-product .rd-pdp-reviews__num { font-size: 64px; font-weight: 700; font-stretch: 76%; line-height: .9; }
body.m3d-rd.single-product .rd-pdp-reviews__stars { color: var(--rd-star); font-size: 18px; letter-spacing: 2px; }
body.m3d-rd.single-product .rd-pdp-reviews__count { font-size: 15px; opacity: .8; }
body.m3d-rd.single-product .rd-pdp-reviews__all { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: inherit; font-weight: 700; text-decoration: none; }
body.m3d-rd.single-product .rd-pdp-reviews__all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Lista WooCommerce / CusRev: fiecare recenzie e un card; răspunsurile noastre, mai mici. */
body.m3d-rd.single-product .rd-pdp-reviews__list #reviews { display: block; margin: 0; }
body.m3d-rd.single-product .rd-pdp-reviews__list #comments,
body.m3d-rd.single-product .rd-pdp-reviews__list #review_form_wrapper { width: auto; max-width: none; margin: 0; padding: 0; float: none; }
body.m3d-rd.single-product .rd-pdp-reviews__list #review_form_wrapper { margin-top: 16px; }
body.m3d-rd.single-product .rd-pdp-reviews__list .woocommerce-verification-required { margin: 16px 0 0; color: var(--rd-muted); font-size: 14px; }
/* Titlul lung „N recenzii pentru …” dublează titlul secțiunii; rămâne pentru cititoarele de ecran. */
body.m3d-rd.single-product .rd-pdp-reviews__list .woocommerce-Reviews-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.m3d-rd.single-product .rd-pdp-reviews__list ol.commentlist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
body.m3d-rd.single-product .rd-pdp-reviews__list ol.commentlist > li {
  margin: 0;
  padding: 20px 22px;
  border: 0;
  border-radius: 24px;
  background: var(--rd-s1);
}
body.m3d-rd.single-product .rd-pdp-reviews__list ol.commentlist li .comment_container,
body.m3d-rd.single-product .rd-pdp-reviews__list ol.commentlist li > div { display: block; margin: 0; padding: 0; min-height: 0; }
body.m3d-rd.single-product .rd-pdp-reviews__list ol.commentlist li img.avatar { display: none; }
body.m3d-rd.single-product .rd-pdp-reviews__list ol.commentlist li .comment-text { margin: 0; padding: 0; border: 0; }
body.m3d-rd.single-product .rd-pdp-reviews__list .star-rating { float: none; margin: 0 0 8px; color: var(--rd-star); }
body.m3d-rd.single-product .rd-pdp-reviews__list .meta { margin: 0 0 8px; font-size: 14px; color: var(--rd-muted); }
body.m3d-rd.single-product .rd-pdp-reviews__list .woocommerce-review__author { color: var(--rd-ink); }
body.m3d-rd.single-product .rd-pdp-reviews__list .description { font-size: 16px; line-height: 1.5; color: var(--rd-ink); }
body.m3d-rd.single-product .rd-pdp-reviews__list .description p { margin: 0 0 8px; }
body.m3d-rd.single-product .rd-pdp-reviews__list ul.children { margin: 12px 0 0; padding: 12px 0 0 14px; border-left: 2px solid var(--rd-line); list-style: none; }
body.m3d-rd.single-product .rd-pdp-reviews__list ul.children li { margin: 0; padding: 0; border: 0; background: none; }
body.m3d-rd.single-product .rd-pdp-reviews__list ul.children .description { font-size: 14px; color: var(--rd-muted); }
@media (min-width: 1000px) {
  body.m3d-rd.single-product .rd-pdp-details { margin-top: 56px; }
  body.m3d-rd.single-product .rd-pdp-reviews { margin-top: 72px; }
  body.m3d-rd.single-product .rd-pdp-reviews__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 16px; }
  body.m3d-rd.single-product .rd-pdp-reviews__score { position: sticky; top: 100px; min-height: 230px; padding: 28px; }
  body.m3d-rd.single-product .rd-pdp-reviews__num { font-size: 76px; }
  body.m3d-rd.single-product .rd-pdp-reviews__list ol.commentlist { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
}

/* Insignele și garanția mutate în coloana de cumpărare (product.js, când stânga e mai lungă). */
body.m3d-rd.single-product .rd-pdp-moved { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
body.m3d-rd.single-product .rd-pdp-moved[hidden] { display: none; }

/* ── „Construiește setup complet” (chin mount) ────────────────────────────────────────── */
body.m3d-rd.single-product .rd-pdp-setup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  margin: 8px 0 16px;
  padding: 10px 18px;
  border-radius: 20px;
  background: var(--rd-inv, var(--rd-ink));
  color: var(--rd-inv-ink, var(--rd-bg));
  text-decoration: none;
}
body.m3d-rd.single-product .rd-pdp-setup:hover { color: var(--rd-inv-ink, var(--rd-bg)); text-decoration: none; opacity: .92; }
body.m3d-rd.single-product .rd-pdp-setup > span { display: flex; flex-direction: column; line-height: 1.25; }
body.m3d-rd.single-product .rd-pdp-setup strong { font-size: 16px; }
body.m3d-rd.single-product .rd-pdp-setup small { font-size: 14px; opacity: .75; }
body.m3d-rd.single-product .rd-pdp-setup .rd-ico { flex: none; }

/* Tab-urile din cod încep cu titlul lor, care e deja eticheta secțiunii. */
body.m3d-rd.single-product .rd-acc__body > .m3d-tab > h3:first-child { display: none; }
body.m3d-rd.single-product .rd-acc__body .m3d-tab { max-width: none; font-size: inherit; }
body.m3d-rd.single-product .rd-acc__body .m3d-tab-lead,
body.m3d-rd.single-product .rd-acc__body .m3d-tab-callout { padding: 12px 14px; border: 0; border-radius: 14px; }
body.m3d-rd.single-product .rd-acc__body .m3d-tab-lead { background: var(--rd-warn-bg); color: var(--rd-warn-fg); }
body.m3d-rd.single-product .rd-acc__body .m3d-tab-lead a { color: inherit; font-weight: 700; }
body.m3d-rd.single-product .rd-acc__body .m3d-tab-callout { background: var(--rd-s1); }
body.m3d-rd.single-product .rd-acc__body .woocommerce-Reviews-title { font-size: 15px; font-weight: 600; font-stretch: 100%; text-transform: none; color: var(--rd-muted); }
@media (min-width: 1000px) {
  body.m3d-rd.single-product .rd-pdp-details { margin-top: 48px; }
  body.m3d-rd.single-product .rd-acc__head { min-height: 68px; font-size: 19px; }
  body.m3d-rd.single-product .rd-acc__body { max-width: 900px; font-size: 16px; }
  body.m3d-rd.single-product .rd-acc__item--reviews .rd-acc__body { max-width: none; }
}

/* ── „Completează setup-ul” / „Produse similare” ─────────────────────────────────────── */
body.m3d-rd.single-product .rd-pdp-more__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 14px;
}
body.m3d-rd.single-product .rd-pdp-more h2 { margin: 0; }
body.m3d-rd.single-product .rd-pdp-more__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rd-muted);
  text-decoration: none;
  white-space: nowrap;
}
body.m3d-rd.single-product .rd-pdp-more__all:hover { color: var(--rd-ink); }
body.m3d-rd.single-product .rd-pdp-more__all .rd-ico { width: 15px; height: 15px; }
body.m3d-rd.single-product .rd-pdp-more__list { gap: 10px; }
body.m3d-rd.single-product .rd-pdp-more__list > .rd-pcard { width: 200px; }
@media (min-width: 768px) {
  body.m3d-rd.single-product .rd-pdp-more__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    max-width: var(--rd-max);
    margin-inline: auto;
    overflow: visible;
  }
  body.m3d-rd.single-product .rd-pdp-more__list > .rd-pcard { width: auto; }
}
@media (min-width: 1024px) {
  body.m3d-rd.single-product .rd-pdp-more__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
body.m3d-rd.single-product .rd-pdp-more:last-of-type { padding-bottom: 24px; }

/* ── Bara fixă de jos pe mobil (m3d-sticky-atc.js) ───────────────────────────────────── */
body.m3d-rd .m3d-sticky-atc {
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rd-line);
  background: var(--rd-bar);
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.m3d-rd .m3d-sticky-atc__thumb { width: 48px; height: 48px; border-radius: 12px; }
body.m3d-rd .m3d-sticky-atc__title { font-size: 12px; font-weight: 500; color: var(--rd-muted); }
body.m3d-rd .m3d-sticky-atc__price { font-family: var(--rd-font); font-size: 22px; font-weight: 700; font-stretch: 82%; color: var(--rd-ink); }
body.m3d-rd .m3d-sticky-atc__btn {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--rd-r-pill);
  background: var(--rd-accent);
  color: var(--rd-on-accent);
  font-family: var(--rd-font);
  font-size: 16px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  body.m3d-rd.single-product .rd-acc__head .rd-ico,
  body.m3d-rd.single-product .m3d-card { transition: none; }
}

/* „Nu ești sigur că se potrivește? Scrie-ne pe WhatsApp”, sub livrare (help.php). */
body.m3d-rd.single-product .rd-wa-line--pdp { margin: 12px 0 0; }
