/* PRODUCT_V3 (2.0): the product page as one guided purchase. Left: square gallery, then what you receive and shipping/payment.
   Right (sticky on desktop): name, price, one line of facts, then 1 · quantity (tier buttons), 2 · your order, the button.
   Same tokens and type scale as the cart (bjm-cart-v2.css) and the drawer (.bjm-cd). Loaded only with BJM_PRODUCT_V3. */
body#product .bjm-pdp-v3{--b:#7828c8;--bi:#5a1d99;--bw:#f4eefc;--ink:#17141c;--mu:#67616f;--ln:#ebe7f0;--wash:#f8f6fb;--ok:#157a4a}

/* Layout: two columns that start together; the buying column follows the scroll. */
@media (min-width:768px){
  body#product .bjm-pdp-v3 .product-container{display:flex;align-items:flex-start}
  body#product .bjm-pdp-v3 .product-container>.col-md-6:last-child{position:sticky;top:calc(var(--bjm-hdr-h,0px) + 16px)}
}

/* Gallery: always square, white, the whole photo (no bands, no veil). */
body#product .bjm-pdp-v3 .product-container #content{position:relative!important;top:auto!important}
body#product .bjm-pdp-v3 .product-cover{aspect-ratio:1/1;background:#fff;border:1px solid var(--ln);border-radius:16px;overflow:hidden;display:grid;place-items:center;margin-bottom:12px}
body#product .bjm-pdp-v3 .product-cover img.js-qv-product-cover,body#product .bjm-pdp-v3 .product-cover>img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;background:#fff!important;border:0!important;border-radius:0!important}
body#product .bjm-pdp-v3 .product-cover .layer{background:transparent!important;opacity:1!important;align-items:flex-end!important;justify-content:flex-end!important;padding:12px;cursor:zoom-in}
body#product .bjm-pdp-v3 .product-cover .layer .zoom-in{font-size:22px!important;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--ink)!important;box-shadow:0 1px 4px rgba(23,20,28,.18);display:grid;place-items:center}
body#product .bjm-pdp-v3 .product-images .thumb{aspect-ratio:1/1;object-fit:contain;background:#fff}

/* Under the gallery: what you receive, then shipping and payment. */
body#product .bjm-pdp-v3 .bjm-v3-left{display:grid;gap:14px;margin-top:18px}
body#product .bjm-pdp-v3 .bjm-v3-left>*{margin:0!important}

/* Name, price and one line of facts. */
body#product .bjm-pdp-v3 .product-container h1.h1{font-size:28px;line-height:1.2;font-weight:800;letter-spacing:-.01em;margin:0 0 8px;text-transform:none}
body#product .bjm-pdp-v3 .product-prices{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 18px}
body#product .bjm-pdp-v3 .product-prices>.product-discount,body#product .bjm-pdp-v3 .product-prices>.product-price{flex-basis:100%;margin:0}
body#product .bjm-pdp-v3 .bjm-product-data{display:contents}
body#product .bjm-pdp-v3 .bjm-product-data>.bjm-product-tiers,body#product .bjm-pdp-v3 .product-discounts{display:none!important}
body#product .bjm-pdp-v3 .bjm-product-data>p,body#product .bjm-pdp-v3 .product-prices .tax-shipping-delivery-label{margin:0!important;font-size:13.5px!important;line-height:1.4;color:var(--mu)}
body#product .bjm-pdp-v3 .bjm-product-data>.bjm-list-mode{font-weight:700;color:var(--ok)!important}
body#product .bjm-pdp-v3 .bjm-product-data>.bjm-list-mode.bjm-mode-quote{color:#8a5a00!important}
body#product .bjm-pdp-v3 .bjm-product-lot:empty{display:none}
body#product .bjm-pdp-v3 .product-prices .discount{font-size:12.5px!important;line-height:1.3;padding:3px 9px!important;border-radius:999px!important;vertical-align:middle}
body#product .bjm-pdp-v3 .product-prices .product-unit-price{margin:0;font-size:13.5px;color:var(--mu)}

