/* Build 16: rules for the prototype components this build adds, and for the places where the
   native Odoo markup has to take the prototype's (sg2027.css) sizes. sg2027.css itself stays the
   mechanical port; nothing here hides, shrinks or covers a storefront safeguard. */

/* Links: the prototype never underlines a link on hover; the base stylesheet's a:hover would.
   Rules that underline on purpose (prose, ordering notice, cite) are more specific and stay. */
:where(.sgp-scope, .sg-book-footer, .sg-book-header) a:is(:hover,:focus) {text-decoration:none;}

/* ---- F4 header: Shop panel cells (anchor as the prototype, native child links under it) ---- */
.sgp-mega-cell {min-width:0;}
.sgp-mega .sgp-mega-kids {display:flex;flex-wrap:wrap;gap:2px 2px;padding:0 10px 8px 86px;margin-top:-4px;}
.sgp-mega .sgp-mega-kids a {display:inline-flex;gap:0;padding:4px 9px;border-radius:999px;font:500 12.5px/1.3 var(--sg-body);color:var(--sg-muted);}
.sgp-mega .sgp-mega-kids a:hover {color:var(--sg-text);}
.sgp-mega .sgp-stage img {max-height:76%;max-width:70%;width:auto;height:auto;object-fit:contain;}
.sgp-nav > a, .sgp-nav-item > a {white-space:nowrap;text-decoration:none;}

/* ---- F4 mobile drawer: native child links and the menu's other headings ---- */
.sgp-mnav .sgp-mnav-kids {display:flex;flex-wrap:wrap;gap:6px 18px;padding:10px 0 12px;border-bottom:1px solid var(--sg-line);opacity:0;transition:opacity .5s;transition-delay:.25s;}
.sgp-menu-open .sgp-mnav .sgp-mnav-kids {opacity:1;}
.sgp-mnav .sgp-mnav-kids a {font:600 15px/1.4 var(--sg-body);color:var(--sg-muted);text-decoration:none;}
.sgp-mnav .sgp-mnav-kids a:hover {color:var(--sg-text);}
.sgp-mnav a.sgp-big.sgp-big-2 {font-size:clamp(22px,6.2vw,28px);letter-spacing:-.02em;}

/* ---- F2 hero chips ---- */
.sgp-tagcard {text-decoration:none;color:var(--sg-text);}
.sgp-labcard .sgp-chip-ico {width:46px;height:46px;flex:none;border-radius:11px;display:grid;place-items:center;color:var(--sg-lime);background:color-mix(in oklab,var(--sg-lime) 13%,var(--sg-stage-b));}
.sgp-labcard .sgp-chip-ico svg {width:24px;height:24px;}
html[data-sg-theme="light"] .sgp-labcard .sgp-chip-ico {color:var(--sg-text);}

/* ---- F3 moving bar: award items share the press track ---- */
.sgp-press .sgp-press-track a {text-decoration:none;}
.sgp-award {flex:none;display:flex;align-items:center;gap:12px;margin:18px clamp(20px,2.6vw,38px);color:var(--sg-text);opacity:.86;transition:opacity .3s;}
.sgp-award:hover {opacity:1;}
.sgp-award img {width:52px;height:52px;flex:none;object-fit:contain;filter:drop-shadow(0 6px 8px var(--sg-drop));}
.sgp-award b {display:block;font:700 14.5px/1.2 var(--sg-display);letter-spacing:-.005em;white-space:nowrap;}
.sgp-award small {display:block;margin-top:3px;font:500 11.5px/1.3 var(--sg-mono);letter-spacing:.04em;color:var(--sg-muted);white-space:nowrap;}
@media (max-width:900px) {.sgp-award {margin-block:14px 20px;}}
/* Build 19: confirmed press rows sit in a fixed cell left of the moving award bar. Nothing here applies
   unless both lists have a row (.sgp-press-both) or the strip holds press alone. */
.sgp-seen {flex:none;display:flex;align-items:center;gap:clamp(14px,1.6vw,22px);}
.sgp-seen-item {display:grid;justify-items:center;gap:7px;}
.sgp-seen .sgp-plogo {margin:0;}
.sgp-seen small {display:block;font:500 11.5px/1.3 var(--sg-mono);letter-spacing:.04em;color:var(--sg-muted);white-space:nowrap;}
.sgp-press-press .sgp-seen {padding-block:22px;}
.sgp-press-both .sgp-seen {align-self:stretch;padding-right:clamp(18px,3vw,44px);border-right:1px solid var(--sg-line);}
@media (max-width:900px) {
 .sgp-press-both .sgp-seen {align-self:center;width:100%;justify-content:center;padding:0 0 20px;margin-bottom:22px;border-right:0;border-bottom:1px solid var(--sg-line);}
 .sgp-press-press .sgp-press-in {padding-top:0;}
}
@media (prefers-reduced-motion:reduce) {
 .sgp-press-track {animation:none!important;flex-wrap:wrap;width:auto;}
 .sgp-press-track > div[aria-hidden], .sgp-press-track .sgp-rep {display:none;}
 .sgp-press-track > div {flex-wrap:wrap;justify-content:center;}
 .sgp-press-view {-webkit-mask-image:none;mask-image:none;}
}

