/* ==========================================================================
   Belec 2026 — Product detail + Cart drawer + Shopping cart + related/reviews
   Loaded via belec.css (after Bootstrap).
   ========================================================================== */

/* ---- Cart drawer (live) ------------------------------------------------- */
/* the legacy add-to-cart modal is replaced by the off-canvas drawer */
#layer_cart, .layer_cart_overlay { display: none !important; }

.bel-cart-drawer__foot { display: flex; flex-direction: column; gap: 10px; }
.bel-cart-drawer__total-row { display: flex; align-items: baseline; justify-content: space-between; }
.bel-cart-drawer__total-row .bel-mono { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bel-muted); }
.bel-cart-drawer__total { font-family: var(--bel-font-display); font-size: 22px; font-weight: 800; color: var(--bel-ink); }
.bel-cart-drawer.is-empty .bel-cart-drawer__foot { display: none; }

.bel-cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--bel-rule);
}
.bel-cart-line.is-busy { opacity: .5; pointer-events: none; }
.bel-cart-line__media { width: 64px; height: 64px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: var(--bel-sheet); border-radius: var(--bel-r-sm); overflow: hidden; }
.bel-cart-line__media img { width: 86%; height: 86%; object-fit: contain; }
.bel-cart-line__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bel-cart-line__name { font-size: 13px; line-height: 1.3; color: var(--bel-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bel-cart-line__attrs { font-family: var(--bel-font-mono); font-size: 10px; color: var(--bel-muted); }
.bel-cart-line__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.bel-cart-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm); overflow: hidden; }
.bel-qty-btn { width: 26px; height: 26px; border: 0; background: var(--bel-card); color: var(--bel-ink); cursor: pointer; font-size: 14px; line-height: 1; }
.bel-qty-btn:hover { background: var(--bel-sheet); }
.bel-qty-val { min-width: 28px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.bel-cart-line__price { font-weight: 700; font-size: 14px; color: var(--bel-ink); white-space: nowrap; }
.bel-cart-line__remove { background: none; border: 0; color: var(--bel-muted); cursor: pointer; padding: 2px; line-height: 0; }
.bel-cart-line__remove:hover { color: var(--bel-stock-out); }

/* ---- PDP: 2-column via CSS grid on the legacy 3-column structure ---------- */
.bel-pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px 40px; align-items: start; margin: 12px 0 8px; }
.bel-pdp .pb-left-column { grid-column: 1; grid-row: 1 / span 2; width: auto; float: none; padding: 0; }
.bel-pdp .pb-center-column { grid-column: 2; grid-row: 1; width: auto; float: none; padding: 0; }
.bel-pdp .pb-right-column { grid-column: 2; grid-row: 2; width: auto; float: none; padding: 0; }
@media (max-width: 760px) { .bel-pdp { grid-template-columns: 1fr; } .bel-pdp .pb-left-column, .bel-pdp .pb-center-column, .bel-pdp .pb-right-column { grid-column: 1; grid-row: auto; } }

/* gallery (keeps bxSlider/product.js; restyle only) */
.bel-pdp #image-block { border: 1px solid var(--bel-rule); border-radius: var(--bel-r-lg); background: var(--bel-sheet); overflow: hidden; }
.bel-pdp #view_full_size { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; padding: 24px; }
.bel-pdp #bigpic, .bel-pdp #view_full_size img, .bel-pdp .jqzoom img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
[data-theme="dark"] .bel-pdp #bigpic, [data-theme="dark"] .bel-pdp #view_full_size img { mix-blend-mode: normal; }
.bel-pdp #views_block { position: relative; margin-top: 12px; padding: 0 28px; }
.bel-pdp #thumbs_list_frame { display: flex; gap: 8px; margin: 0; padding: 0; }
.bel-pdp #thumbs_list_frame li { float: none; margin: 0; list-style: none; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm); overflow: hidden; background: var(--bel-card); }
.bel-pdp #thumbs_list_frame li.shown, .bel-pdp #thumbs_list_frame li:hover { border-color: var(--bel-gold); }
.bel-pdp #thumbs_list_frame img { display: block; width: 64px; height: 64px; object-fit: contain; }
.bel-pdp #view_scroll_left, .bel-pdp #view_scroll_right { position: absolute; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--bel-card); border: 1px solid var(--bel-rule); border-radius: 50%; cursor: pointer; }
.bel-pdp #view_scroll_left { left: 0; } .bel-pdp #view_scroll_right { right: 0; }