/* The buying box: steps in order, whatever the native markup order is. */
body#product .bjm-pdp-v3 .product-add-to-cart{display:flex;flex-direction:column;gap:12px;border:1px solid var(--ln);border-radius:18px;padding:18px;background:#fff}
body#product .bjm-pdp-v3 .product-add-to-cart .product-quantity{display:contents!important}
body#product .bjm-pdp-v3 .product-add-to-cart>.bm-oos-alert{order:0}
body#product .bjm-pdp-v3 .product-add-to-cart>.bjm-v3-step{order:1}
body#product .bjm-pdp-v3 .product-add-to-cart>.bjm-v3-tiers{order:2}
body#product .bjm-pdp-v3 .product-add-to-cart .qty,body#product .bjm-pdp-v3 .product-add-to-cart .bjm-journey-calc{order:3}
body#product .bjm-pdp-v3 .product-add-to-cart>.bjm-product-buy-guide{order:4}
body#product .bjm-pdp-v3 .product-add-to-cart .add{order:5}
body#product .bjm-pdp-v3 .product-add-to-cart>#product-availability{order:6}
body#product .bjm-pdp-v3 .product-add-to-cart .product-quantity>:not(.qty):not(.add):not(.bjm-journey-calc){order:7}
body#product .bjm-pdp-v3 .product-add-to-cart>.product-minimal-quantity{display:none!important}
body#product .bjm-pdp-v3 .bjm-v3-step{display:flex;align-items:center;gap:10px;margin:0;font-size:16px;font-weight:800;color:var(--ink)}
body#product .bjm-pdp-v3 .bjm-v3-step>span{flex:none;width:24px;height:24px;border-radius:50%;background:var(--b);color:#fff;font-size:13px;font-weight:800;display:grid;place-items:center}
body#product .bjm-pdp-v3 .product-add-to-cart .qty{margin:0!important;float:none!important;align-self:flex-start;flex:none!important;width:auto!important;max-width:none!important}

/* Step 1: tier buttons and the hint towards the next one. */
body#product .bjm-pdp-v3 .bjm-v3-tiers{display:grid;gap:8px}
body#product .bjm-pdp-v3 .bjm-v3-tiers[hidden]{display:none}
body#product .bjm-pdp-v3 .bjm-v3-tier-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
body#product .bjm-pdp-v3 .bjm-v3-tier{display:grid;gap:2px;justify-items:start;text-align:left;padding:10px 12px;border:1px solid var(--ln);border-radius:14px;background:#fff;color:var(--ink);cursor:pointer;font:inherit;transition:border-color .15s,background .15s}
body#product .bjm-pdp-v3 .bjm-v3-tier:hover{border-color:var(--b)}
body#product .bjm-pdp-v3 .bjm-v3-tier>span{font-size:13.5px;color:var(--mu);font-weight:600}
body#product .bjm-pdp-v3 .bjm-v3-tier>strong{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
body#product .bjm-pdp-v3 .bjm-v3-tier>small{font-size:12.5px;color:var(--mu)}
body#product .bjm-pdp-v3 .bjm-v3-tier[aria-pressed="true"]{border:2px solid var(--b);padding:9px 11px;background:var(--bw)}
body#product .bjm-pdp-v3 .bjm-v3-tier[aria-pressed="true"]>span{color:var(--bi)}
body#product .bjm-pdp-v3 .bjm-v3-hint{justify-self:start;border:0;background:none;padding:2px 0;color:var(--bi);font:inherit;font-size:14px;font-weight:700;cursor:pointer;text-align:left}
body#product .bjm-pdp-v3 .bjm-v3-hint::after{content:" →"}
body#product .bjm-pdp-v3 .bjm-v3-hint:hover{text-decoration:underline}

/* Step 2: the order line, what comes later, where it goes. */
body#product .bjm-pdp-v3 .bjm-v3-guide{border:0!important;border-top:1px solid var(--ln)!important;padding:14px 0 0!important;margin:0!important;background:none!important;border-radius:0!important;box-shadow:none!important}
body#product .bjm-pdp-v3 .bjm-v3-guide>section{display:grid;gap:8px;padding:0!important;border:0!important;background:none!important}
body#product .bjm-pdp-v3 .bjm-v3-order:empty{display:none}
body#product .bjm-pdp-v3 .product-add-to-cart .product-quantity>.bjm-journey-calc{display:none!important}
body#product .bjm-pdp-v3 .bjm-v3-order .bjm-journey-calc{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0;padding:0;background:none;border:0;font-size:15px;color:#3f3a47}
body#product .bjm-pdp-v3 .bjm-v3-order .bjm-journey-calc[hidden]{display:none}
body#product .bjm-pdp-v3 .bjm-v3-order .bjm-journey-calc strong{font-size:20px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
body#product .bjm-pdp-v3 .bjm-v3-note{margin:0;font-size:13.5px;line-height:1.45;color:var(--mu)}
body#product .bjm-pdp-v3 .bjm-v3-address{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 12px;border-radius:12px;background:var(--wash);font-size:14px;color:#3f3a47}
body#product .bjm-pdp-v3 .bjm-v3-address a{flex:none;color:var(--bi)!important;font-weight:700}
body#product .bjm-pdp-v3 .bjm-v3-guest{flex-wrap:wrap}
body#product .bjm-pdp-v3 .bjm-v3-guest a:first-child{flex:1 1 auto}
body#product .bjm-pdp-v3 .bjm-v3-guest a+a{font-weight:600;color:var(--mu)!important}