/* ---- F3/F11 trophy case: the prototype card, centred for any number of confirmed rows ---- */
.sgp-trophies .sgp-trophy-grid {display:flex;flex-wrap:wrap;justify-content:center;gap:14px;}
.sgp-trophies .sgp-trophy {flex:0 1 calc((100% - 28px) / 3);min-width:0;}
.sgp-trophies .sgp-trophy-grid:is([data-sg-count="4"],[data-sg-count="7"],[data-sg-count="8"]) .sgp-trophy {flex-basis:calc((100% - 42px) / 4);}
.sgp-trophies .sgp-trophy-grid:is([data-sg-count="1"],[data-sg-count="2"]) .sgp-trophy {flex-basis:min(340px,calc((100% - 14px) / 2));}
.sgp-trophies .sgp-trophy.sgp-won .sgp-medal {width:min(52%,170px);}
.sgp-trophies .sgp-trophy .sgp-medal img {aspect-ratio:1;height:auto;}
/* Build 19: a past win names its product as text, in the linked name's place and weight, with no link. */
.sgp-trophy .sgp-past {justify-self:center;margin-top:8px;font-size:14px;font-weight:700;padding-bottom:4.5px;}
.sgp-trophies .sgp-yr a {color:inherit;text-decoration:underline;text-decoration-color:var(--sg-line2);text-underline-offset:3px;}
@media (max-width:900px) {
 .sgp-trophies .sgp-trophy-grid {flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x proximity;margin-inline:calc(var(--sg-pad) * -1);padding:4px var(--sg-pad) 10px;scrollbar-width:none;}
 .sgp-trophies .sgp-trophy-grid[data-sg-count] .sgp-trophy {flex:0 0 46%;}
 .sgp-trophies .sgp-trophy-grid:is([data-sg-count="1"],[data-sg-count="2"]) .sgp-trophy {flex:0 1 46%;}
 .sgp-trophies .sgp-trophy-grid:is([data-sg-count="1"],[data-sg-count="2"]) {justify-content:center;}
 .sgp-trophies .sgp-trophy.sgp-won .sgp-medal {width:min(72%,150px);}
}

/* ---- F10 quote card ---- */
blockquote.sgp-note {border-left:1px solid var(--sg-line);}
blockquote.sgp-note p {margin:0;font:inherit;color:inherit;max-width:none;}
blockquote.sgp-note cite a {color:var(--sg-text);text-decoration:underline;text-decoration-color:var(--sg-line2);text-underline-offset:3px;}

/* ---- F15 current lots ---- */
#wrapwrap.sg-batch-book .sgp-lots {padding-top:0;}
.sgp-lots .sgp-lr-table .sgp-p {color:var(--sg-text);text-decoration:none;}
.sgp-lots .sgp-lr-table td:last-child {white-space:nowrap;}
.sgp-lots .sgp-lr-table tr:first-child td {border-top:1px solid var(--sg-line2);}