/* info: name / reference / condition / short desc */
.bel-pdp .pb-center-column h1 { font-family: var(--bel-font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 10px; }
.bel-pdp #product_reference { font-family: var(--bel-font-mono); font-size: 12px; color: var(--bel-muted); }
.bel-pdp #product_condition { margin: 8px 0; }
.bel-pdp .product_condition_box, .bel-pdp #product_condition .editing { display: inline-flex; }
.bel-pdp .pb-center-column .rte, .bel-pdp #short_description_content { color: var(--bel-muted); font-size: 14px; line-height: 1.6; margin-top: 12px; }

/* price + buy */
.bel-pdp .pb-right-column { border: 1px solid var(--bel-rule); border-radius: var(--bel-r-lg); padding: 20px; background: var(--bel-card); }
.bel-pdp .our_price_display { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bel-pdp #our_price_display { font-family: var(--bel-font-display); font-size: 30px; font-weight: 800; color: var(--bel-ink); }
.bel-pdp #old_price_display { color: var(--bel-muted); text-decoration: line-through; font-size: 16px; }
.bel-pdp #reduction_percent_display, .bel-pdp #reduction_amount_display { display: inline-block; background: var(--bel-gold); color: var(--bel-gold-ink); font-family: var(--bel-font-mono); font-size: 12px; padding: 2px 8px; border-radius: var(--bel-r-xs); }
.bel-pdp #availability_statut, .bel-pdp #pQuantityAvailable, .bel-pdp #product_reference { font-size: 13px; }
.bel-pdp #availability_value { font-family: var(--bel-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--bel-stock-ok); }
.bel-pdp #availability_value.warning_inline { color: var(--bel-stock-low); }
.bel-pdp .product_attributes { border: 0; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--bel-rule); }
.bel-pdp .attribute_label { font-family: var(--bel-font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--bel-muted); }
.bel-pdp .attribute_select { padding: 8px 12px; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm); background: var(--bel-card); }
/* qty stepper + add to cart */
.bel-pdp #quantity_wanted_p { display: inline-flex; align-items: center; }
.bel-pdp #quantity_wanted { width: 54px; height: 40px; text-align: center; border: 1px solid var(--bel-rule); border-radius: 0; font-size: 15px; }
.bel-pdp .product_quantity_up, .bel-pdp .product_quantity_down { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bel-rule); background: var(--bel-card); color: var(--bel-ink); }
.bel-pdp .product_quantity_up:hover, .bel-pdp .product_quantity_down:hover { background: var(--bel-sheet); }
/* font-awesome icons aren't reliably loaded — render +/- via CSS */
.bel-pdp .product_quantity_up i, .bel-pdp .product_quantity_down i,
#cart_summary .cart_quantity_up i, #cart_summary .cart_quantity_down i { display: none; }
.bel-pdp .product_quantity_up::after, #cart_summary .cart_quantity_up::after { content: "+"; font-size: 16px; line-height: 1; }
.bel-pdp .product_quantity_down::after, #cart_summary .cart_quantity_down::after { content: "\2212"; font-size: 16px; line-height: 1; }
.bel-pdp #add_to_cart { margin-top: 16px; }
.bel-pdp #add_to_cart button, .bel-pdp #add_to_cart .exclusive, .bel-pdp #add_to_cart button.exclusive {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bel-gold) !important;
  background-image: none !important;
  color: var(--bel-gold-ink) !important;
  text-shadow: none;
  font-family: var(--bel-font-body); font-size: 15px; font-weight: 600;
  border: 0; border-radius: var(--bel-r-sm); padding: 14px 20px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.bel-pdp #add_to_cart button:hover, .bel-pdp #add_to_cart button.exclusive:hover { background: var(--bel-gold-hi) !important; }
.bel-pdp #add_to_cart button span { color: var(--bel-gold-ink) !important; }

/* ---- PDP sections (tabs / features / accessories) ----------------------- */
.page-product-box { margin: 28px 0; }
.page-product-heading { font-family: var(--bel-font-display); font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--bel-rule); }
#idTab1, #idTab2, #idTab3, .rte { font-size: 14px; line-height: 1.7; color: var(--bel-ink-2); }
table.table-data-sheet { width: 100%; border-collapse: collapse; }
table.table-data-sheet td { padding: 8px 12px; border-bottom: 1px solid var(--bel-rule-2); font-size: 13px; }
table.table-data-sheet td:first-child { font-family: var(--bel-font-mono); color: var(--bel-muted); width: 38%; }

/* ---- Related products (crossselling + productscategory .product-box) ----- */
#crossselling_list_car, #productscategory_list ul, ul#bxslider1 { margin: 0; padding: 0; list-style: none; }
.product-box.item, li.product-box {
  border: 1px solid var(--bel-rule);
  border-radius: var(--bel-r-md);
  background: var(--bel-card);
  overflow: hidden;
  list-style: none;
}
.product-box .product-image, .product-box .lnk_img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; background: var(--bel-sheet); padding: 12px; }
.product-box .product-image img, .product-box .lnk_img img { max-width: 80%; max-height: 80%; object-fit: contain; }
.product-box .product-name, .product-box .product_name { padding: 10px 12px 2px; font-size: 13px; }
.product-box .product-name a, .product-box .product_name a { color: var(--bel-ink); }
.product-box .price_display { padding: 0 12px 12px; }
.product-box .price_display .price { font-family: var(--bel-font-display); font-weight: 700; color: var(--bel-ink); }
.product-box .price_display .special-price { color: var(--bel-stock-out); }

/* ---- Reviews (productcomments) ------------------------------------------ */
#product_comments_block_tab .comment { border: 1px solid var(--bel-rule); border-radius: var(--bel-r-md); padding: 16px; margin-bottom: 12px; }
#product_comments_block_tab .comment_author strong { font-size: 14px; }
#product_comments_block_tab .comment_author em { color: var(--bel-muted); font-size: 12px; }
.star_content { display: inline-flex; gap: 2px; }
.star, .star_on { width: 14px; height: 14px; display: inline-block; }
.star::before, .star_on::before { content: "★"; color: var(--bel-rule); font-size: 14px; }
.star_on::before { color: var(--bel-gold); }
#product_comments_block_extra { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0; }
.open-comment-form, #new_comment_tab_btn { display: inline-flex; }
#id_new_comment_form .field, #id_new_comment_form .form-group { margin-bottom: 12px; }
#id_new_comment_form input[type=text], #id_new_comment_form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm); }