/* The button: one icon, full width. */
body#product .bjm-pdp-v3 .product-add-to-cart .add .btn{width:100%;min-height:52px;border-radius:999px;font-size:16px;font-weight:800}
body#product .bjm-pdp-v3 .product-add-to-cart .add .btn>i.material-icons{display:none!important}
body#product .bjm-pdp-v3 .product-add-to-cart>#product-availability{font-size:13.5px;color:var(--mu)}

/* Secondary actions under the box, same small scale. */
body#product .bjm-pdp-v3 .product-additional-info{font-size:13.5px}
body#product .bjm-pdp-v3 .bjm-after-buy{margin-top:12px}

/* Phones: one column; the bar with the order line and the button while the real one is off screen. Full width: the chat bubble
   sits above it (Tawk customStyle in modules/tawkto widget.tpl), so no space is kept for it on the right. */
.bjm-v3-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#fff;border-top:1px solid #ebe7f0;box-shadow:0 -4px 16px rgba(23,20,28,.08);padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.bjm-v3-bar[hidden]{display:none}
.bjm-v3-bar>span{flex:none;font-size:16px;font-weight:800;color:#17141c;font-variant-numeric:tabular-nums;white-space:nowrap}
.bjm-v3-bar>button{flex:1 1 auto;min-width:0;min-height:44px;padding:0 16px;line-height:1.15;border:0;border-radius:999px;background:#7828c8;color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
/* Under the page: «More lots in this category» and «Recently viewed» as one row (6 lots), then the category button. */
body#product .bm-reco-section .bm-reco-arrow{display:none!important}
body#product .bm-reco-section .products{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;grid-auto-columns:calc((100% - 60px)/6);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;margin:0!important;padding:2px 2px 8px;scrollbar-width:thin}
body#product .bm-reco-section .products>*{width:auto!important;max-width:none!important;flex:none!important;float:none!important;margin:0!important;padding:0!important;scroll-snap-align:start}
body#product .bjm-reco-more{display:flex;justify-content:center;margin:16px 0 0}
body#product .bjm-reco-more a{display:inline-flex;align-items:center;min-height:46px;padding:0 22px;border:1.5px solid #7828c8;border-radius:999px;color:#5a1d99!important;font-weight:800;text-decoration:none!important}
body#product .bjm-reco-more a:hover{background:#f4eefc}
@media (max-width:1199px){body#product .bm-reco-section .products{grid-auto-columns:calc((100% - 24px)/3)}}
@media (max-width:767px){
  body#product .bjm-pdp-v3 .bjm-v3-tier{padding:9px 10px}
  body#product .bjm-pdp-v3 .bjm-v3-tier[aria-pressed="true"]{padding:8px 9px}
  body#product .bjm-pdp-v3 .bjm-v3-tier>strong{font-size:16px}
  body#product .bjm-pdp-v3 .bjm-v3-tier>span,body#product .bjm-pdp-v3 .bjm-v3-tier>small{font-size:12.5px}
  body#product .bm-reco-section .products{grid-auto-columns:44%}
}
@media (max-width:767px){
  /* Thumbnails swipe natively on phones; the desktop arrows would float outside the strip. */
  body#product .bjm-pdp-v3 .scroll-box-arrows{display:none!important}
  body#product .bjm-pdp-v3 .js-qv-mask{width:100%!important;overflow-x:auto!important;scrollbar-width:none}
  body#product .bjm-pdp-v3 .product-container h1.h1{font-size:22px}
  body#product .bjm-pdp-v3 .product-add-to-cart{padding:14px}
  /* Gallery, then buying, then what you receive: flatten the left column so its info can follow the right one. */
  body#product .bjm-pdp-v3 .product-container{display:flex;flex-direction:column}
  body#product .bjm-pdp-v3 .product-container>.col-md-6:first-child{display:contents}
  body#product .bjm-pdp-v3 .product-container>.col-md-6:first-child>*{order:1;box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding-inline:15px}
  body#product .bjm-pdp-v3 .product-container>.col-md-6:last-child{order:2;min-width:0;max-width:100%}
  body#product .bjm-pdp-v3 .product-container>.col-md-6:first-child>.bjm-v3-left{order:3}
}

/* Lot video (productvideo override): a light card until tapped. */
body#product .bjm-pvideo{margin:28px 0 0}
body#product .bjm-pvideo__title{margin:0 0 12px;font-size:20px;font-weight:800;color:#17141c}
body#product .bjm-pvideo__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
body#product .bjm-pvideo__play,body#product .bjm-pvideo__frame{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:16px;overflow:hidden;background:#17141c;padding:0;cursor:pointer}
body#product .bjm-pvideo__play img{width:100%;height:100%;object-fit:cover;opacity:.9}
body#product .bjm-pvideo__icon{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;background:#7828c8;color:#fff;display:grid;place-items:center;box-shadow:0 4px 16px rgba(0,0,0,.25)}
body#product .bjm-pvideo__play:hover .bjm-pvideo__icon{background:#5a1d99}
