/* SLABD storefront: shared scale, loaded after the legacy theme, scoped to commerce pages. */
body.slabd-storefront {
  --sf-yellow: #eedc01; --sf-ink: #111; --sf-muted: #62666b;
  --sf-line: #e4e6e8; --sf-canvas: #f7f7f5; --sf-radius: 12px;
  font-family: Rubik, sans-serif; font-size: 16px; line-height: 1.5; color: var(--sf-ink); background: var(--sf-canvas);
}
.slabd-storefront main { background: var(--sf-canvas); }
.slabd-storefront .content-area { padding: 28px 0 56px; }
.slabd-storefront .content-area > .container { max-width: 1280px; }
.slabd-storefront .wysiwyg-content .content-inner { padding: 0; background: transparent; }
.slabd-storefront.woocommerce-cart .content-inner > h1,
.slabd-storefront.woocommerce-checkout .content-inner > h1 { display: none; }
.slabd-storefront .slabd-cart,
.slabd-storefront .slabd-shop-archive { padding: 24px 0 48px; background: transparent; }
.slabd-storefront .slabd-cart__inner,
.slabd-storefront .slabd-shop-archive__inner { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.slabd-storefront .slabd-cart__inner { width: 100%; }
.slabd-storefront :is(.slabd-cart-title,.slabd-shop-archive__title,.slabd-checkout-heading h1) {
  font: 700 32px/1.2 Rubik, sans-serif; letter-spacing: -.7px; margin: 0; text-transform: none;
}
.slabd-storefront :is(.slabd-section-head h2,.slabd-checkout-card h2,.slabd-checkout-card h3,.slabd-shop-archive__sidebar-title) {
  font: 500 20px/1.35 Rubik, sans-serif; letter-spacing: -.2px; margin: 0 0 20px; text-transform: none;
}
.slabd-storefront :is(button,input,select,textarea) { font-family: inherit; }
.slabd-storefront :is(a,button,input,select,summary):focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.slabd-storefront :is(.slabd-cart,.slabd-checkout-layout,.slabd-shop-archive) { font-size: 16px; line-height: 1.5; }
.slabd-storefront :is(.slabd-cart,.slabd-checkout-layout,.slabd-shop-archive) a { color: var(--sf-ink); }
.slabd-storefront :is(.slabd-cart,.slabd-checkout-layout,.slabd-shop-archive) .button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 12px 18px;
  font: 500 16px/1.35 Rubik,sans-serif; background: var(--sf-yellow); color: #111; border: 1px solid transparent; border-radius: 8px; box-shadow: none; text-transform: none;
}
.slabd-storefront :is(.slabd-cart,.slabd-checkout-layout,.slabd-shop-archive) .button:hover { background: #e2d000; color: #111; }
.slabd-storefront :is(.slabd-cart,.slabd-checkout-layout) .button:disabled { opacity: .45; }
/* Compact archive header and permanent desktop filters. */
.slabd-storefront .slabd-shop-archive__header { padding: 0 0 24px; border: 0; border-radius: 0; box-shadow: none; background: transparent; margin: 0; }
.slabd-storefront .slabd-shop-archive__header-main { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.slabd-storefront .slabd-shop-archive__results .woocommerce-result-count { font-size: 14px; color: var(--sf-muted); padding: 0; margin: 8px 0 0; background: none; border: 0; }
.slabd-storefront .slabd-shop-archive__actions { background: transparent; border: 0; padding: 0; box-shadow: none; }
.slabd-storefront .slabd-shop-archive__sort .orderby { font-size: 14px; border: 1px solid var(--sf-line); border-radius: 8px; background: white; min-height: 44px; padding: 10px 36px 10px 12px; width: auto; }
.slabd-storefront .slabd-shop-archive__filter-shell { display: none; }
.slabd-storefront .slabd-store-grid { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 28px; align-items:start; }
.slabd-storefront .slabd-shop-archive__sidebar { display: block; position: static; width: auto; max-width: none; max-height:none; padding:20px; border:1px solid var(--sf-line); border-radius:var(--sf-radius); background:white; box-shadow:none; opacity:1; visibility:visible; transform:none; pointer-events:auto; overflow:visible; }
.slabd-storefront .slabd-shop-archive__sidebar-header { padding:0; margin:0; border:0; }
.slabd-storefront .slabd-shop-archive__sidebar-title { font-size:18px; }
.slabd-storefront .slabd-shop-archive__sidebar-close { display:none; }
.slabd-filter-form { display:grid; gap:10px; }
.slabd-filter-form label,.slabd-filter-form legend { display:block; font-size:14px; font-weight:500; margin:0; }
.slabd-filter-form input,.slabd-filter-form select { width:100%; min-width:0; min-height:44px; padding:10px; background:#fff; border:1px solid #cdd0d3; border-radius:6px; font-size:16px; color:#111; }
.slabd-filter-form fieldset { border:0; padding:12px 0; margin:0; min-width:0; }
.slabd-filter-form legend { margin-bottom:8px; }
.slabd-price-range { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.slabd-price-range label { font-size:12px; color:var(--sf-muted); }
.slabd-filter-form > a { text-align:center; font-size:14px; text-decoration:underline; padding:6px; }
.slabd-category-links { display:grid; border-top:1px solid var(--sf-line); margin-top:20px; padding-top:20px; gap:4px; }
.slabd-category-links h3 { font-size:16px; font-weight:500; margin:0 0 8px; }
.slabd-category-links a { font-size:14px; padding:7px 8px; border-radius:4px; }
.slabd-category-links a:hover,.slabd-category-links a[aria-current] { background:#fff9cc; }
.slabd-storefront .slabd-shop-archive__active-filters { padding:12px 0 0; margin-top:12px; border:0; }
.slabd-storefront .slabd-shop-archive__active-filters-title { display:none; }
.slabd-storefront .slabd-shop-archive__filter-chip { font-size:13px; box-shadow:none; border:1px solid var(--sf-line); }
.slabd-storefront .slabd-shop-archive__content { min-width:0; }
.slabd-storefront .slabd-shop-archive__content .products-inner-wrapper { padding:0; border:0; box-shadow:none; background:none; }
.slabd-storefront .slabd-shop-archive ul.products { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:0; padding:0; }
.slabd-storefront .slabd-shop-archive ul.products::before,.slabd-storefront .slabd-shop-archive ul.products::after { display:none; }
.slabd-storefront .slabd-shop-archive ul.products li.product { width:auto!important; float:none; margin:0!important; min-width:0; padding:0; }
.slabd-storefront .slabd-product-card { height:100%; border:1px solid var(--sf-line); border-radius:var(--sf-radius); background:#fff; box-shadow:none; overflow:hidden; transform:none; }
.slabd-storefront .slabd-product-card:hover { border-color:#bfc2c4; box-shadow:0 4px 16px #1111110a; transform:none; }
.slabd-storefront .slabd-product-card:focus-within { outline:3px solid #111; outline-offset:3px; }
.slabd-storefront .slabd-product-card__media { padding:14px; background:#f0f0ed; border-radius:0; }
.slabd-storefront .slabd-product-card__image-frame { aspect-ratio:3/4; height:auto; min-height:0; background:transparent; padding:12px 0; border:0; border-radius:0; overflow:hidden; }
.slabd-storefront .slabd-product-card__image-frame img { width:100%!important; height:100%!important; max-height:none; object-fit:contain!important; margin:0!important; transform:none!important; }
.slabd-storefront .slabd-product-card__badges { top:10px; left:10px; right:10px; gap:6px; }
.slabd-storefront .slabd-product-card__badge { border-radius:4px; padding:5px 8px; font-size:12px; font-weight:500; line-height:1.2; background:#111; color:white; border:0; box-shadow:none; }
.slabd-storefront .slabd-product-card__content { display:flex; flex-direction:column; align-items:stretch; text-align:left; padding:16px; gap:8px; }
.slabd-storefront .slabd-product-card .slabd-product-card__title { display:block!important; font:500 16px/1.4 Rubik,sans-serif!important; letter-spacing:0; text-align:left!important; text-transform:none; margin:0; padding:0; min-height:0; height:auto; overflow:visible; white-space:normal; -webkit-line-clamp:unset; overflow-wrap:anywhere; }
.slabd-storefront .slabd-product-card__subtitle { font-size:13px; color:var(--sf-muted); line-height:1.5; margin:0; }
.slabd-storefront .slabd-product-card__cert { font-size:12px; color:var(--sf-muted); margin:0; }
.slabd-storefront .slabd-product-card__price { font-size:18px!important; font-weight:500; color:#111!important; margin:8px 0 0!important; padding:0; }
.slabd-storefront .slabd-product-card__price .amount { color:inherit!important; }
.slabd-storefront .slabd-product-card__footer { padding:12px 0 0; margin-top:auto; border:0; }
.slabd-storefront .slabd-product-card__cta { display:block; text-align:center; padding:9px 12px; border:1px solid var(--sf-line); border-radius:6px; font-size:14px; font-weight:500; letter-spacing:0; text-transform:none; color:#111; }
.slabd-storefront .slabd-product-card:hover .slabd-product-card__cta { background:var(--sf-yellow); border-color:var(--sf-yellow); }
/* Cart rows retain WooCommerce's form, data fields and AJAX selectors. */
.slabd-storefront .slabd-cart-header { padding:0; border:0; background:transparent; box-shadow:none; border-radius:0; margin-bottom:24px; }
.slabd-storefront .slabd-cart-subtitle,.slabd-storefront .slabd-checkout-heading p { font-size:14px; color:var(--sf-muted); margin:8px 0 0; }
.slabd-storefront .slabd-cart-layout { grid-template-columns:minmax(0,1fr) 360px; gap:24px; }
.slabd-storefront :is(.slabd-cart-card,.slabd-cart-totals-card,.slabd-checkout-card) { padding:24px; border:1px solid var(--sf-line); border-radius:var(--sf-radius); background:white; box-shadow:none; overflow:visible; max-width:none; margin:0; min-width:0; }
.slabd-storefront .slabd-section-head { padding:0; border:0; }
.slabd-storefront .slabd-section-head:before,.slabd-storefront .slabd-section-head h2:before { display:none; }
.slabd-storefront .slabd-cart-totals-card { position:sticky; top:160px; }
.slabd-storefront .slabd-cart .slabd-cart-table { display:block; width:100%; table-layout:auto; }
.slabd-storefront .slabd-cart-table thead { display:none; }
.slabd-storefront .slabd-cart-table tbody { display:block; padding:0!important; }
.slabd-storefront .slabd-cart-table tr.cart_item { display:grid; grid-template-columns:104px minmax(0,1fr) auto; grid-template-areas:'image name remove' 'image qty subtotal'; gap:12px 18px; padding:20px 0; border-top:1px solid var(--sf-line); align-items:start; }
.slabd-storefront .slabd-cart .slabd-cart-table tr.cart_item td { display:block!important; min-width:0; width:auto; padding:0!important; border:0!important; background:none!important; text-align:left!important; font-size:16px; }
.slabd-storefront .slabd-cart-table tr.cart_item td::before { display:none!important; }
.slabd-storefront .slabd-cart-table tr.cart_item .product-thumbnail { grid-area:image; }
.slabd-storefront .slabd-cart .slabd-cart-table .product-thumbnail a { display:block; padding:8px; background:#f4f4f1; border:0!important; border-radius:8px; }
.slabd-storefront .slabd-cart .slabd-cart-table .product-thumbnail img { width:88px!important; height:120px!important; max-width:100%; object-fit:contain; border:0; border-radius:0; }
.slabd-storefront .slabd-cart-table .product-name { grid-area:name; }
.slabd-storefront .slabd-cart .slabd-cart-table tr.cart_item .product-name a { display:block!important; font:500 16px/1.4 Rubik,sans-serif; margin:0 0 8px; overflow-wrap:anywhere; color:#111; text-transform:none; }
.slabd-storefront .slabd-cart-table .product-remove { grid-area:remove; justify-self:end; }
.slabd-storefront .slabd-cart-table .product-remove a { display:flex; align-items:center; justify-content:center; width:32px; height:32px; background:#f4f4f1; border-radius:50%; color:#555!important; font-size:22px; }
.slabd-storefront .slabd-cart-table .product-remove a:hover { background:#fff1f1; color:#b00020!important; }
.slabd-storefront .slabd-cart .slabd-cart-table tr.cart_item .product-price { display:none!important; }
.slabd-storefront .slabd-cart-table .product-quantity { grid-area:qty; align-self:center; }
.slabd-storefront .slabd-cart-table .product-subtotal { grid-area:subtotal; align-self:center; font-weight:500; }
.slabd-storefront .slabd-cart-table .qty { width:64px!important; min-width:0; min-height:44px; padding:8px; border:1px solid #cdd0d3; border-radius:6px; font-size:16px; }
.slabd-item-subtitle { display:block; color:var(--sf-muted); font-size:13px; line-height:1.5; margin:4px 0 8px; }
.slabd-item-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--sf-muted); font-size:12px; }
.slabd-grade { display:inline-flex; background:#111; color:white; border-radius:4px; padding:3px 7px; font-size:12px; font-weight:500; }
.slabd-fixed-quantity { font-size:14px; color:var(--sf-muted); }
.slabd-storefront .slabd-actions-row,.slabd-storefront .slabd-actions-row td { display:block; width:100%; }
.slabd-storefront .slabd-cart-table .actions { padding:16px 0 0!important; border-top:1px solid var(--sf-line)!important; }
.slabd-storefront .slabd-cart .slabd-coupon .coupon { display:flex!important; gap:8px; float:none; margin:12px 0; }
.slabd-storefront .slabd-cart .coupon input { min-width:0; width:160px!important; padding:10px; border:1px solid #cdd0d3; border-radius:6px; font-size:16px; }
.slabd-coupon summary { cursor:pointer; font-size:14px; text-align:left; }
.slabd-storefront .slabd-cart .actions button[name=update_cart] { background:#f4f4f1; font-size:14px; float:none; margin-top:12px; }
.slabd-storefront .slabd-cart-totals .shop_table { width:100%; margin:0; border:0; border-collapse:collapse; }
.slabd-storefront .slabd-cart-totals :is(th,td) { padding:12px 0!important; font-size:14px; line-height:1.5; border-top:1px solid var(--sf-line)!important; background:transparent!important; }
.slabd-storefront .slabd-cart-totals th { font-weight:400; width:38%; text-align:left; }
.slabd-storefront .slabd-cart-totals td { text-align:right; }
.slabd-storefront .slabd-cart-totals td::before { display:none!important; }
.slabd-storefront .slabd-cart-totals .order-total { font-size:20px; }
.slabd-storefront .slabd-cart-totals .order-total :is(th,td) { font-size:20px; font-weight:500; }
.slabd-storefront .slabd-cart-totals small { display:block; color:var(--sf-muted); font-size:12px; }
.slabd-storefront .slabd-cart-totals .woocommerce-shipping-destination { font-size:12px; font-weight:400; line-height:1.5; margin:10px 0; }
.slabd-storefront .slabd-cart-totals .woocommerce-shipping-destination strong { font-weight:400; }
.slabd-delivery-options summary { text-align:left; cursor:pointer; font-size:14px; }
.slabd-delivery-options summary span:last-child { display:block; text-decoration:underline; color:var(--sf-muted); font-size:12px; margin-top:4px; }
.slabd-storefront .woocommerce-shipping-methods { padding:0; margin:12px 0 0; list-style:none; text-align:left; }
.slabd-storefront .woocommerce-shipping-methods li { display:flex; align-items:baseline; gap:8px; margin-bottom:12px; font-size:14px; }
.slabd-storefront .woocommerce-shipping-methods label { font-size:14px!important; font-weight:400!important; line-height:1.5; margin:0; }
.slabd-storefront input[type=radio],.slabd-storefront input[type=checkbox] { accent-color:#111; }
.slabd-storefront .slabd-cart-summary-actions { padding:12px 0 0; }
.slabd-storefront .slabd-cart-summary-actions .checkout-button { width:100%; margin:0; }
.slabd-storefront .slabd-cart-summary-actions__secondary { display:none; }
/* Checkout: details and payment stay within the original form; summary refreshes natively. */
.slabd-storefront .slabd-checkout-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 0 24px; }
.slabd-storefront .slabd-checkout-heading a { font-size:14px; color:#111; text-decoration:underline; }
.slabd-storefront .slabd-checkout-heading .slabd-eyebrow { font-size:12px; font-weight:500; letter-spacing:1px; margin:0 0 8px; }
.slabd-storefront form.slabd-checkout-layout { display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:24px; margin:0; padding:0; background:transparent; }
.slabd-storefront .slabd-checkout-details { display:grid; gap:24px; min-width:0; }
.slabd-storefront .slabd-checkout-summary { align-self:start; position:sticky; top:160px; }
.slabd-storefront .slabd-checkout-layout #customer_details { width:auto; float:none; }
.slabd-storefront .slabd-checkout-layout .woocommerce-billing-fields__field-wrapper,
.slabd-storefront .slabd-checkout-layout .woocommerce-shipping-fields__field-wrapper { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.slabd-storefront .slabd-checkout-layout .form-row { display:block; float:none; width:100%; padding:0; margin:0; min-width:0; }
.slabd-storefront .slabd-checkout-layout .form-row-wide { grid-column:1 / -1; }
.slabd-storefront .slabd-checkout-layout .form-row label { font:400 14px/1.5 Rubik,sans-serif; color:#111; margin:0 0 6px; }
.slabd-storefront .slabd-checkout-layout .form-row :is(input.input-text,select,textarea),
.slabd-storefront .slabd-checkout-layout .select2-selection { width:100%; min-height:46px; border:1px solid #cdd0d3; border-radius:6px; font:400 16px/1.5 Rubik,sans-serif; padding:10px 12px; background:white; box-shadow:none; }
.slabd-storefront .slabd-checkout-layout .select2-selection__rendered { line-height:24px; padding:0; }
.slabd-storefront .slabd-checkout-layout .select2-selection__arrow { height:44px; }
.slabd-storefront .slabd-checkout-layout .woocommerce-shipping-fields { margin-top:24px; }
.slabd-storefront .slabd-checkout-layout #ship-to-different-address { font-size:16px; margin:0 0 16px; }
.slabd-storefront .slabd-checkout-layout #ship-to-different-address label { display:flex; align-items:center; gap:10px; margin:0; font-size:14px; font-weight:400; }
.slabd-storefront .slabd-checkout-layout #ship-to-different-address input { position:static; margin:0; }
.slabd-storefront .slabd-checkout-layout .woocommerce-additional-fields { margin-top:24px; }
.slabd-storefront .slabd-checkout-layout .woocommerce-additional-fields h3 { font-size:16px; margin-bottom:12px; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table { width:100%; table-layout:fixed; border:0; border-collapse:collapse; margin:0; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table thead { display:none; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table :is(th,td) { padding:14px 0; border:0; border-bottom:1px solid var(--sf-line); font-size:14px; font-weight:400; vertical-align:top; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table .product-name { width:auto; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table .product-total { width:92px; text-align:right; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table tfoot td { text-align:right; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table .order-total :is(th,td) { font-size:20px; font-weight:500; border:0; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table .order-total small { display:block; font-size:12px; color:var(--sf-muted); font-weight:400; }
.slabd-review-item { display:flex; gap:12px; padding-right:12px; font-size:14px; overflow-wrap:anywhere; }
.slabd-review-item > div { min-width:0; }
.slabd-storefront .slabd-review-item img { width:48px; height:68px; flex:0 0 48px; object-fit:contain; background:#f4f4f1; border-radius:4px; }
.slabd-storefront .slabd-summary-edit { display:inline-block; margin-top:16px; font-size:14px; text-decoration:underline; }
.slabd-storefront .slabd-checkout-layout #payment { background:transparent; border:0; border-radius:0; }
.slabd-storefront .slabd-checkout-layout #payment .slbd-payment-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
.slabd-storefront .slabd-checkout-layout #payment .slbd-payment-tab { flex:1 1 120px; min-height:44px; padding:10px 12px; font:500 14px/1.4 Rubik,sans-serif; border:1px solid var(--sf-line); border-radius:6px; background:white; box-shadow:none; color:#111; }
.slabd-storefront .slabd-checkout-layout #payment .slbd-payment-tab.is-active { border-color:#111; background:#111; color:white; }
.slabd-storefront .slabd-checkout-layout #payment ul.payment_methods { padding:0; border:0; }
.slabd-storefront .slabd-checkout-layout #payment .payment_box { padding:16px; margin:0 0 20px; border:1px solid var(--sf-line); border-radius:8px; box-shadow:none; background:#fafaf9; font-size:14px; }
.slabd-storefront .slabd-checkout-layout #payment .place-order { padding:0; margin-top:20px; }
.slabd-storefront .slabd-checkout-layout #payment .woocommerce-privacy-policy-text p { font:400 12px/1.6 Rubik,sans-serif; color:var(--sf-muted); }
.slabd-storefront .slabd-checkout-layout #payment .woocommerce-terms-and-conditions-wrapper { margin:16px 0; }
.slabd-storefront .slabd-checkout-layout #payment #place_order { width:100%; min-height:48px; }
.slabd-storefront .woocommerce-form-coupon-toggle .woocommerce-info { background:transparent; padding:10px 0; border:0; font-size:14px; margin:0 0 16px; }
.slabd-storefront .woocommerce-form-coupon-toggle .woocommerce-info:before { display:none; }
/* Prevent legacy decorative headings and caps from overruling the shared scale. */
.slabd-storefront .slabd-section-head h2 { margin-bottom:16px; }
@media (max-width:1199px) {
  .slabd-storefront .slabd-shop-archive ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
  .slabd-storefront .slabd-cart-layout { grid-template-columns:minmax(0,1fr) 320px; }
  .slabd-storefront form.slabd-checkout-layout { grid-template-columns:minmax(0,1fr) 340px; }
}
@media (max-width:991px) {
  .slabd-storefront .slabd-store-grid { display:block; }
  .slabd-storefront .slabd-shop-archive__filter-shell { display:block; }
  .slabd-storefront .slabd-shop-archive__filter-toggle { display:inline-flex; font-size:14px; border:1px solid var(--sf-line); border-radius:8px; min-height:44px; }
  .slabd-storefront .slabd-shop-archive__sidebar { position:fixed; z-index:100002; top:0; left:0; bottom:0; width:min(340px,90vw); max-height:100dvh; padding:24px; border-radius:0; overflow:auto; transform:translateX(-105%); visibility:hidden; }
  .slabd-storefront .slabd-shop-archive.is-filters-open .slabd-shop-archive__sidebar { visibility:visible; transform:none; }
  .slabd-storefront .slabd-shop-archive__sidebar-close { display:block; width:40px; height:40px; font-size:24px; }
  .slabd-storefront .slabd-shop-archive__filter-backdrop { z-index:100001; }
  .slabd-storefront .slabd-cart-layout,.slabd-storefront form.slabd-checkout-layout { grid-template-columns:1fr; }
  .slabd-storefront .slabd-cart-totals-card,.slabd-storefront .slabd-checkout-summary { position:static; }
  .slabd-storefront .slabd-checkout-summary { grid-row:1; }
}
@media (max-width:600px) {
  .slabd-storefront .content-area { padding:20px 0 36px; }
  .slabd-storefront .slabd-shop-archive__inner { width:calc(100% - 28px); }
  .slabd-storefront :is(.slabd-cart-title,.slabd-shop-archive__title,.slabd-checkout-heading h1) { font-size:28px; }
  .slabd-storefront :is(.slabd-cart-header,.slabd-shop-archive__header-main,.slabd-checkout-heading) { align-items:flex-start; flex-direction:column; gap:16px; }
  .slabd-storefront .slabd-shop-archive__actions { width:100%; flex-direction:row; gap:12px; }
  .slabd-storefront .slabd-shop-archive__sort { flex:1; width:auto; }
  .slabd-storefront .slabd-shop-archive__sort .orderby { width:100%; }
  .slabd-storefront .slabd-shop-archive ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .slabd-storefront .slabd-product-card__media { padding:8px; }
  .slabd-storefront .slabd-product-card__content { padding:12px; }
  .slabd-storefront .slabd-product-card .slabd-product-card__title { font-size:14px!important; }
  .slabd-storefront .slabd-product-card__subtitle { font-size:12px; }
  .slabd-storefront .slabd-product-card__price { font-size:16px!important; }
  .slabd-storefront :is(.slabd-cart-card,.slabd-cart-totals-card,.slabd-checkout-card) { padding:18px; }
  .slabd-storefront .slabd-cart-table tr.cart_item { grid-template-columns:72px minmax(0,1fr) 28px; grid-template-areas:'image name remove' 'image qty qty' 'image subtotal subtotal'; gap:10px 12px; }
  .slabd-storefront .slabd-cart .slabd-cart-table .product-thumbnail img { width:56px!important; height:92px!important; }
  .slabd-storefront .slabd-cart .slabd-cart-table tr.cart_item .product-name a { font-size:14px; }
  .slabd-storefront .slabd-cart .slabd-coupon .coupon { flex-wrap:wrap; }
  .slabd-storefront .slabd-cart .slabd-coupon .coupon input { flex:1; }
  .slabd-storefront .slabd-checkout-layout .woocommerce-billing-fields__field-wrapper,
  .slabd-storefront .slabd-checkout-layout .woocommerce-shipping-fields__field-wrapper { grid-template-columns:1fr; }
  .slabd-storefront .slabd-checkout-layout .form-row { grid-column:1; }
  .slabd-storefront .slabd-cart-summary-actions__primary { padding:0; }
}
@media (prefers-reduced-motion:reduce) {
  .slabd-storefront * { scroll-behavior:auto!important; transition:none!important; }
}
.slabd-storefront .screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.slabd-storefront .slabd-product-card__image-frame { position:relative; }
.slabd-storefront .slabd-product-card__image-frame img { position:absolute; inset:12px 0; height:calc(100% - 24px)!important; }
.slabd-storefront .slabd-product-card__cta { width:100%; }
.slabd-storefront .slabd-product-card__price small { font-size:12px; font-weight:400; }
.slabd-storefront .slabd-product-card__badge--is-offer { background:var(--sf-yellow); color:#111; }
.slabd-storefront .slabd-filter-form > label { margin-top:4px; }
.slabd-storefront .slabd-filter-form input::placeholder { font-size:13px; }
/* Reset residual table and nested-panel sizing from the previous theme. */
.slabd-storefront .slabd-cart-table .product-name { max-width:none; }
.slabd-storefront .slabd-cart-table .product-name a { -webkit-line-clamp:unset; overflow:visible; }
.slabd-storefront .slabd-cart-table .product-name :is(dl.variation,.wc-item-meta) { display:block; }
.slabd-storefront .slabd-cart .slabd-cart-table .product-thumbnail img { max-height:none; }
.slabd-storefront .slabd-cart-totals { padding:0; }
.slabd-storefront .slabd-cart-summary-actions__primary .checkout-button { box-shadow:none; }
.slabd-storefront .slabd-checkout-layout :is(.woocommerce-billing-fields,.woocommerce-additional-fields,.woocommerce-shipping-fields,.woocommerce-account-fields,.woocommerce-checkout-review-order) { padding:0; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table :is(tbody,tfoot) { display:table-row-group; }
.slabd-storefront .slabd-checkout-layout .woocommerce-shipping-totals td { text-align:left; }
.slabd-delivery-heading { font-size:14px; font-weight:500; margin:0 0 12px; }
.slabd-storefront .slabd-shop-archive ul.products li.product .slabd-product-card__image-frame img { width:100%!important; height:calc(100% - 24px)!important; max-height:none!important; object-fit:contain!important; }
.slabd-storefront .slabd-shop-archive__actions { display:flex; flex-wrap:nowrap; }
.slabd-storefront .slabd-order-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; list-style:none; cursor:pointer; }
.slabd-storefront .slabd-order-toggle::-webkit-details-marker { display:none; }
.slabd-storefront .slabd-order-toggle h2 { margin:0; }
.slabd-storefront .slabd-order-details[open] .slabd-order-toggle { margin-bottom:20px; }
.slabd-storefront .slabd-order-toggle [data-checkout-summary-total] { display:none; font-size:16px; font-weight:500; }
.slabd-storefront .slabd-order-toggle::after { content:'\2212'; color:var(--sf-muted); }
.slabd-storefront .slabd-order-details:not([open]) .slabd-order-toggle::after { content:'+'; }
.slabd-storefront .slabd-checkout-layout .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals td { text-align:left; }
@media(max-width:991px) {
  .slabd-storefront .slabd-order-toggle [data-checkout-summary-total] { display:block; margin-left:auto; }
  .slabd-storefront .slabd-order-toggle h2 { font-size:18px; }
}

.slabd-storefront .slabd-optional-field { grid-column:1 / -1; }
.slabd-storefront .slabd-optional-field summary { font-size:14px; color:var(--sf-muted); cursor:pointer; }
.slabd-storefront .slabd-optional-field[open] summary { margin-bottom:12px; }
.slabd-storefront .slabd-cart-table tr { border-radius:0; box-shadow:none; }
.slabd-storefront .slabd-cart-table .slabd-actions-row { border:0; margin:0; padding:0; background:transparent; }
.slabd-storefront .slabd-cart form:not(:has(input.qty[type="number"])) button[name="update_cart"] { display:none; }
@media(max-width:600px) {
  .slabd-storefront .slabd-cart-table tr.cart_item { border-radius:0; box-shadow:none; margin:0; }
}

/* Real content links remain usable even when a guest receives stale cached CSS. */
.slabd-product-card > a.slabd-product-card__body {
  display:flex; flex-direction:column; flex:1; min-width:0; width:100%; height:100%;
  color:inherit; text-decoration:none; position:relative;
}
.slabd-product-card__body:focus-visible { outline:3px solid #111; outline-offset:-3px; }

/* Isolate commerce from the Basic Page builder's nested gutters and rem typography. */
body.page.slabd-storefront main .content-area > .container {
  width:calc(100% - 48px); max-width:1440px; padding:0; margin-inline:auto;
}
body.page.slabd-storefront main .content-area > .container > .row,
body.page.slabd-storefront main .content-area .wysiwyg-content :is(.content-inner,.content-inner-nobg) > .row { margin:0; }
body.page.slabd-storefront main .content-area > .container > .row > [class*=col-],
body.page.slabd-storefront main .content-area .wysiwyg-content :is(.content-inner,.content-inner-nobg) > .row > [class*=col-] { padding:0; }
body.page.slabd-storefront main .content-area .wysiwyg-content :is(.content-inner,.content-inner-nobg) {
  padding:0!important; margin:0!important; background:transparent!important; width:100%; max-width:none;
}
body.page.slabd-storefront main .content-area :is(.slabd-cart,.slabd-checkout-layout) { background:transparent; }
body.page.slabd-storefront main .content-area :is(.slabd-section-head h2,.slabd-checkout-card h2,.slabd-checkout-card h3) {
  font:500 20px/1.35 Rubik,sans-serif!important; padding:0!important; margin:0 0 20px!important;
  text-transform:none!important; letter-spacing:-.2px;
}
body.page.slabd-storefront main .content-area :is(.slabd-section-head h2,.slabd-checkout-card h2,.slabd-checkout-card h3)::before,
body.page.slabd-storefront main .content-area :is(.slabd-section-head h2,.slabd-checkout-card h2,.slabd-checkout-card h3)::after { display:none!important; }
body.page.slabd-storefront main .content-area :is(.slabd-cart-title,.slabd-checkout-heading h1) { font:700 32px/1.2 Rubik,sans-serif!important; padding:0; margin:0; }
body.page.slabd-storefront main .content-area :is(.slabd-cart-subtitle,.slabd-checkout-heading p) { font:400 16px/1.5 Rubik,sans-serif!important; margin:8px 0 0; }
body.page.slabd-storefront main .content-area .slabd-cart .shop_table tbody .product-name a {
  font:500 16px/1.4 Rubik,sans-serif!important; margin:0 0 8px!important; max-width:none; text-decoration:none;
}
body.page.slabd-storefront main .content-area :is(.slabd-cart-totals,.slabd-checkout-summary) :is(th,td) { font-size:14px!important; line-height:1.5!important; }
body.page.slabd-storefront main .content-area :is(.slabd-cart-totals,.slabd-checkout-summary) .amount { font:inherit!important; white-space:nowrap; }
body.page.slabd-storefront main .content-area :is(.slabd-cart-totals,.slabd-checkout-summary) .order-total > :is(th,td) { font-size:20px!important; }
body.page.slabd-storefront main .content-area :is(.slabd-cart-totals,.slabd-checkout-summary) .includes_tax { font:400 12px/1.5 Rubik,sans-serif!important; }
body.page.slabd-storefront main .content-area .woocommerce-shipping-destination,
body.page.slabd-storefront main .content-area .woocommerce-shipping-destination strong { font:400 12px/1.5 Rubik,sans-serif!important; }
body.page.slabd-storefront main .content-area .slabd-checkout-layout .form-row :is(input.input-text,select,textarea) { font:400 16px/1.5 Rubik,sans-serif!important; padding:12px!important; min-height:46px; }
body.page.slabd-storefront main .content-area .slabd-checkout-layout .form-row label { font:400 14px/1.5 Rubik,sans-serif!important; }
body.page.slabd-storefront main .content-area :is(.slabd-cart,.slabd-checkout-layout) a.button { font:500 16px/1.35 Rubik,sans-serif!important; padding:12px 18px!important; min-height:46px; box-shadow:none!important; }
/* Only the change hint should wrap, not each span inside a shipping price. */
.slabd-delivery-options summary .woocommerce-Price-amount,
.slabd-delivery-options summary .woocommerce-Price-currencySymbol { display:inline!important; text-decoration:none; color:inherit; font-size:inherit; margin:0; }

/* Header mini cart is shared by product and account pages as well as the archive. */
#header .mini-cart-dropdown { position:relative; }
#header .mini-cart-dropdown .dropdown-menu-mini-cart {
  left:auto!important; right:0!important; top:100%!important; transform:none!important;
  width:min(400px,calc(100vw - 32px)); min-width:0; max-height:min(680px,80dvh); overflow-y:auto;
  padding:20px; margin-top:8px; background:#fff; border:1px solid #e4e6e8; border-radius:12px;
  box-shadow:0 12px 36px #0002; z-index:10010; font:400 14px/1.5 Rubik,sans-serif; color:#111;
}
#header .mini-cart-dropdown .dropdown-menu:not(.show) { display:none; }
#header .mini-cart-dropdown .dropdown-menu.show { display:block; }
#header .mini-cart-dropdown ul.woocommerce-mini-cart { margin:0; padding:0; list-style:none; }
#header .mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item {
  position:relative; display:block; padding:0 40px 16px 0; margin:0 0 16px; border-bottom:1px solid #e4e6e8;
  font:400 14px/1.5 Rubik,sans-serif;
}
#header .mini-cart-dropdown .mini_cart_item > :is(a:not(.remove),.slabd-mini-product) { display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; font:500 14px/1.4 Rubik,sans-serif; color:#111; text-decoration:none; }
#header .mini-cart-dropdown .mini_cart_item img { float:none!important; width:64px!important; height:90px!important; object-fit:contain; margin:0!important; }
#header .mini-cart-dropdown .mini_cart_item a.remove { position:absolute; top:0; right:0; left:auto!important; display:flex; align-items:center; justify-content:center; width:32px; height:32px; padding:0; margin:0; font:400 22px/1 Rubik,sans-serif!important; color:#62666b!important; background:#f4f4f1; border-radius:50%; }
#header .mini-cart-dropdown .mini_cart_item .quantity { display:block; padding-left:76px; margin-top:8px; font:400 14px/1.5 Rubik,sans-serif; }
#header .mini-cart-dropdown .woocommerce-mini-cart__total { display:flex; justify-content:space-between; gap:12px; margin:16px 0; padding:0; font:500 16px/1.5 Rubik,sans-serif; }
#header .mini-cart-dropdown .amount { font:inherit; }
#header .mini-cart-dropdown .woocommerce-mini-cart__buttons { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0; padding:0; }
#header .mini-cart-dropdown .woocommerce-mini-cart__buttons a.button {
  display:flex; align-items:center; justify-content:center; margin:0!important; padding:12px!important;
  min-height:44px; width:auto; border:1px solid #d9dce0; border-radius:8px; box-shadow:none;
  background:#fff; color:#111; font:500 14px/1.35 Rubik,sans-serif!important; white-space:nowrap;
}
#header .mini-cart-dropdown .woocommerce-mini-cart__buttons a.checkout { background:#eedc01; border-color:#eedc01; }
@media(max-width:600px) {
  body.page.slabd-storefront main .content-area > .container { width:calc(100% - 28px); }
  body.page.slabd-storefront main .content-area :is(.slabd-cart-title,.slabd-checkout-heading h1) { font-size:28px!important; }
}
#header .mini-cart-dropdown .woocommerce-mini-cart__total strong,
#header .mini-cart-dropdown .woocommerce-mini-cart__total .amount { font:500 16px/1.5 Rubik,sans-serif!important; }

/* Filter controls must not inherit the theme's viewport-scaled rem form rules. */
body.slabd-storefront .slabd-shop-archive .slabd-shop-archive__sidebar {
  padding:20px; font:400 14px/1.5 Rubik,sans-serif;
}
body.slabd-storefront .slabd-shop-archive .slabd-shop-archive__sidebar-title {
  font:500 18px/1.35 Rubik,sans-serif; margin:0 0 20px; padding:0; letter-spacing:0;
}
body.slabd-storefront .slabd-shop-archive .slabd-filter-form { gap:10px; margin:0; }
body.slabd-storefront .slabd-shop-archive .slabd-filter-form :is(label,legend) {
  font:500 14px/1.5 Rubik,sans-serif; padding:0; margin:0;
}
body.slabd-storefront .slabd-shop-archive .slabd-filter-form :is(input:not([type=hidden]),select) {
  box-sizing:border-box; width:100%; height:44px; min-height:44px; max-height:44px;
  padding:10px; margin:0; border:1px solid #cdd0d3; border-radius:6px;
  font:400 16px/22px Rubik,sans-serif; background:#fff; color:#111;
}
body.slabd-storefront .slabd-shop-archive .slabd-filter-form input::placeholder { font:inherit; color:#62666b; opacity:1; }
body.slabd-storefront .slabd-shop-archive .slabd-filter-form fieldset { padding:12px 0; margin:0; }
body.slabd-storefront .slabd-shop-archive .slabd-filter-form legend { margin-bottom:8px; }
body.slabd-storefront .slabd-shop-archive .slabd-price-range label { font-size:12px; }
body.slabd-storefront .slabd-shop-archive .slabd-filter-form .button {
  min-height:44px; padding:10px 12px; font:500 14px/1.5 Rubik,sans-serif; margin:0;
}
body.slabd-storefront .slabd-shop-archive .slabd-filter-form > a { font:400 14px/1.5 Rubik,sans-serif; padding:6px; margin:0; }
body.slabd-storefront .slabd-shop-archive .slabd-category-links { margin-top:20px; padding-top:20px; gap:4px; }
body.slabd-storefront .slabd-shop-archive .slabd-category-links h3 { font:500 16px/1.5 Rubik,sans-serif; margin:0 0 8px; padding:0; }
body.slabd-storefront .slabd-shop-archive .slabd-category-links a { font:400 14px/1.5 Rubik,sans-serif; padding:7px 8px; margin:0; }

/* Sold-individually products keep their hidden quantity input for submission,
   but its empty wrapper must not consume a flex row and add a 10px gap. */
body.single-product .slabd-single-product__purchase-controls > .quantity:has(> input[type=hidden]) {
  display:none;
}
body.single-product form.slabd-single-product__cart:has(> .single_offer_button) { align-items:flex-start; }
body.single-product form.slabd-single-product__cart :is(.single_add_to_cart_button,.offers-for-woocommerce-make-offer-button-single-product) {
  display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
  height:52px; min-height:52px; margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0;
}

/* Offer dialog shares the storefront scale, independently of legacy lightbox rules. */
body.single-product #lightbox_custom_ofwc_offer_form.slbd-make-offer-modal {
  position:fixed!important; inset:0!important; width:100%!important; height:100%!important;
  max-width:none!important; max-height:none!important; margin:0!important; transform:none!important;
  padding:16px!important; border:0!important; border-radius:0!important; box-sizing:border-box;
  background:rgba(17,17,17,.55)!important; overflow:hidden!important; align-items:center; justify-content:center;
}
body.single-product #lightbox_custom_ofwc_offer_form #tab_custom_ofwc_offer_tab_inner {
  width:min(600px,100%)!important; max-width:600px!important; max-height:calc(100dvh - 32px)!important;
  height:auto!important; margin:0!important; padding:24px!important; overflow:auto!important;
  border:1px solid #e4e6e8; border-radius:12px!important; background:#fff;
  font:400 16px/1.5 Rubik,sans-serif; box-sizing:border-box;
}
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-heading { padding:0 48px 20px 0; margin:0 0 20px; border-bottom:1px solid #e4e6e8; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-title { font:700 24px/1.25 Rubik,sans-serif!important; margin:0!important; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-close { width:36px; height:36px; right:20px; top:20px; font:400 24px/1 Rubik,sans-serif!important; border-radius:8px; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-summary { padding:0; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-product { margin:0 0 20px; padding:12px; grid-template-columns:56px minmax(0,1fr); gap:12px; border-radius:8px; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-product__image { width:56px; height:76px; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-product__image img { object-fit:contain; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-form,
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-form fieldset { display:grid; gap:16px; width:100%; min-width:0; margin:0; padding:0; border:0; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-form .slbd-make-offer-field { width:100%; margin:0!important; padding:0!important; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-form label {
  font:500 14px/1.5 Rubik,sans-serif!important; text-transform:none!important; color:#111; margin:0 0 6px!important;
}
body.single-product #lightbox_custom_ofwc_offer_form label[for="woocommerce-make-offer-form-price-each"]::before,
body.single-product #lightbox_custom_ofwc_offer_form label[for="woocommerce-make-offer-form-price-each"]::after { content:none!important; display:none!important; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-form :is(input[type=text],input[type=email],input[type=number]) {
  box-sizing:border-box; height:44px!important; min-height:44px; max-height:44px; width:100%!important;
  border:1px solid #cdd0d3; border-radius:6px; padding:10px 12px!important; font:400 16px/22px Rubik,sans-serif!important;
}
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-form textarea { font:400 16px/1.5 Rubik,sans-serif!important; min-height:88px; height:88px; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-money-field { width:100%!important; grid-template-columns:auto minmax(0,1fr) auto!important; min-height:44px; }
body.single-product #lightbox_custom_ofwc_offer_form :is(.slbd-make-offer-identity-card,.slbd-make-offer-admin-note,.slbd-make-offer-success) { width:100%; padding:12px; font:400 14px/1.5 Rubik,sans-serif; border-radius:8px; }
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-actions { width:100%; margin:4px 0 0; gap:12px; }
body.single-product #lightbox_custom_ofwc_offer_form :is(.slbd-make-offer-cancel,.slbd-make-offer-submit) {
  min-height:44px; border-radius:8px!important; font:500 16px/1.35 Rubik,sans-serif!important; padding:12px 16px!important;
}
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-submit:not(:disabled) { background:#eedc01!important; border-color:#eedc01!important; color:#111!important; }
body.single-product #lightbox_custom_ofwc_offer_form :is(button,input,textarea):focus-visible { outline:2px solid #111!important; outline-offset:2px; }
@media(max-width:600px) {
  body.single-product #lightbox_custom_ofwc_offer_form #tab_custom_ofwc_offer_tab_inner { padding:20px!important; }
}
body.single-product #lightbox_custom_ofwc_offer_form .slbd-make-offer-form :is(.woocommerce-make-offer-form-section,.woocommerce-make-offer-form-part-left,.woocommerce-make-offer-form-part-full) {
  float:none; width:100%; max-width:none; margin:0; padding:0; border:0; box-sizing:border-box;
}
body.single-product #lightbox_custom_ofwc_offer_form :is(.slbd-make-offer-cancel,.slbd-make-offer-submit) { border-style:solid!important; border-width:1px!important; box-shadow:none!important; }