/* ---- Shopping cart page (#cart_summary) — CSS-only restyle -------------- */
#cart_title.page-heading { margin-bottom: 18px; }
#order .columns-container #columns, #order-opc .columns-container #columns { max-width: none; }
#cart_summary { width: 100%; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--bel-card); }
#cart_summary thead th { font-family: var(--bel-font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--bel-muted); background: var(--bel-sheet); padding: 12px; border: 0; text-align: left; }
#cart_summary tbody td { padding: 14px 12px; border-top: 1px solid var(--bel-rule); vertical-align: middle; }
#cart_summary .cart_product img { max-width: 70px; height: auto; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm); }
#cart_summary .product-name a { color: var(--bel-ink); font-weight: 600; }
#cart_summary .cart_ref { font-family: var(--bel-font-mono); font-size: 11px; color: var(--bel-muted); }
#cart_summary .price { font-weight: 700; color: var(--bel-ink); }
/* qty stepper on the cart line: [input][−][+] joined into one 36px-tall group that never wraps.
   id-scoped so it beats the generic `.belv2-checkout .btn.btn-default { padding:10px 16px }` that
   otherwise inflated the +/- buttons (the "uneven / wraps on small screens" bug). */
#cart_summary td.cart_quantity { white-space: nowrap; text-align: center; }
#cart_summary .cart_quantity_button { display: inline-flex; align-items: center; flex-wrap: nowrap; margin: 0; vertical-align: middle; }
#cart_summary .cart_quantity_input { width: 46px; min-width: 46px; height: 36px; padding: 0; margin: 0; text-align: center; vertical-align: middle; box-sizing: border-box; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm) 0 0 var(--bel-r-sm); }
#cart_summary .cart_quantity_up, #cart_summary .cart_quantity_down {
  width: 34px; min-width: 34px; height: 36px; min-height: 0; padding: 0; margin: 0; box-sizing: border-box; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  border: 1px solid var(--bel-rule); border-left: 0; background: var(--bel-card); color: var(--bel-ink); border-radius: 0;
  transition: background var(--bel-fast) var(--bel-ease), border-color var(--bel-fast) var(--bel-ease);
}
#cart_summary .cart_quantity_up { border-radius: 0 var(--bel-r-sm) var(--bel-r-sm) 0; }
#cart_summary .cart_quantity_up:hover, #cart_summary .cart_quantity_down:hover { background: var(--bel-sheet); border-color: var(--bel-ink-3); color: var(--bel-ink); }
#cart_summary .cart_quantity_delete { display: inline-flex; align-items: center; justify-content: center; color: var(--bel-muted); margin-left: 10px; }
#cart_summary .cart_quantity_delete:hover { color: var(--bel-stock-out); }
/* totals (tfoot) */
#cart_summary tfoot td { padding: 12px; border-top: 1px solid var(--bel-rule); font-size: 14px; }
#cart_summary tfoot .total_price_container, #cart_summary #total_price, #total_price { font-family: var(--bel-font-display); font-weight: 800; font-size: 20px; color: var(--bel-ink); }
/* voucher form */
#cart_voucher #discount_name { padding: 9px 12px; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm); }
#cart_voucher button[name=submitAddDiscount] { background: var(--bel-ink); color: var(--bel-paper); border: 0; border-radius: var(--bel-r-sm); padding: 9px 16px; }
/* checkout nav */
.cart_navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.cart_navigation .standard-checkout, a.standard-checkout {
  background: var(--bel-gold) !important; background-image: none !important; color: var(--bel-gold-ink) !important;
  border: 0; border-radius: var(--bel-r-sm); padding: 14px 28px; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.cart_navigation .standard-checkout:hover { background: var(--bel-gold-hi) !important; }
.cart_navigation .button-exclusive { color: var(--bel-ink-2); }

/* ---- Mobile sticky add-to-cart bar -------------------------------------- */
.bel-sticky-cta { display: none; }
@media (max-width: 760px) {
  .bel-sticky-cta {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 16px;
    background: var(--bel-card);
    border-top: 1px solid var(--bel-rule);
    box-shadow: 0 -4px 16px rgba(20,18,8,.1);
  }
  .bel-sticky-cta__price { font-family: var(--bel-font-display); font-size: 18px; font-weight: 800; }
  .bel-sticky-cta__btn { margin-left: auto; }
  .bel-pdp .pb-right-column { padding: 16px; }
}

/* ==========================================================================
   v2 PDP — product.tpl rebuilt to the .belv2-pdp mock.
   Scoped under `.belv2-pdp` (extra class on the .bel-pdp wrapper, added on the v2 route by the
   theme-guarded ProductController override). The page-head crumb is rendered in-content (the theme
   breadcrumb is hidden via components.css). Width matches the catalog/account
   recipe (full-bleed #columns + .primary_block constrained to --bel-shell-max).
   ========================================================================== */

/* ---- mock width treatment ----
   page-head + .primary_block + the bottom sections are wrapped in one
   .belv2-pdp__shell (= .bel-shell recipe), so width/gutter lives on the wrapper. */
body.belv2-pdp #columns.container { max-width: none; width: 100%; padding: 0; }
body.belv2-pdp #center_column { width: 100%; padding: 0; float: none; }
body.belv2-pdp .columns-container { padding: 0; }
body.belv2-pdp .primary_block { margin: 0; }   /* drop Bootstrap's -15px row gutters else overflow */
body.belv2-pdp .primary_block.bel-pdp { width: 100%; max-width: none; padding: 0; }

/* hide bits not visible in the v2 design (info is in usednote + specs grid) */
.belv2-pdp .belv2-pdp-hide { display: none !important; }
.belv2-pdp .resetimg { display: none; }
.belv2-pdp #view_scroll_left, .belv2-pdp #view_scroll_right { display: none !important; }
.belv2-pdp .primary_block > .container { display: none; } /* stray bootstrap .container/.top-hr */

/* ---- 2-column product layout: gallery (left) | info (right) --------------
   Scoped to the product block ONLY. `belv2-pdp` is ALSO on <body> (body.belv2-pdp
   scopes the v2 look site-wide), so a bare `.belv2-pdp` grid would turn the whole
   page into a 2-col grid — must qualify with .primary_block. */
.primary_block.belv2-pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.primary_block.belv2-pdp > #admin-action, .primary_block.belv2-pdp > .confirmation { grid-column: 1 / -1; }
/* the info column flows as ONE 14px-rhythm stack like the mock */
.belv2-pdp__info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 860px) { .primary_block.belv2-pdp { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Gallery: vertical thumbs (left) + main image card (right) ----------
   `isolation: isolate` contains jqzoom's stacking (.zoomPad z-index:99,
   .zoomWindow z-index:10000) into a LOCAL context so it can't paint over the
   sticky header (.bel-header z-index:50). The zoom lightbox lives OUTSIDE this. */
.belv2-pdp .belv2-pdp__gallery { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: start; isolation: isolate; }
.belv2-pdp .belv2-pdp__gallery--single { grid-template-columns: 1fr; }
/* image-block comes FIRST in DOM (product.js order); CSS places it in col 2 */
.belv2-pdp .belv2-pdp__gallery #image-block { grid-column: 2; grid-row: 1; aspect-ratio: 1; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-md); background: var(--bel-sheet); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 0; margin: 0; }
.belv2-pdp .belv2-pdp__gallery--single #image-block { grid-column: 1; }
.belv2-pdp .belv2-pdp__gallery #views_block { grid-column: 1; grid-row: 1; padding: 0; margin: 0; width: 80px; }
.belv2-pdp #thumbs_list { padding: 0; margin: 0; }
.belv2-pdp #thumbs_list_frame { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; list-style: none; max-height: 480px; overflow-y: auto; }
.belv2-pdp #thumbs_list_frame li { width: 80px; height: 80px; float: none; margin: 0; border: 1.5px solid var(--bel-rule); border-radius: var(--bel-r-sm); background: var(--bel-sheet); overflow: hidden; }
.belv2-pdp #thumbs_list_frame li.shown, .belv2-pdp #thumbs_list_frame li:hover { border-color: var(--bel-ink); }
.belv2-pdp #thumbs_list_frame img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.belv2-pdp #view_full_size { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; aspect-ratio: auto; }
.belv2-pdp #bigpic, .belv2-pdp #view_full_size img, .belv2-pdp .jqzoom img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: normal; }
.belv2-pdp .belv2-pdp__main-chip { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
/* round zoom button (matches mock v2-pages.css:91) — high in-context z-index so it stays
   clickable above jqzoom's lens (.zoomPup z-index:120); still contained by the gallery's isolate */
.belv2-pdp .belv2-pdp__gallery #image-block .belv2-pdp__main-zoom { position: absolute; bottom: 14px; right: 14px; width: 36px; height: 36px; padding: 0; background: var(--bel-card); border: 1px solid var(--bel-rule); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--bel-ink); cursor: pointer; z-index: 200; transition: background var(--bel-fast) var(--bel-ease); }
.belv2-pdp .belv2-pdp__gallery #image-block .belv2-pdp__main-zoom:hover { background: var(--bel-sheet); }

/* ---- Info column: brand-row + title + usednote + short desc ------------- */
.belv2-pdp .belv2-pdp__brand-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; }
.belv2-pdp .belv2-pdp__brand { font-family: var(--bel-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bel-muted); }
.belv2-pdp .belv2-pdp__sku { font-family: var(--bel-font-mono); font-size: 11px; color: var(--bel-muted); padding: 3px 8px; background: var(--bel-sheet); border-radius: 3px; margin: 0; }
.belv2-pdp .belv2-pdp__sku label { display: none; }
.belv2-pdp__info h1.belv2-pdp__title { font-family: var(--bel-font-display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
.belv2-pdp .belv2-pdp__usednote { padding: 10px 14px; background: rgba(174,106,18,.08); border: 1px solid rgba(174,106,18,.25); border-radius: var(--bel-r-sm); font-size: 13px; color: var(--bel-used); margin: 0; }
.belv2-pdp .belv2-pdp__short { color: var(--bel-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.belv2-pdp .belv2-pdp__short #short_description_content { margin-top: 0; padding:0; margin-bottom: 12px; }
.belv2-pdp .belv2-pdp__short .buttons_bottom_block { margin-top: 6px; padding: 0 }
.belv2-pdp .belv2-pdp__usefull { display: none; }   /* "Imprimer"/compare chrome — mock omits it */

/* ---- Buy column: price-row + stock-bar + attrs + qty-row + quote + specs + info-row ---- */
.belv2-pdp .belv2-pdp__buy { 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
  background: transparent;
  border: none;
}
.belv2-pdp .product_attributes { display: none; } 
.belv2-pdp .belv2-pdp__price-row { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--bel-rule); border-bottom: 1px solid var(--bel-rule); flex-wrap: wrap; margin: 0; }
.belv2-pdp .belv2-pdp__price-row .price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0; }
.belv2-pdp .belv2-pdp__price-row p { margin: 0; }
.belv2-pdp .belv2-pdp__price-row .our_price_display { margin: 0; padding: 0; }
.belv2-pdp #our_price_display.belv2-pdp__price { font-family: var(--bel-font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--bel-ink); }
.belv2-pdp .belv2-pdp__price-old { font-size: 16px; color: var(--bel-muted); text-decoration: line-through; }
.belv2-pdp .belv2-pdp__price-save { display: inline-block; background: var(--bel-gold); color: var(--bel-gold-ink); padding: 4px 8px; border-radius: 4px; font-family: var(--bel-font-mono); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.belv2-pdp .belv2-pdp__price-unit { margin-left: auto; font-family: var(--bel-font-mono); font-size: 11px; color: var(--bel-muted); }

.belv2-pdp .belv2-pdp__stock-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--bel-sheet); border-radius: var(--bel-r-sm); font-size: 13px; gap: 12px; flex-wrap: wrap; margin: 0; }
.belv2-pdp .belv2-pdp__stock-bar p { margin: 0; }
.belv2-pdp .belv2-pdp__stock-bar__l { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.belv2-pdp .belv2-pdp__shipnote { font-size: 11px; color: var(--bel-muted); letter-spacing: .04em; text-transform: uppercase; }

/* status badges — one merged v2 badge: mono text + a single colored dot, matching the
   product-card badge .belv2-prod-card__stock (home-v2.css). Reset the legacy filled pills
   (css/product.css:700-730 #availability_value/#last_quantities) and beat their id-specificity
   by scoping under .belv2-pdp .belv2-pdp__stock-bar (the warning_inline rule matches the legacy
   two-id selector so it wins). */
.belv2-pdp .belv2-pdp__stock-bar #pQuantityAvailable,
.belv2-pdp .belv2-pdp__stock-bar #availability_value,
.belv2-pdp .belv2-pdp__stock-bar #last_quantities,
.belv2-pdp .belv2-pdp__stock-bar #availability_date,
.belv2-pdp .belv2-pdp__stock-bar #availability_statut #availability_value.warning_inline {
  background: none; border: 0; padding: 0; margin: 0; text-shadow: none;
  font-family: var(--bel-font-mono); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; color: inherit;
}

/* single dot on the left group — color = stock state (default: in stock = green). */
.belv2-pdp .belv2-pdp__stock-bar__l { color: var(--bel-stock-ok); }
.belv2-pdp .belv2-pdp__stock-bar__l:has(#pQuantityAvailable:not([style*="none"]), #availability_statut:not([style*="none"]), #last_quantities:not([style*="none"]))::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0;
}
/* recolor (out wins over low — declared last) */
.belv2-pdp .belv2-pdp__stock-bar__l:has(#last_quantities:not([style*="none"])) { color: var(--bel-stock-low); }
.belv2-pdp .belv2-pdp__stock-bar__l:has(#availability_value.warning_inline:not([style*="none"])) { color: var(--bel-stock-out); }
/* date / oos note: plain muted text, no badge styling */
.belv2-pdp .belv2-pdp__stock-bar #availability_date { color: var(--bel-muted); font-weight: 400; }

/* rating summary (relocated to the brand-row meta line, above the title) — v2 inline look.
   Resets the legacy productcomments.css box/icon (border/bg/FA circle). */
.belv2-pdp #product_comments_block_extra { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin: 8px 0 4px; padding: 0; border: 0; background: none; font-weight: 400; line-height: 1.2; }
.belv2-pdp #product_comments_block_extra .comments_note { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.belv2-pdp #product_comments_block_extra .comments_note > span { display: none; }   /* "Note" label */
.belv2-pdp #product_comments_block_extra .comments_note span,
.belv2-pdp #product_comments_block_extra .star_content { float: none; color: inherit; }
.belv2-pdp #product_comments_block_extra .star_content { display: inline-flex; align-items: center; margin: 0; }
.belv2-pdp #product_comments_block_extra .comments_advices { clear: none; list-style: none; display: inline-flex; align-items: center; gap: 18px; margin: 0; padding: 0; }
.belv2-pdp #product_comments_block_extra .comments_advices li { display: inline-flex; line-height: 1.2; margin: 0; padding: 0; }
.belv2-pdp #product_comments_block_extra .comments_advices a { margin: 0; padding: 0; line-height: 1.2; border: 0; font-family: var(--bel-font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--bel-muted); }
.belv2-pdp #product_comments_block_extra .comments_advices a:hover { color: var(--bel-ink); }
.belv2-pdp #product_comments_block_extra .comments_advices a:before { display: none; }   /* kill legacy FA circle icon */

.belv2-pdp .belv2-pdp__attrs { padding: 0; margin: 0; border: 0; }
.belv2-pdp .belv2-pdp__attrs .attribute_fieldset { border: 0; padding: 8px 0; margin: 0; }
.belv2-pdp .belv2-pdp__attrs .attribute_label { font-family: var(--bel-font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--bel-muted); display: block; margin-bottom: 6px; }
.belv2-pdp .belv2-pdp__attrs .attribute_select { padding: 10px 14px; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm); background: var(--bel-card); width: 100%; font: inherit; color: var(--bel-ink); }

.belv2-pdp .belv2-pdp__qty-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: stretch; margin: 0; }
.belv2-pdp #quantity_wanted_p.belv2-qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--bel-rule); border-radius: var(--bel-r-sm); overflow: hidden; margin: 0; padding: 0; }
.belv2-pdp #quantity_wanted_p .product_quantity_down,
.belv2-pdp #quantity_wanted_p .product_quantity_up { width: 40px; height: 44px; border: 0; border-radius: 0; background: var(--bel-card); color: var(--bel-ink); display: inline-flex; align-items: center; justify-content: center; }
.belv2-pdp #quantity_wanted_p .product_quantity_down:hover,
.belv2-pdp #quantity_wanted_p .product_quantity_up:hover { background: var(--bel-sheet); }
.belv2-pdp #quantity_wanted_p #quantity_wanted { width: 50px; height: 44px; text-align: center; border: 0; border-left: 1px solid var(--bel-rule); border-right: 1px solid var(--bel-rule); border-radius: 0; font-weight: 600; font-size: 15px; padding: 0; -moz-appearance: textfield; }
.belv2-pdp .belv2-pdp__add-wrap { min-width: 0; display: flex; }
.belv2-pdp .belv2-pdp__add-wrap #add_to_cart { margin: 0; width: 100%; }
.belv2-pdp .belv2-pdp__fav { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.belv2-pdp .belv2-pdp__fav.active { color: var(--bel-stock-out); border-color: var(--bel-stock-out); }
.belv2-pdp .belv2-pdp__fav.active svg { fill: currentColor; }

.belv2-pdp .belv2-pdp__quote { margin: 0; text-align: center; }

.belv2-pdp .belv2-pdp__specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--bel-rule); border: 1px solid var(--bel-rule); border-radius: var(--bel-r-md); overflow: hidden; margin: 0; padding: 0; }
.belv2-pdp .belv2-pdp__spec { background: var(--bel-card); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.belv2-pdp .belv2-pdp__spec dt { font-family: var(--bel-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--bel-muted); margin: 0; }
.belv2-pdp .belv2-pdp__spec dd { margin: 0; font-weight: 500; font-size: 14px; color: var(--bel-ink); }

.belv2-pdp .belv2-pdp__info-row { display: flex; gap: 24px; flex-wrap: wrap; padding: 14px 0 0; border-top: 1px solid var(--bel-rule); margin: 0; }
.belv2-pdp .belv2-pdp__info-item { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--bel-ink-2); }
.belv2-pdp .belv2-pdp__info-item svg { color: var(--bel-muted); flex-shrink: 0; }

/* override the bel-pdp grid gap for the mock's 14px column rhythm */
.belv2-pdp.bel-pdp { gap: 14px 48px; }

/* Desktop: 3rd 1fr row absorbs the tall gallery's extra height so the spanning
   gallery no longer pushes pb-right down — center + right stack tight (14px gap). */
@media (min-width: 761px) {
  .belv2-pdp.bel-pdp { grid-template-rows: auto auto 1fr; }
  .belv2-pdp .pb-left-column { grid-row: 1 / span 3; }
}

/* Responsive */
@media (max-width: 980px) {
  .belv2-pdp .belv2-pdp__gallery { grid-template-columns: 64px 1fr; }
}
@media (max-width: 760px) {
  .belv2-pdp .belv2-pdp__gallery { grid-template-columns: 56px 1fr; gap: 8px; }
  .belv2-pdp #thumbs_list_frame li { width: 56px; height: 56px; }
  .belv2-pdp .belv2-pdp__gallery #views_block { width: 56px; }
  .belv2-pdp .belv2-pdp__specs { grid-template-columns: 1fr; }
  .belv2-pdp .belv2-pdp__info-row { gap: 12px; flex-direction: column; }
}

/* ==========================================================================
   v2 PDP — REFINEMENTS (2026-05-28): match the mock more closely.
   A) breadcrumb: in-content .belv2-crumb + hide the theme breadcrumb.
   B) gallery: defeat serialScroll's inline width:390 on #thumbs_list_frame (product.js:812)
      so vertical thumbs render at the spec 80x80 instead of the squished 80x12.
   C) qty-row: kill the <p id=add_to_cart> default 1em margins + center grid items so the row
      drops from 91 → ~50 like the mock.
   D) sections below the main grid: v2 display-font heading + clean top separator (no underline).
   ========================================================================== */

/* A — page-head base + crumb + breadcrumb-hide live in components.css (shared).
   PDP delta only: tighter bottom margin (page-head sits inside .belv2-pdp__shell). */
body.belv2-pdp .belv2-page-head { margin: 0 0 24px; }

/* B — defeat serialScroll's inline width/height on the thumbs (product.js:812 injects width:Npx).
   We force a clean 80px-wide vertical column with native overflow. serialScroll's scrollTo({axis:'x'})
   becomes a no-op (nothing to scroll horizontally); thumb-click → #bigpic swap still works.
   Uses !important to win against the JS-injected inline width + any legacy .bel-pdp rules. */
.belv2-pdp .belv2-pdp__gallery #views_block,
.belv2-pdp #thumbs_list { width: 80px !important; height: auto !important; max-height: 480px !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; }
.belv2-pdp #thumbs_list_frame { width: 80px !important; height: auto !important; display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 0 !important; margin: 0 !important; flex-wrap: nowrap !important; }
.belv2-pdp #thumbs_list_frame > li { width: 80px !important; height: 80px !important; flex: 0 0 80px !important; margin: 0 !important; }
@media (max-width: 760px) {
  .belv2-pdp .belv2-pdp__gallery #views_block,
  .belv2-pdp #thumbs_list,
  .belv2-pdp #thumbs_list_frame { width: 56px !important; }
  .belv2-pdp #thumbs_list_frame > li { width: 56px !important; height: 56px !important; flex-basis: 56px !important; }
}

/* B2 — mobile (≤620px, mirrors the mock v2-pages.css:228): collapse the gallery to ONE column —
   main image full-width on top, thumbnails a horizontal scroll row beneath. Overrides the
   vertical-column !important rules above (this block is later in the file → wins). */
@media (max-width: 620px) {
  .belv2-pdp .belv2-pdp__gallery { grid-template-columns: 1fr !important; }
  .belv2-pdp .belv2-pdp__gallery #image-block { grid-column: 1; grid-row: 1; }
  .belv2-pdp .belv2-pdp__gallery #views_block,
  .belv2-pdp #thumbs_list { grid-column: 1; grid-row: 2; width: 100% !important; max-height: none !important; }
  .belv2-pdp #thumbs_list_frame { width: 100% !important; flex-direction: row !important; max-height: none !important; overflow-x: auto !important; overflow-y: hidden !important; }
  .belv2-pdp #thumbs_list_frame > li { flex: 0 0 56px !important; width: 56px !important; height: 56px !important; }
}

/* C — qty-row + add button row tightened to the mock's height (~46) */
.belv2-pdp .belv2-pdp__qty-row { align-items: center; }
.belv2-pdp .belv2-pdp__add-wrap #add_to_cart,
.belv2-pdp .belv2-pdp__add-wrap #add_to_cart.buttons_bottom_block { margin: 0 !important; padding: 0; }
.belv2-pdp .belv2-pdp__add-wrap #add_to_cart button.exclusive { padding: 14px 24px; position: relative; }

/* Neutralise the LEGACY .box-info-product .exclusive styling (themes/belec2026/css/product.css:425+):
   it adds a FontAwesome cart icon ::before (51px wide blue square), an ::after divider, and on the
   inner <span> a 60px left-padding + 20px font + blue borders + white text + display:block !important.
   On the v2 PDP we want a clean inline-flex with the SVG I added on the left + plain text. */
.belv2-pdp .belv2-pdp__add-wrap #add_to_cart button.exclusive::before,
.belv2-pdp .belv2-pdp__add-wrap #add_to_cart button.exclusive::after,
.belv2-pdp .box-info-product .exclusive::before,
.belv2-pdp .box-info-product .exclusive::after { content: none !important; display: none !important; }
.belv2-pdp .belv2-pdp__add-wrap #add_to_cart button.exclusive span,
.belv2-pdp .box-info-product .exclusive span {
  background: none !important; border: 0 !important; border-radius: 0 !important;
  padding: 0 !important; margin: 0 !important;
  font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important;
  text-shadow: none !important;
  display: inline-flex !important; align-items: center !important;
  color: var(--bel-gold-ink) !important;
  height: auto !important;
}

/* D — section titles below the main grid (replaces the Phase-B underline heading) */
.belv2-pdp .page-product-box { margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--bel-rule); }
.belv2-pdp .page-product-box:first-of-type { border-top: 0; padding-top: 8px; }
/* match the "Produits apparentés" section title (.bel-section-title) */
.belv2-pdp .page-product-heading { font-family: var(--bel-font-display); font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--bel-ink); margin: 0 0 24px; padding: 0; border: 0; text-transform: none; }
.belv2-pdp .page-product-heading em { color: var(--bel-gold-lo); font-style: normal; }
/* the description in "More info" section reads better at a larger comfortable size */
.belv2-pdp .page-product-box .rte { font-size: 14px; line-height: 1.7; color: var(--bel-ink-2); padding: 0 !important; }

