/* ---- Overhaul step 3: product page. Loaded after the foundation and home stylesheets. ---- */
#wrapwrap:has(#wrap.o19-product) { background: var(--pf-paper); }
#wrap.o19-product { background: var(--pf-paper); color: var(--pf-text); font-family: var(--pf-body); }
#wrap.o19-product #product_detail { width: auto; max-width: var(--pf-shell); margin: 0 auto 56px !important; padding: 0 16px !important; box-sizing: content-box; }
#wrap.o19-product #product_detail > .o_wsale_content_contained { max-width: none; padding: 18px 0 16px !important; }
#wrap.o19-product .o_wsale_product_top_bar_desktop, #wrap.o19-product #product_detail > .o_wsale_content_contained .d-md-none { display: none !important; }
#wrap.o19-product .o19-breadcrumb-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font: 400 13px/1.5 var(--pf-body); color: var(--pf-muted); }
#wrap.o19-product .o19-breadcrumb-list li { display: flex; gap: 6px; }
#wrap.o19-product .o19-breadcrumb-list a { color: var(--pf-muted); text-decoration: none; }
#wrap.o19-product .o19-breadcrumb-list a:hover { color: var(--pf-action-dark); text-decoration: underline; }
#wrap.o19-product .o19-breadcrumb-list [aria-current] { color: var(--pf-ink); font-weight: 600; }
#wrap.o19-product .o19-breadcrumb-separator { display: inline !important; color: #9fb0bd; }

/* One grid holds the photo, the buying column and the full-width specification. */
#wrap.o19-product #product_detail_main { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 !important; padding: 0 !important; }
#wrap.o19-product .o_wsale_product_details_content_section { border: 0 !important; padding-inline: 0 !important; }
#wrap.o19-product .o_wsale_product_details_content_section_contact:not(:has(.d-flex:not(.d-none))) { display: none; }
#wrap.o19-product #product_details, #wrap.o19-product #o_wsale_product_details_content, #wrap.o19-product #o_wsale_product_details_content > form { display: contents; }
#wrap.o19-product #o_wsale_product_details_content > *, #wrap.o19-product #o_wsale_product_details_content > form > * { min-width: 0; }
#wrap.o19-product #product_detail_main > .o_wsale_product_images { order: -3; width: auto; max-width: none; flex: none; padding: 0; margin: 0 0 20px; }
#wrap.o19-product .o_wsale_product_details_content_section_title { order: -2; margin: 0 0 12px !important; }
#wrap.o19-product .o19-product-sku { order: -1; }
@media (min-width: 768px) {
  #wrap.o19-product #product_detail_main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(14, auto) 1fr; column-gap: clamp(28px, 4vw, 56px); }
  #wrap.o19-product #product_detail_main > .o_wsale_product_images { grid-column: 1; grid-row: 1 / 16; align-self: start; position: relative !important; top: auto !important; margin: 0; }
  #wrap.o19-product #o_wsale_product_details_content > *, #wrap.o19-product #o_wsale_product_details_content > form > * { grid-column: 2; }
  #wrap.o19-product #o_wsale_product_details_content > form > .o19-product-description { grid-column: 1 / -1; }
}

/* Photo */
#wrap.o19-product .o_wsale_product_images .o_wsale_product_page_grid_row { gap: 12px !important; }
#wrap.o19-product .o_wsale_product_images .o_product_detail_img_wrapper { display: grid; place-items: center; aspect-ratio: 1 / 1; max-height: 540px; width: 100%; padding: clamp(20px, 5%, 44px); background: var(--pf-wash); border-radius: var(--pf-r-lg); overflow: hidden; }
#wrap.o19-product .o_wsale_product_images .o_product_detail_img_wrapper img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain; mix-blend-mode: multiply; }

