/* d3 Kinesiology Tape product page (product.template 11 only).
   Every rule is scoped to .d3kt-on (added by d3-ktape.js to #product_detail, #product_full_description
   and section#d3-unroll), to the description's own section ids, or to d3kt- classes that only exist here. */

/* ---------- shared tokens (site palette) ---------- */
#product_detail.d3kt-on, #product_full_description, .d3kt-bar {
  --d3kt-ink: #0E1013; --d3kt-grey: #5A5F64; --d3kt-line: #DDD9D2; --d3kt-ground: #F7F6F3;
  --d3kt-orange: #FD6408; --d3kt-orange-ink: #B84700; --d3kt-card: #FFFFFF;
}

/* ==========================================================================
   (a) colour names under the swatches, selected state not colour only
   ========================================================================== */
#product_detail.d3kt-on .d3kt-colours > ul.o_wsale_product_attribute { column-gap: 10px !important; row-gap: 14px !important; }
#product_detail.d3kt-on .d3kt-colours li.d3kt-sw { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 62px; }
#product_detail.d3kt-on .d3kt-colours li.d3kt-sw > label.css_attribute_color { position: relative; margin: 0; flex: none; }
#product_detail.d3kt-on .d3kt-colours .d3kt-cn {
  display: block; width: 100%; text-align: center; font-size: 11.5px; line-height: 1.2; color: var(--d3kt-grey);
  overflow-wrap: anywhere; cursor: pointer; user-select: none;
}
#product_detail.d3kt-on .d3kt-colours label.css_attribute_color.active { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--d3kt-ink) !important; }
#product_detail.d3kt-on .d3kt-colours li.d3kt-sw:has(label.active) .d3kt-cn { color: var(--d3kt-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
#product_detail.d3kt-on .d3kt-colours .d3kt-tick { position: absolute; inset: 0; display: none; pointer-events: none; }
#product_detail.d3kt-on .d3kt-colours label.active .d3kt-tick { display: block; }
#product_detail.d3kt-on .d3kt-colours .d3kt-tick::after {          /* a check mark, white on dark colours, ink on light ones */
  content: ""; position: absolute; left: 50%; top: 46%; width: 34%; height: 18%;
  border-left: 2.5px solid #FFFFFF; border-bottom: 2.5px solid #FFFFFF; transform: translate(-50%, -50%) rotate(-45deg);
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, .45));
}
#product_detail.d3kt-on .d3kt-colours label.d3kt-light .d3kt-tick::after { border-color: var(--d3kt-ink); filter: none; }
#product_detail.d3kt-on .d3kt-colours label.d3kt-light { box-shadow: inset 0 0 0 1px rgba(14, 16, 19, .28); }
#product_detail.d3kt-on .d3kt-colours label.css_attribute_color:has(input:focus-visible) { outline: 3px solid var(--d3kt-orange); outline-offset: 5px; }

/* ==========================================================================
   GALLERY: the 3D slide floats on the page ground, no box
   ========================================================================== */
#o-carousel-product .d3kt-slide { background: transparent; }
#o-carousel-product .d3kt-stage { position: relative; width: 100%; height: 100%; min-height: 280px; aspect-ratio: 1 / 1; margin: 0 auto; touch-action: pan-y; }
#o-carousel-product .d3kt-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
#o-carousel-product .d3kt-stage canvas:active { cursor: grabbing; }
#o-carousel-product .d3kt-spin {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--d3kt-ink, #0E1013); border-radius: 0; background: #FFFFFF; color: #0E1013; font-size: 14px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
}
#o-carousel-product .d3kt-spin:hover { border-color: #FD6408; color: #B84700; }
#o-carousel-product .d3kt-spin:focus-visible { outline: 3px solid #FD6408; outline-offset: 2px; }
#o-carousel-product .d3kt-thumb { position: relative; }
#o-carousel-product .d3kt-thumb img { background: #EDECE8; }
#o-carousel-product .d3kt-badge {
  position: absolute; left: 4px; bottom: 4px; z-index: 2; padding: 2px 5px; font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: .06em;
  background: #0E1013; color: #FFFFFF; pointer-events: none;
}

/* ==========================================================================
   (b) sticky bar, (c) running total
   ========================================================================== */