/* ============================================================================
   productcomments — v2 reviews list + "write a review" centered modal.
   Lives here (versioned ?v= stylesheet) rather than the module's unversioned
   css/modules/productcomments/productcomments.css so the styles are never
   served stale from browser cache. .star/.star_on glyphs are defined above. */

/* kill any stale legacy FontAwesome :after star (would double-render vs ::before) */
.star:after, .star_on:after { content: none !important; }

/* --- reviews list --- */
.belv2-reviews { margin: 0 0 8px; }
.belv2-review { padding: 18px 0; border-top: 1px solid var(--bel-rule); }
.belv2-review:first-child { padding-top: 0; border-top: 0; }
.belv2-review__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.belv2-review__meta { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.belv2-review__author { font-weight: 700; color: var(--bel-ink); }
.belv2-review__date { font-family: var(--bel-font-mono); font-size: 11px; color: var(--bel-muted); font-style: normal; }
.belv2-review__title { font-weight: 700; margin: 0 0 4px; color: var(--bel-ink); }
.belv2-review__content { margin: 0 0 10px; color: var(--bel-ink-2); line-height: 1.55; }
.belv2-review__actions { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.belv2-review__actions li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.belv2-review__actions li:before { content: none; }
.belv2-review__useful-count, .belv2-review__q { font-size: 12px; color: var(--bel-muted); }
.belv2-review .report_btn { font-family: var(--bel-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--bel-muted); cursor: pointer; }
.belv2-review .report_btn:hover { color: var(--bel-stock-out); text-decoration: underline; }
.belv2-reviews__cta { margin: 18px 0 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.belv2-reviews__cta--empty { margin-top: 0; }
.belv2-reviews__empty-note { color: var(--bel-muted); }

/* --- centered modal --- */
body.bel-no-scroll { overflow: hidden; }
.bel-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 20px; }
.bel-modal.is-open { display: flex; }
.bel-modal__backdrop { position: absolute; inset: 0; background: rgba(14, 14, 12, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.bel-modal__dialog { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(560px, 96vw); max-height: 90vh; background: var(--bel-card); border: 1px solid var(--bel-rule); border-radius: var(--bel-r-md); box-shadow: var(--bel-shadow-lg); overflow: hidden; }
/* image lightbox variant (gallery zoom) — frameless, just the image + close */
.bel-modal__dialog--image { width: auto; max-width: 92vw; max-height: 92vh; background: transparent; border: 0; box-shadow: none; overflow: visible; align-items: flex-end; }
.bel-modal__dialog--image .bel-modal__close { position: absolute; top: -6px; right: -6px; width: 36px; height: 36px; border-radius: 50%; background: var(--bel-card); border: 1px solid var(--bel-rule); color: var(--bel-ink); display: inline-flex; align-items: center; justify-content: center; }
.bel-modal__img { display: block; max-width: 92vw; max-height: 92vh; width: auto; height: auto; object-fit: contain; border-radius: var(--bel-r-md); background: var(--bel-sheet); }
.bel-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--bel-rule); }
.bel-modal__head h3 { margin: 0; font-family: var(--bel-font-display); font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--bel-ink); }
.bel-modal__close { border: 0; background: none; font-size: 24px; line-height: 1; color: var(--bel-muted); cursor: pointer; padding: 0 4px; }
.bel-modal__close:hover { color: var(--bel-ink); }
.bel-modal__body { padding: 20px; overflow-y: auto; }
.bel-modal__body .bel-field { margin-bottom: 14px; }
.bel-modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--bel-rule); background: var(--bel-sheet); }
.bel-modal__actions { display: inline-flex; gap: 10px; }
.bel-modal__required { margin: 0; font-size: 12px; color: var(--bel-muted); }
.bel-modal__required sup, .bel-modal__body .required { color: var(--bel-stock-out); }
.bel-modal__error { background: rgba(163, 30, 30, .08); border: 1px solid var(--bel-stock-out); border-radius: var(--bel-r-sm); padding: 10px 14px; margin-bottom: 14px; }
.bel-modal__error ul { margin: 0; padding-left: 18px; color: var(--bel-stock-out); font-size: 13px; }
.bel-modal__success { margin: 0; font-size: 15px; color: var(--bel-ink); line-height: 1.5; }

/* --- interactive star picker (CSS-only; posts criterion[id]=value) --- */
.belv2-rating-input { margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.belv2-rating-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.belv2-rating-label { font-family: var(--bel-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--bel-muted); }
.belv2-stars { position: relative; display: inline-flex; flex-direction: row-reverse; align-items: center; }
/* hide the native radios bulletproof — high specificity + !important + appearance:none */
.belv2-stars input.belv2-star-in {
  position: absolute !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
  -webkit-appearance: none !important; appearance: none !important; pointer-events: none;
}
.belv2-stars label { font-size: 24px; line-height: 1; color: var(--bel-rule); cursor: pointer; padding: 0 2px; transition: color var(--bel-fast) var(--bel-ease); }
/* selected state (when not hovering) */
.belv2-stars:not(:hover) .belv2-star-in:checked ~ label { color: var(--bel-gold); }
/* hover preview fills the hovered star + everything to its left (DOM = after, due to row-reverse) */
.belv2-stars label:hover,
.belv2-stars label:hover ~ label { color: var(--bel-gold); }