/* Title, code, tags */
#wrap.o19-product #product_detail_main .o19-product-name { margin: 0 0 10px !important; font: 800 clamp(26px, 2.7vw, 34px)/1.14 var(--pf-display) !important; letter-spacing: -.022em; color: var(--pf-ink); text-wrap: balance; }
#wrap.o19-product .o19-product-name-detail { max-width: none; margin-top: 10px; font: 500 13.5px/1.55 var(--pf-body); letter-spacing: .005em; color: var(--pf-muted); }
#wrap.o19-product .o_product_tags { gap: 6px !important; margin: 12px 0 0 !important; }
#wrap.o19-product .o_product_tags > span { padding: 3px 10px !important; background: var(--pf-tint); border-radius: 999px; }
#wrap.o19-product .o_product_tags > span > span:first-child { display: none; }
#wrap.o19-product .o_product_tags .text-nowrap { color: var(--pf-action-dark) !important; font: 600 12px/1.5 var(--pf-body); }
#wrap.o19-product .o19-product-sku { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 16px !important; padding: 0; }
#wrap.o19-product .o19-sku-label { font: 500 12px/1.4 var(--pf-body); color: var(--pf-muted); }
#wrap.o19-product .o19-product-sku code { padding: 4px 9px; background: var(--pf-wash); border-radius: 6px; font: 600 12.5px/1.5 var(--pf-mono); color: var(--pf-ink); }
#wrap.o19-product .o19-product-sku .o19-copy-code { min-height: 30px; padding: 4px 9px; border: 0; background: none; font: 600 12.5px/1.2 var(--pf-body); color: var(--pf-action); }
#wrap.o19-product .o19-product-sku .o19-copy-code:hover { background: var(--pf-tint); }

/* Key figures */
.pf-pd-keys { display: flex; flex-wrap: wrap; gap: 1px; margin: 0 0 16px; background: var(--pf-line); border: 1px solid var(--pf-line); border-radius: var(--pf-r-md); overflow: hidden; }
.pf-pd-keys > div { flex: 1 1 110px; padding: 10px 14px; background: var(--pf-paper); }
.pf-pd-keys dt { font: 600 10.5px/1.4 var(--pf-body); letter-spacing: .07em; text-transform: uppercase; color: var(--pf-muted); }
.pf-pd-keys dd { margin: 2px 0 0; font: 700 15px/1.35 var(--pf-body); color: var(--pf-ink); overflow-wrap: anywhere; }

