/* Batch O: native commerce markup, shared centred width and unchanged content. */
#wrapwrap.sg-batch-book main #wrap.o_wsale_products_page,
#wrapwrap.sg-batch-book main #wrap.o_wsale_product_page {width:100%!important;max-width:none!important;padding-inline:0!important;margin-inline:auto;}
#wrapwrap.sg-batch-book #o_wsale_container,
#wrapwrap.sg-batch-book #product_detail,
#wrapwrap.sg-batch-book #product_full_description {width:calc(100% - clamp(2rem,8vw,6rem));max-width:1260px;margin-inline:auto;padding-inline:0;}
#wrapwrap.sg-batch-book .o_wsale_products_main_row {margin-inline:0;}
#wrapwrap.sg-batch-book #products_grid {padding-inline:0;}
#wrapwrap.sg-batch-book #o_wsale_products_grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 1rem;}
#wrapwrap.sg-batch-book #o_wsale_products_grid > .oe_product {grid-column:auto!important;grid-row:auto!important;width:auto!important;min-width:0;}
@media(min-width:1024px) {#wrapwrap.sg-batch-book #o_wsale_products_grid {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(min-width:1400px) {#wrapwrap.sg-batch-book #o_wsale_products_grid {grid-template-columns:repeat(4,minmax(0,1fr));}}
#wrapwrap.sg-batch-book #product_detail_main {width:100%;max-width:none;margin:0;padding:0;gap:2.5rem;}
#wrapwrap.sg-batch-book #product_detail_main > .o_wsale_product_images,
#wrapwrap.sg-batch-book #product_detail_main > #product_details {padding-inline:0;flex:1 1 0;min-width:0;}
#wrapwrap.sg-batch-book #product_details {position:relative!important;top:auto!important;}
#wrapwrap.sg-batch-book #o-carousel-product {flex-direction:column;}
#wrapwrap.sg-batch-book .o_carousel_product_outer {order:0;width:100%!important;}
#wrapwrap.sg-batch-book .o_carousel_product_indicators {order:1;width:100%!important;max-width:none!important;}
#wrapwrap.sg-batch-book .o_wsale_product_images .carousel-indicators {display:flex!important;flex-direction:row!important;justify-content:center;align-items:flex-start;gap:.6rem;padding:.8rem 0!important;width:100%;}
#wrapwrap.sg-batch-book .o_wsale_product_images .carousel-indicators li {box-sizing:border-box;text-indent:0;margin:0!important;padding:0;transform:none;top:auto;width:64px!important;height:64px!important;flex:0 0 64px;border:2px solid transparent!important;border-radius:18px;background:radial-gradient(var(--sg-stage-a),var(--sg-stage-b));opacity:.75;}
#wrapwrap.sg-batch-book .o_wsale_product_images .carousel-indicators li.active {border-color:var(--sg-accent)!important;opacity:1;}
#wrapwrap.sg-batch-book .o_wsale_product_images .carousel-indicators li > div {display:block;position:relative;width:100%;height:100%;overflow:hidden;border-radius:14px;border:0!important;}
#wrapwrap.sg-batch-book .o_wsale_product_images .carousel-indicators img {display:block;position:static;width:100%;height:100%;object-fit:contain!important;padding:0!important;}
@media(min-width:1024px) {#wrapwrap.sg-batch-book #product_detail_main > .o_wsale_product_images {position:sticky;top:1.5rem;align-self:flex-start;}}
#wrapwrap.sg-batch-book .sg27-tile:first-child .sg-photo-tile {flex:1;min-height:0;aspect-ratio:auto;display:grid;place-items:center;}
#wrapwrap.sg-batch-book .sg27-tile:first-child .sg-photo-tile img {position:absolute;inset:0;width:100%;height:100%;}
#wrapwrap.sg-batch-book .sg27-empty-cart h2 {font-size:1.6rem;}
#wrapwrap.sg-batch-book .sg27-empty-cart {max-width:1260px;margin-inline:auto;}
#wrapwrap.sg-batch-book .sg27-empty-cart .sg27-category-pills {flex-wrap:wrap;}
#wrapwrap.sg-batch-book main > #wrap.sg27-labs {max-width:72ch;width:calc(100% - 2rem);margin-inline:auto;padding-inline:0;}
#wrapwrap.sg-batch-book .sg27-labs section[aria-labelledby=sg-lot-title] {width:100%;}
#wrapwrap.sg-batch-book main > #wrap.sg27-story-page {max-width:1260px;width:calc(100% - clamp(2rem,8vw,6rem));margin-inline:auto;padding-inline:0;}
#wrapwrap.sg-batch-book .sg27-story-layout {display:grid;gap:3rem;align-items:start;}
#wrapwrap.sg-batch-book .sg27-story-art {order:-1;position:relative;aspect-ratio:1;max-height:600px;}
#wrapwrap.sg-batch-book .sg27-story-art img {position:absolute;width:48%;height:70%;object-fit:contain;bottom:8%;left:0;}
#wrapwrap.sg-batch-book .sg27-story-art img:nth-child(2) {left:25%;bottom:17%;}
#wrapwrap.sg-batch-book .sg27-story-art img:nth-child(3) {left:52%;}
@media(min-width:1024px) {#wrapwrap.sg-batch-book .sg27-story-layout {grid-template-columns:1fr 1fr;} #wrapwrap.sg-batch-book .sg27-story-art {order:1;position:sticky;top:2rem;}}
#wrapwrap.sg-batch-book #wrap.sg-structure,
#wrapwrap.sg-batch-book #wrap.sg-structure main,
#wrapwrap.sg-batch-book #wrap.sg-structure article,
#wrapwrap.sg-batch-book #wrap.sg-structure section {background:var(--sg-bg)!important;color:var(--sg-text)!important;}
#wrapwrap.sg-batch-book #wrap.sg-structure {margin-inline:auto;}
#wrapwrap.sg-batch-book #wrap.sg-structure main {max-width:calc(72ch + 2rem);margin-inline:auto;padding-inline:1rem;}
#wrapwrap.sg-batch-book #wrap.sg-structure p,
#wrapwrap.sg-batch-book #wrap.sg-structure li {color:var(--sg-text)!important;max-width:72ch;}
#wrapwrap.sg-batch-book #wrap.sg-structure h2,
#wrapwrap.sg-batch-book .sg27-story-copy h2,
#wrapwrap.sg-batch-book .sg27-labs h2 {font-size:clamp(1.4rem,2.5vw,2rem);}
#wrapwrap.sg-batch-book #wrap.sg-structure h3 {font-size:1.3rem;}
#wrapwrap.sg-batch-book [data-sg-ordering-banner] {background:var(--sg-surface);color:var(--sg-text);border:0;border-bottom:1px solid var(--sg-line2);border-radius:0;font-family:var(--sg-body);}
#wrapwrap.sg-batch-book [data-sg-ordering-banner] a {color:var(--sg-accent-hi);text-decoration:underline;text-underline-offset:2px;}

/* Batch P: shared description gutter and native controls, without content edits. */
#wrapwrap.sg-batch-book #product_full_description p {max-width:72ch;}
#wrapwrap.sg-batch-book .sg27-labs > p {max-width:none;}
#wrapwrap.sg-batch-book [data-sg-ordering-banner] .btn-close {background:none;color:var(--sg-text);opacity:1;display:grid;place-items:center;}
#wrapwrap.sg-batch-book [data-sg-ordering-banner] .btn-close::before {content:'×';font:28px/1 var(--sg-body);}
#wrapwrap.sg-batch-book .o_website_sale_checkout_container {width:calc(100% - clamp(2rem,8vw,6rem));max-width:1260px;padding-inline:0;}
#wrapwrap.sg-batch-book .o_website_sale_checkout_container .row {margin-inline:0;}
#wrapwrap.sg-batch-book .oe_cart,#wrapwrap.sg-batch-book #shop_cart {padding-inline:0;}
#wrapwrap.sg-batch-book .js_cart_lines,#wrapwrap.sg-batch-book .js_cart_lines h5,#wrapwrap.sg-batch-book .js_cart_lines p {text-align:left!important;}
#wrapwrap.sg-batch-book .sg27-empty-cart {width:calc(100% - clamp(2rem,8vw,6rem));padding-inline:0;}
#wrapwrap.sg-batch-book .o_add_wishlist {position:absolute;top:.6rem;right:.6rem;bottom:auto;left:auto;width:44px;height:44px;padding:0;z-index:3;}
#wrapwrap.sg-batch-book .o_add_wishlist .o_label {display:none;}
#wrapwrap.sg-batch-book .o_add_wishlist [data-icon=favorite]::before {content:'♡';font:26px/1 sans-serif;}
/* Q: native second-photo pagination is not a shop-card control. Keep the stage shadow. */
#wrapwrap.sg-batch-book .oe_product_cart .oe_product_image:has(.oe_product_image_link_has_secondary)::before {display:none;}
#wrapwrap.sg-batch-book .oe_product_cart .oe_product_image:has(.oe_product_image_link_has_secondary)::after {outline:0;}