/* ---- F13 product page ---- */
#wrapwrap.sg-batch-book [data-sgp-pdp] ul.o_wsale_product_attribute .radio_input_value small.sgp-tile-price {font:500 12px var(--sg-mono);color:var(--sg-muted);word-spacing:-.4em;}
/* crumbs: the prototype's strip (22px above, 10px gaps), Shop / top category / product */
#wrapwrap.sg-batch-book [data-sgp-pdp] > .o_wsale_content_contained {padding:0!important;}
#wrapwrap.sg-batch-book [data-sgp-pdp] > .o_wsale_content_contained > div:first-child {min-width:0;}
#wrapwrap.sg-batch-book [data-sgp-pdp] ol.o_wsale_breadcrumb {display:flex;flex-wrap:wrap;gap:10px!important;width:100%;padding:22px 0 0!important;line-height:16px;}
#wrapwrap.sg-batch-book [data-sgp-pdp] ol.o_wsale_breadcrumb .breadcrumb-item {padding:0;}
#wrapwrap.sg-batch-book [data-sgp-pdp] ol.o_wsale_breadcrumb .breadcrumb-item + .breadcrumb-item::before {padding:0 10px 0 0;float:none;}
#wrapwrap.sg-batch-book [data-sgp-pdp] ol.o_wsale_breadcrumb .breadcrumb-item:nth-child(n+3):not(.active) {display:none!important;}
#wrapwrap.sg-batch-book [data-sgp-pdp] ol.o_wsale_breadcrumb .breadcrumb-item {min-width:0;overflow-wrap:anywhere;}
/* phones: a long record category name flows as one line of text instead of stacking each crumb */
@media (max-width:640px) {
 #wrapwrap.sg-batch-book [data-sgp-pdp] ol.o_wsale_breadcrumb {display:block;line-height:20px;}
 #wrapwrap.sg-batch-book [data-sgp-pdp] ol.o_wsale_breadcrumb.o_wsale_breadcrumb .breadcrumb-item:is(:nth-child(-n+2),.active) {display:inline!important;}
 #wrapwrap.sg-batch-book [data-sgp-pdp] ol.o_wsale_breadcrumb .breadcrumb-item + .breadcrumb-item::before {padding:0 10px;}
}
/* buy row: the prototype's stepper buttons are clear until hovered, and its add button ends in the arrow glyph (decoration only, no words) */
#wrapwrap.sg-batch-book [data-sgp-pdp] .css_quantity .btn {background:none!important;transition:background .2s;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .css_quantity .btn:hover {background:color-mix(in oklab,var(--sg-text) 10%,transparent)!important;}
#wrapwrap.sg-batch-book [data-sgp-pdp] button[name=add_to_cart] {gap:10px;font-size:15px;}
#wrapwrap.sg-batch-book [data-sgp-pdp] button[name=add_to_cart]::after {content:"";flex:none;width:16px;height:16px;background:currentColor;-webkit-mask:var(--sgp-arrow) center/16px 16px no-repeat;mask:var(--sgp-arrow) center/16px 16px no-repeat;transition:translate .3s var(--sg-ease);}
#wrapwrap.sg-batch-book [data-sgp-pdp] button[name=add_to_cart]:hover::after {translate:4px 0;}
#wrapwrap.sg-batch-book {--sgp-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");}
/* tablet and phone: the prototype's stage has no arrows; the native thumbnails below it stay the control */
@media (max-width:991.98px) {
 #wrapwrap.sg-batch-book [data-sgp-pdp] .o_carousel_product_outer :is(.carousel-control-prev,.carousel-control-next) {display:none!important;}
}
/* stage: a cropped gallery photograph takes the prototype's .pdp-art scale */
#wrapwrap.sg-batch-book [data-sgp-pdp] .o_carousel_product_outer img.product_detail_img:is([data-sgp-crop="1"],[data-sgp-crop="wide"]) {width:auto!important;height:auto!important;max-width:60%!important;max-height:72%!important;padding:0!important;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .o_carousel_product_outer img.product_detail_img[data-sgp-crop="wide"] {max-width:78%!important;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .o_carousel_product_outer .o_product_detail_img_wrapper {display:flex!important;align-items:center!important;justify-content:center;height:100%;width:100%;}
@media (min-width:901px) {#wrapwrap.sg-batch-book [data-sgp-pdp] #product_detail_main > .o_wsale_product_images {top:96px!important;}}
/* option tiles built over a native select (theme.js); the select stays in the form */
#wrapwrap.sg-batch-book [data-sgp-pdp] .sgp-opts.sgp-tiles {margin:0;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .sgp-opts.sgp-tiles button {display:grid;gap:4px;padding:12px 16px;border:0;border-radius:14px;background:none;box-shadow:inset 0 0 0 1.5px var(--sg-line2);font:700 14.5px/1.5 var(--sg-body);color:var(--sg-text);text-align:left;min-width:86px;cursor:pointer;transition:box-shadow .2s,background .2s;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .sgp-opts.sgp-tiles button span {display:block;padding:0;box-shadow:none;min-width:0;border-radius:0;font:inherit;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .sgp-opts.sgp-tiles button small {display:block;font:500 12px var(--sg-mono);color:var(--sg-muted);word-spacing:-.4em;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .sgp-opts.sgp-tiles button[aria-checked="true"] {box-shadow:inset 0 0 0 2px var(--sg-accent);background:color-mix(in oklab,var(--sg-accent) 11%,transparent);}
#wrapwrap.sg-batch-book [data-sgp-pdp] .sgp-opts.sgp-tiles button:focus-visible {outline:2px solid var(--sg-accent);outline-offset:3px;}
#wrapwrap.sg-batch-book [data-sgp-pdp] li.sgp-tiled > select.js_variant_change,
#wrapwrap.sg-batch-book [data-sgp-pdp] li.sgp-tiled > .attribute_name {position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0!important;}
#wrapwrap.sg-batch-book [data-sgp-pdp] li.sgp-tiled {position:relative;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .product_price {margin:26px 0 22px;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .o_wsale_product_details_content_section {max-width:none!important;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .o_wsale_product_details_content_section_title {margin-top:0;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .o_wsale_product_details_content_section_title .sgp-eyebrow {margin-top:8px;}
/* The dispatch line is a paragraph beside the two copy-file rows, laid out as the same row. */
#wrapwrap.sg-batch-book [data-sgp-pdp] .sgp-assure p.sgp-dispatch {display:flex;gap:10px;align-items:center;margin:0;font:inherit;color:inherit;}
#wrapwrap.sg-batch-book [data-sgp-pdp] .sgp-assure svg.sgp-ico-box {stroke-width:1.6;}
#wrapwrap.sg-batch-book .sgp-related {padding-top:40px;}
/* The older shell caps every image in #wrap at 100% with three :not() terms; prototype stages keep the prototype's caps on every page, product pages included. */
#wrapwrap.sg-batch-book main > #wrap .sgp-stage.sgp-stage.sgp-stage.sgp-stage img {max-width:62%;}
#wrapwrap.sg-batch-book main > #wrap .sgp-stage.sgp-stage.sgp-stage.sgp-wide img {max-width:80%;}

/* ---- F17 search results with the product's photograph ---- */
/* The search field's icon carries no size attribute in the template; the prototype sets 20px. */
.sgp-search-in > svg {width:20px;height:20px;flex:none;}
/* ---- Age gate card (Steve, 2026-12-01): glass card in the fun-skin shape, with the logo and the sun-yellow yes button.
   The cover behind it is styled by sg_age_gate's first-paint rules. The native modal keeps its blocking, focus,
   buttons and words. The card is solid where a browser cannot blur or the visitor asks for less transparency. ---- */
#sgAgeGate .modal-dialog {margin:0 auto!important;min-height:100%;align-items:center;padding:24px 0;}
#sgAgeGate .modal-content.sgp-gate-card {border-radius:30px!important;border:2px solid #5a4b7c!important;background:#231b36!important;box-shadow:0 8px 0 #09060f,0 40px 80px -30px rgba(0,0,0,.8)!important;padding:34px 28px 26px!important;text-align:center;color:#f1e9da;}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {#sgAgeGate .modal-content.sgp-gate-card {background:rgba(35,27,54,.66)!important;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);}}
@media (prefers-reduced-transparency:reduce) {#sgAgeGate .modal-content.sgp-gate-card {background:#231b36!important;-webkit-backdrop-filter:none;backdrop-filter:none;}}
#sgAgeGate .sgp-gate-card .sgp-gate-logo {display:block;width:min(220px,62%);height:auto;margin:0 auto 14px;}
#sgAgeGate .sgp-gate-card .sgp-gate-age {display:inline-block;margin:0 0 16px;padding:5px 11px;border:2px solid #5a4b7c;border-radius:999px;background:#ffc93c;color:#24122f;font:800 13px/1 var(--sg-display);}
#sgAgeGate .sgp-gate-card h2 {font:800 clamp(30px,7vw,40px)/1.02 var(--sg-display);letter-spacing:-.03em;margin:0 0 10px;color:#f1e9da;}
#sgAgeGate .sgp-gate-card p {color:#b3a6c4;font-size:15px;margin:0;}
#sgAgeGate .sgp-gate-card .sgp-row > div {padding:0!important;margin-top:24px;gap:12px!important;}
#sgAgeGate .sgp-gate-card .sgp-row .btn {flex:1 1 0!important;justify-content:center;min-height:52px;padding:0 12px!important;border-radius:999px!important;border:2px solid #5a4b7c!important;background:#ffc93c!important;color:#24122f!important;box-shadow:0 5px 0 #09060f!important;font:800 16px/1 var(--sg-display)!important;}
#sgAgeGate .sgp-gate-card .sgp-row .o_age_verification_no_btn {order:-1;flex:0 0 96px!important;background:#231b36!important;color:#f1e9da!important;}
@media (max-width:380px) {#sgAgeGate .sgp-gate-card .sgp-row > div {flex-direction:column-reverse;} #sgAgeGate .sgp-gate-card .sgp-row .btn {flex:none!important;width:100%;}}
#sgAgeGate .sgp-gate-card .sgp-row .btn:focus-visible {outline:3px solid #fff!important;outline-offset:3px;}
#sgAgeGate .sgp-gate-card .alert {margin:0 0 18px;padding:12px 14px;border-radius:14px;border:2px solid #e9657e;background:#3a1f33;color:#ffd9e0;font-weight:700;font-size:14.5px;text-align:left;}
#sgAgeGate .sgp-gate-card .alert p {color:inherit;font-size:inherit;}
#sgAgeGate .sgp-gate-card .alert .oi[data-icon] {flex:none;width:28px;height:28px;font-size:22px;background:none!important;color:#ffd9e0;}

/* ---- F12 category head: one h1, the part after the colon set as the lede line ---- */
.sgp-page-head h1.sgp-h1-split .sgp-h1-lede {display:block;margin-top:14px;font:400 17px/1.5 var(--sg-body);letter-spacing:0;color:var(--sg-muted);max-width:52ch;text-wrap:pretty;}
.sgp-page-head h1.sgp-h1-split .sgp-h1-lede::first-letter {text-transform:uppercase;}
.sgp-page-head h1.sgp-h1-split .sgp-h1-colon {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);font-style:normal;}
/* F12 bundle row inside the native grid container: twelve tracks, so four/three/two cards per row keep
   their exact widths while the bundle cards below them sit three/two/one per row. */
#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid {grid-template-columns:repeat(12,minmax(0,1fr));}
#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > * {grid-column:span 3;}
#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > .sgp-bundle {grid-column:span 4;}
#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > .sgp-grid-head {grid-column:1 / -1;margin:clamp(6px,2.6vw,42px) 0 -10px;}
/* F12: bundle row under a shop or category grid (prototype .sec rhythm, inside the shop column). */
#wrapwrap.sg-batch-book .sgp-shelf-bundles {padding:clamp(40px,6vw,84px) 0 clamp(8px,2vw,24px);}
#wrapwrap.sg-batch-book .sgp-shelf-bundles .sgp-shelf-more {margin:34px 0 0;}
/* the gated trophy case on the concentrates shelf: the shelf already supplies the page gutter */
#wrapwrap.sg-batch-book .sgp-shelf-trophies {padding:clamp(40px,6vw,84px) 0 0;}
#wrapwrap.sg-batch-book .sgp-shelf-trophies > .sgp-wrap {width:auto;max-width:none;margin:0;}
/* Bundle rows keep the prototype's 16px row gap inside the card grid's 34px (26px on phones) rows. */
#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > .sgp-bundle {margin-bottom:-18px;}
#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid:has(> .sgp-bundle) {padding-bottom:18px;}
@media (max-width:1080px) {#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > * {grid-column:span 4;}}
@media (max-width:900px) {#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > .sgp-bundle {grid-column:span 6;}}
@media (max-width:640px) {#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > * {grid-column:span 6;} #wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > .sgp-bundle {grid-column:1 / -1;margin-bottom:-10px;} #wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid:has(> .sgp-bundle) {padding-bottom:10px;}}

/* ---- F1: cropped photographs carry their pixel size as attributes (no layout shift); the
   prototype's own width / max-width / max-height rules still decide the displayed size. ---- */
:where(#wrapwrap.sg-batch-book [class*="sgp-"] img[width][height], .sgp-scope img[width][height]) {height:auto;}

/* ---- F2: with the ordering notice showing, the hero's heading sits where the prototype's does ---- */
.sgp-hero {padding-top:max(8px, calc(clamp(28px, 5vw, 64px) - var(--sg-notice, 0px)));}
/* The prototype's hero meta wraps to two rows; the same space is kept so the centred copy column
   (and the h1) sits at the prototype's height beside the art. */
@media (min-width:901px) {.sgp-hero-meta {min-height:calc(23px + 2.8em + 10px);align-content:flex-start;}}

/* ---- F9 bundles: descriptions hold two lines ---- */
.sgp-bundle > div > p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;}

/* ---- F11 newsletter: the prototype's field row; the fieldset stays disabled ---- */
.sgp-news fieldset {display:flex;gap:10px;min-width:0;margin:0;padding:0;border:0;}
.sgp-news fieldset .sgp-btn {height:54px;flex:none;}
/* F11: the paused signup reads as paused; the notice text above it is untouched and fully legible */
.sgp-news fieldset:disabled .sgp-field, .sgp-news fieldset:disabled .sgp-btn {opacity:.55;box-shadow:none;cursor:not-allowed;}
@media (max-width:640px) {
 .sgp-news fieldset {flex-direction:column;}
 .sgp-news fieldset .sgp-field {flex:none;width:100%;height:52px;}
 .sgp-news fieldset .sgp-btn {height:52px;}
}

/* ---- F14 long-form pages: stored bodies untouched. The prototype's page.html: head and body share
   the page's left edge, the title is the brief's ~40px, the body is the 68ch prose
   column. Applies to imported pages and to journal articles (which keep their eyebrow and byline). ---- */
#wrapwrap.sg-batch-book:not([data-sgp-article]) main > #wrap.sg-structure[data-sg-url-page] {width:min(var(--sg-max),100% - var(--sg-pad) * 2)!important;max-width:none!important;margin:0 auto!important;padding:0!important;}
#wrapwrap.sg-batch-book:not([data-sgp-article]) main > #wrap.sg-structure[data-sg-url-page] > main {max-width:none!important;width:100%!important;margin:0!important;padding:clamp(34px,6vw,76px) 0 70px!important;font-size:17px;}
#wrapwrap.sg-batch-book[data-sgp-article] #wrap.sg-structure > main {width:100%!important;padding-bottom:70px!important;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main > :not(h1) {max-width:68ch;}
#wrapwrap.sg-batch-book:not([data-sgp-article]) #wrap.sg-structure[data-sg-url-page] > main > * + * {margin-top:18px;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main > h1 {font:800 clamp(34px,2.9vw,42px)/1.06 var(--sg-display)!important;letter-spacing:-.03em;max-width:26ch;color:var(--sg-text)!important;text-wrap:balance;}
#wrapwrap.sg-batch-book:not([data-sgp-article]) #wrap.sg-structure[data-sg-url-page] > main > h1 {margin:0 0 calc(14px + clamp(22px,3vw,36px))!important;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main h2 {font:700 28px/1.15 var(--sg-display)!important;letter-spacing:-.015em;margin-top:36px!important;margin-bottom:0;color:var(--sg-text)!important;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main h3 {font:700 20px/1.2 var(--sg-display)!important;margin-top:26px!important;margin-bottom:0;color:var(--sg-text)!important;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main :is(p,li,dd) {color:var(--sg-muted)!important;font-size:17px;line-height:1.6;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main p {margin-bottom:0;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main strong {color:var(--sg-text);}
#wrapwrap.sg-batch-book #wrap.sg-structure > main :is(ul,ol) {padding-left:1.25em;margin-bottom:0;display:grid;gap:8px;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main li::marker {color:var(--sg-accent);}
#wrapwrap.sg-batch-book #wrap.sg-structure > main :is(p,li,td,dd) a {color:var(--sg-text);text-decoration:underline;text-decoration-color:var(--sg-accent);text-decoration-thickness:1.5px;text-underline-offset:3px;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main :is(p,li,td,dd) a:hover {color:var(--sg-accent-hi);}
#wrapwrap.sg-batch-book #wrap.sg-structure > main table {width:100%;border-collapse:collapse;}
#wrapwrap.sg-batch-book #wrap.sg-structure > main th {text-align:left;font:500 11.5px var(--sg-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--sg-muted);padding:12px 10px;border-bottom:1px solid var(--sg-line2);}
#wrapwrap.sg-batch-book #wrap.sg-structure > main td {padding:12px 10px;border-bottom:1px solid var(--sg-line);font-size:14.5px;vertical-align:top;color:var(--sg-muted);}
#wrapwrap.sg-batch-book #wrap.sg-structure > main blockquote {border-left:2px solid var(--sg-accent);padding-left:18px;color:var(--sg-text);}
#wrapwrap.sg-batch-book #wrap.sg-structure > main hr {border:0;border-top:1px solid var(--sg-line);opacity:1;}

/* ===== Build 19 stage 2: interface strings and design fixes (theme only; no photograph, stored text or word is touched) ===== */

/* H1 search results: the native header and its stock strip stay hidden; the themed head, tab strip and sort carry the page. */
#wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_header[hidden] {display:none!important;}
#wrapwrap.sg-batch-book [data-sgp-shop] .sgp-page-head h1 {overflow-wrap:anywhere;}
#wrapwrap.sg-batch-book [data-sgp-shop] .sgp-shop-head {max-width:100%;}

/* M6 tab strips that scroll sideways: edge fade where there is more. */
.sgp-tab-links.sgp-more-r:not(.sgp-more-l) {-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 38px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 38px),transparent);}
.sgp-tab-links.sgp-more-l:not(.sgp-more-r) {-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 38px),transparent);mask-image:linear-gradient(270deg,#000 calc(100% - 38px),transparent);}
.sgp-tab-links.sgp-more-l.sgp-more-r {-webkit-mask-image:linear-gradient(90deg,transparent,#000 38px,#000 calc(100% - 38px),transparent);mask-image:linear-gradient(90deg,transparent,#000 38px,#000 calc(100% - 38px),transparent);}

/* H2 cart drawer opens at once; its contents are refreshed behind it. */
.sgp-drawer[aria-busy="true"] .sgp-drawer-body {opacity:.55;transition:opacity .2s;}

/* M7 search overlay rows: name, then shelf and price; the footer row links to the full results. */
.sgp-search-res .sgp-search-text {display:grid;gap:2px;min-width:0;}
.sgp-search-res .sgp-search-text b {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sgp-search-res .sgp-search-text small {font:500 12.5px var(--sg-mono);color:var(--sg-muted);}
.sgp-search-res a.sgp-search-all {justify-content:center;margin-top:6px;border-top:1px solid var(--sg-line);border-radius:0 0 14px 14px;padding:14px 10px;font:700 14px var(--sg-body);color:var(--sg-text);text-decoration:underline;text-decoration-color:var(--sg-accent);text-underline-offset:3px;}

/* H3 contact and wholesale form: the wholesale page's field look, the pink 2px focus ring, links you can see. */
.sg-form {width:100%;max-width:44rem;margin:clamp(28px,4vw,48px) 0 0;color:var(--sg-text);}
.sg-form h2 {font:700 28px/1.15 var(--sg-display);letter-spacing:-.015em;margin:0 0 12px;color:var(--sg-text);}
.sg-form p {color:var(--sg-muted);font-size:16px;line-height:1.6;max-width:68ch;margin:0 0 14px;}
.sg-form a:not(.sgp-btn) {color:var(--sg-text);text-decoration:underline;text-decoration-color:var(--sg-accent);text-decoration-thickness:1.5px;text-underline-offset:3px;}
.sg-form form {display:grid;gap:18px;margin-top:22px;}
.sg-form label {display:block;font:500 12px/1.3 var(--sg-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--sg-muted);margin-bottom:8px;}
.sg-form :is(.sgp-field,.sgp-select) {width:100%;display:block;height:52px;border-radius:12.8px;background-color:var(--sg-surface);border:1px solid var(--sg-line2);color:var(--sg-text);padding:0 16px;font:500 16px var(--sg-body);letter-spacing:0;}
.sg-form textarea.sgp-field {height:auto;min-height:150px;padding:14px 16px;line-height:1.5;resize:vertical;}
.sg-form .sgp-select {appearance:none;-webkit-appearance:none;background:var(--sg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;padding-right:44px;}
.sg-form :is(.sgp-field,.sgp-select):focus,.sg-form :is(.sgp-field,.sgp-select):focus-visible {outline:2px solid var(--sg-accent);outline-offset:2px;border-color:var(--sg-accent);box-shadow:none;}
.sg-form fieldset {border:1px solid var(--sg-line);border-radius:16px;padding:20px;margin:0;display:grid;gap:16px;min-width:0;}
.sg-form legend {float:none;width:auto;padding:0 8px;font:700 18px var(--sg-display);color:var(--sg-text);margin:0;}
.sg-form .sgp-btn {justify-self:start;}
.sg-form .sg-form-note {border:1px solid var(--sg-line2);border-radius:16px;padding:18px 20px;background:var(--sg-surface);margin:0 0 18px;}
.sg-form .sg-form-note h3 {font:700 20px var(--sg-display);margin:0 0 8px;color:var(--sg-text);}
.sg-form .sg-form-error {border-color:var(--sg-accent);}
/* An inquiry form under a page's own text starts at that text's left edge. */
#wrapwrap.sg-batch-book main > .sg-form {width:min(var(--sg-max),100% - var(--sg-pad) * 2);max-width:none;margin:0 auto;padding:0 0 clamp(48px,6vw,80px);}
#wrapwrap.sg-batch-book main > .sg-form > * {max-width:44rem;}

/* H4 journal index: the home page's journal card in three columns inside the site container. */
#wrapwrap.sg-batch-book main.sg-journal-index {width:100%!important;max-width:none!important;margin:0!important;padding:clamp(34px,6vw,76px) 0 clamp(60px,8vw,110px)!important;color:var(--sg-text);}
.sg-journal-index .sgp-page-head {display:grid;gap:14px;margin-bottom:clamp(20px,3vw,34px);}
.sg-journal-index .sgp-page-head h1 {font:800 clamp(34px,4.4vw,60px)/1.04 var(--sg-display);letter-spacing:-.03em;margin:0;color:var(--sg-text);}
.sg-journal-index .sgp-page-head p {color:var(--sg-muted);max-width:60ch;margin:0;font-size:17px;}
.sg-journal-search {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,220px) auto;gap:10px;margin:0 0 14px;align-items:center;}
.sg-journal-search .sgp-field,.sg-journal-search .sgp-select {width:100%;height:48px;font:500 15px var(--sg-body);letter-spacing:0;}
.sg-journal-search .sgp-btn {height:48px;}
.sg-journal-count {font:500 12.5px var(--sg-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--sg-muted);margin:0 0 22px;}
.sg-journal-count a {margin-left:14px;font-size:12.5px;}
.sg-journal-grid .sgp-post {min-height:250px;}
#wrapwrap.sg-batch-book .sg-journal-grid .sgp-post h2 {font:700 23px/1.12 var(--sg-display)!important;letter-spacing:-.015em;margin:0!important;position:relative;max-width:20ch;color:var(--sg-text)!important;}
.sg-journal-grid .sgp-post h2 a {color:inherit;text-decoration:none;}
.sg-journal-grid .sgp-post h2 a::after {content:"";position:absolute;inset:-300px -40px -300px -40px;}
.sg-journal-grid .sgp-post p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;}
.sg-journal-grid .sgp-post > .sgp-link {position:relative;}
.sg-journal-pages {display:flex;flex-wrap:wrap;gap:8px;margin-top:30px;}
.sg-journal-pages .sgp-btn {min-width:46px;height:46px;padding:0 14px;}
@media (max-width:900px) {.sg-journal-grid {grid-template-columns:repeat(2,minmax(0,1fr));} .sg-journal-search {grid-template-columns:minmax(0,1fr) minmax(0,1fr);} .sg-journal-search .sgp-btn {grid-column:1 / -1;}}
@media (max-width:640px) {.sg-journal-grid {grid-template-columns:1fr;} .sg-journal-search {grid-template-columns:1fr;} .sg-journal-search .sgp-btn {justify-self:stretch;}}

/* H5 / M8 stored questions folded into the home accordion; the reading measure for the text under a grid. */
#wrapwrap.sg-batch-book .sgp-cat-text {max-width:700px;font-family:var(--sg-body);}
#wrapwrap.sg-batch-book .sgp-cat-text :is(h1,h2,h3,h4) {font-family:var(--sg-display);}
#wrapwrap.sg-batch-book .sgp-cat-text a,#wrapwrap.sg-batch-book .sgp-cat-text a:visited {color:var(--sg-text);text-decoration:underline;text-decoration-color:var(--sg-accent);text-decoration-thickness:1.5px;text-underline-offset:3px;}
#wrapwrap.sg-batch-book .sgp-cat-text a:hover {color:var(--sg-accent-hi);}
#wrapwrap.sg-batch-book .sgp-cat-text :is(p,li) {line-height:1.6;}
.sgp-acc.sgp-acc-text {margin:18px 0 26px;max-width:700px;}
.sgp-acc-text summary {font:700 19px/1.25 var(--sg-display);gap:16px;}
.sgp-acc-text summary > span {min-width:0;}
.sgp-acc-text summary i {flex:none;}
.sgp-acc-text .sgp-body > * {margin:0;max-width:none;}
.sgp-acc-text .sgp-body {font-size:16px;line-height:1.6;}
.sgp-acc-text .sgp-body a {color:var(--sg-text);text-decoration:underline;text-decoration-color:var(--sg-accent);text-underline-offset:3px;}
.sgp-acc-text .sgp-body :is(ul,ol) {padding-left:1.25em;display:grid;gap:6px;}

/* H6 the 404 page. */
.sg-missing .col-lg-8 {width:100%;flex:0 0 100%;max-width:none;}
.sg-missing {padding:clamp(48px,8vw,110px) 0!important;}
.sg-missing .container {width:min(var(--sg-max),100% - var(--sg-pad) * 2);max-width:none;padding:0;}
.sg-missing .row {display:block;}
.sg-missing .sg-missing-title {font:800 clamp(34px,5.2vw,68px)/1.04 var(--sg-display);letter-spacing:-.03em;color:var(--sg-text);margin:0 0 clamp(22px,3vw,36px);max-width:18ch;text-wrap:balance;}
.sg-missing-help h2 {font:700 24px var(--sg-display);color:var(--sg-text);margin:0 0 16px;}
.sg-missing-help form {display:flex;gap:10px;max-width:560px;margin:0 0 26px;}
.sg-missing-help form .sgp-field {height:52px;font:500 16px var(--sg-body);letter-spacing:0;}
.sg-missing-help form .sgp-btn {height:52px;flex:none;}
.sg-missing-tiles {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 30px;}
.sg-missing-tiles a {display:grid;gap:12px;justify-items:center;padding:16px 12px 18px;border-radius:var(--sg-r);background:var(--sg-surface);border:1px solid var(--sg-line);text-decoration:none;color:var(--sg-text);transition:translate .4s var(--sg-ease),border-color .3s;}
.sg-missing-tiles a:hover {translate:0 -4px;border-color:var(--sg-line2);}
.sg-missing-tiles .sgp-stage {width:100%;max-width:150px;aspect-ratio:1;border-radius:16px;}
.sg-missing-tiles b {font:700 17px var(--sg-display);}
.sg-missing-all {margin:0;}
@media (max-width:700px) {.sg-missing-tiles {grid-template-columns:repeat(2,minmax(0,1fr));} .sg-missing-help form {flex-direction:column;} .sg-missing-help form .sgp-btn {width:100%;}}

/* M1 two templates. The pages that were laid out as their own wide template take the reading template's edge,
   measure, heading sizes and visible links; the font "Inter Tight" is not used on the store. */
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) {width:min(var(--sg-max),100% - var(--sg-pad) * 2)!important;max-width:none!important;margin:0 auto!important;padding:clamp(34px,6vw,76px) 0 56px!important;font-size:17px;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) > :not(h1) {max-width:68ch;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) > h1 {font:800 clamp(34px,2.9vw,42px)/1.06 var(--sg-display)!important;letter-spacing:-.03em;max-width:26ch;color:var(--sg-text)!important;text-wrap:balance;margin:0 0 calc(14px + clamp(22px,3vw,36px))!important;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) :is(h2) {font:700 28px/1.15 var(--sg-display)!important;letter-spacing:-.015em;margin:36px 0 0!important;color:var(--sg-text)!important;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) :is(h3) {font:700 20px/1.2 var(--sg-display)!important;margin:26px 0 0!important;color:var(--sg-text)!important;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) :is(p,li,dd) {color:var(--sg-muted);font-size:17px;line-height:1.6;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) p {margin:18px 0 0;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) strong {color:var(--sg-text);}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) :is(ul,ol) {padding-left:1.25em;margin:18px 0 0;display:grid;gap:8px;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) li::marker {color:var(--sg-accent);}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) :is(p,li,td,dd) a {color:var(--sg-text);text-decoration:underline;text-decoration-color:var(--sg-accent);text-decoration-thickness:1.5px;text-underline-offset:3px;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) :is(p,li,td,dd) a:hover {color:var(--sg-accent-hi);}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) table {width:100%;border-collapse:collapse;max-width:none;}
#wrapwrap.sg-batch-book main > #wrap.container:not(.o_wsale_products_page) :is(th,td) {padding:12px 10px;border-bottom:1px solid var(--sg-line);font-size:14.5px;text-align:left;}
#wrapwrap.sg-batch-book #wrap [style*="Inter Tight"] {font-family:var(--sg-display)!important;}
/* The stored pages that sit in the reading wrapper keep their one left edge at 390 too. */
#wrapwrap.sg-batch-book #wrap :is(h1,h2,h3,h4) {overflow-wrap:break-word;}

/* M11 article ends, and the reading column centred on wide screens. */
.sgp-article-end {padding:34px 0 76px;}
.sgp-article-end .sgp-wrap {display:flex;flex-wrap:wrap;gap:14px 34px;justify-content:space-between;}
.sgp-article-end a {max-width:100%;}
@media (min-width:1100px) {
 #wrapwrap.sg-batch-book[data-sgp-article] #wrap.sg-structure {width:min(760px,100% - var(--sg-pad) * 2)!important;margin-inline:auto!important;}
 #wrapwrap.sg-batch-book[data-sgp-article] .sgp-article-eyebrow {width:min(760px,100% - var(--sg-pad) * 2);margin-inline:auto;}
 .sgp-article-end .sgp-wrap {margin-inline:auto;max-width:760px;}
}

/* M3 / L6 bundle cards: struck single-unit total and saving chip, one description line, one thumbnail row height. */
.sgp-bundle-foot .sgp-was,.sgp-bundle-save .sgp-was {font:500 13px var(--sg-mono);color:var(--sg-muted);text-decoration:line-through;}
.sgp-bundle-foot .sgp-saving,.sgp-bundle-save .sgp-saving {font:700 11.5px/1 var(--sg-mono);letter-spacing:.06em;text-transform:uppercase;padding:6px 9px;border-radius:999px;color:var(--sg-on-accent);background:var(--sg-accent);white-space:nowrap;}
.sgp-bundle-foot {row-gap:12px;}
.sgp-bundle-foot .sgp-price {display:inline-flex;align-items:baseline;gap:8px;flex-wrap:wrap;}
.sgp-bundle > div > p {-webkit-line-clamp:1;line-clamp:1;}
.sgp-bundle .sgp-fan {min-height:96px;align-items:flex-start;}
.sgp-bundle.sgp-feature .sgp-fan {min-height:150px;}
.sgp-bundle-save {display:inline-flex;align-items:center;gap:12px;margin-left:14px;vertical-align:middle;}
[data-sgp-pdp] .product_price .sgp-bundle-save {margin-left:12px;}
/* M2 bundle page: the included products' own photographs, side by side. */
.sgp-bundle-parts {list-style:none;margin:14px 0 0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;}
.sgp-bundle-parts li {min-width:0;}
.sgp-bundle-parts .sgp-stage {display:block;border-radius:16px;aspect-ratio:1;overflow:hidden;}
.sgp-bundle-parts .sgp-stage img {width:100%;height:100%;object-fit:contain;}
.sgp-mega .sgp-stage-parts {display:flex;align-items:center;justify-content:center;gap:0;}
.sgp-mega .sgp-stage-parts img {max-width:36%;max-height:78%;margin-left:-8px;}
.sgp-mega .sgp-stage-parts img:first-child {margin-left:0;}
.sgp-mega-cell > a small {display:block;line-height:1.35;}
.sgp-mega-cell > a > span:last-child {min-width:0;}
.sgp-mega {width:min(620px, calc(100vw - 150px));}
.sgp-announce-track > span::after {content:none;}
.sgp-hdr-tel {font:600 13.5px/1 var(--sg-mono);letter-spacing:.02em;color:var(--sg-text);white-space:nowrap;padding:10px 6px;}
.sgp-hdr-tel:hover {color:var(--sg-accent);}
@media (max-width:1180px) {.sgp-hdr-tel {display:none;}}

/* M4 product page details. */
@media (max-width:640px) {
 #wrapwrap.sg-batch-book .sgp-acc td:first-child,#wrapwrap.sg-batch-book .sg-buying-summary td:first-child {padding-right:14px;}
 #wrapwrap.sg-batch-book .sgp-acc td {display:table-cell;}
}
#wrapwrap.sg-batch-book .sgp-assure > * {font-size:14px;line-height:1.45;}
#wrapwrap.sg-batch-book .sgp-pdp-acc nav {display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;}
#wrapwrap.sg-batch-book .sgp-pdp-acc nav a {padding:4px 0;}
#wrapwrap.sg-batch-book .sgp-related .sgp-rail,#wrapwrap.sg-batch-book .sgp-related .sgp-grid {justify-content:center;}

/* M5 mobile menu: solid header row while the menu is open, thumb-sized sub-links. */
.sgp-menu-open .sgp-hdr-wrap {background:var(--sg-bg);}
.sgp-mnav .sgp-mnav-kids a {display:inline-flex;align-items:center;min-height:34px;}

/* L1 jar shadow stays under the jar. */
#wrapwrap.sg-batch-book [data-sgp-pdp] .o_wsale_product_images .product_detail_img {filter:drop-shadow(0 18px 14px var(--sg-drop));}

/* L2 home polish. */
#buying-in-bulk .sgp-lot-card h2 {margin:0 0 14px;}
#buying-in-bulk .sgp-lot-card p {margin:0 0 14px;}
#journal .sgp-post {justify-content:flex-start;gap:18px;}
#journal .sgp-post > div {margin-top:auto;}
.sgp-press-view {-webkit-mask-image:linear-gradient(90deg,transparent,#000 56px,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,transparent,#000 56px,#000 calc(100% - 56px),transparent);}
@media (min-width:641px) and (max-width:900px) {
 .sgp-grid:not(.sgp-rail) {grid-template-columns:repeat(2,minmax(0,1fr));}
 #wrapwrap.sg-batch-book [data-sgp-shop] #o_wsale_products_grid.sgp-grid > * {grid-column:span 6;}
}

/* L4 an empty cart shows no order steps. */
main:has(.sg27-empty-cart) .o_wizard {display:none;}

/* L5 tap targets and the banner's edges. */
@media (max-width:640px) {
 .sgp-site-foot li a,.sgp-site-foot .sgp-legal a,.sgp-seller a {display:inline-flex;align-items:center;min-height:32px;}
 .sgp-site-foot ul {gap:0;}
 .o_wsale_breadcrumb a {display:inline-flex;align-items:center;min-height:32px;}
 .sgp-tag,.sgp-tabs a {min-height:32px;}
}

/* M12 wholesale page: one left edge and a chevron on the select (the form follows the page's own edge). */
#wrapwrap.sg-batch-book #wrap.container > .sg-form {width:100%;max-width:44rem;margin-left:0;padding-inline:0;}

/* M13 small text reaches 4.5:1 in both themes; links inside blocks the theme does not style stay visible. */
#wrapwrap.sg-batch-book #wrap :is(p,li,td,dd) a:not([class]) {text-decoration:underline;text-decoration-color:var(--sg-accent);text-underline-offset:3px;}
#wrapwrap.sg-batch-book #wrap[data-sg-journal] {width:100%!important;max-width:none!important;padding:0!important;margin:0!important;}
#wrapwrap.sg-batch-book #wrap.sg-structure > section {max-width:960px;margin:0 auto;padding:0 1rem 56px;}
.sgp-acc-text summary {color:var(--sg-text);}
.sgp-bundle-foot .sgp-price s.sgp-was {margin-left:0;}
#wrapwrap.sg-batch-book .sgp-acc td:first-child {width:42%;padding-right:16px;}
.sgp-menu-open .sgp-hdr-wrap::before {content:"";position:absolute;left:0;right:0;top:-80px;height:80px;background:var(--sg-bg);}
.sgp-search-res a.sgp-search-all {position:sticky;bottom:-8px;background:var(--sg-surface);}
/* M13 small text reaches 4.5:1 on every surface it sits on, in both themes (measured against the footer, lab and cart backgrounds). */
:root {--sg-faint:#9189a6;}
html[data-sg-theme="light"] {--sg-faint:#605870;--sg-butter:#775808;}

/* Build 19 stage 3 (audit A9): the lab cards reserve their height before the fonts arrive (measured 437 to 529 px
   at 360 to 1440 px wide in the sandbox; the reserve is at or below the smallest measured height at each width). */
#wrapwrap.sg-batch-book .sgp-lab-cards {min-height:430px;}
@media (max-width:480px) {#wrapwrap.sg-batch-book .sgp-lab-cards {min-height:500px;}}
/* Build 19 stage 3 (audit C5): keyboard focus on Odoo's own controls shows the theme's outline (sg2027.css `:focus-visible`). */
:is(.btn,.form-control,.form-select,.btn-close):focus-visible {outline:2px solid var(--sg-accent)!important;outline-offset:3px;}

/* Build 26: section spacing tightened (was clamp(64px, 9vw, 124px)). */
.sgp-sec {padding:clamp(48px, 6vw, 84px) 0;}
.sgp-sec-head {margin-bottom:clamp(22px, 3vw, 36px);}