/* Buy box */
#wrap.o19-product .o_wsale_product_details_content_section_attributes { margin: 0 0 16px !important; }
#wrap.o19-product .o_wsale_product_details_content_section_cta { max-width: none !important; margin: 0 0 16px !important; padding: 0 !important; }
#wrap.o19-product .igf-exstock-availability { display: flex; align-items: center; gap: 7px; margin: 0 0 10px !important; font: 500 13px/1.4 var(--pf-body); color: var(--pf-muted); }
#wrap.o19-product .igf-exstock-availability::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pf-teal); }
#wrap.o19-product .igf-exstock-availability .fw-semibold { color: var(--pf-ink); font-weight: 600; }
#wrap.o19-product #o_wsale_cta_wrapper, #wrap.o19-product .igf-exstock-enquiry { margin: 0 0 14px !important; padding: 20px !important; background: var(--pf-paper); border: 1px solid var(--pf-line) !important; border-radius: var(--pf-r-md) !important; box-shadow: var(--pf-shadow); gap: 12px !important; width: 100% !important; max-width: none !important; box-sizing: border-box; }
#wrap.o19-product #o_wsale_cta_wrapper > .order-first { justify-content: flex-start !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
#wrap.o19-product #o_wsale_cta_wrapper [name="o_wsale_cta_wrapper_boxed_price_label"] { display: none; }
#wrap.o19-product #o_wsale_cta_wrapper > .order-first > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
#wrap.o19-product #o_wsale_cta_wrapper [name="product_price"], #wrap.o19-product #o_wsale_cta_wrapper [name="product_price_container"] { display: contents !important; }
#wrap.o19-product #o_wsale_cta_wrapper [name="product_price_container"] > .text-muted:not(.oe_default_price) { order: 3; }
#wrap.o19-product #o_wsale_cta_wrapper .oe_default_price { order: 2; }
#wrap.o19-product #o_wsale_cta_wrapper [name="product_price"] > small, #wrap.o19-product #o_wsale_cta_wrapper .o_base_unit_price_wrapper { order: 2; margin: 0 !important; }
#wrap.o19-product #o_wsale_cta_wrapper .o_base_unit_price { display: none; }
#wrap.o19-product #o_wsale_cta_wrapper [name="product_price"]:has(> small) ~ .o_base_unit_price_wrapper { display: none !important; }
#wrap.o19-product #o_wsale_cta_wrapper .oe_price { font: 800 32px/1.1 var(--pf-display); letter-spacing: -.02em; word-spacing: -.2em; color: var(--pf-ink); }
#wrap.o19-product #o_wsale_cta_wrapper [name="product_price_container"] .text-muted, #wrap.o19-product #o_wsale_cta_wrapper .order-first small { margin: 0 !important; font: 500 13px/1.4 var(--pf-body) !important; color: var(--pf-muted) !important; }
#wrap.o19-product #o_wsale_cta_wrapper .order-first small { font-size: 14px !important; font-weight: 600 !important; color: var(--pf-text) !important; }
#wrap.o19-product #add_to_cart_wrap { flex-wrap: wrap !important; gap: 10px !important; width: 100%; }
#wrap.o19-product #add_to_cart_wrap > small { order: 2 !important; width: 100%; margin: 0 !important; font: 400 13px/1.4 var(--pf-body); color: var(--pf-muted) !important; }
#wrap.o19-product #add_to_cart_wrap .css_quantity { flex: 0 0 124px; width: 124px; height: 48px; border: 1.5px solid var(--pf-line) !important; border-radius: 10px; overflow: hidden; }
#wrap.o19-product #add_to_cart_wrap .css_quantity:focus-within { border-color: var(--pf-action) !important; box-shadow: 0 0 0 3px rgba(32,184,179,.2); }
#wrap.o19-product #add_to_cart_wrap .css_quantity input { min-height: 0 !important; height: 100%; padding: 0; font: 600 16px var(--pf-body); color: var(--pf-ink); box-shadow: none; }
#wrap.o19-product #add_to_cart_wrap .css_quantity a { display: grid; place-items: center; width: 40px; padding: 0 !important; color: var(--pf-ink); }
#wrap.o19-product #add_to_cart_wrap .css_quantity a:hover { background: var(--pf-tint); }
#wrap.o19-product #add_to_cart, #wrap.o19-product .igf-exstock-enquiry .btn { flex: 1 1 0; min-width: 150px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; background: var(--pf-action); border: 0; border-radius: 10px; font: 700 16px/1.2 var(--pf-body); color: #fff; transition: background-color .18s; }
#wrap.o19-product #add_to_cart:hover, #wrap.o19-product .igf-exstock-enquiry .btn:hover { background: var(--pf-action-dark); }
#wrap.o19-product #o_wsale_cta_wrapper .o_we_buy_now, #wrap.o19-product #product_option_block, #wrap.o19-product .o19-note { display: none !important; }
#wrap.o19-product .igf-exstock-enquiry p { margin: 0 0 12px !important; font: 500 14px/1.4 var(--pf-body); }
#wrap.o19-product .igf-exstock-enquiry .btn { display: flex; width: 100%; }
#wrap.o19-product .o19-product-purchase-options { margin: 0 !important; }
#wrap.o19-product .o19-product-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#wrap.o19-product .o19-product-actions a { min-height: 44px !important; display: inline-flex; align-items: center; padding: 9px 16px; background: var(--pf-paper); border: 1.5px solid var(--pf-line); border-radius: 10px; font: 600 14px/1.2 var(--pf-body); color: var(--pf-ink); text-decoration: none; }
#wrap.o19-product .o19-product-actions a:hover { border-color: var(--pf-action); color: var(--pf-action-dark); }
#wrap.o19-product #product_detail .o19-cut-order { margin: 0 0 10px; padding: 14px 16px; background: var(--pf-wash); border: 1px solid var(--pf-line); border-radius: var(--pf-r-md); }
#wrap.o19-product #product_detail .o19-cut-order summary { font: 700 14.5px/1.4 var(--pf-body); color: var(--pf-action-dark); }
#wrap.o19-product .pf-pd-sizes .o19-cut-order { margin: 2px 0 0; padding: 0; background: none; border: 0; border-radius: 0; }
#wrap.o19-product .pf-pd-sizes .o19-cut-order > summary { min-height: 0; font-weight: 600; color: var(--pf-action); }
.pf-buycell .o19-order-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-end; gap: 8px; margin: 8px 0 0 !important; }
.pf-buycell .o19-order-controls label { display: grid; gap: 3px; margin: 0; font: 600 12px/1.3 var(--pf-body); color: var(--pf-muted); text-align: left; }
.pf-buycell .o19-order-controls :is(select, input) { width: 88px; height: 36px; min-height: 0 !important; padding: 4px 8px; background: var(--pf-paper); border: 1.5px solid var(--pf-line); border-radius: 7px; font: 400 14.5px var(--pf-body); color: var(--pf-ink); }
.pf-buycell .o19-order-controls :is(select, input):focus { border-color: var(--pf-action); outline: none; box-shadow: 0 0 0 3px rgba(32,184,179,.2); }
.pf-buycell .o19-order-controls .o19-button { min-height: 36px !important; padding: 7px 12px; background: var(--pf-action); border: 0; border-radius: 7px; font: 600 14px/1.2 var(--pf-body); color: #fff; cursor: pointer; }
.pf-buycell .o19-order-controls .o19-button:hover { background: var(--pf-action-dark); }
.pf-buycell .o19-cut-order .o19-order-status { margin-top: 4px; font-size: 12.5px; color: var(--pf-muted); }
.pf-pd-assure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 4px 0 0; padding: 0; list-style: none; font: 500 13.5px/1.4 var(--pf-body); }
.pf-pd-assure li { display: flex; align-items: baseline; gap: 8px; }
.pf-pd-assure li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--pf-teal); transform: translateY(-2px); }
.pf-pd-assure a { color: var(--pf-text); text-decoration: none; }
.pf-pd-assure a:hover { color: var(--pf-action-dark); text-decoration: underline; }

