/* Gemensam utformning för varukorg, önskelista och produktdetaljer. */
:root{--commerce-accent:var(--bsp-reference-theme,#2c3e50);--commerce-on-accent:var(--bsp-reference-theme-contrast,#fff);--commerce-ink:var(--bsp-reference-theme-ink,#2c3e50);--commerce-soft:color-mix(in srgb,var(--commerce-accent) 5%,white);--commerce-line:color-mix(in srgb,var(--commerce-accent) 16%,white);}
:is(.bsp-cart-drawer,.bsp-wishlist-drawer){--bsp-cart-bg:#f4f4f2;--bsp-wishlist-bg:#f4f4f2;--bsp-cart-drawer-width:420px;--bsp-wishlist-width:420px;--bsp-font-heading:'Jost',sans-serif;color:#1c1c1c;font-family:inherit;line-height:1.45;}
:is(.bsp-cart-drawer,.bsp-wishlist-drawer) :is(button,input,select,textarea){font-family:inherit;}
/* Låt båda panelerna följa temats gemensamma typsnitt. */
body.bsp-site-shell :is(.bsp-cart-drawer, .bsp-wishlist-drawer) {
 --bsp-font-heading: var(--storecraft-font-heading);
 --bsp-font-text: var(--storecraft-font-body);
 font-family: var(--storecraft-font-body);
}
body.bsp-site-shell :is(.bsp-cart-drawer, .bsp-wishlist-drawer) :is(p, span, a, button, input, select, textarea, label, li, small, strong) {
 font-family: inherit;
}
body.bsp-site-shell :is(.bsp-cart-drawer, .bsp-wishlist-drawer) :is(h2, h3, .bsp-cart-drawer__title, .bsp-wishlist-drawer__title, .bsp-cart-drawer__item-title, .bsp-wishlist-drawer__name, .bsp-cart-drawer__upsell-name) {
 font-family: var(--storecraft-font-heading);
}
body.bsp-site-shell :is(.bsp-cart-drawer, .bsp-wishlist-drawer) :is(h2, h3, .bsp-cart-drawer__item-title) a {
 font-family: inherit;
}
:is(.bsp-cart-drawer,.bsp-wishlist-drawer) *{box-sizing:border-box;}
:is(.bsp-cart-drawer,.bsp-wishlist-drawer){--bsp-cart-accent:var(--commerce-accent);--bsp-cart-checkout-bg:var(--commerce-accent);--bsp-cart-checkout-text:var(--commerce-on-accent);--bsp-cart-float-bg:var(--commerce-accent);--bsp-cart-float-text:var(--commerce-on-accent);--bsp-cart-upsell-btn-bg:var(--commerce-accent);--bsp-cart-upsell-btn-text:var(--commerce-on-accent);--bsp-wishlist-accent:var(--commerce-accent);--bsp-wishlist-float-bg:var(--commerce-accent);--bsp-wishlist-float-text:var(--commerce-on-accent);}
:is(.bsp-cart-drawer,.bsp-wishlist-drawer) .bsp-cart-drawer__panel,:is(.bsp-cart-drawer,.bsp-wishlist-drawer) .bsp-wishlist-drawer__panel{background:var(--commerce-soft);border:1px solid var(--commerce-line);}
:is(.bsp-cart-drawer__title,.bsp-wishlist-drawer__title){line-height:1.2!important;font-size:24px!important;font-weight:400!important;}
:is(.bsp-cart-drawer__header,.bsp-wishlist-drawer__header){flex-shrink:0;gap:12px;}
:is(.bsp-cart-drawer__float-label,.bsp-wishlist-drawer__float-label){left:16px!important;top:12px!important;font-size:9px!important;padding:4px 10px!important;}
:is(.bsp-cart-drawer__header,.bsp-wishlist-drawer__header){padding-top:36px!important;}
:is(.bsp-cart-drawer__body,.bsp-wishlist-drawer__body){min-height:0;overscroll-behavior:contain;}
:is(.bsp-cart-drawer__summary,.bsp-wishlist-drawer__summary,.bsp-cart-drawer__actions,.bsp-wishlist-drawer__actions){flex-shrink:0;}
:is(.bsp-cart-drawer__item-thumb,.bsp-wishlist-drawer__thumb) img{object-fit:contain!important;background:#eeefec;}
.bsp-wishlist-drawer__thumb{height:96px;}
.bsp-wishlist-drawer__thumb img{display:block;height:96px!important;width:72px!important;}
:is(.bsp-cart-drawer__close,.bsp-wishlist-drawer__close){width:36px!important;height:36px!important;min-width:36px;min-height:36px;padding:0!important;flex:0 0 36px;}
:is(.bsp-cart-drawer,.bsp-wishlist-drawer) button:focus:not(:focus-visible){outline:none;box-shadow:none;}
.bsp-wishlist-drawer__item{align-items:start;}
.bsp-wishlist-drawer__stock{color:var(--commerce-ink);}
.bsp-wishlist-drawer__stock.is-unavailable{color:#9b3434;}
.bsp-wishlist-drawer__price ins,.bsp-cart-drawer__upsell-price ins{text-decoration:none;}
.bsp-wishlist-drawer__move{padding:9px 12px;font-size:9px;letter-spacing:.04em;color:var(--commerce-on-accent);}
.bsp-wishlist-drawer__move-all{padding:9px 14px;letter-spacing:.06em;}
:is(.bsp-cart-drawer,.bsp-wishlist-drawer) button:disabled{opacity:.45;cursor:default;}
:is(.bsp-cart-drawer__btn,.bsp-wishlist-drawer__btn){font-size:10px;letter-spacing:.12em;text-transform:uppercase;transition:background .18s,color .18s,transform .18s;}
:is(.bsp-cart-drawer__btn,.bsp-wishlist-drawer__btn):hover{transform:translateY(-1px);}
.bsp-cart-drawer__btn--cart,.bsp-wishlist-drawer__btn--ghost{background:transparent;border:1px solid var(--commerce-accent);color:var(--commerce-ink)!important;cursor:pointer;width:100%;}
.bsp-cart-drawer__btn--checkout,.bsp-wishlist-drawer__btn--primary{--bsp-wishlist-primary-bg:var(--commerce-accent);--bsp-wishlist-primary-text:var(--commerce-on-accent);background:var(--commerce-accent);color:var(--commerce-on-accent)!important;border:1px solid var(--commerce-accent);}
.bsp-wishlist-drawer__move-all:hover{background:var(--commerce-accent);color:var(--commerce-on-accent);}
:is(.bsp-cart-drawer__item,.bsp-wishlist-drawer__item){border:1px solid var(--commerce-line)!important;transition:border-color .2s,transform .2s;}
:is(.bsp-cart-drawer__item,.bsp-wishlist-drawer__item):hover{border-color:color-mix(in srgb,var(--commerce-accent) 40%,white)!important;}
.bsp-cart-drawer__shipping{margin:0 0 12px!important;}
.bsp-cart-drawer__shipping p{font-size:10px;margin:0 0 10px;}
.bsp-cart-drawer__shipping progress{display:block;width:100%;height:4px;border:0;border-radius:4px;overflow:hidden;accent-color:var(--commerce-accent);}
.bsp-cart-drawer__shipping progress::-webkit-progress-bar{background:#e5e5e5;}
.bsp-cart-drawer__shipping progress::-webkit-progress-value{background:var(--commerce-accent);}
.bsp-cart-drawer__item-meta:empty{display:none;}
.bsp-cart-drawer__item-price{margin-bottom:10px;}
.bsp-cart-drawer__qty-value{min-width:30px;line-height:28px;}
.bsp-cart-drawer__qty-btn{width:28px!important;height:28px!important;min-width:28px;padding:0!important;}
.bsp-cart-drawer__summary{padding-bottom:0;}
.commerce-total-note{font-size:10px;color:#7b8490;margin:8px 0 0;}
.commerce-status{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:100020;box-sizing:border-box;width:min(420px,calc(100vw - 40px));background:var(--commerce-accent);color:var(--commerce-on-accent);padding:12px 20px;border-radius:8px;max-width:calc(100vw - 32px);display:none;}
.commerce-status.is-visible{display:block;}
/* Produktbilder och köpdel följer samma rutnät på alla produktsidor. */
.commerce-single-product{width:100%;max-width:1600px;padding:20px 24px;margin:0 auto;box-sizing:border-box;}
.commerce-single-product :is(.commerce-product-main,#primary,#main){width:100%;max-width:none;margin:0;padding:0;float:none;}
.commerce-product-top{margin-bottom:20px;font-size:12px;}
.commerce-product-top .hbs-product-breadcrumb{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;line-height:1.45;}
@media(min-width:768px){.commerce-product-top .hbs-product-breadcrumb{-webkit-line-clamp:1;line-clamp:1;}}
body.bsp-site-shell.single-product .storecraft-product{display:block!important;width:100%;}
.commerce-product-hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin:0 0 40px;}
.commerce-gallery{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;}
.commerce-gallery.has-thumbs{grid-template-columns:60px minmax(0,1fr);}
.commerce-gallery-thumbs{display:flex;flex-direction:column;gap:8px;position:sticky;top:var(--commerce-sticky-offset,160px);max-height:70vh;overflow:auto;scrollbar-width:thin;}
.commerce-gallery-thumbs button{width:60px;height:60px;min-width:0;padding:0!important;border:1px solid var(--commerce-line);border-radius:0;background:white;cursor:pointer;flex-shrink:0;}
.commerce-gallery-thumbs button.is-active{border-color:var(--commerce-accent);box-shadow:inset 0 0 0 1px var(--commerce-accent);}
.commerce-gallery-thumbs img{width:100%;height:100%;object-fit:contain;display:block;}
.commerce-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0;}
.commerce-gallery-grid:has(> :only-child){grid-template-columns:1fr;}
.commerce-gallery-image{box-sizing:border-box;width:100%;aspect-ratio:1;max-height:640px;min-width:0;padding:clamp(8px,1.2vw,18px)!important;border:0;border-radius:0;background:#fff;overflow:hidden;cursor:zoom-in;scroll-margin-top:var(--commerce-sticky-offset,160px);}
.commerce-gallery-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .3s ease;}
.commerce-gallery-image:hover img{transform:scale(1.025);}
body.bsp-site-shell.single-product div.product .commerce-product-summary{float:none;width:auto;margin:0;position:sticky;top:var(--commerce-sticky-offset,160px);min-width:0;}
body.bsp-site-shell.single-product .commerce-product-summary h1.product_title{font-size:clamp(20.3px,1.89vw,29.4px)!important;line-height:1.15!important;font-weight:500!important;margin:0 0 18px;}
body.bsp-site-shell.single-product .commerce-product-summary .price{font-size:16px!important;font-weight:400!important;margin:12px 0!important;}
.commerce-product-summary .price ins{text-decoration:none;}
.commerce-product-summary .product_meta{font-size:12px;line-height:1.8;margin-top:20px;color:var(--commerce-ink);}
.commerce-product-summary .product_meta>span{display:block;}
.commerce-product-summary>.stock{display:none;}
.commerce-product-summary .hbs-product-category{font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px;opacity:.7;}
.commerce-product-summary form.cart{margin:24px 0!important;}
body.bsp-site-shell.single-product .commerce-product-summary .commerce-purchase{display:grid!important;grid-template-columns:auto minmax(0,1fr) 50px;gap:14px 12px;align-items:center;width:100%;}
.commerce-product-summary form.cart .quantity{grid-column:1;grid-row:1;display:inline-flex;align-items:center;border:1px solid var(--commerce-line);height:50px;float:none!important;margin:0!important;justify-self:start;}
.commerce-product-summary .quantity input.qty{width:52px!important;padding:0!important;border:0!important;border-radius:0;background:transparent!important;height:48px!important;box-shadow:none!important;-moz-appearance:textfield;text-align:center;}
.commerce-product-summary .quantity input::-webkit-inner-spin-button{appearance:none;}
.commerce-product-summary .commerce-qty{width:42px!important;height:48px!important;min-width:0;padding:0!important;border:0;background:transparent;cursor:pointer;color:inherit;}
.commerce-purchase-actions{grid-column:1/-1;grid-row:2;display:grid;gap:10px;}
body.bsp-site-shell.single-product .commerce-product-summary :is(.single_add_to_cart_button,.commerce-checkout){width:100%;min-height:50px;padding:14px 18px!important;border:1px solid var(--commerce-accent)!important;border-radius:0!important;background:transparent!important;color:var(--commerce-ink)!important;font-family:inherit;font-size:12px!important;font-weight:600!important;line-height:1.4;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;transition:background .18s,color .18s,opacity .18s;}
body.bsp-site-shell.single-product .commerce-product-summary .commerce-checkout{background:var(--commerce-accent)!important;color:var(--commerce-on-accent)!important;}
body.bsp-site-shell.single-product .commerce-product-summary .single_add_to_cart_button:hover{background:var(--commerce-soft)!important;}
.commerce-product-summary :is(.single_add_to_cart_button,.commerce-checkout):disabled{opacity:.45;cursor:default;}
.commerce-product-summary .commerce-checkout:hover{opacity:.85;}
.commerce-product-summary .variations{width:100%;margin-bottom:20px;}
.commerce-product-wishlist{grid-column:3;grid-row:1;width:50px!important;height:50px!important;min-width:0;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--commerce-ink);border:1px solid var(--commerce-line);border-radius:0;padding:0!important;cursor:pointer;}
.commerce-product-wishlist.is-active svg{fill:currentColor;}
.commerce-product-wishlist:hover{background:var(--commerce-soft);}
.commerce-stock{font-size:12px!important;color:var(--commerce-ink)!important;margin:0 0 16px!important;}
.commerce-stock.is-out-of-stock{color:#9b3434!important;}
.commerce-product-description{margin:24px 0 18px;border-top:1px solid var(--commerce-line);border-bottom:1px solid var(--commerce-line);padding:18px 0;font-size:14px;line-height:1.7;}
.commerce-product-description summary{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;font-weight:500;}
.commerce-product-description summary::-webkit-details-marker{display:none;}
.commerce-product-description summary::after{content:'+';font-size:20px;font-weight:400;}
.commerce-product-description[open] summary{margin-bottom:12px;}
.commerce-product-description[open] summary::after{content:'−';}
.commerce-product-description p:last-child{margin-bottom:0;}
.commerce-product-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:28px 0;margin:0 0 36px;border-top:1px solid var(--commerce-line);border-bottom:1px solid var(--commerce-line);}
.commerce-product-trust a{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;font-size:13px;}
.commerce-product-trust svg{flex:0 0 24px;color:var(--commerce-ink);}
.commerce-product-trust strong{display:block;font-weight:500;margin-bottom:4px;}
.commerce-product-trust small{display:block;font-size:12px;line-height:1.5;opacity:.75;}
body.bsp-site-shell.single-product .storecraft-product .woocommerce-tabs{clear:both;padding-top:0;}
body.bsp-site-shell.single-product .storecraft-product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:0;padding:0!important;margin:0 0 28px!important;border-top:1px solid var(--commerce-line);border-bottom:1px solid var(--commerce-line);}
body.bsp-site-shell.single-product .storecraft-product .woocommerce-tabs ul.tabs::before,body.bsp-site-shell.single-product .storecraft-product .woocommerce-tabs ul.tabs li::before,body.bsp-site-shell.single-product .storecraft-product .woocommerce-tabs ul.tabs li::after{display:none;}
body.bsp-site-shell.single-product .storecraft-product .woocommerce-tabs ul.tabs li{padding:0!important;margin:0!important;border:0!important;border-radius:0;background:transparent!important;}
body.bsp-site-shell.single-product .storecraft-product .woocommerce-tabs ul.tabs li a{display:block;padding:18px 20px;border-bottom:2px solid transparent;font-size:14px;font-weight:500;color:inherit;}
body.bsp-site-shell.single-product .storecraft-product .woocommerce-tabs ul.tabs li.active a{border-bottom-color:var(--commerce-accent);}
.commerce-single-product .woocommerce-Tabs-panel{font-size:14px;line-height:1.8;margin-bottom:40px!important;}
.commerce-single-product .woocommerce-Tabs-panel>h2{font-size:20px;font-weight:500;}
.commerce-single-product :is(.related,.upsells)>h2{font-size:24px;font-weight:500;margin:36px 0 24px;}
.commerce-image-dialog::backdrop{background:rgba(0,0,0,.5);}
body:has(.commerce-image-dialog[open]){overflow:hidden;}
.commerce-image-dialog{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;padding:48px 64px;border:0;background:#fff;color:var(--commerce-ink);}
.commerce-image-dialog[open]{display:flex;align-items:center;justify-content:center;gap:16px;}
.commerce-image-dialog img{width:calc(100% - 100px);height:100%;object-fit:contain;min-width:0;}
.commerce-image-dialog button{flex-shrink:0;width:40px!important;height:40px!important;min-width:0;padding:0!important;border:1px solid var(--commerce-line);background:white;color:inherit;border-radius:50%;cursor:pointer;font-size:20px;}
.commerce-image-dialog .commerce-image-close{position:absolute;top:16px;right:16px;font-size:28px;}
:is(.commerce-single-product,.commerce-image-dialog) button:focus:not(:focus-visible){outline:none;box-shadow:none;}
:is(.commerce-single-product,.commerce-image-dialog) :is(button,a,input):focus-visible{outline:2px solid var(--commerce-accent);outline-offset:3px;}
.commerce-product-trust a:focus:not(:focus-visible){outline:none;box-shadow:none;}
@media(max-width:991px){.commerce-product-hero{grid-template-columns:minmax(0,1fr);gap:28px;}body.bsp-site-shell.single-product div.product .commerce-product-summary{position:static;}.commerce-gallery-thumbs{position:static;}.commerce-product-trust{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){.commerce-single-product{padding:16px;}.commerce-product-top{margin-bottom:16px;}.commerce-gallery.has-thumbs{display:block;}.commerce-gallery-thumbs{display:none;}.commerce-gallery-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;width:100%;gap:8px;scrollbar-width:thin;}.commerce-gallery-image{flex:0 0 85%;scroll-snap-align:start;max-height:none;}.commerce-gallery-grid:has(> :only-child) .commerce-gallery-image{flex-basis:100%;}.commerce-product-hero{margin-bottom:28px;}.commerce-image-dialog{padding:52px 8px 24px;gap:4px;}.commerce-image-dialog img{width:calc(100% - 80px);}.commerce-image-dialog button{width:32px!important;height:32px!important;}}
@media(max-width:480px){.commerce-product-trust{grid-template-columns:1fr;gap:20px;padding:24px 0;}.commerce-product-trust a{gap:12px;}.commerce-single-product .woocommerce-tabs ul.tabs li a{padding:14px 12px!important;font-size:13px!important;}:is(.bsp-cart-drawer__summary,.bsp-wishlist-drawer__summary){padding-top:12px;}.bsp-wishlist-drawer__row--total{font-size:16px;}}
@media(prefers-reduced-motion:reduce){:is(.bsp-cart-drawer,.bsp-wishlist-drawer) *, .commerce-gallery-image img{animation:none!important;transition:none!important;}html{scroll-behavior:auto!important;}}
/* Varukorg och kassa: avgränsade bilder och enhetliga sammanfattningar. */
.storecraft-checkout-information {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 28px;
 margin-block: 24px;
 padding-block: 24px;
 border-block: 1px solid var(--commerce-line);
 font-family: var(--storecraft-font-body);
 color: var(--commerce-ink);
}
.storecraft-checkout-information__item {
 display: flex;
 align-items: flex-start;
 gap: 14px;
 min-width: 0;
}
.storecraft-checkout-information__item > svg {
 flex: 0 0 24px;
 margin-top: 2px;
}
body .storecraft-checkout-information h3 {
 margin: 0 0 6px;
 font-family: var(--storecraft-font-heading);
 font-size: 16px;
 line-height: 1.4;
 font-weight: 500;
}
.storecraft-checkout-information p {
 margin: 0;
 font-size: 12px;
 line-height: 1.6;
}
@media (min-width: 1100px) {
 .storecraft-checkout-information {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-block: 36px;
  padding-block: 28px;
 }
 .storecraft-checkout-information__item {
  flex-direction: column;
  gap: 14px;
  padding-inline: clamp(18px, 2vw, 32px);
 }
 .storecraft-checkout-information__item:first-child {
  padding-inline-start: 0;
 }
 .storecraft-checkout-information__item:last-child {
  padding-inline-end: 0;
 }
 .storecraft-checkout-information__item + .storecraft-checkout-information__item {
  border-inline-start: 1px solid var(--commerce-line);
 }
 .storecraft-checkout-information__item > div {
  width: 100%;
 }
 body .storecraft-checkout-information h3 {
  margin-bottom: 10px;
  font-size: 17px;
 }
 .storecraft-checkout-information p {
  font-size: 13px;
  line-height: 1.7;
 }
}
@media (max-width: 782px) {
 .storecraft-checkout-information {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-block: 28px;
  padding: 28px clamp(16px, 5vw, 28px);
 }
 .storecraft-checkout-information__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
 }
 .storecraft-checkout-information__item > svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  color: color-mix(in srgb, var(--commerce-accent) 75%, #84919a);
  stroke-width: 1.4;
 }
 .storecraft-checkout-information__item > div {
  min-width: 0;
 }
 body .storecraft-checkout-information h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
 }
 .storecraft-checkout-information p {
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: break-word;
 }
}
body .wc-block-cart .wc-block-cart-item__image img,
body .wc-block-checkout .wc-block-components-order-summary-item__image img { display:block; width:100%; height:100%; max-height:100%; object-fit:contain; padding:8px; box-sizing:border-box; border-radius:8px; background:#fff; }
body .wc-block-cart .wc-block-cart-item__image { width:96px; }
body .wc-block-cart .wc-block-cart-item__image a { display:block; width:80px; height:80px; border:1px solid var(--commerce-line); border-radius:8px; overflow:hidden; background:#fff; }
body .wc-block-checkout .wc-block-components-order-summary-item__image { width:72px; height:72px; flex:0 0 72px; padding:0; margin-top:4px; border:0; border-radius:8px; background:#fff; }
body .wc-block-checkout .wc-block-components-order-summary-item { align-items:flex-start; padding:16px 0; }
body :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-product-name { font-size:14px; line-height:1.5; font-weight:500; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
body :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-product-metadata__description { display:none; }
body .wc-block-checkout .wc-block-components-order-summary-item__description { min-width:0; padding-left:12px; padding-right:8px; }
body .wc-block-checkout .wc-block-components-order-summary-item__total-price { font-size:13px; white-space:nowrap; }
body .wc-block-cart .wc-block-cart-items__row > td { vertical-align:top; padding-top:20px; padding-bottom:20px; }
body :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-button { border-radius:8px; min-height:48px; font-size:14px; }
@media(max-width:600px){
 body .wc-block-cart .wc-block-cart-item__image a { width:64px; height:64px; }
 body .wc-block-checkout .wc-block-components-order-summary-item__image { width:72px; height:72px; flex-basis:72px; }
 body .wc-block-checkout .wc-block-components-order-summary-item__image img { padding:6px; }
 body :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-product-name { font-size:13px; }
}
/* Sammanfattningen behåller WooCommerce-strukturen utan dubbla kortkanter. */
body .wc-block-checkout .wc-block-components-order-summary-item__image img { width:72px; height:72px; max-width:none; max-height:none; }
body .wc-block-checkout .wc-block-components-checkout-order-summary__title { gap:10px; align-items:center; }
body .wc-block-checkout .wc-block-components-checkout-order-summary__title-text { font-size:16px; line-height:1.4; font-weight:600; }
body .wc-block-checkout .wc-block-components-order-summary-item__quantity { min-width:20px; height:20px; font-size:11px; }
body .wc-block-checkout .wc-block-components-sale-badge { display:none; }
body .wc-block-checkout .wc-block-components-checkout-order-summary__title-text { font-size:16px !important; }
body .wc-block-checkout .wc-block-components-checkout-order-summary__title,
body .wc-block-checkout .wc-block-components-checkout-order-summary__content { padding-left:16px; padding-right:16px; }
body .wc-block-checkout .wc-block-components-order-summary-item { padding-top:12px; padding-bottom:12px; }
body .wc-block-checkout .wc-block-components-order-summary-item__total-price { min-width:72px; }
/* En gemensam, lugn yta för varor och totalsumma i kassan. */
body.bsp-site-shell .wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
 padding: 0;
 border: 1px solid var(--commerce-line);
 border-radius: 0;
 background: #fff;
 box-shadow: none;
 font-family: var(--storecraft-font-body);
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-sidebar {
 align-self: flex-start;
 height: auto;
 min-height: 0;
 margin-block: 0;
 padding: 0;
 background: transparent;
 border: 0;
 border-radius: 0;
 box-shadow: none;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__content {
 box-shadow: none;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__title {
 padding: 18px 20px;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__content {
 padding-inline: 20px;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item {
 padding-block: 14px;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__image,
body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__image img {
 width: 64px;
 height: 64px;
 border-radius: 2px;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__image {
 flex-basis: 64px;
 margin-top: 0;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-product-name {
 font-family: var(--storecraft-font-heading);
 text-decoration: none;
 line-height: 1.4;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__total-price {
 flex: 0 0 auto;
 min-width: 0;
 padding-inline-start: 8px;
 font-weight: 500;
 font-variant-numeric: tabular-nums;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__description {
 flex: 1 1 0;
 min-width: 0;
}
@container (max-width: 699px) {
 /* Visa betalningen efter den fullständiga ordersammanfattningen på mobil. */
 body.bsp-site-shell .wc-block-checkout .wc-block-checkout__form {
  display: flex;
  flex-direction: column;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-checkout__actions,
 body.bsp-site-shell .wc-block-checkout .wc-block-checkout__actions div:has(.checkout-order-summary-block-fill-wrapper) {
  display: contents;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill-wrapper {
  order: 1;
 }
 body.bsp-site-shell .wc-block-checkout .wp-block-woocommerce-checkout-payment-block {
  order: 2;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-checkout__actions > :not(.checkout-order-summary-block-fill-wrapper):not(:has(.checkout-order-summary-block-fill-wrapper)),
 body.bsp-site-shell .wc-block-checkout .wc-block-checkout__actions_row {
  order: 3;
 }
 body.bsp-site-shell .wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
  border-radius: 8px;
  margin-block: 0 32px;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill-wrapper {
  margin-block: 24px 32px;
  padding-bottom: 0;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill-wrapper > .wc-block-components-checkout-step__heading {
  margin: 0;
  padding: 20px 16px;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill-wrapper .wc-block-components-checkout-step__title {
  margin: 0;
  font-family: var(--storecraft-font-heading);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill-wrapper > .checkout-order-summary-block-fill {
  border: 0;
  border-top: 1px solid var(--commerce-line);
  border-radius: 0;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill .wc-block-components-order-summary {
  padding-top: 0;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill .wp-block-woocommerce-checkout-order-summary-cart-items-block {
  padding-block: 8px;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill .wc-block-components-order-summary-item {
  padding-block: 10px;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill :is(.wc-block-components-order-summary-item__image, .wc-block-components-order-summary-item__description) {
  padding-block: 0;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill .wc-block-components-totals-wrapper:has(> .wc-block-components-totals-footer-item) {
  padding-block: 0;
 }
 body.bsp-site-shell .wc-block-checkout .checkout-order-summary-block-fill .wc-block-components-totals-footer-item {
  padding-block: 16px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__title {
  margin: 0;
  padding: 14px 12px;
  border: 0;
  gap: 12px;
  min-height: 48px;
  box-sizing: border-box;
  border-radius: 8px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__title.is-open {
  border-radius: 8px 8px 0 0;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
  margin: 0;
  font-family: var(--storecraft-font-heading);
  font-size: 16px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__title-price {
  flex-shrink: 0;
  font-size: 13px;
  white-space: nowrap;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__content.is-open {
  padding-top: 8px;
  border-top: 1px solid var(--commerce-line);
  border-bottom: 0;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-form .wc-block-components-checkout-step {
  margin-bottom: 36px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-step__heading-container {
  gap: 10px;
  margin-bottom: 20px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-step__title {
  margin-block: 0;
  font-family: var(--storecraft-font-heading);
  font-size: 20px;
  line-height: 1.35;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-step__description {
  margin: 0;
  line-height: 1.5;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-step__content > * {
  margin-bottom: 18px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-step__content > :last-child {
  margin-bottom: 0;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkbox {
  margin-top: 18px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-place-order-button {
  margin-block: 24px 0;
 }
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price {
 margin-top: 6px;
 font-size: 12px;
}
body.bsp-site-shell .wc-block-checkout .wc-block-components-totals-footer-item {
 border-color: var(--commerce-line);
 padding-block: 18px;
 font-size: 20px;
 font-weight: 600;
}
@media (max-width: 480px) {
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__title {
  padding: 16px 12px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-checkout-order-summary__content {
  padding-inline: 12px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__image,
 body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__image img {
  width: 56px;
  height: 56px;
 }
 body.bsp-site-shell .wc-block-checkout .wc-block-components-order-summary-item__image {
  flex-basis: 56px;
 }
}
/* Cart page follows the 4.cz stepper and product-card layout, using the 3.se theme colors. */
body.bsp-purchase-page .bsp-purchase-steps {
  display:grid; grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) 42px minmax(0,1fr);
  align-items:start; width:min(100%,560px); margin:28px auto 24px; color:#7b8794; font-size:13px;
}
@media (max-width: 699px) {
 body.bsp-purchase-page .bsp-purchase-steps {
  margin-block: 24px 32px;
 }
}
body.bsp-purchase-page .bsp-purchase-steps > a {
  display:flex; min-width:0; flex-direction:column; align-items:center; gap:7px;
  color:inherit; line-height:1.35; text-align:center; text-decoration:none;
}
body.bsp-purchase-page .bsp-purchase-steps > a > span:first-child {
  display:grid; width:26px; height:26px; place-items:center; border-radius:50%;
  background:color-mix(in srgb,var(--commerce-accent) 16%,white); color:var(--commerce-ink); font-size:12px;
}
body.bsp-purchase-page .bsp-purchase-steps > a[aria-current="step"] { color:var(--commerce-ink); font-weight:600; }
body.bsp-purchase-page .bsp-purchase-steps > a[aria-current="step"] > span:first-child { background:var(--commerce-accent); color:var(--commerce-on-accent); }
body.bsp-purchase-page .bsp-purchase-steps__line { align-self:start; height:1px; margin-top:13px; background:color-mix(in srgb,var(--commerce-accent) 25%,white); }
body.bsp-purchase-page .bsp-shipping-progress {
  box-sizing:border-box; width:min(100%,640px); margin:0 auto 22px; padding:0 8px;
}
body.bsp-purchase-page .bsp-shipping-progress[hidden] { display:none; }
body.bsp-purchase-page .bsp-shipping-progress__message { margin:0 0 9px; color:var(--commerce-ink); font-size:16px; font-weight:600; line-height:1.4; text-align:center; }
body.bsp-purchase-page .bsp-shipping-progress__amount { font-weight:700; }
body.bsp-purchase-page .bsp-shipping-progress__track { position:relative; display:block; width:100%; height:14px; overflow:hidden; border-radius:999px; background:color-mix(in srgb,var(--commerce-accent) 15%,white); }
body.bsp-purchase-page .bsp-shipping-progress__fill { display:block; width:0; height:100%; border-radius:inherit; background:var(--commerce-accent); transition:width .25s ease; }
body.bsp-purchase-page .bsp-shipping-progress__description { margin:7px 0 0; color:#758292; font-size:12px; line-height:1.4; text-align:center; }
body.bsp-purchase-page .wc-block-cart__main { min-width:0; container:bsp-cart / inline-size; }
body.bsp-purchase-page .site table.wc-block-cart-items {
  --bsp-cart-wash:#fff;
  display:block; width:100%; margin:0 0 20px; overflow:visible; border:0!important;
  border-collapse:separate; border-spacing:0; background:transparent;
}
body.bsp-purchase-page .site { --bsp-cart-row:color-mix(in srgb,var(--bsp-reference-theme-tint,#e6edf3) 24%,white); }
body.bsp-purchase-page .site table.wc-block-cart-items :is(thead,tbody,tr,th,td) { border:0!important; outline:0!important; }
body.bsp-purchase-page .site table.wc-block-cart-items thead,
body.bsp-purchase-page .site table.wc-block-cart-items tbody { display:block; width:100%; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header,
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row {
  display:grid; grid-template-columns:88px minmax(0,1fr) 17%; width:100%; padding:0; box-sizing:border-box;
}
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header {
  grid-template-columns:minmax(0,1fr) 17% 25% 17%; margin-bottom:10px; border:0!important; border-bottom:1px solid var(--commerce-line)!important; background:transparent;
}
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header th,
body.bsp-purchase-page .site table.wc-block-cart-items .bsp-cart-quantity-heading {
  width:auto; min-width:0; margin:0; padding:10px 14px; border:0!important; color:#687687;
  font-size:12px; font-weight:500; line-height:1.4; text-align:left!important; white-space:nowrap;
}
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header-image { grid-area:1/1; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header-product { grid-area:1/2; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header-total { grid-area:1/4; }
body.bsp-purchase-page .site table.wc-block-cart-items .bsp-cart-quantity-heading { grid-area:1/3; text-align:center!important; }
body.bsp-purchase-page .site table.wc-block-cart-items .bsp-cart-header-label { display:block; width:100%; font-size:12px; line-height:1.4; text-align:center; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row {
  min-height:128px; align-items:stretch; border:0!important; border-radius:0; background:var(--bsp-cart-row);
}
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row + .wc-block-cart-items__row { margin-top:12px; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row>td { width:auto; min-width:0; margin:0; padding:0; border:0!important; box-sizing:border-box; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image { grid-area:1/1; display:flex; align-items:center; padding:10px; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image a { display:flex; width:68px; height:68px; align-items:center; justify-content:center; overflow:hidden; border:0; border-radius:0; background:var(--bsp-cart-wash); }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image img { display:block; width:100%!important; max-width:100%; height:68px!important; padding:4px; object-fit:contain!important; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__product { grid-area:1/2; display:grid; grid-template-columns:minmax(0,1fr) 17cqw 25cqw; min-width:0; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__wrap { grid-column:1/-1; display:grid; grid-template-columns:subgrid; grid-template-rows:1fr auto auto 1fr; gap:0; align-items:center; min-width:0; padding:10px 0; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__wrap>.wc-block-components-product-name { grid-area:2/1; min-width:0; margin:0 0 4px; padding:0 12px 0 8px; color:var(--commerce-ink); font-size:14px!important; font-weight:500; line-height:1.4!important; text-align:left; text-decoration:none!important; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-product-name:hover { opacity:.72; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-product-metadata { grid-area:3/1; min-width:0; margin:0; padding:0 12px 4px 8px; color:#687687; font-size:12px; overflow-wrap:anywhere; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-product-details__sku,
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-product-metadata__description,
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-sale-badge { display:none!important; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices { grid-column:2; grid-row:1/6; display:flex; min-width:0; flex-direction:column; justify-content:center; margin:-10px 0; padding:10px 14px; border-left:1px solid #e7ebef; box-sizing:border-box; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices .price { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
body.bsp-purchase-page .site .wc-block-cart .wc-block-components-product-name { display:-webkit-box!important; -webkit-box-orient:vertical!important; -webkit-line-clamp:3!important; line-clamp:3; max-height:4.2em; overflow:hidden!important; font-size:14px!important; line-height:1.4!important; text-decoration:none!important; text-align:left!important; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices,
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices .price { text-align:left!important; justify-self:start; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices .price { width:100%; align-items:flex-start!important; justify-content:flex-start!important; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-product-price del { color:#8994a0!important; font-size:11px; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-product-price ins { color:var(--commerce-ink); text-decoration:none; font-weight:600; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__quantity { display:contents!important; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__quantity:before { content:""; grid-column:3; grid-row:1/6; align-self:stretch; margin-block:30px; border-left:1px solid #e7ebef; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector { grid-column:3; grid-row:1/6; align-self:center; justify-self:center; display:flex; width:120px; max-width:calc(100% - 20px); min-height:42px; margin:0; border:1px solid var(--commerce-line); border-radius:4px; background:#fff; box-sizing:border-box; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector:after { border:0; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector input { min-width:0; width:40px; flex:1; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector button { min-width:32px; width:32px; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__remove-link { grid-column:1; grid-row:4; justify-self:start; align-self:start; display:inline-flex; align-items:center; gap:5px; width:auto; height:auto; margin:2px 8px 0; padding:0; color:#667486!important; font-size:12px; line-height:1.5; text-decoration:none; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__remove-link svg { width:15px; height:15px; }
body.bsp-purchase-page .site table.wc-block-cart-items .bsp-cart-total-label,
body.bsp-purchase-page .site table.wc-block-cart-items .bsp-cart-metadata-empty { display:none; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__total { grid-area:1/3; display:flex; align-items:center; justify-content:flex-start; padding:10px 14px; border:0!important; border-left:1px solid #e7ebef!important; text-align:left; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__total-price-and-sale-badge-wrapper { display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price__value { color:var(--commerce-ink); font-size:15px; font-weight:600; white-space:nowrap; }
body.bsp-purchase-page .wc-block-cart .wc-block-components-sidebar { padding:22px!important; border:0!important; border-radius:3px!important; background:var(--bsp-cart-row); }
body.bsp-purchase-page .bsp-cart-tax-shipping-note { display:flex; align-items:flex-start; gap:7px; margin:8px 0 16px; color:#758292; font-size:12px; line-height:1.5; background:transparent!important; }
body.bsp-purchase-page .bsp-cart-tax-shipping-note::before { content:"!"; display:inline-flex; flex:0 0 16px; width:16px; height:16px; align-items:center; justify-content:center; margin-top:1px; border:1px solid currentColor; border-radius:50%; background:transparent; color:inherit; font-size:10px; font-weight:600; line-height:1; box-sizing:border-box; }
body.bsp-purchase-page .bsp-cart-tax-shipping-note__text { display:block; min-width:0; }
body.bsp-purchase-page .bsp-cart-tax-shipping-note__tax,
body.bsp-purchase-page .bsp-cart-tax-shipping-note__shipping { display:inline; }
body.bsp-purchase-page .bsp-cart-tax-shipping-note__shipping::before { content:" "; white-space:pre; }
body.bsp-purchase-page .wc-block-components-sidebar :is(.wc-block-cart__totals-title,.wc-block-components-totals-wrapper,.wc-block-components-totals-item,.wc-block-components-totals-coupon,.wc-block-components-totals-shipping,.wc-block-components-totals-footer-item) {
  border-color:#e7ebef!important;
}
@media(min-width:782px) {
  @container bsp-cart (min-width:640px) {
    body.bsp-purchase-page .site table.wc-block-cart-items { width:calc(100% + 12px); max-width:none; }
    body.bsp-purchase-page .site table.wc-block-cart-items tbody {
      position:relative; overflow:visible; border-radius:3px; background:var(--bsp-cart-row); box-shadow:none;
    }
    body.bsp-purchase-page .site table.wc-block-cart-items tbody::before {
      content:""; position:absolute; z-index:0; top:0; bottom:0; left:-36px; width:36px;
      background:var(--bsp-cart-row); pointer-events:none;
    }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row {
      position:relative; z-index:1; grid-template-columns:88px minmax(0,1fr) 17%; background:transparent!important;
    }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row + .wc-block-cart-items__row { margin-top:0; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row>td { background:transparent!important; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image { padding:10px; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image a { flex:0 0 68px; width:68px; min-width:68px; background:var(--bsp-cart-wash); }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image a { transform:translateX(8px); }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image img { background:#fff; border-radius:8px; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header-image,
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header-product,
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header-total,
    body.bsp-purchase-page .site table.wc-block-cart-items .bsp-cart-quantity-heading {
      display:flex; align-items:center; justify-content:center; text-align:center!important;
    }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header-image { justify-content:flex-start; text-align:left!important; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__header-image .bsp-cart-header-label { text-align:left; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices { align-items:center; justify-self:stretch; text-align:center!important; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices .price { align-items:center!important; justify-content:center!important; text-align:center!important; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__total { justify-content:center; text-align:center; }
    body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__total-price-and-sale-badge-wrapper { align-items:center; }
  }
  body.bsp-purchase-page .wc-block-cart .wc-block-components-sidebar {
    align-self:stretch; height:auto; margin-top:47px; margin-bottom:20px; padding:22px!important;
  }
}
body.bsp-purchase-page .wc-block-components-button:not(.is-link) { border-radius:4px; background:var(--commerce-accent); color:var(--commerce-on-accent); }
body.bsp-purchase-page .wc-block-cart__submit-button { background:var(--commerce-accent)!important; color:var(--commerce-on-accent)!important; text-decoration:none!important; }
body.bsp-purchase-page .wc-block-components-button__text { text-decoration:none; }

/* Empty cart and recommendations share the shop's product cards. */
body.bsp-purchase-page .storecraft-empty-cart { padding:24px 20px 40px; text-align:center; }
body.bsp-purchase-page .storecraft-empty-cart__icon { display:block; width:48px; height:48px; margin:0 auto 18px; color:var(--commerce-accent); }
body.bsp-purchase-page .storecraft-empty-cart h2 { margin:0 0 10px; font-size:24px; line-height:1.3; font-weight:500; }
body.bsp-purchase-page .storecraft-empty-cart p { margin:0 0 22px; color:#758292; font-size:14px; line-height:1.5; }
body.bsp-purchase-page .storecraft-empty-cart__shop { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:10px 24px; border-radius:4px; background:var(--commerce-accent); color:var(--commerce-on-accent); text-decoration:none; font-size:14px; }
body.bsp-purchase-page .storecraft-cart-recommendations { margin:0 0 40px; }
body.bsp-purchase-page .storecraft-cart-recommendations__heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:20px; }
body.bsp-purchase-page .storecraft-cart-recommendations__heading h2 { margin:0; font-size:24px; line-height:1.3; }
body.bsp-purchase-page .storecraft-cart-recommendations__heading a { color:var(--commerce-ink); font-size:13px; text-decoration:none; }
body.bsp-purchase-page .storecraft-cart-recommendations__grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
body.bsp-purchase-page .storecraft-cart-recommendations .storecraft-card__title { display:block; min-height:calc(4.5em + 2px); max-height:none; flex-shrink:0; line-height:1.5; }
body.bsp-purchase-page .storecraft-cart-recommendations .storecraft-card__title a { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; line-height:inherit; }
@media(max-width:991px) and (min-width:701px) {
  body.bsp-purchase-page .storecraft-cart-recommendations__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:700px) {
  body.bsp-purchase-page .storecraft-empty-cart { padding:16px 12px 32px; }
  body.bsp-purchase-page .storecraft-empty-cart h2 { font-size:22px; }
  body.bsp-purchase-page .storecraft-cart-recommendations__heading h2 { font-size:20px; }
  body.bsp-purchase-page .storecraft-cart-recommendations__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
}

@container bsp-cart (max-width:639px) {
  body.bsp-purchase-page .site table.wc-block-cart-items { background:transparent; }
  body.bsp-purchase-page .site table.wc-block-cart-items tbody { display:grid; gap:0; border-radius:3px; overflow:hidden; background:var(--bsp-cart-row); }
  body.bsp-purchase-page .site table.wc-block-cart-items thead { display:none; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns:60px minmax(0,1fr) 116px; grid-template-rows:auto auto auto auto; gap:4px 8px; min-height:0; padding:10px; border-radius:0; background:transparent!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row + .wc-block-cart-items__row { margin-top:0; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image { grid-area:1/1/4/2; align-items:flex-start; padding:0; z-index:1; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image a,
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image img { width:60px; height:68px!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__product { grid-area:1/1/4/-1; display:grid; grid-template-columns:subgrid; grid-template-rows:subgrid; pointer-events:none; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__wrap { grid-area:1/1/-1/-1; grid-template-columns:subgrid; grid-template-rows:subgrid; padding:0; gap:4px 8px; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__wrap>* { pointer-events:auto; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__wrap>.wc-block-components-product-name { grid-area:1/2/2/-1; margin:0; padding:0; font-size:14px!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-product-metadata { grid-area:2/2/3/-1; padding:0; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices { grid-area:2/2/3/3; align-self:center; margin:0; padding:0; border:0; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices .price { width:100%; flex-direction:column; align-items:flex-start!important; justify-content:flex-start!important; gap:2px; text-align:left!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__quantity:before { display:none; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector { grid-area:2/3/3/4; justify-self:end; align-self:center; width:82px; max-width:100%; min-height:28px; background:transparent!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector input { width:28px; max-width:28px; height:26px; min-height:26px; padding:0 2px; font-size:12px; flex:0 0 28px; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector :is(input,button) { background:transparent!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector button { width:26px; min-width:26px; height:26px; min-height:26px; padding:0; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__remove-link { grid-area:3/2/4/3; align-self:center; margin:0; min-height:28px; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__total { grid-area:3/3/4/4; flex-direction:column; align-items:flex-end; justify-content:center; gap:2px; margin:0; padding:0; border:0!important; background:transparent; text-align:right; }
  body.bsp-purchase-page .site table.wc-block-cart-items .bsp-cart-total-label { display:block; order:-1; color:#758292; font-size:12px; }
  body.bsp-purchase-page .bsp-cart-tax-shipping-note__tax,
  body.bsp-purchase-page .bsp-cart-tax-shipping-note__shipping { display:block; }
  body.bsp-purchase-page .bsp-cart-tax-shipping-note__shipping::before { content:none; }
}
@media(max-width:700px) {
  body.bsp-purchase-page .bsp-purchase-steps { grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr) 26px minmax(0,1fr); width:100%; margin:22px auto 20px; font-size:12px; }
  body.bsp-purchase-page .bsp-shipping-progress { width:100%; margin-bottom:18px; }
  body.bsp-purchase-page .bsp-shipping-progress__message { font-size:15px; }
  body.bsp-purchase-page .bsp-shipping-progress__track { height:14px; }
  body.bsp-purchase-page .site table.wc-block-cart-items tbody { display:grid; gap:0; border-radius:3px; overflow:hidden; background:var(--bsp-cart-row); }
  body.bsp-purchase-page .site table.wc-block-cart-items thead { display:none; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns:60px minmax(0,1fr) 116px; grid-template-rows:auto auto auto auto; gap:4px 8px; min-height:0; padding:10px; border-radius:0; background:transparent!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-items__row + .wc-block-cart-items__row { margin-top:0; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image { grid-area:1/1/4/2; align-items:flex-start; padding:0; z-index:1; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image a,
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__image img { width:60px; height:68px!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__product { grid-area:1/1/4/-1; display:grid; grid-template-columns:subgrid; grid-template-rows:subgrid; pointer-events:none; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__wrap { grid-area:1/1/-1/-1; grid-template-columns:subgrid; grid-template-rows:subgrid; padding:0; gap:4px 8px; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__wrap>* { pointer-events:auto; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__wrap>.wc-block-components-product-name { grid-area:1/2/2/-1; margin:0; padding:0; font-size:14px!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-product-metadata { grid-area:2/2/3/-1; padding:0; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices { grid-area:2/2/3/3; align-self:center; margin:0; padding:0; border:0; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__prices .price { width:100%; flex-direction:column; align-items:flex-start!important; justify-content:flex-start!important; gap:2px; text-align:left!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__quantity:before { display:none; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector { grid-area:2/3/3/4; justify-self:end; align-self:center; width:82px; max-width:100%; min-height:28px; background:transparent!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector input { width:28px; max-width:28px; height:26px; min-height:26px; padding:0 2px; font-size:12px; flex:0 0 28px; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector :is(input,button) { background:transparent!important; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-components-quantity-selector button { width:26px; min-width:26px; height:26px; min-height:26px; padding:0; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__remove-link { grid-area:3/2/4/3; align-self:center; margin:0; min-height:28px; }
  body.bsp-purchase-page .site table.wc-block-cart-items .wc-block-cart-item__total { grid-area:3/3/4/4; flex-direction:column; align-items:flex-end; justify-content:center; gap:2px; margin:0; padding:0; border:0!important; background:transparent; text-align:right; }
  body.bsp-purchase-page .site table.wc-block-cart-items .bsp-cart-total-label { display:block; order:-1; color:#758292; font-size:12px; }
  body.bsp-purchase-page .bsp-cart-tax-shipping-note__tax,
  body.bsp-purchase-page .bsp-cart-tax-shipping-note__shipping { display:block; }
  body.bsp-purchase-page .bsp-cart-tax-shipping-note__shipping::before { content:none; }
}
@media(prefers-reduced-motion:reduce) { body.bsp-purchase-page .bsp-shipping-progress__fill { transition:none; } }

/* Wishlist item details: regular weight and a compact stock/action row. */
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__name,
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__price,
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__stock,
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__move { font-weight:400; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__name { margin-bottom:5px; font-size:12px; line-height:1.4; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__name:hover { opacity:.7; font-weight:400; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__price-row { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; margin:2px 0 8px; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__price { min-width:0; margin:0; font-weight:500; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__price-row .bsp-wishlist-drawer__stock { flex:0 0 auto; margin:0; font-size:10px; line-height:1.2; letter-spacing:.04em; white-space:nowrap; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__item-actions { display:flex; align-items:center; justify-content:flex-start; gap:8px; min-width:0; margin-top:0; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__item-actions .bsp-wishlist-drawer__move { flex:0 1 auto; min-width:0; margin-left:0; padding:6px 10px; border:1px solid var(--commerce-accent); border-radius:4px!important; background:var(--commerce-accent)!important; color:var(--commerce-on-accent)!important; font-size:11px; line-height:1.3; letter-spacing:0; text-transform:none; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__price del { color:#9ca3af!important; opacity:1; font-size:11px; font-weight:400; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__price ins { font-weight:500; }
@media(max-width:380px){
 .bsp-wishlist-drawer--3 .bsp-wishlist-drawer__item-actions { gap:6px; }
 .bsp-wishlist-drawer--3 .bsp-wishlist-drawer__item-actions .bsp-wishlist-drawer__move { padding:5px 8px; font-size:10px; }
}
.bsp-wishlist-drawer--3 button,
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__btn { border-radius:0!important; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__panel,
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__inner,
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__item { border:0!important; border-radius:4px!important; }
.bsp-wishlist-drawer--3 .bsp-wishlist-drawer__close { background:transparent!important; box-shadow:none!important; }

/* Keep cart product cards visually aligned with the wish-list cards. */
.bsp-cart-drawer--3 .bsp-cart-drawer__item { grid-template-columns:72px minmax(0,1fr) 28px; gap:12px; padding:12px; margin:10px 0; background:#fff; border:0!important; border-radius:4px!important; box-shadow:none; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-title { margin:0 0 5px; font-size:12px; font-weight:400; line-height:1.4; letter-spacing:0; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-price { margin:2px 0 8px; font-size:13px; font-weight:500; line-height:1.2; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-price del { color:#9ca3af!important; opacity:1; font-size:11px; font-weight:400; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-price ins { font-weight:500; text-decoration:none; }
.bsp-cart-drawer--3 .bsp-cart-drawer__qty { border-color:var(--commerce-line); border-radius:4px; }
.bsp-cart-drawer--3 .bsp-cart-drawer__panel,
.bsp-cart-drawer--3 .bsp-cart-drawer__inner,
.bsp-cart-drawer--3 .bsp-cart-drawer__shipping,
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell { border-radius:4px!important; }
.bsp-cart-drawer--3 .bsp-cart-drawer__close { border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.bsp-cart-drawer--3 .bsp-cart-drawer__btn,
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-add { border-radius:4px!important; }

/* Compact cart layout: thumbnail, description, price and a lower action row. */
.bsp-cart-drawer--3 .bsp-cart-drawer__item { position:relative; grid-template-columns:56px minmax(0,1fr); gap:10px; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-thumb { align-self:start; border-radius:4px; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-thumb img { width:56px; height:64px; border-radius:4px; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 10px; min-width:0; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-title { grid-column:1; grid-row:1; margin:0; overflow-wrap:anywhere; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-meta { grid-column:1; grid-row:2; margin:0; font-size:10px; line-height:1.4; letter-spacing:0; text-transform:none; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-meta dl { margin:0; }
.bsp-cart-drawer--3 .bsp-cart-drawer__item-price { grid-column:2; grid-row:1 / 3; align-self:start; margin:0; max-width:90px; text-align:right; font-size:12px; line-height:1.4; }
.bsp-cart-drawer--3 .bsp-cart-drawer__qty { grid-column:1; grid-row:3; justify-self:start; margin-top:5px; }
.bsp-cart-drawer--3 .bsp-cart-drawer__remove { position:absolute; right:12px; bottom:12px; top:auto; margin:0; }

/* Give the recommendation enough room for its image, name and action. */
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell { position:relative; margin-top:25px; padding:14px; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell::before { content:""; position:absolute; top:-13px; left:0; right:0; height:1px; background:var(--commerce-line); }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-title { margin:0 0 12px; font-size:14px; font-weight:500; line-height:1.4; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-item { grid-template-columns:80px minmax(0,1fr); gap:10px 14px; align-items:start; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-thumb { grid-column:1; grid-row:1 / 3; display:block; width:80px; height:96px; border-radius:4px; background:#eeefec; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-thumb img { display:block; width:100%; height:100%; object-fit:contain; padding:6px; box-sizing:border-box; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-item > div { grid-column:2; min-width:0; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-name { margin:0; font-size:12px; font-weight:400; line-height:1.45; letter-spacing:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 6px; margin:7px 0 0; font-size:13px; line-height:1.4; font-weight:500; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-price del { color:#9ca3af; opacity:1; font-size:11px; font-weight:400; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-price ins { font-weight:500; }
.bsp-cart-drawer--3 .bsp-cart-drawer__upsell-add { grid-column:2; justify-self:start; height:28px; min-height:0; padding:0 12px; border:0; font-size:11px; font-weight:500; letter-spacing:0; text-transform:none; }