#product_detail.d3kt-on .d3kt-total { display: inline-block; margin-left: 10px; font-size: .62em; font-weight: 600; color: var(--d3kt-grey); white-space: nowrap; vertical-align: middle; }
#product_detail.d3kt-on .d3kt-total[hidden] { display: none; }
.d3kt-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #FFFFFF; border-top: 1px solid var(--d3kt-line);
  box-shadow: 0 -6px 24px rgba(14, 16, 19, .08); transform: translateY(110%); transition: transform .28s cubic-bezier(.22, .61, .36, 1);
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.d3kt-bar.d3kt-bar-on { transform: none; }
.d3kt-bar-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.d3kt-bar-sw { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c, #ccc); }
.d3kt-bar-sw.d3kt-light { box-shadow: inset 0 0 0 1px rgba(14, 16, 19, .3); }
.d3kt-bar-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.d3kt-bar-c { font-size: 15px; color: var(--d3kt-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d3kt-bar-s { font-size: 13px; color: var(--d3kt-grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d3kt-bar-q { flex: none; display: inline-flex; align-items: center; border: 1px solid var(--d3kt-line); }
.d3kt-bar-q button { width: 44px; height: 44px; border: 0; background: #FFFFFF; font-size: 20px; line-height: 1; color: var(--d3kt-ink); cursor: pointer; }
.d3kt-bar-q button:disabled { color: #B9B6B0; cursor: default; }
.d3kt-bar-q button:focus-visible, .d3kt-bar-add:focus-visible { outline: 3px solid var(--d3kt-orange); outline-offset: 2px; }
.d3kt-bar-n { min-width: 2.2em; text-align: center; font-weight: 700; font-size: 15px; color: var(--d3kt-ink); }
.d3kt-bar .d3kt-bar-add { flex: none; min-height: 44px; white-space: nowrap; }
html.d3kt-barpad body { padding-bottom: 84px; }
@media (max-width: 575.98px) {
  .d3kt-bar-in { gap: 10px; }
  .d3kt-bar-sw { width: 28px; height: 28px; }
  .d3kt-bar-q button { width: 40px; }
  .d3kt-bar .d3kt-bar-add { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 359.98px) { .d3kt-bar-s { display: none; } }

/* ==========================================================================
   UNROLL IT  (section#d3-unroll in the description)
   ========================================================================== */
#d3-unroll .d3kt-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #B84700; margin: 0 0 8px; }
#d3-unroll .d3kt-sub { color: #5A5F64; margin: 0 0 24px; }
#d3-unroll .d3kt-beats, #d3-unroll #d3kt-i18n { display: none !important; }
#d3-unroll .d3kt-ur { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 40px); align-items: start; }
#d3-unroll .d3kt-unroll-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: calc(100svh - 120px); transition: opacity .22s; }
#d3-unroll .d3kt-unroll-stage.d3kt-fade { opacity: 0; }
#d3-unroll .d3kt-unroll-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%);
  mask-composite: intersect;
}
#d3-unroll .d3kt-unroll-stage canvas[hidden] { display: none; }
#d3-unroll .d3kt-unroll-stage.d3kt-empty { aspect-ratio: auto; height: 0; max-height: 0; overflow: hidden; }   /* no 3D, no stills: the steps read as text */
#d3-unroll .d3kt-panel { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
#d3-unroll .d3kt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; }
.d3kt-steps:has(> li:nth-child(7)) { gap: 4px; }
.d3kt-steps:has(> li:nth-child(7)) > li { font-size: 10.5px; letter-spacing: 0; }
#d3-unroll .d3kt-steps > li {
  display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 3px solid #DDD9D2;
  font-weight: 700; font-size: 13px; text-transform: uppercase; color: #5A5F64; overflow-wrap: anywhere;
}
#d3-unroll .d3kt-steps .d3kt-n { font-size: 12px; font-weight: 600; color: #5A5F64; }
#d3-unroll .d3kt-steps > li.d3kt-done { color: #0E1013; border-top-color: #FD6408; }
#d3-unroll .d3kt-steps > li.d3kt-done .d3kt-n { color: #B84700; }
#d3-unroll .d3kt-steps > li.d3kt-done .d3kt-n::after { content: " \2713"; color: #0E1013; }
#d3-unroll .d3kt-line { font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; text-transform: uppercase; color: #0E1013; margin: 0; min-height: 2.3em; text-wrap: balance; overflow-wrap: anywhere; }   /* two lines reserved: the button never moves */
#d3-unroll .d3kt-next { align-self: flex-start; min-height: 52px; min-width: 200px; font-size: 17px; }
#d3-unroll .d3kt-after { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
#d3-unroll .d3kt-reset { background: none; border: 0; padding: 0 2px; min-height: 44px; font-size: 16px; color: #0E1013; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; visibility: hidden; }
#d3-unroll .d3kt-reset.d3kt-onr { visibility: visible; }
#d3-unroll.d3kt-on .d3kt-note[hidden] { display: none; }
#d3-unroll:not(.d3kt-on) .d3kt-note { display: block; }     /* without the script every link stays reachable */
#d3-unroll .d3kt-note p { margin: 0 0 12px; }
#d3-unroll .d3kt-links { display: flex; flex-wrap: wrap; gap: 10px; }
#d3-unroll .d3kt-links .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; margin: 0; line-height: 1; }
#d3-unroll .d3kt-shown { font-size: 15px; color: #5A5F64; margin: 0; }
#d3-unroll .d3kt-shown b { color: #0E1013; }
#d3-unroll .d3kt-shown a { color: #B84700; font-weight: 700; display: inline-block; padding-block: 11px; margin-block: -11px; }
#d3-unroll .d3kt-next:focus-visible, #d3-unroll .d3kt-reset:focus-visible, #d3-unroll a:focus-visible { outline: 3px solid #FD6408; outline-offset: 3px; }
/* the page works without the script: the button and status lines only make sense with it */
#d3-unroll:not(.d3kt-on) .d3kt-next, #d3-unroll:not(.d3kt-on) .d3kt-reset, #d3-unroll:not(.d3kt-on) .d3kt-line, #d3-unroll:not(.d3kt-on) .d3kt-shown, #d3-unroll:not(.d3kt-on) .d3kt-unroll-stage { display: none; }
@media (max-width: 991.98px) {
  #d3-unroll .d3kt-ur { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #d3-unroll .d3kt-unroll-stage { aspect-ratio: 4 / 3; max-height: calc(100svh - 40px); }
  #d3-unroll .d3kt-panel { gap: 14px; }
  #d3-unroll .d3kt-line { order: 1; min-height: 2.3em; }
  #d3-unroll .d3kt-next { order: 2; }
  #d3-unroll .d3kt-after { order: 3; }
  #d3-unroll .d3kt-steps { order: 5; }
  #d3-unroll .d3kt-shown { order: 6; }
}
@media (max-width: 575.98px) { #d3-unroll .d3kt-next { align-self: stretch; } #d3-unroll .d3kt-steps > li { font-size: 12px; } }

/* ==========================================================================
   WHAT IT IS GOOD FOR (#d3-use) and HOW TO USE (#d3-apply): real photos
   ========================================================================== */
#d3-use .d3kt-tut { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border: 1px solid #DDD9D2; color: #0E1013; text-decoration: none; transition: transform .32s cubic-bezier(.22, .61, .36, 1), box-shadow .32s ease, border-color .32s ease; }
#d3-use .d3kt-tut:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(14, 16, 19, .10); border-color: #FD6408; }
#d3-use .d3kt-tut:focus-visible { outline: 3px solid #FD6408; outline-offset: 3px; }
#d3-use .d3kt-tut img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #EFEEEA; }
#d3-use .d3kt-tut-t { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1 1 auto; }
#d3-use .d3kt-tut-t .d3ucard-n { margin-bottom: 0; }
#d3-use .d3kt-tut-t h3 { margin: 0; }
#d3-use .d3kt-tut-t p { margin: 0; flex: 1 1 auto; }
#d3-use .d3kt-tut-t .d3ucard-go { margin-top: 6px; color: #B84700; }
#d3-apply .d3kt-step { height: 100%; background: #FFFFFF; border: 1px solid #DDD9D2; }
#d3-apply .d3kt-step img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #EFEEEA; }
#d3-apply .d3kt-step-t { padding: 18px 18px 20px; }
#d3-apply .d3kt-step-t .d3step-n { display: block; font-size: 11px; letter-spacing: .18em; color: #B84700; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  .d3kt-bar { transition: none; }
  #d3-unroll .d3kt-unroll-stage { transition: none; }
  #d3-use .d3kt-tut { transition: none; }
  #d3-use .d3kt-tut:hover { transform: none; }
}
@media (forced-colors: active) {
  #product_detail.d3kt-on .d3kt-colours label.css_attribute_color.active { outline: 3px solid CanvasText; outline-offset: 3px; }
  #d3-unroll .d3kt-steps > li.d3kt-done { border-top-color: Highlight; }
}

/* hide colour names for combinations Odoo marks unavailable (their swatch is already hidden) */
.d3kt-on li.d3kt-sw:has(> label.css_not_available),.d3kt-on li.d3kt-sw:has(> label.css_attribute_color[style*="display: none"]){display:none!important}
/* d3kt cross-fade overlay (add to d3-ktape.css, attachment 11758) */
#o-carousel-product .carousel-inner{position:relative}
#o-carousel-product .d3kt-xf{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;pointer-events:none;animation:d3ktXf .28s cubic-bezier(.4,0,.2,1) forwards}
#o-carousel-product .d3kt-xf .d3kt-xf-img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@keyframes d3ktXf{from{opacity:1}to{opacity:0}}
@media (prefers-reduced-motion:reduce){#o-carousel-product .d3kt-xf{display:none}}


/* ---- d3-pdp3: an easier product page. The long text under the buy panel opens on request; on phones the card rows
   swipe sideways (the page is far shorter) and the section links sit on one line. ---- */
#product_details .d3-detail.d3kt-clamp:not(.d3kt-open) { max-height: 210px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 52%, transparent); mask-image: linear-gradient(#000 52%, transparent); }
#product_details .d3kt-more { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 20px; padding: 10px 0 8px; background: none; border: 0; border-bottom: 2px solid #FD6408; font: inherit; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #0E1013; cursor: pointer; align-self: flex-start; }
#product_details .d3kt-more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #FD6408; border-bottom: 2px solid #FD6408; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
#product_details .d3kt-more[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
#product_details .d3kt-more:focus-visible { outline: 3px solid #FD6408; outline-offset: 4px; }
@media (max-width: 575.98px) {
  #d3-use .row.g-3, #d3-apply .row.d3steps, #d3-works .row.g-3, #d3_also_like .row.g-3, #wrap .d3rev-grid {
    display: flex !important; flex-wrap: nowrap !important; align-items: stretch; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: -12px !important; margin-right: -12px !important; padding: 0 12px 4px !important; scroll-padding: 0 12px; gap: 12px !important; --bs-gutter-x: 0; --bs-gutter-y: 0; column-count: auto !important;
  }
  #d3-use .row.g-3::-webkit-scrollbar, #d3-apply .row.d3steps::-webkit-scrollbar, #d3-works .row.g-3::-webkit-scrollbar, #d3_also_like .row.g-3::-webkit-scrollbar, #wrap .d3rev-grid::-webkit-scrollbar, .d3pdp-jump .container::-webkit-scrollbar { display: none; }
  #d3-use .row.g-3 > [class*="col-"], #d3-apply .row.d3steps > [class*="col-"] { flex: 0 0 76% !important; max-width: 76% !important; width: auto !important; padding: 0 !important; margin: 0 !important; scroll-snap-align: start; }
  #d3-works .row.g-3 > [class*="col-"], #d3_also_like .row.g-3 > [class*="col-"] { flex: 0 0 60% !important; max-width: 60% !important; width: auto !important; padding: 0 !important; margin: 0 !important; scroll-snap-align: start; }
  #wrap .d3rev-grid > .d3rev-c { flex: 0 0 84% !important; max-width: 84% !important; margin: 0 !important; scroll-snap-align: start; break-inside: auto; }
  .d3pdp-jump .container { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; gap: 8px; justify-content: flex-start !important; }
  .d3pdp-jump .d3jump { flex: none; white-space: nowrap; }
}

/* the live 3D is shown once it has drawn with its artwork (the still stays up until then) */
#d3-unroll .d3kt-unroll-stage:not(.d3kt-live) canvas:not(.d3kt-fb){opacity:0}

/* ==========================================================================
   d3 product page, PHASE 1 (CSS only, safe by itself). Append to attachment 11758 (d3kt-d3-ktape.css).
   Everything is scoped to the product page (#wrap.o_wsale_product_page / #product_detail) or to the chat
   button's public ::part names. No JS needed. Phase 2 (pdp.css) builds on top of this and repeats nothing.
   ========================================================================== */

/* ---- P1.1 sideways overflow on phones and tablets (r2 fix 3) ----
   #product_detail_main.row has -15px side margins inside a section with no padding: the page was 15 to 16px wider than
   the screen, so it could pan sideways and every fixed element was laid out on a wider canvas. */
@media (max-width: 991.98px) {
  #product_detail_main { margin-left: 0 !important; margin-right: 0 !important; }
  #product_detail_main > [class*="col"] { padding-left: 0 !important; padding-right: 0 !important; }
}
html[data-main-object^="product.template("] { overflow-x: clip; }

/* ---- P1.2 the price block renders empty for retail visitors: no ruled, padded gap (about 90px) ---- */
.js_product > article > .o_wsale_product_details_content_section_price.d3pdp-empty { display: none !important; }

/* ---- P1.3 chat bubble on phones and tablets (the button lives in a shadow root: only ::part reaches it) ----
   48px instead of 64px, the "Chat with d3" label is clipped away (it covered options and controls on every screen),
   the stock orange bubble never flashes before the d3 one is drawn, and the bubble is hidden under menus and dialogs. */
.o-livechat-root::part(openChatButton) { background-color: #0B0B0C; color: transparent; }
@media (max-width: 991.98px) {
  .o-livechat-root::part(openChatButton) { scale: .75; transform-origin: 100% 100%; clip-path: circle(50%); }
}
body.modal-open .o-livechat-root,
html.d3pdp-ov .o-livechat-root,
html.d3pdp-ov .o-livechat-root,
html.d3pdp-ov .o-livechat-root,
html.d3pdp-ov .o-livechat-root { visibility: hidden !important; }

/* ---- P1.4 the section chips stuck at top:0 underneath the fixed header: only an orange sliver showed ---- */
@media (max-width: 991.98px) {
  #wrap.o_wsale_product_page > section.d3pdp-jump { position: static !important; }
}

/* ---- P1.5 the thin progress line down the left edge and the tiny page counter read as glitches on small screens ---- */
@media (max-width: 991.98px) {
  html[data-main-object^="product.template("] #d3pb, html[data-main-object^="product.template("] #d3ct { display: none !important; }
}

/* ---- P1.6 tap targets: at least 44px for everything a thumb has to hit (the look stays, the hit area grows) ---- */
@media (max-width: 991.98px) {
  /* gallery arrows: fully on screen now, 44 x 44 */
  #o-carousel-product .carousel-control-prev, #o-carousel-product .carousel-control-next { width: 44px !important; min-height: 44px; }
  #o-carousel-product .carousel-control-prev { left: 4px !important; }
  #o-carousel-product .carousel-control-next { right: 4px !important; }
  /* gallery dots: a 44px tall hit strip per dot; the 3D dot is a readable "3D" pill instead of a 10px badge */
  #o-carousel-product ol.carousel-indicators > li { position: relative; }
  #o-carousel-product ol.carousel-indicators > li::before { content: ""; position: absolute; left: -3px; right: -3px; top: -16px; bottom: -16px; }
  #o-carousel-product ol.carousel-indicators > li.d3kt-thumb { width: auto !important; height: auto !important; min-width: 0; border: 0 !important; border-radius: 9px !important; background: none !important; opacity: 1 !important; margin-top: -3px; margin-bottom: -3px; }
  #o-carousel-product ol.carousel-indicators > li.d3kt-thumb { flex: none !important; overflow: visible !important; text-indent: 0 !important; }
  #o-carousel-product ol.carousel-indicators > li.d3kt-thumb .d3kt-badge { position: static; display: block; padding: 3px 7px; border-radius: 9px; font-size: 12px; line-height: 12px; letter-spacing: .04em; text-indent: 0; white-space: nowrap; background: #0E1013; color: #FFFFFF; }
  #o-carousel-product ol.carousel-indicators > li.d3kt-thumb.active .d3kt-badge { background: #FD6408; color: #0B0B0C; }
  /* colour swatches: 32px dots keep their look, the hit area is 44px */
  #product_detail .d3kt-colours label.css_attribute_color::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
  /* breadcrumb back link */
  #product_detail .o_wsale_breadcrumb .breadcrumb-item.d-lg-none > a { display: inline-flex; align-items: center; min-height: 44px; padding-right: 12px; }
  /* packaging options: the whole box is the label */
  #product_detail li.o_packaging_button { padding: 0 !important; min-height: 44px; display: flex; }
  #product_detail li.o_packaging_button > label { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 12px; margin: 0; }
  /* text links around the main action */
  #d3_where_to_buy .d3-loginlink { margin-top: 6px !important; padding-top: 13px !important; padding-bottom: 13px !important; }
  #d3_where_to_buy .d3-loginlink::after { bottom: 8px !important; }
  #o_wsale_product_cta_section small a.o_translate_inline { display: inline-block; padding-block: 14px; margin-block: -6px -10px; }
  #product_details .d3kt-more { min-height: 44px; }
  /* 3D player */
  #d3-unroll .d3kt-reset { min-width: 44px; }
  /* reviews: source links and the show more button */
  #wrap .d3rev a.d3rev-src { display: inline-block; padding-block: 13px; margin-block: -13px; }
  #wrap.o_wsale_product_page #d3-spec .container > p:last-child a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  /* sticky cart bar: quantity buttons */
  .d3kt-bar-q button { width: 44px !important; }
  /* region chooser: a close button a thumb can hit */
  #d3region .shut { min-width: 44px; min-height: 44px; }
  /* header buttons: same look, 44px hit area */
  header#top .o_header_mobile .d3-acct-btn, header#top .o_header_mobile .o_main_nav > button.nav-link { position: relative; }
  header#top .o_header_mobile .d3-acct-btn::before, header#top .o_header_mobile .o_main_nav > button.nav-link::before { content: ""; position: absolute; inset: -4px; }
}

/* ---- P1.7 small text: nothing under 12px, body copy notes at 14px ---- */
#product_detail.d3kt-on .d3kt-colours .d3kt-cn { font-size: 12px; }
#product_details .d3-lede p[style*="letter-spacing"], #product_details .d3-lede span[style*="letter-spacing"],
#product_details .d3-detail p[style*="letter-spacing"] { font-size: 12px !important; }
#product_details .d3-detail p[style*="13.5px"] { font-size: 14px !important; }
#wrap.o_wsale_product_page .d3speck, #wrap.o_wsale_product_page .d3ucard-n, #wrap.o_wsale_product_page .d3step-n,
#d3-apply .d3kt-step-t .d3step-n { font-size: 12px; }
#wrap.o_wsale_product_page #d3_also_like p[style*="font-size:11px"] { font-size: 12px !important; }
#wrap.o_wsale_product_page #d3-spec .container > p:last-child { font-size: 14px; }
#wrap.o_wsale_product_page .d3size-note { font-size: 13px; }
#wrap.o_wsale_product_page .d3rev-meta, #wrap.o_wsale_product_page .d3rev-src, #wrap.o_wsale_product_page .d3alt-go { font-size: 12px; }

/* ==========================================================================
   d3 product page, PHASE 2: the rebuild (phone first, then tablet, then desktop). Goes after pdp-phase1.css.
   Works with pdp.js. Three layers:
   (A) CSS only: section order, hero, options, bands. Applies from the first paint, no script needed.
   (B) html.d3pdp-js (set by pdp.js): accordion / tabs, bars, the 3D player layout.
   (C) fallbacks: content that waits for pdp.js to move it unfolds by itself after 7s if pdp.js never arrives.
   Selectors use #wrap#wrap where the site's own "#wrap .x.x !important" rules have to be beaten.
   Motion: transform and opacity only, nothing loops, all of it off under prefers-reduced-motion.
   ========================================================================== */

#wrap.o_wsale_product_page, .d3pdp-bar {
  --ink: #0E1013; --grey: #5A5F64; --line: #DDD9D2; --paper: #F7F6F3; --paper2: #EFEDE8; --card: #FFFFFF;
  --orange: #FD6408; --orange-ink: #B84700; --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- A1. section order: product, section bar, 3D player, details, reviews, goes with it, why d3 ---------- */
#wrap.o_wsale_product_page { display: flex; flex-direction: column; }
#wrap.o_wsale_product_page > * { order: 50; min-width: 0; }
#wrap.o_wsale_product_page > #product_full_description { display: contents; }
#wrap.o_wsale_product_page > #oe_structure_website_sale_product_1 { order: 1; }
#wrap.o_wsale_product_page > #product_detail { order: 10; }
#wrap.o_wsale_product_page > .d3pdp-sen { order: 20; height: 0; }
#wrap.o_wsale_product_page > section.d3pdp-jump { order: 20; }
#wrap.o_wsale_product_page #d3-unroll { order: 30; }
#wrap.o_wsale_product_page > .d3pdp-tablist { order: 39; }
#wrap.o_wsale_product_page #d3-use { order: 40; }
#wrap.o_wsale_product_page #d3-apply { order: 41; }
#wrap.o_wsale_product_page #d3-spec { order: 42; }
#wrap.o_wsale_product_page > section[data-r]:not([id]):not(.d3revsec):not(.d3pdp-jump), #wrap.o_wsale_product_page > section.d3pdp-trust { order: 43; }
#wrap.o_wsale_product_page > section.d3revsec { order: 44; }
#wrap.o_wsale_product_page #d3-works { order: 46; }
#wrap.o_wsale_product_page > #d3_also_like { order: 47; }
#wrap.o_wsale_product_page > #d3-why { order: 48; }
#wrap.o_wsale_product_page .d3-scrollcue { display: none !important; }       /* it bounced on its own */
#wrap.o_wsale_product_page #d3-unroll, #wrap.o_wsale_product_page .d3pdp-row, #wrap.o_wsale_product_page section.d3revsec,
#wrap.o_wsale_product_page #d3-why, #wrap.o_wsale_product_page #d3-works { scroll-margin-top: calc(var(--d3pdp-top, 0px) + 60px); }

/* ---------- C. waiting for pdp.js: the long text and the fact table leave the buy panel (pdp.js files them under
   "What it is good for" and the specification). If pdp.js never runs they unfold here after 7 seconds. ---------- */
@keyframes d3pdpLate { to { max-height: none; overflow: visible; visibility: visible; } }
#product_details .d3-detail, #product_details .d3kt-more, #product_details .d3-lede > div:nth-child(n+2) {
  max-height: 0; overflow: hidden; visibility: hidden; margin: 0; animation: d3pdpLate 0s linear 7s forwards;
}
#product_details .d3-detail.d3kt-clamp:not(.d3kt-open) { max-height: 0; -webkit-mask-image: none; mask-image: none; }
html.d3pdp-js #product_details .d3kt-more { display: none !important; }
html.d3pdp-detail-stay #product_details .d3-detail, html.d3pdp-detail-stay #product_details .d3kt-more { animation-delay: 0s; }
html.d3pdp-detail-stay #product_details .d3kt-more { display: inline-flex !important; }
.d3pdp-gone { display: none !important; }

/* ---------- A2. hero text: one tight block, real hierarchy ---------- */
#wrap.o_wsale_product_page #product_detail { margin-top: 0 !important; margin-bottom: 0 !important; }
.d3pdp-meta { order: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.d3pdp-stage { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 0 10px; background: #0E1013; color: #FFFFFF !important; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; position: relative; }
.d3pdp-stage::before { content: ""; width: 6px; height: 6px; background: #FD6408; flex: none; }
.d3pdp-stage::after { content: ""; position: absolute; inset: -9px -4px; }
.d3pdp-stage:hover { background: #2A2D31; }
.d3pdp-stage:focus-visible { outline: 2px solid #FD6408; outline-offset: 2px; }
#wrap#wrap.o_wsale_product_page #product_detail h1 { margin: 0 0 8px !important; }
#wrap.o_wsale_product_page .js_product > article .d3-lede { margin: 0 0 16px !important; }
#wrap.o_wsale_product_page .d3-lede > div:first-child { margin: 0 !important; }
#wrap.o_wsale_product_page .d3-lede > div:first-child > h3 { font-size: 17px !important; line-height: 1.2 !important; margin: 0 0 6px !important; }
#wrap.o_wsale_product_page .d3-lede > div:first-child > p:last-child { font-size: 15px !important; line-height: 1.5 !important; color: #5A5F64 !important; margin: 0 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ---------- A3. options: one rhythm, one width, labels that read as labels ---------- */
#wrap.o_wsale_product_page .js_product > article > *, #wrap.o_wsale_product_page .js_product .o_wsale_product_details_content_section_attributes > *,
#wrap.o_wsale_product_page .js_product ul.o_wsale_product_page_variants > li, #wrap.o_wsale_product_page #d3_where_to_buy > * { min-width: 0; max-width: 100%; }
#wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes { display: flex; flex-direction: column; gap: 18px; margin: 0 0 20px !important; padding-top: 0 !important; border-top: 0 !important; }
#wrap.o_wsale_product_page .js_product ul.o_wsale_product_page_variants { gap: 18px !important; margin: 0 !important; }
#wrap.o_wsale_product_page .js_product .attribute_name, #wrap.o_wsale_product_page .js_product .d3size-lab {
  display: block; margin: 0 0 8px !important; font-family: inherit; font-size: 12px !important; line-height: 1.3; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #5A5F64;
}
#wrap.o_wsale_product_page .js_product .attribute_name .text-muted, #wrap.o_wsale_product_page .js_product .attribute_name .attribute_value, .d3pdp-fix { color: #0E1013 !important; }
.d3pdp-fix::before { content: "\00B7"; margin: 0 6px; color: #5A5F64; }
#wrap.o_wsale_product_page .d3size { max-width: none; margin: 0 !important; }
#wrap.o_wsale_product_page .d3size-note { margin-top: 6px; min-height: 0; }
#wrap.o_wsale_product_page .d3size-note:empty { display: none; }
#wrap.o_wsale_product_page .d3size-static { border: 0; background: none; padding: 0; font-size: 16px; font-weight: 600; }
#wrap.o_wsale_product_page .d3size-sel { min-height: 52px; font-size: 16px; }
.d3size.d3pdp-haspills .d3size-field { display: none !important; }
.d3pdp-pills { display: flex; gap: 8px; }
.d3pdp-pill { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 10px; border: 1px solid #C9C5BD; border-radius: 0; background: #FFFFFF; color: #0E1013; font: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.d3pdp-pill { white-space: normal; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; padding-block: 6px; }
.d3pdp-pill:hover { border-color: #0E1013; }
.d3pdp-pill.on { border-color: #0E1013; box-shadow: inset 0 0 0 1px #0E1013; }
.d3pdp-pill:focus-visible, .d3pdp-bar-info:focus-visible, .d3pdp-back:focus-visible, .d3pdp-col:focus-visible, .d3pdp-coldot:focus-visible, .d3pdp-stepbtn:focus-visible,
.d3pdp-tab:focus-visible, .d3pdp-menu:focus-visible, .d3pdp-3d:focus-visible, .d3pdp-more:focus-visible, .d3pdp-revnote:focus-visible, .d3pdp-rowh:focus-visible, .d3pdp-mini:focus-visible { outline: 2px solid #FD6408; outline-offset: 2px; }
/* packaging: one row of pills, selected in ink (not orange) */
#wrap.o_wsale_product_page div[name="packaging_selector"] ul.btn-group-toggle { display: flex !important; gap: 8px; margin: 0 !important; overflow-x: auto; scrollbar-width: none; }
#wrap.o_wsale_product_page div[name="packaging_selector"] ul.btn-group-toggle::-webkit-scrollbar { display: none; }
#wrap#wrap.o_wsale_product_page li.o_packaging_button { flex: 1 0 auto; width: auto !important; min-height: 48px; padding: 0 !important; display: flex; border: 1px solid #C9C5BD !important; background: #FFFFFF !important; color: #0E1013 !important; }
#wrap#wrap.o_wsale_product_page li.o_packaging_button > label { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px; margin: 0; font-size: 15px; font-weight: 600; white-space: nowrap; color: #0E1013 !important; }
#wrap#wrap.o_wsale_product_page li.o_packaging_button.active { border-color: #0E1013 !important; box-shadow: inset 0 0 0 1px #0E1013; }
#wrap#wrap.o_wsale_product_page li.o_packaging_button.active * { color: #0E1013 !important; }
#wrap.o_wsale_product_page div[name="packaging_selector"] > ul > li > .attribute_name { display: block !important; }
/* colours: dots only, the chosen name is in the label */
#product_detail .d3kt-colours .d3kt-cn { display: none !important; }
#product_detail li.variant_attribute:has(label.css_attribute_color) > ul.o_wsale_product_attribute { gap: 10px !important; row-gap: 10px !important; margin: 0 !important; padding: 4px 4px 6px !important; }
#product_detail li.variant_attribute:has(label.css_attribute_color) > ul.o_wsale_product_attribute > li { width: auto !important; flex: none; }
#product_detail li.variant_attribute label.css_attribute_color { width: 36px !important; height: 36px !important; border-radius: 50% !important; margin: 0 !important; position: relative; }
#product_detail .d3kt-colours label.css_attribute_color::before { inset: -5px; }
#product_detail li.variant_attribute label.css_attribute_color:hover { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px #8A8F94; }
/* the main action: the one orange block */
#wrap.o_wsale_product_page #o_wsale_product_cta_section { margin: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
#wrap.o_wsale_product_page #d3_where_to_buy { margin: 0 0 10px !important; gap: 0 !important; }
#wrap#wrap.o_wsale_product_page #d3_where_to_buy > a.btn, #wrap#wrap.o_wsale_product_page #add_to_cart_wrap button[name="add_to_cart"] { min-height: 56px !important; font-size: 17px !important; width: 100%; }
#wrap#wrap.o_wsale_product_page #d3_where_to_buy > a.btn:hover, #wrap#wrap.o_wsale_product_page #add_to_cart_wrap button[name="add_to_cart"]:hover { background-color: #E25600 !important; border-color: #E25600 !important; color: #0B0B0C !important; }
#wrap#wrap.o_wsale_product_page #d3_where_to_buy > a.btn:focus-visible { outline: 2px solid #0E1013 !important; outline-offset: 3px !important; }
#wrap.o_wsale_product_page .d3-trust { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0 0 4px !important; font-size: 13px; color: #3F4347; }
#wrap.o_wsale_product_page .d3-trust > li:nth-child(2) { order: 3; }
.d3pdp-foot { margin: 14px 0 0; font-size: 13px; color: #5A5F64; }
.d3pdp-foot br { display: none; }
#wrap.o_wsale_product_page #o_wsale_product_cta_section > small { font-size: 12px; line-height: 1.45; }
#wrap.o_wsale_product_page #o_wsale_product_cta_section > small br { display: none; }
#wrap.o_wsale_product_page .d3pdp-flash { animation: d3pdpFlash .9s ease-out 1; }
@keyframes d3pdpFlash { 0% { opacity: .35; } 100% { opacity: 1; } }

/* ---------- A4. media chips (pdp.js): photo counter and the way to the 3D ---------- */
#wrap.o_wsale_product_page .o_wsale_product_images { position: relative; }
.d3pdp-mchips { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; pointer-events: none; }
.d3pdp-count-chip { margin-left: auto; min-height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(14, 16, 19, .72); color: #FFFFFF; font-size: 12px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.d3pdp-count-chip:empty { display: none; }
.d3pdp-3d { pointer-events: auto; position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px 0 6px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #0E1013; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 0 rgba(14, 16, 19, .12), 0 6px 18px -8px rgba(14, 16, 19, .45); }
.d3pdp-3d::after { content: ""; position: absolute; inset: -6px -4px; }
.d3pdp-3d b { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 999px; background: #0E1013; color: #FFFFFF; font-size: 11px; letter-spacing: .06em; }
.d3pdp-3d span::after { content: "\2193"; margin-left: 6px; color: #B84700; }
.d3pdp-3d:hover { background: #FFFFFF; }
/* a 3D thumbnail that has no picture yet shows a clean "3D" tile, never a broken image */
#o-carousel-product .d3kt-thumb img:not([src]), #o-carousel-product .d3kt-thumb img[src=""] { visibility: hidden; }
#o-carousel-product .d3kt-thumb > div { background: #E9E7E1; }

/* ---------- A5. the section bar (was: four orange chips) ---------- */
#wrap#wrap.o_wsale_product_page > section.d3pdp-jump { position: sticky !important; top: var(--d3pdp-top, 0px) !important; z-index: 1020 !important; background: #FFFFFF !important; border-top: 1px solid #DDD9D2 !important; border-bottom: 1px solid #DDD9D2 !important; }
#wrap#wrap.o_wsale_product_page > section.d3pdp-jump > .container { display: flex !important; flex-wrap: nowrap !important; align-items: stretch; justify-content: flex-start !important; gap: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; overflow-x: auto; scrollbar-width: none; min-height: 48px; }
#wrap#wrap.o_wsale_product_page > section.d3pdp-jump > .container::-webkit-scrollbar, .d3pdp-tabs::-webkit-scrollbar, .d3pdp-colpop::-webkit-scrollbar { display: none; }
#wrap#wrap.o_wsale_product_page section.d3pdp-jump a.d3jump.d3jump.d3jump.d3jump.d3jump.d3jump {
  flex: none; display: inline-flex !important; align-items: center !important; min-height: 48px !important; padding: 2px 12px 0 !important; margin: 0 !important;
  background: none !important; background-color: transparent !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important;
  color: #5A5F64 !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: .01em !important; line-height: 1.2 !important; white-space: nowrap; text-transform: none; transform: none !important; box-shadow: none !important;
}
#wrap#wrap.o_wsale_product_page section.d3pdp-jump a.d3jump.d3jump.d3jump.d3jump.d3jump.d3jump:hover { color: #0E1013 !important; background-color: transparent !important; }
#wrap#wrap.o_wsale_product_page section.d3pdp-jump a.d3jump.d3jump.d3jump.d3jump.d3jump.d3jump.cur { color: #0E1013 !important; border-bottom-color: #FD6408 !important; }
#wrap#wrap.o_wsale_product_page section.d3pdp-jump a.d3jump.d3jump.d3jump.d3jump.d3jump.d3jump:focus-visible { outline: 2px solid #FD6408 !important; outline-offset: -3px !important; }
/* with pdp.js: [product] [tabs] [menu or action] */
#wrap#wrap.o_wsale_product_page > section.d3pdp-nav > .container { overflow: visible; }
.d3pdp-tabs { flex: 1 1 auto; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); padding-right: 20px; }
.d3pdp-menu { flex: none; width: 48px; min-height: 48px; margin-right: -8px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.d3pdp-menu i { display: block; width: 20px; height: 2px; background: #0E1013; box-shadow: 0 -6px 0 #0E1013, 0 6px 0 #0E1013; }
.d3pdp-mini, .d3pdp-nav-go { display: none; }

/* ---------- B1. buy bar, phones and tablets ---------- */
.d3pdp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1031; display: none; align-items: center; gap: 10px; background: #FFFFFF; border-top: 1px solid #DDD9D2;
  padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  transform: translateY(105%); transition: transform .26s var(--ease);
}
.d3pdp-bar.on { transform: none; }
.d3pdp-bar [hidden] { display: none !important; }
.d3pdp-bar-info { flex: 1 1 0; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #0E1013; text-align: left; font: inherit; cursor: pointer; }
.d3pdp-bar-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #B0B5BA center / cover no-repeat; }
.d3pdp-bar-dot.light, .d3pdp-col-dot.light, .d3pdp-coldot.light { box-shadow: inset 0 0 0 1px rgba(14, 16, 19, .28); }
.d3pdp-bar-dot.img { width: 40px; height: 40px; border-radius: 4px; background-color: #EFEEEA; }
.d3pdp-bar-tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.d3pdp-bar-tx b { font-size: 14px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d3pdp-bar-tx span { font-size: 13px; color: #5A5F64; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d3pdp-bar-tx span:empty { display: none; }
.d3pdp-bar-go { flex: 0 0 auto; max-width: 48%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 0; background: #FD6408; color: #0B0B0C !important; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .02em; text-decoration: none !important; white-space: nowrap; cursor: pointer; }
.d3pdp-bar-go:active { background: #E25600; }
.d3pdp-bar-go:focus-visible { outline: 2px solid #0E1013; outline-offset: 2px; }
html.d3pdp-js .d3kt-bar { display: none !important; }                     /* the old quick-add bar: replaced */
html.d3pdp-js.d3kt-barpad body { padding-bottom: 0 !important; }

/* ---------- B2. chat bubble: above the bar, away while the player fills the screen, label once ---------- */
.o-livechat-root::part(openChatButton) { transition: translate .26s cubic-bezier(.22, .61, .36, 1), opacity .2s ease; }
@media (max-width: 991.98px) {
  html.d3pdp-bar-on .o-livechat-root::part(openChatButton) { translate: 0 calc(-31px - env(safe-area-inset-bottom)); }
  html.d3pdp-inplayer .o-livechat-root::part(openChatButton), html.d3pdp-inbuy .o-livechat-root::part(openChatButton) { opacity: 0; pointer-events: none; }
  html.d3pdp-chat-hi .o-livechat-root::part(openChatButton) { clip-path: none; }
}
@media (min-width: 992px) {                                               /* desktop: the orb, the label on hover or focus only */
  html[data-main-object^="product.template("] .o-livechat-root::part(openChatButton) { scale: .875; transform-origin: 100% 100%; clip-path: circle(50%); }
  html[data-main-object^="product.template("] .o-livechat-root::part(openChatButton):hover, html[data-main-object^="product.template("] .o-livechat-root::part(openChatButton):focus-visible, html.d3pdp-chat-hi .o-livechat-root::part(openChatButton) { clip-path: none; }
}

/* ---------- B3. the 3D player ---------- */
#wrap#wrap.o_wsale_product_page #d3-unroll.d3pdp-player { padding: 20px 0 18px !important; }
#d3-unroll.d3pdp-player > .container { display: flex; flex-direction: column; }
#d3-unroll.d3pdp-player .d3kt-eyebrow { order: 1; margin: 0 0 4px; }
#wrap#wrap #d3-unroll.d3pdp-player h2 { order: 2; font-size: 20px !important; line-height: 1.1 !important; margin: 0 0 12px !important; text-wrap: balance; }
#d3-unroll.d3pdp-player .d3kt-sub { order: 9; margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: #5A5F64; }
#d3-unroll.d3pdp-player .d3kt-ur { order: 3; display: grid; grid-template-columns: 16px 56px 10px minmax(0, 1fr) 16px; gap: 0; margin: 0 -16px; align-items: start; }
#d3-unroll.d3pdp-player .d3kt-panel { display: contents; }
#d3-unroll.d3pdp-player .d3kt-unroll-stage, #d3-unroll .d3pdp-poster { grid-column: 1 / -1; grid-row: 1; }
#d3-unroll.d3pdp-player .d3kt-unroll-stage { aspect-ratio: 4 / 3; max-height: 52vh; max-height: 52svh; z-index: 1; }
#d3-unroll .d3kt-unroll-stage canvas.d3kt-fb { object-fit: contain; }
#d3-unroll .d3pdp-poster { width: 100%; height: 100%; object-fit: contain; align-self: stretch; z-index: 0; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); }
#d3-unroll.d3pdp-drawn .d3pdp-poster { display: none; }
/* progress on the stage: one segment per step, each a 44px tall button */
#d3-unroll.d3pdp-player .d3kt-steps { grid-column: 2 / 5; grid-row: 1; align-self: end; z-index: 3; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin: 0; padding: 0; }
#d3-unroll.d3pdp-player .d3kt-steps > li { display: block; padding: 0; border: 0; font-size: 0; min-height: 30px; position: relative; }
#d3-unroll.d3pdp-player .d3kt-steps > li::after, #d3-unroll.d3pdp-player .d3pdp-stepbtn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 4px; border-radius: 2px; background: rgba(14, 16, 19, .16); transition: background-color .2s ease; }
#d3-unroll.d3pdp-player .d3kt-steps > li:has(.d3pdp-stepbtn)::after { display: none; }
#d3-unroll.d3pdp-player .d3kt-steps > li.d3kt-done::after, #d3-unroll.d3pdp-player .d3kt-steps > li.d3kt-done .d3pdp-stepbtn::after { background: #0E1013; }
#d3-unroll.d3pdp-player .d3kt-steps > li.d3pdp-cur .d3pdp-stepbtn::after { background: #FD6408; }
.d3pdp-stepbtn { position: relative; display: block; width: 100%; height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; overflow: hidden; }
#d3-unroll.d3pdp-player .d3pdp-stepbtn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.d3pdp-step { grid-column: 2 / 5; grid-row: 2; margin: 6px 0 2px; min-height: 16px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #B84700; font-variant-numeric: tabular-nums; }
#d3-unroll.d3pdp-player .d3kt-line { grid-column: 2 / 5; grid-row: 3; order: 0; margin: 0 0 12px; font-size: 18px; line-height: 1.22; min-height: 2.44em; }
.d3pdp-back { grid-column: 2; grid-row: 4; width: 56px; height: 56px; padding: 0; border: 1px solid #0E1013; border-radius: 0; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s ease; }
.d3pdp-back i { width: 11px; height: 11px; border-left: 2px solid #0E1013; border-bottom: 2px solid #0E1013; transform: translateX(2px) rotate(45deg); }
.d3pdp-back:disabled { opacity: .3; cursor: default; }
#wrap#wrap #d3-unroll.d3pdp-player .d3kt-next.d3kt-next.d3kt-next.d3kt-next.d3kt-next {
  grid-column: 2 / 5; grid-row: 4; order: 0; align-self: stretch; width: 100%; min-width: 0; min-height: 56px !important; margin: 0; padding: 0 16px !important;
  background-color: #0E1013 !important; border-color: #0E1013 !important; color: #FFFFFF !important; font-size: 16px !important; transform: none !important;
}
#wrap#wrap #d3-unroll.d3pdp-live-ui .d3kt-next.d3kt-next.d3kt-next.d3kt-next.d3kt-next { grid-column: 4; }
#wrap#wrap #d3-unroll.d3pdp-player .d3kt-next.d3kt-next.d3kt-next.d3kt-next.d3kt-next:hover { background-color: #2A2D31 !important; border-color: #2A2D31 !important; color: #FFFFFF !important; }
#wrap#wrap #d3-unroll.d3pdp-player .d3kt-next.d3kt-next.d3kt-next.d3kt-next.d3kt-next:focus-visible { outline: 2px solid #FD6408 !important; outline-offset: 3px !important; }
#d3-unroll.d3pdp-player:not(.d3pdp-end) .d3kt-next::after { content: "\2192"; margin-left: 10px; }
#d3-unroll.d3pdp-player .d3kt-after { grid-column: 2 / 5; grid-row: 5; order: 0; flex-direction: row; align-items: center; gap: 12px; min-height: 44px; margin-top: 4px; overflow-x: auto; scrollbar-width: none; }
#d3-unroll.d3pdp-player .d3kt-reset { flex: none; font-size: 14px; font-weight: 600; }
#d3-unroll.d3pdp-player .d3kt-reset:not(.d3kt-onr) { display: none; }
#d3-unroll.d3pdp-player .d3kt-note { display: flex; align-items: center; gap: 4px 14px; white-space: nowrap; }
#d3-unroll.d3pdp-player .d3kt-note[hidden] { display: none; }
#d3-unroll.d3pdp-player .d3kt-note p { margin: 0; font-size: 13px; color: #5A5F64; }
#d3-unroll.d3pdp-player .d3kt-links { flex-wrap: nowrap; gap: 14px; }
#wrap#wrap #d3-unroll.d3pdp-player .d3kt-links .btn.btn.btn.btn.btn.btn {
  min-height: 44px !important; padding: 0 !important; background: none !important; background-color: transparent !important; border: 0 !important; color: #0E1013 !important; font-size: 14px !important; font-weight: 700 !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: #FD6408 !important;
}
#wrap#wrap #d3-unroll.d3pdp-player .d3kt-links .btn::after { content: "\2192"; margin-left: 6px; color: #B84700; text-decoration: none; display: inline-block; }
#d3-unroll.d3pdp-player .d3kt-shown { grid-column: 2 / 5; grid-row: 6; order: 0; font-size: 14px; }
#d3-unroll.d3pdp-hascol .d3kt-shown, #d3-unroll.d3pdp-1col .d3kt-shown { display: none; }
/* colour, in place */
.d3pdp-col { grid-column: 2 / 5; grid-row: 1; justify-self: end; align-self: start; z-index: 4; margin-top: 10px; position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; max-width: 70%; padding: 0 12px 0 6px; border: 1px solid #DDD9D2; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #0E1013; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.d3pdp-col::before { content: ""; position: absolute; inset: -5px; }
.d3pdp-col::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #0E1013; border-bottom: 2px solid #0E1013; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.d3pdp-col[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.d3pdp-col-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; }
.d3pdp-col-nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d3pdp-colpop { grid-column: 1 / -1; grid-row: 1; align-self: start; z-index: 4; margin-top: 58px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 10px 16px; background: rgba(255, 255, 255, .96); border-top: 1px solid #DDD9D2; border-bottom: 1px solid #DDD9D2; animation: d3pdpIn .18s ease-out 1; }
.d3pdp-colpop[hidden] { display: none; }
.d3pdp-coldot { flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; position: relative; }
.d3pdp-coldot::after { content: ""; position: absolute; inset: -4px; }
.d3pdp-coldot.on { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0E1013; }
@keyframes d3pdpIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- B4. details: accordion rows (phones, tablets) ---------- */
#wrap#wrap .d3pdp-made::after, #wrap#wrap .d3pdp-made::before { content: none; }
.d3pdp-tablist { display: none; }
.d3pdp-about { margin: 0 0 20px; }
.d3pdp-about .d3-detail { margin: 0 !important; max-height: 300px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.d3pdp-about .d3-detail > div:first-child { margin-top: 0 !important; }
.d3pdp-about.open .d3-detail, .d3pdp-about.short .d3-detail { max-height: none; -webkit-mask-image: none; mask-image: none; }
.d3pdp-about.short .d3pdp-more { display: none; }
.d3pdp-more, .d3pdp-revnote { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; margin: 4px 0 0; border: 0; background: none; color: #0E1013; font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #FD6408; cursor: pointer; }
.d3pdp-more::after, .d3pdp-revnote::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #B84700; border-bottom: 2px solid #B84700; transform: translateY(-2px) rotate(45deg); }
.d3pdp-more[aria-expanded="true"]::after, .d3pdp-revnote[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.d3pdp-facts { margin: 0 0 8px; }
.d3pdp-facts > div { margin: 0 !important; border-top: 0 !important; }
.d3pdp-facts span[style*="letter-spacing"] { font-size: 12px !important; flex: 0 0 40%; }
@media (max-width: 991.98px) {
  html.d3pdp-js #wrap#wrap .d3pdp-row:not(.d3pdp-band) { padding: 0 !important; background: #FFFFFF !important; border-bottom: 1px solid #DDD9D2; opacity: 1 !important; transform: none !important; }
  html.d3pdp-js #wrap .d3pdp-row:not(.d3pdp-band):not(.d3pdp-open) > .container > :not(.d3pdp-rowh) { display: none !important; }
  html.d3pdp-js #wrap#wrap .d3pdp-row:not(.d3pdp-band) > .container > .d3pdp-rowh { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; margin: 0 !important; padding: 0; font-size: 16px !important; line-height: 1.2 !important; letter-spacing: 0 !important; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  html.d3pdp-js #wrap#wrap .d3pdp-row:not(.d3pdp-band) > .container > .d3pdp-rowh::after { content: ""; position: static !important; background: none !important; opacity: 1 !important; flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid #0E1013; border-bottom: 2px solid #0E1013; transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
  html.d3pdp-js #wrap#wrap .d3pdp-row.d3pdp-open > .container > .d3pdp-rowh::after { transform: translateY(2px) rotate(-135deg); }
  html.d3pdp-js #wrap .d3pdp-row.d3pdp-open > .container { padding-bottom: 22px; }
  html.d3pdp-js #wrap .d3pdp-row.d3pdp-open > .container > :not(.d3pdp-rowh) { animation: d3pdpIn .2s ease-out 1; }
  html.d3pdp-js #wrap .d3pdp-row.d3pdp-open > .container > p.text-muted { margin-bottom: 14px !important; font-size: 14px; }
  /* what opens inside the rows, compact */
  #wrap.o_wsale_product_page .d3trust { padding: 6px 0; }
  #wrap.o_wsale_product_page #d3-spec .row.g-0 { margin-bottom: 20px !important; }
  #wrap.o_wsale_product_page #d3-spec h3.h4 { font-size: 16px !important; margin: 0 0 10px !important; }
  #wrap#wrap.o_wsale_product_page #d3-apply a.btn.btn.btn.btn.btn.btn, #wrap#wrap.o_wsale_product_page #d3-why a.btn.btn.btn.btn.btn.btn {
    min-height: 44px !important; padding: 0 !important; width: auto !important; background: none !important; background-color: transparent !important; border: 0 !important; font-size: 15px !important; font-weight: 700 !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: #FD6408 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  #wrap#wrap.o_wsale_product_page #d3-apply a.btn.btn.btn.btn.btn.btn { color: #0E1013 !important; }
  #wrap#wrap.o_wsale_product_page #d3-why a.btn.btn.btn.btn.btn.btn { color: #FFFFFF !important; }
  #wrap#wrap.o_wsale_product_page #d3-apply a.btn::after, #wrap#wrap.o_wsale_product_page #d3-why a.btn::after { content: "\2192"; margin-left: 8px; color: #FD6408; display: inline-block; }
}

/* ---------- PHONES (up to 767px): everything above, tuned for one thumb ---------- */
@media (max-width: 991.98px) {
  /* the header scrolls away (the section bar carries the menu button); slim, and no jump when Odoo would have fixed it */
  html[data-main-object^="product.template("] header#top { position: relative !important; transform: none !important; top: auto !important; }
  html[data-main-object^="product.template("] #wrapwrap > main { padding-top: 0 !important; }
  html[data-main-object^="product.template("] header#top nav.o_header_mobile { padding-top: 6px !important; padding-bottom: 6px !important; }
  /* breadcrumb: a chip on the photo instead of a 70px row */
  #wrap.o_wsale_product_page #product_detail > .o_wsale_content_contained { position: absolute; top: 10px; left: 10px; z-index: 4; width: auto; padding: 0 !important; }
  #wrap.o_wsale_product_page #product_detail .o_wsale_breadcrumb .breadcrumb-item.d-lg-none > a { min-height: 32px; padding: 0 12px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #0E1013 !important; font-size: 13px; font-weight: 600; text-decoration: none; position: relative; box-shadow: 0 1px 0 rgba(14, 16, 19, .12), 0 6px 18px -8px rgba(14, 16, 19, .45); }
  #wrap.o_wsale_product_page #product_detail .o_wsale_breadcrumb .breadcrumb-item.d-lg-none > a::after { content: ""; position: absolute; inset: -6px; }
  #wrap.o_wsale_product_page #product_detail .o_wsale_breadcrumb .breadcrumb-item.d-lg-none > a i { margin-right: 4px !important; font-size: 12px; }
  #wrap.o_wsale_product_page #product_detail > .o_wsale_content_contained > .d-flex > .d-flex { display: none !important; }
  .d3pdp-bar { display: flex; }
  #wrap.o_wsale_product_page #o-carousel-product { margin-bottom: 0 !important; }
}
@media (max-width: 767.98px) {
  #wrap#wrap.o_wsale_product_page #d3-unroll.d3pdp-player { padding: 14px 0 12px !important; }
  #d3-unroll.d3pdp-player > .container { position: relative; }
  #wrap#wrap #d3-unroll.d3pdp-player h2 { margin: 0 0 8px !important; }
  #d3-unroll.d3pdp-player .d3kt-eyebrow { position: absolute; z-index: 4; left: 16px; top: 44px; margin: 0; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid #DDD9D2; font-size: 12px; line-height: 14px; letter-spacing: .12em; }
  #d3-unroll.d3pdp-player:has(h2 br) .d3kt-eyebrow { top: 66px; }
  .d3pdp-pill, #wrap#wrap.o_wsale_product_page li.o_packaging_button { min-height: 44px; }
  #wrap#wrap.o_wsale_product_page li.o_packaging_button > label { min-height: 42px; }
  #wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes { gap: 16px; margin-bottom: 18px !important; }
  /* media: edge to edge, square, never more than 46% of a short screen */
  #wrap.o_wsale_product_page #o-carousel-product .o_carousel_product_outer { aspect-ratio: 1 / 1; max-height: 46vh; max-height: max(46svh, 270px); }
  #wrap.o_wsale_product_page #o-carousel-product .carousel-inner, #wrap.o_wsale_product_page #o-carousel-product .carousel-item, #wrap.o_wsale_product_page #o-carousel-product .o_product_detail_img_wrapper { height: 100% !important; }
  #wrap.o_wsale_product_page #o-carousel-product img.product_detail_img { object-fit: cover; width: 100% !important; height: 100% !important; }
  #wrap.o_wsale_product_page #o-carousel-product .d3kt-stage { min-height: 0; aspect-ratio: auto; height: 100%; }
  html.d3pdp-js #wrap.o_wsale_product_page #o-carousel-product .o_carousel_product_indicators { display: none !important; }
  #wrap.o_wsale_product_page #o-carousel-product .d3kt-spin { right: 10px; bottom: 48px; }
  #wrap.o_wsale_product_page #o_wsale_product_details_content { padding-top: 14px; padding-bottom: 10px; }
  #wrap#wrap.o_wsale_product_page #product_detail h1 { font-size: 28px !important; line-height: 1.02 !important; }
  /* one swipe row of 44px dots, the cut-off dot says there are more */
  #product_detail li.variant_attribute:has(label.css_attribute_color) > ul.o_wsale_product_attribute {
    flex-wrap: nowrap !important; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 -16px !important; padding: 5px 16px 7px !important; scroll-padding: 0 16px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
  }
  #product_detail li.variant_attribute:has(label.css_attribute_color) > ul.o_wsale_product_attribute::-webkit-scrollbar { display: none; }
  #product_detail li.variant_attribute:has(label.css_attribute_color) > ul.o_wsale_product_attribute::after { content: ""; flex: 0 0 30px; }
  #product_detail li.variant_attribute label.css_attribute_color { width: 44px !important; height: 44px !important; }
  #product_detail .d3kt-colours label.css_attribute_color::before { inset: 0; }
  #wrap.o_wsale_product_page #d3_where_to_buy .d3-loginlink { margin-top: 0 !important; }
  /* bands */
  #wrap#wrap.o_wsale_product_page section.d3revsec { padding: 28px 0 18px !important; margin-top: 0 !important; }
  #wrap.o_wsale_product_page section.d3revsec > div { padding: 0 16px !important; }
  #wrap#wrap.o_wsale_product_page .d3rev-h, #wrap#wrap.o_wsale_product_page #d3-works h2, #wrap#wrap.o_wsale_product_page #d3-why h2, #wrap#wrap.o_wsale_product_page #d3_also_like h4 { font-size: 22px !important; line-height: 1.1 !important; }
  #wrap .d3rev-grid, #d3-works .row.g-3, #d3_also_like .row.g-3, #d3-use .row.g-3, #d3-apply .row.d3steps, #wrap .d3whyrow {
    display: flex !important; flex-wrap: nowrap !important; align-items: stretch; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: -16px !important; margin-right: -16px !important; padding: 0 16px 4px !important; scroll-padding: 0 16px; gap: 12px !important; --bs-gutter-x: 0; --bs-gutter-y: 0; column-count: auto !important;
  }
  #wrap .d3rev-grid::-webkit-scrollbar, #d3-works .row.g-3::-webkit-scrollbar, #d3_also_like .row.g-3::-webkit-scrollbar, #d3-use .row.g-3::-webkit-scrollbar, #d3-apply .row.d3steps::-webkit-scrollbar, #wrap .d3whyrow::-webkit-scrollbar { display: none; }
  #wrap .d3rev-grid > .d3rev-c { flex: 0 0 84% !important; max-width: 84% !important; margin: 0 !important; scroll-snap-align: start; break-inside: auto; }
  html.d3pdp-js #wrap .d3rev-grid > .d3rev-c[data-extra] { display: block !important; }
  html.d3pdp-js #wrap .d3rev > button:not(.d3pdp-revnote), html.d3pdp-js #wrap .d3rev .d3rev-more { display: none !important; }
  #wrap .d3rev-grid .d3rev-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
  #d3-use .row.g-3 > [class*="col-"], #d3-apply .row.d3steps > [class*="col-"] { flex: 0 0 72% !important; max-width: 72% !important; width: auto !important; padding: 0 !important; margin: 0 !important; scroll-snap-align: start; }
  #d3-works .row.g-3 > [class*="col-"], #d3_also_like .row.g-3 > [class*="col-"] { flex: 0 0 44% !important; max-width: 44% !important; width: auto !important; padding: 0 !important; margin: 0 !important; scroll-snap-align: start; }
  #wrap .d3whyrow > [class*="col-"] { flex: 0 0 70% !important; max-width: 70% !important; width: auto !important; padding: 0 !important; margin: 0 !important; scroll-snap-align: start; }
  #wrap.o_wsale_product_page #d3-works, #wrap.o_wsale_product_page #d3-why, #wrap.o_wsale_product_page #d3_also_like { padding-top: 28px !important; padding-bottom: 24px !important; }
  #wrap.o_wsale_product_page #d3-works .container > p.text-muted, #wrap.o_wsale_product_page #d3-why .container > p { margin-bottom: 14px !important; font-size: 14px; }
  #wrap.o_wsale_product_page #d3-works .d3kt-wk-t { padding: 10px 10px 12px; gap: 4px; }
  #wrap.o_wsale_product_page #d3-works .d3kt-wk-t h3 { font-size: 14px; }
  #wrap.o_wsale_product_page #d3-works .d3kt-wk-t p { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  #wrap.o_wsale_product_page #d3-works .d3kt-wk-go { display: none; }
  #wrap.o_wsale_product_page .d3why { padding: 14px 14px 16px; }
  #wrap.o_wsale_product_page .d3why h3 { font-size: 16px; margin-bottom: 6px !important; }
  #wrap.o_wsale_product_page .d3whyrow { margin-bottom: 8px !important; }
  /* footer: four closed rows instead of 1250px of links */
  html.d3pdp-js footer#bottom #footer > section:first-child { padding-top: 4px !important; padding-bottom: 4px !important; }
  html.d3pdp-js footer#bottom .d3pdp-fgrp { padding-top: 0 !important; padding-bottom: 0 !important; border-bottom: 1px solid rgba(18, 19, 21, .14); }
  html.d3pdp-js footer#bottom .d3pdp-fgrp > p { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin: 0 !important; font-size: 12px !important; cursor: pointer; opacity: 1 !important; transform: none !important; }
  html.d3pdp-js footer#bottom .d3pdp-fgrp > p::after { content: ""; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid #121315; border-bottom: 2px solid #121315; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
  html.d3pdp-js footer#bottom .d3pdp-fgrp.open > p::after { transform: translateY(2px) rotate(-135deg); }
  html.d3pdp-js footer#bottom .d3pdp-fgrp:not(.open) > ul { display: none; }
  html.d3pdp-js footer#bottom .d3pdp-fgrp > ul { padding-bottom: 10px; opacity: 1 !important; transform: none !important; }
  html.d3pdp-js footer#bottom .d3pdp-fgrp > ul > li { margin: 0 !important; }
  html.d3pdp-js footer#bottom .d3pdp-fgrp > ul > li > a { display: flex; align-items: center; min-height: 44px; font-size: 15px !important; }
}
.d3pdp-revp { display: none; }
.d3pdp-note-open .d3pdp-revp { display: block; font-size: 13px; line-height: 1.5; }
#d3_also_like.d3pdp-merged { display: none !important; }
.d3pdp-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: #0E1013 !important; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #FD6408; }
.d3pdp-all::after { content: "\2192"; margin-left: 8px; color: #B84700; }

/* ---------- phone landscape and tablets in portrait: two-column hero, player in two columns ---------- */
@media (min-width: 768px) and (max-width: 991.98px), (min-width: 600px) and (max-width: 991.98px) and (max-height: 500px) {
  #wrap.o_wsale_product_page #product_detail_main { display: grid !important; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); align-items: start; }
  #wrap.o_wsale_product_page #product_detail_main > .o_wsale_product_images { position: sticky; top: 0; }
  #wrap.o_wsale_product_page #o-carousel-product .o_carousel_product_outer { aspect-ratio: 1 / 1; max-height: calc(100vh - 64px); max-height: calc(100svh - 64px); }
  #wrap.o_wsale_product_page #o-carousel-product .carousel-inner, #wrap.o_wsale_product_page #o-carousel-product .carousel-item, #wrap.o_wsale_product_page #o-carousel-product .o_product_detail_img_wrapper { height: 100% !important; }
  #wrap.o_wsale_product_page #o-carousel-product img.product_detail_img { object-fit: cover; width: 100% !important; height: 100% !important; }
  html.d3pdp-js #wrap.o_wsale_product_page #o-carousel-product .o_carousel_product_indicators { display: none !important; }
  #wrap.o_wsale_product_page #o_wsale_product_details_content { padding: 20px 24px 24px; max-width: none; }
  #product_detail li.variant_attribute label.css_attribute_color { width: 40px !important; height: 40px !important; }
}
@media (min-width: 600px) and (max-width: 991.98px) and (max-height: 500px) {
  #wrap.o_wsale_product_page #product_detail_main { grid-template-columns: minmax(0, min(46%, calc(100svh - 64px))) minmax(0, 1fr); }
  .d3pdp-bar { padding-top: 4px; padding-bottom: calc(4px + env(safe-area-inset-bottom)); }
  .d3pdp-bar-go, .d3pdp-bar-info { min-height: 44px; }
}
@media (min-width: 768px), (min-width: 600px) and (max-height: 500px) {
  /* the player: stage left, rail right */
  #wrap#wrap.o_wsale_product_page #d3-unroll.d3pdp-player { padding: 24px 0 28px !important; }
  #d3-unroll.d3pdp-player > .container { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
  #d3-unroll.d3pdp-player .d3kt-eyebrow { margin: 0; }
  #wrap#wrap #d3-unroll.d3pdp-player h2 { font-size: 1.5rem !important; margin: 0 0 16px !important; flex: 1 1 auto; }
  #d3-unroll.d3pdp-player .d3kt-sub { display: none; }
  #d3-unroll.d3pdp-player .d3kt-ur { flex: 0 0 100%; margin: 0; grid-template-columns: minmax(0, 1.75fr) 24px 56px 10px minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; align-items: start; }
  #d3-unroll.d3pdp-player .d3kt-unroll-stage, #d3-unroll .d3pdp-poster { grid-column: 1; grid-row: 1 / 7; }
  #d3-unroll.d3pdp-player .d3kt-unroll-stage { aspect-ratio: 16 / 10; max-height: calc(100vh - 190px); max-height: calc(100svh - var(--d3pdp-top, 0px) - 170px); }
  #d3-unroll.d3pdp-player .d3kt-steps { grid-column: 3 / 6; grid-row: 1; align-self: start; display: flex; flex-direction: column; gap: 0; margin: 0 0 14px; }
  #d3-unroll.d3pdp-player .d3kt-steps > li { min-height: 0; font-size: 13px; border-left: 2px solid #DDD9D2; }
  #d3-unroll.d3pdp-player .d3kt-steps > li::after, #d3-unroll.d3pdp-player .d3pdp-stepbtn::after { display: none; }
  #d3-unroll.d3pdp-player .d3kt-steps > li.d3kt-done { border-left-color: #0E1013; }
  #d3-unroll.d3pdp-player .d3kt-steps > li.d3pdp-cur { border-left-color: #FD6408; }
  #d3-unroll.d3pdp-player .d3pdp-stepbtn { display: flex; align-items: center; gap: 12px; height: auto; min-height: 44px; padding: 0 12px; text-align: left; color: #5A5F64; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; }
  #d3-unroll.d3pdp-player .d3pdp-stepbtn > span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  #d3-unroll.d3pdp-player .d3pdp-stepbtn > span.d3kt-st { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #d3-unroll.d3pdp-player .d3pdp-stepbtn > span.d3kt-n { flex: none; width: 20px; font-size: 12px; font-weight: 700; color: #5A5F64; }
  #d3-unroll.d3pdp-player li.d3kt-done .d3pdp-stepbtn, #d3-unroll.d3pdp-player li.d3pdp-cur .d3pdp-stepbtn { color: #0E1013; }
  #d3-unroll.d3pdp-player .d3pdp-stepbtn:hover { color: #0E1013; background: rgba(14, 16, 19, .04); }
  #d3-unroll.d3pdp-player li.d3kt-done .d3pdp-stepbtn > span.d3kt-n::after { content: none; }
  #d3-unroll.d3pdp-player li.d3kt-done .d3pdp-stepbtn::before { content: "\2713"; order: 3; margin-left: auto; font-size: 13px; color: #0E1013; }
  .d3pdp-step { display: none; }
  #d3-unroll.d3pdp-player .d3kt-line { grid-column: 3 / 6; grid-row: 2; font-size: 1.375rem; margin: 0 0 14px; }
  .d3pdp-back { grid-column: 3; grid-row: 3; }
  #wrap#wrap #d3-unroll.d3pdp-player .d3kt-next.d3kt-next.d3kt-next.d3kt-next.d3kt-next { grid-column: 3 / 6; grid-row: 3; }
  #wrap#wrap #d3-unroll.d3pdp-live-ui .d3kt-next.d3kt-next.d3kt-next.d3kt-next.d3kt-next { grid-column: 5; }
  #d3-unroll.d3pdp-player .d3kt-after { grid-column: 3 / 6; grid-row: 4; flex-wrap: wrap; overflow: visible; }
  #d3-unroll.d3pdp-player .d3kt-note { flex-wrap: wrap; white-space: normal; }
  #d3-unroll.d3pdp-player .d3kt-links { flex-wrap: wrap; }
  #d3-unroll.d3pdp-player .d3kt-shown { grid-column: 3 / 6; grid-row: 5; }
  .d3pdp-col { grid-column: 1; grid-row: 1; margin: 12px 12px 0 0; }
  .d3pdp-colpop { grid-column: 1; grid-row: 1; margin-top: 60px; flex-wrap: wrap; overflow: visible; margin-left: auto; margin-right: 12px; max-width: min(100% - 24px, 440px); justify-self: end; border: 1px solid #DDD9D2; padding: 12px; box-shadow: 0 12px 30px -16px rgba(14, 16, 19, .4); }
  .d3pdp-coldot { width: 32px; height: 32px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #d3-unroll.d3pdp-player .d3kt-ur { grid-template-columns: minmax(0, 1.35fr) 20px 56px 10px minmax(0, 1fr); }
  #d3-unroll.d3pdp-player .d3pdp-stepbtn { min-height: 40px; }
}
@media (min-width: 600px) and (max-height: 500px) {
  #d3-unroll.d3pdp-player .d3kt-steps { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row; margin-bottom: 8px; }
  #d3-unroll.d3pdp-player .d3pdp-stepbtn { min-height: 36px; font-size: 14px; }
  #d3-unroll.d3pdp-player .d3kt-line { font-size: 17px; min-height: 0; margin-bottom: 8px; }
  #d3-unroll.d3pdp-player .d3kt-unroll-stage { max-height: calc(100svh - 110px); }
}

/* ---------- DESKTOP (992px and up) ---------- */
@media (min-width: 992px) {
  /* one content width for every band, in tiers; type scales with the root on big screens */
  html[data-main-object^="product.template("] { --pdp-w: 100%; --pdp-g: 24px; }
  #wrap.o_wsale_product_page .container, #wrap.o_wsale_product_page > #product_detail.container-lg, #wrap.o_wsale_product_page section.d3revsec > div,
  html[data-main-object^="product.template("] header#top .container, html[data-main-object^="product.template("] footer#bottom .container { max-width: var(--pdp-w) !important; width: 100%; padding-left: var(--pdp-g) !important; padding-right: var(--pdp-g) !important; }
  #wrap.o_wsale_product_page #product_detail .container { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
  /* hero: one screen. Media 7 columns, buy panel 5 */
  #wrap.o_wsale_product_page #product_detail { padding-bottom: 40px; }
  #wrap.o_wsale_product_page #product_detail > .o_wsale_content_contained { padding-top: 12px !important; padding-bottom: 12px !important; font-size: 14px; }
  #wrap.o_wsale_product_page #product_detail_main { display: grid !important; grid-template-columns: minmax(0, 7fr) minmax(400px, 5fr); column-gap: 48px; align-items: start; margin: 0 !important; }
  #wrap.o_wsale_product_page #product_detail_main > [class*="col"] { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; }
  #wrap.o_wsale_product_page #o-carousel-product { margin-bottom: 0 !important; }
  #wrap.o_wsale_product_page #o-carousel-product .o_carousel_product_outer { aspect-ratio: 1 / 1; flex: 0 1 calc(100vh - 200px); flex: 0 1 max(420px, calc(100svh - 200px)); width: auto !important; height: auto; max-width: 100%; max-height: calc(100vh - 200px); max-height: max(420px, calc(100svh - 200px)); min-width: 0; }
  #wrap.o_wsale_product_page #o-carousel-product .carousel-inner, #wrap.o_wsale_product_page #o-carousel-product .carousel-item, #wrap.o_wsale_product_page #o-carousel-product .o_product_detail_img_wrapper { height: 100% !important; }
  #wrap.o_wsale_product_page #o-carousel-product img.product_detail_img { object-fit: cover; width: 100% !important; height: 100% !important; }
  #wrap.o_wsale_product_page #o-carousel-product .o_carousel_product_indicators { max-height: max(420px, calc(100svh - 200px)); }
  #wrap.o_wsale_product_page #o-carousel-product .carousel-control-prev, #wrap.o_wsale_product_page #o-carousel-product .carousel-control-next { opacity: .7; }
  #wrap.o_wsale_product_page #o-carousel-product .carousel-control-prev:hover, #wrap.o_wsale_product_page #o-carousel-product .carousel-control-next:hover, #wrap.o_wsale_product_page #o-carousel-product .carousel-control-prev:focus-visible, #wrap.o_wsale_product_page #o-carousel-product .carousel-control-next:focus-visible { opacity: 1; outline: 2px solid #FD6408; outline-offset: -2px; }
  .d3pdp-count-chip { display: none; }
  .d3pdp-mchips { left: auto; right: 12px; bottom: 12px; }
  #wrap.o_wsale_product_page #product_details { position: static !important; }
  #wrap.o_wsale_product_page #o_wsale_product_details_content { max-width: 520px; padding: 0 !important; margin: 0; }
  #wrap#wrap.o_wsale_product_page #product_detail h1 { font-size: 2.75rem !important; line-height: 1 !important; margin: 0 0 12px !important; }
  #wrap.o_wsale_product_page .d3-lede > div:first-child > h3 { font-size: 1.25rem !important; }
  #wrap.o_wsale_product_page .d3-lede > div:first-child > p:last-child { font-size: 1.0625rem !important; }
  #wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes { gap: 20px; margin-bottom: 24px !important; }
  #product_detail li.variant_attribute label.css_attribute_color { width: 32px !important; height: 32px !important; }
  #product_detail li.variant_attribute:has(label.css_attribute_color) > ul.o_wsale_product_attribute { gap: 8px !important; }
  .d3pdp-pill { min-height: 44px; }
  #wrap#wrap.o_wsale_product_page li.o_packaging_button { min-height: 44px; flex: 0 1 auto; }
  #wrap#wrap.o_wsale_product_page li.o_packaging_button > label { min-height: 42px; }
  /* section bar: the sticky product bar (product, tabs, the action) */
  #wrap#wrap.o_wsale_product_page > section.d3pdp-jump > .container { min-height: 56px; align-items: center; gap: 24px !important; }
  #wrap#wrap.o_wsale_product_page section.d3pdp-jump a.d3jump.d3jump.d3jump.d3jump.d3jump.d3jump { min-height: 56px !important; font-size: .9375rem !important; padding: 2px 14px 0 !important; }
  .d3pdp-tabs { -webkit-mask-image: none; mask-image: none; justify-content: center; padding: 0; }
  .d3pdp-menu { display: none; }
  .d3pdp-mini { display: flex; align-items: center; gap: 12px; flex: 0 1 300px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
  .d3pdp-mini-th { flex: none; width: 40px; height: 40px; background: #EFEEEA center / cover no-repeat; }
  .d3pdp-mini-tx { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .d3pdp-mini-tx b { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .d3pdp-mini-tx span { font-size: .8125rem; color: #5A5F64; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .d3pdp-nav-go { display: inline-flex; align-items: center; border: 0; text-decoration: none !important; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
  a.d3pdp-nav-go, button.d3pdp-nav-go { color: #0B0B0C !important; font: inherit; font-size: .9375rem; font-weight: 700; }
  a.d3pdp-nav-go, button.d3pdp-nav-go { flex: 0 0 auto; min-width: 0; margin-left: auto; padding: 0 22px; min-height: 40px; background: #FD6408; justify-content: center; white-space: nowrap; cursor: pointer; }
  a.d3pdp-nav-go:hover, button.d3pdp-nav-go:hover { background: #E25600; }
  .d3pdp-nav-go:focus-visible { outline: 2px solid #0E1013; outline-offset: 2px; }
  .d3pdp-nav-go[hidden] { display: none; }
  section.d3pdp-nav.stuck .d3pdp-mini, section.d3pdp-nav.stuck .d3pdp-nav-go { opacity: 1; visibility: visible; transition-delay: 0s; }
  section.d3pdp-nav:not(.stuck) .d3pdp-mini { flex-basis: 0; }
  /* the scene band: one screen, a stage and a rail */
  #wrap#wrap.o_wsale_product_page #d3-unroll.d3pdp-player { background: #EFEDE8 !important; padding: 28px 0 36px !important; }
  #wrap#wrap #d3-unroll.d3pdp-player h2 { font-size: 1.75rem !important; margin: 0 0 20px !important; }
  #d3-unroll.d3pdp-player .d3kt-ur { grid-template-columns: minmax(0, 2fr) 32px 56px 12px minmax(260px, 1fr); }
  #d3-unroll.d3pdp-player .d3kt-line { font-size: 1.5rem; }
  /* details as tabs: one panel at a time */
  html.d3pdp-js .d3pdp-tablist { display: block; background: #FFFFFF; border-bottom: 1px solid #DDD9D2; }
  html.d3pdp-js .d3pdp-tablist > .container { display: flex; gap: 8px 36px; flex-wrap: wrap; }
  .d3pdp-tab { min-height: 60px; padding: 2px 0 0; border: 0; border-bottom: 2px solid transparent; background: none; color: #5A5F64; font: inherit; font-size: 1.0625rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
  .d3pdp-tab:hover { color: #0E1013; }
  .d3pdp-tab.on { color: #0E1013; border-bottom-color: #FD6408; }
  html.d3pdp-js #wrap .d3pdp-row:not(.d3pdp-tab-on) { display: none !important; }
  html.d3pdp-js #wrap#wrap .d3pdp-row.d3pdp-tab-on { min-height: 440px; padding: 40px 0 56px !important; margin-top: 0 !important; border: 0 !important; opacity: 1 !important; transform: none !important; }
  html.d3pdp-js #wrap#wrap .d3pdp-row.d3pdp-tab-on:not(#d3-why) { background: #FFFFFF !important; }
  html.d3pdp-js #wrap .d3pdp-row.d3pdp-tab-on .d3pdp-rowh, html.d3pdp-js #wrap .d3pdp-row.d3pdp-tab-on .d3rev-head { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0 !important; }
  html.d3pdp-js #wrap .d3pdp-row.d3pdp-tab-on > .container > p.text-muted:nth-child(2), html.d3pdp-js #wrap .d3pdp-row.d3pdp-tab-on > .container > .d3pdp-rowh + p { font-size: 1.125rem; color: #0E1013 !important; margin: 0 0 24px !important; }
  html.d3pdp-js #wrap #d3-use.d3pdp-hasabout > .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  html.d3pdp-js #wrap #d3-use.d3pdp-hasabout > .container > :not(.d3pdp-about):not(.row) { grid-column: 1 / -1; }
  html.d3pdp-js #wrap #d3-use.d3pdp-hasabout > .container > .d3pdp-about { grid-column: 1; margin: 0; }
  html.d3pdp-js #wrap #d3-use.d3pdp-hasabout > .container > .row { grid-column: 2; margin-bottom: 0 !important; }
  html.d3pdp-js #wrap #d3-use.d3pdp-hasabout > .container > .row > [class*="col-lg-3"] { width: 50%; }
  html.d3pdp-js #wrap #d3-use.d3pdp-hasabout > .container > .row > [class*="col-md-4"] { width: 33.333%; }
  .d3pdp-about .d3-detail > div[style*="border-left"] p { font-size: 1rem !important; line-height: 1.65 !important; }
  html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; align-items: start; }
  html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container > * { grid-column: 2; }
  html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container > .d3pdp-rowh + p, html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container > .d3pdp-facts, html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container > .row { grid-column: 1; }
  html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container > .row > [class*="col-"] { width: 100%; }
  html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container > h3 { grid-row: 1; margin-top: 0 !important; }
  html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container > .accordion { grid-row: 2 / span 3; }
  html.d3pdp-js #wrap #d3-spec.d3pdp-tab-on > .container > hr { display: none; }
  html.d3pdp-js #wrap#wrap section.d3revsec.d3pdp-tab-on { padding: 40px 0 56px !important; }
  /* quiet links instead of more orange blocks */
  #wrap#wrap.o_wsale_product_page #d3-apply a.btn.btn.btn.btn.btn.btn, #wrap#wrap.o_wsale_product_page #d3-why a.btn.btn.btn.btn.btn.btn {
    min-height: 44px !important; padding: 0 !important; background: none !important; background-color: transparent !important; border: 0 !important; font-size: 1rem !important; font-weight: 700 !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: #FD6408 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  #wrap#wrap.o_wsale_product_page #d3-apply a.btn.btn.btn.btn.btn.btn { color: #0E1013 !important; }
  #wrap#wrap.o_wsale_product_page #d3-apply a.btn::after, #wrap#wrap.o_wsale_product_page #d3-why a.btn::after { content: "\2192"; margin-left: 8px; color: #FD6408; display: inline-block; }
  /* goes with it: one row of four */
  #wrap.o_wsale_product_page #d3-works { padding-top: 56px !important; padding-bottom: 56px !important; }
  #wrap.o_wsale_product_page #d3-works.d3pdp-rel .row > [class*="col-"]:nth-child(n+5) { display: none; }
  #wrap.o_wsale_product_page #d3-works.d3pdp-rel .container { position: relative; }
  #wrap.o_wsale_product_page #d3-works.d3pdp-rel .d3pdp-all { position: absolute; top: 0; right: var(--pdp-g); margin: 0; }
}
@media (min-width: 992px) and (max-height: 780px) {
  #wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes { gap: 14px; margin-bottom: 18px !important; }
  #wrap#wrap.o_wsale_product_page #product_detail h1 { font-size: 2.375rem !important; }
  #wrap.o_wsale_product_page .js_product > article .d3-lede { margin-bottom: 12px !important; }
  #d3-unroll.d3pdp-player .d3kt-steps { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
  #d3-unroll.d3pdp-player .d3pdp-stepbtn { min-height: 40px; }
}
@media (min-width: 1280px) { html[data-main-object^="product.template("] { --pdp-g: 40px; } }
@media (min-width: 1440px) { html[data-main-object^="product.template("] { --pdp-w: 1440px; } }
@media (min-width: 1680px) { html[data-main-object^="product.template("] { --pdp-w: 1640px; font-size: 17px; } #wrap.o_wsale_product_page #product_detail_main { column-gap: 64px; } #wrap.o_wsale_product_page #o_wsale_product_details_content { max-width: 34rem; } }
@media (min-width: 2240px) { html[data-main-object^="product.template("] { --pdp-w: 1920px; font-size: 20px; } }
@media (min-width: 2880px) { html[data-main-object^="product.template("] { --pdp-w: 2160px; font-size: 22px; } }

@media (prefers-reduced-motion: reduce) {
  .d3pdp-bar, .d3pdp-pill, .d3pdp-mini, .d3pdp-nav-go, .d3pdp-back, .d3pdp-col::after, .o-livechat-root::part(openChatButton) { transition: none !important; }
  .d3pdp-colpop, #wrap.o_wsale_product_page .d3pdp-flash, html.d3pdp-js #wrap .d3pdp-row.d3pdp-open > .container > :not(.d3pdp-rowh) { animation: none !important; }
}
@media (forced-colors: active) {
  .d3pdp-pill.on, #wrap#wrap.o_wsale_product_page li.o_packaging_button.active { outline: 2px solid Highlight; }
  .d3pdp-bar-go, a.d3pdp-nav-go, button.d3pdp-nav-go { border: 1px solid ButtonText; }
}

/* long packaging names (until they are renamed for the public) wrap inside their box; the row never runs off the screen */
#wrap#wrap.o_wsale_product_page div[name="packaging_selector"] ul { flex-wrap: wrap !important; max-width: 100%; }
#wrap#wrap.o_wsale_product_page li.o_packaging_button { flex: 1 1 auto; min-width: 0; max-width: 100%; }
#wrap#wrap.o_wsale_product_page li.o_packaging_button > label { white-space: normal; line-height: 1.2; text-align: center; overflow-wrap: anywhere; padding-block: 6px; }

/* ---------- review 23 Nov ---------- */
/* colour first, then size, then packaging, on every screen */
#wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes { display: flex; flex-direction: column; }
#wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes > ul.o_wsale_product_page_variants { order: 1; }
#wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes > #d3-size-wrap { order: 2; margin-top: 18px; }
#wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes > div[name="packaging_selector"] { order: 3; }
#wrap.o_wsale_product_page .js_product > article > .o_wsale_product_details_content_section_attributes > :not(ul):not(#d3-size-wrap):not([name="packaging_selector"]) { order: 4; }
/* the gallery no longer drops 100px when a size is picked (Odoo writes top:100px on it) */
#wrap.o_wsale_product_page #product_detail_main > .o_wsale_product_images.o_wsale_sticky_object { top: 0 !important; }
/* Why d3: readable on its dark band (phones), a clean light panel among the tabs (desktop) */
#wrap.o_wsale_product_page #d3-why .container > p:not(.small) { color: rgba(247, 246, 243, .78) !important; }
#wrap#wrap.o_wsale_product_page #d3-why a.btn.btn.btn.btn.btn.btn { color: #FFFFFF !important; }
@media (min-width: 992px) {
  html.d3pdp-js #wrap#wrap #d3-why.d3pdp-tab-on { background: #FFFFFF !important; color: #0E1013; }
  html.d3pdp-js #wrap#wrap #d3-why.d3pdp-tab-on .container > p:not(.small) { color: #0E1013 !important; }
  html.d3pdp-js #wrap#wrap #d3-why.d3pdp-tab-on .d3why { background: #F7F6F3 !important; border: 1px solid #DDD9D2 !important; box-shadow: none !important; }
  html.d3pdp-js #wrap#wrap #d3-why.d3pdp-tab-on .d3why h3 { color: #0E1013 !important; }
  html.d3pdp-js #wrap#wrap #d3-why.d3pdp-tab-on .d3why p { color: #5A5F64 !important; }
  html.d3pdp-js #wrap#wrap.o_wsale_product_page #d3-why.d3pdp-tab-on a.btn.btn.btn.btn.btn.btn { color: #0E1013 !important; }
}

/* the stage label sits with the product tags: same pill, same height and type, a quiet label rather than a button */
.d3pdp-meta { align-items: center; }
.d3pdp-meta > .o_product_tags { margin: 0 !important; align-items: center; }
#wrap .d3pdp-stage { box-sizing: border-box; height: 30px; min-height: 30px; padding: 0 14px 0 11px; border: 1px solid #C9C5BD; border-radius: 999px; background: transparent; color: #0E1013 !important; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1; }
#wrap .d3pdp-stage:hover { background: transparent; border-color: #0E1013; }
#wrap .d3pdp-stage::before { width: 6px; height: 6px; border-radius: 50%; }

/* one order of choice (pdp.js 'hier'): colours stocked in no size, sizes not stocked in the chosen colour and trade-only
   packs are not offered to shoppers (they stay in Odoo) */
#wrap#wrap.o_wsale_product_page #product_detail li.d3pdp-off,
#wrap#wrap.o_wsale_product_page li.o_packaging_button.d3pdp-off,
#wrap .d3pdp-pill[hidden] { display: none !important; }

/* sizes as width and length rows; packaging row not offered to shoppers */
#wrap#wrap.o_wsale_product_page #product_detail div[name="packaging_selector"].d3pdp-off { display: none !important; }
#wrap .d3pdp-pills.d3pdp-szgrid { display: flex; flex-direction: column; gap: 16px; }
#wrap .d3pdp-szgrid .d3pdp-szrow > .d3pdp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
#wrap .d3pdp-szgrid .d3pdp-pill { flex: 0 1 auto; min-width: 84px; padding-inline: 16px; }
#wrap .d3pdp-szgrid .d3pdp-szlab { display: block; margin-bottom: 8px; }
#wrap .d3size .d3pdp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#wrap#wrap.o_wsale_product_page .d3size.d3pdp-hasgrid { margin-top: 4px !important; }

#wrap .d3size .d3size-note[data-ch], #wrap #d3-size-note { display: none !important; }

/* single-dimension sizes (Odoo radios) drawn as the same buttons as the width and length rows */
#wrap.o_wsale_product_page #product_detail li.variant_attribute[data-attribute-display-type="radio"]:is([data-attribute-name="Length"],[data-attribute-name="Width"],[data-attribute-name="Size"]) ul.o_wsale_product_attribute { gap: 8px !important; }
#wrap.o_wsale_product_page #product_detail li.variant_attribute[data-attribute-display-type="radio"]:is([data-attribute-name="Length"],[data-attribute-name="Width"],[data-attribute-name="Size"]) .form-check { margin: 0; padding: 0; min-height: 0; position: relative; }
#wrap.o_wsale_product_page #product_detail li.variant_attribute[data-attribute-display-type="radio"]:is([data-attribute-name="Length"],[data-attribute-name="Width"],[data-attribute-name="Size"]) .form-check-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
#wrap.o_wsale_product_page #product_detail li.variant_attribute[data-attribute-display-type="radio"]:is([data-attribute-name="Length"],[data-attribute-name="Width"],[data-attribute-name="Size"]) .form-check-label { display: flex; align-items: center; justify-content: center; min-width: 84px; min-height: 44px; padding: 6px 16px; border: 1px solid #C9C5BD; background: #FFFFFF; color: #0E1013; font-size: 15px; font-weight: 600; cursor: pointer; }
#wrap.o_wsale_product_page #product_detail li.variant_attribute[data-attribute-display-type="radio"]:is([data-attribute-name="Length"],[data-attribute-name="Width"],[data-attribute-name="Size"]) .form-check-input:checked + .form-check-label { border-color: #0E1013; box-shadow: inset 0 0 0 1px #0E1013; }
#wrap.o_wsale_product_page #product_detail li.variant_attribute[data-attribute-display-type="radio"]:is([data-attribute-name="Length"],[data-attribute-name="Width"],[data-attribute-name="Size"]) .form-check-input:focus-visible + .form-check-label { outline: 2px solid #FD6408; outline-offset: 2px; }

#wrap#wrap.o_wsale_product_page #product_detail li.js_attribute_value.d3pdp-off { display: none !important; }