/* Specification: one list, full width */
#wrap.o19-product .o19-product-description { margin: 48px 0 0; padding: 40px 0 0 !important; border-top: 1px solid var(--pf-line) !important; font: 400 14.5px/1.65 var(--pf-body); color: var(--pf-text); }
#wrap.o19-product .o19-product-description :is(h1, h2, h3, h4), #wrap.o19-product .o19-full-specs h2, .pf-pd-sizes h2, #wrap.o19-product .o19-related h2 { margin: 0 0 16px; font: 800 24px/1.2 var(--pf-display) !important; letter-spacing: -.015em; color: var(--pf-ink); }
#wrap.o19-product .o19-product-description section + section { margin-top: 36px; }
#wrap.o19-product .o19-product-description p { max-width: 80ch; margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; }
#wrap.o19-product .o19-product-description dl { display: grid; grid-template-columns: minmax(120px, max-content) minmax(0, 1fr); gap: 0; margin: 0; }
#wrap.o19-product .o19-product-description dl > dt, #wrap.o19-product .o19-product-description dl > dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--pf-line); font-size: 14.5px; line-height: 1.5; }
#wrap.o19-product .o19-product-description dl > dt { padding-right: 20px; color: var(--pf-muted); font-weight: 400; }
#wrap.o19-product .o19-product-description dl > dd { color: var(--pf-ink); font-weight: 600; text-align: right; }
@media (min-width: 768px) {
  #wrap.o19-product .o19-product-description dl { grid-template-columns: minmax(120px, max-content) minmax(0, 1fr) minmax(120px, max-content) minmax(0, 1fr); }
  #wrap.o19-product .o19-product-description dl > dd:nth-of-type(odd) { margin-right: 28px; }
  #wrap.o19-product .o19-product-description dl > dt:nth-of-type(even) { margin-left: 28px; }
}
#wrap.o19-product:has(.o19-product-description dl) #product_full_spec { display: none; }
#wrap.o19-product .o19-full-specs { width: auto; max-width: var(--pf-shell); margin: 0 auto 56px; padding: 40px 16px 0; box-sizing: content-box; border-top: 1px solid var(--pf-line); }

/* Other sizes and related parts */
.pf-pd-sizes { margin: 0 0 56px; font-family: var(--pf-body); }
.pf-pd-sizes-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 14px; }
.pf-pd-sizes-head h2 { margin: 0 !important; }
.pf-pd-sizes-all { font: 600 14px/1.4 var(--pf-body); color: var(--pf-action); text-decoration: none; }
.pf-pd-sizes-all:hover { color: var(--pf-action-dark); text-decoration: underline; }
.pf-pd-sizes tr.pf-sel .pf-size-in > div::after { content: "This size"; display: inline-block; margin-top: 4px; padding: 1px 8px; background: var(--pf-paper); border: 1px solid var(--pf-teal); border-radius: 999px; font: 600 11px/1.5 var(--pf-body); color: var(--pf-action-dark); }
#wrap.o19-product #o19-related-parts { width: auto; max-width: var(--pf-shell); margin: 0 auto 56px; padding: 0 16px; box-sizing: content-box; }
#wrap.o19-product .o19-related { margin: 0; padding: 0; }
#wrap.o19-product .o19-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
#wrap.o19-product .o19-related-card { display: flex; align-items: center; gap: 14px; padding: 14px !important; background: var(--pf-paper); border: 1px solid var(--pf-line); border-radius: var(--pf-r-md) !important; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
#wrap.o19-product .o19-related-card:hover { border-color: var(--pf-action); box-shadow: var(--pf-shadow); }
#wrap.o19-product .o19-related-card img { flex: none; width: 64px; height: 64px; padding: 6px; object-fit: contain; background: var(--pf-wash); border-radius: var(--pf-r-sm); mix-blend-mode: multiply; }
#wrap.o19-product .o19-related-card strong { display: block; font: 700 15px/1.3 var(--pf-body); color: var(--pf-ink); }
#wrap.o19-product .o19-related-card small { display: block; margin-top: 2px; font: 600 13px/1.4 var(--pf-body); color: var(--pf-action); }
#wrap.o19-product #oe_structure_website_sale_recommended_products:has(.o_dynamic_snippet_empty) { display: none; }

/* Buy bar on phones, shown once the buy box has scrolled away */
.pf-pd-bar { display: none; }
@media (max-width: 767.98px) {
  #wrap.o19-product #product_detail { margin-bottom: 40px !important; }
  #wrap.o19-product .o_wsale_product_images .o_product_detail_img_wrapper { max-height: 320px; aspect-ratio: 4 / 3; }
  #wrap.o19-product #o_wsale_cta_wrapper, #wrap.o19-product .igf-exstock-enquiry { padding: 16px !important; }
  #wrap.o19-product #o_wsale_cta_wrapper .oe_price { font-size: 28px; }
  #wrap.o19-product #add_to_cart_wrap .css_quantity { flex-basis: 112px; width: 112px; }
  .pf-pd-assure { grid-template-columns: minmax(0, 1fr); }
  #wrap.o19-product .o19-sku-label { display: none; }
  #wrap.o19-product .o19-product-description { margin-top: 32px; padding-top: 28px; }
  #wrap.o19-product .o19-product-description :is(h1, h2, h3, h4), #wrap.o19-product .o19-full-specs h2, .pf-pd-sizes h2, #wrap.o19-product .o19-related h2 { font-size: 21px !important; }
  .pf-pd-sizes, #wrap.o19-product #o19-related-parts { margin-bottom: 40px; }
  .pf-pd-bar:not([hidden]) { position: fixed; inset: auto 0 0; z-index: 1020; display: flex; align-items: center; gap: 12px; padding: 10px 84px calc(10px + env(safe-area-inset-bottom)) 16px; background: var(--pf-paper); border-top: 1px solid var(--pf-line); box-shadow: 0 -8px 24px rgba(20,38,61,.1); font-family: var(--pf-body); }
  body:has(.pf-pd-bar:not([hidden])) #wrapwrap { padding-bottom: 66px; }
  .pf-pd-bar strong { font: 800 19px/1.1 var(--pf-display); word-spacing: -.2em; color: var(--pf-ink); white-space: nowrap; }
  .pf-pd-bar .pf-btn { flex: 1 1 auto; min-height: 44px; padding: 10px 14px; border: 0; }
}
@media (prefers-reduced-motion: reduce) { #wrap.o19-product #add_to_cart, #wrap.o19-product .o19-related-card { transition: none; } }