/* ==========================================================================
   BrandStore — WooCommerce component styling (theme tokens)
   Loaded only when WooCommerce is active. Covers classic + block components.
   ========================================================================== */

/* ---- Generic buttons --------------------------------------------------- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,.wc-block-components-button:not(.is-link){
  background:var(--accent);color:#fff;font-family:var(--ff-head);font-weight:500;font-size:13px;
  letter-spacing:.5px;border-radius:var(--r-btn);padding:13px 28px;border:none;transition:.2s;line-height:1.2
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,.wc-block-components-button:not(.is-link):hover{
  background:var(--accent-strong);color:#fff
}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--accent)}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--accent-strong)}

/* ---- Prices ------------------------------------------------------------ */
.woocommerce .price,.woocommerce ul.products li.product .price,
.wc-block-components-product-price,.woocommerce div.product p.price,.woocommerce div.product span.price{
  color:var(--accent);font-family:var(--ff-head);font-weight:600
}
.woocommerce div.product p.price ins,.woocommerce div.product span.price ins{text-decoration:none}
.woocommerce del{color:var(--muted)}

/* ---- Notices ----------------------------------------------------------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,
.wc-block-components-notice-banner{
  border-radius:var(--r-card);border:1px solid var(--line);font-family:var(--ff-body);
  background:var(--base2);color:var(--ink)
}
.woocommerce-message{border-left:3px solid var(--accent)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--accent)}
.wc-block-components-notice-banner.is-success{border-color:var(--accent)}

/* ---- Forms ------------------------------------------------------------- */
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce .select2-container .select2-selection,
.wc-block-components-text-input input,.wc-block-components-select select{
  border:1px solid var(--line);border-radius:var(--r-btn);font-family:var(--ff-body);font-size:16px;padding:12px 14px;background:#fff
}
.woocommerce form .form-row input.input-text:focus,.wc-block-components-text-input input:focus{
  border-color:var(--accent);outline:2px solid color-mix(in srgb,var(--accent) 25%,transparent);outline-offset:0
}
.woocommerce label{font-family:var(--ff-head);font-weight:500;color:var(--ink);font-size:14px}

/* ---- Result count + ordering (shop top bar) ---------------------------- */
.woocommerce .woocommerce-result-count{color:var(--muted);font-size:14px;font-family:var(--ff-body)}
.woocommerce .woocommerce-ordering select,.wc-block-product-sort-select select{
  border:1px solid var(--line);border-radius:var(--r-btn);padding:9px 13px;font-family:var(--ff-head);font-size:13px;background:#fff;color:var(--ink)
}

/* ---- Breadcrumbs ------------------------------------------------------- */
.woocommerce .woocommerce-breadcrumb,.wc-block-breadcrumbs{
  font-size:13px;color:var(--muted);font-family:var(--ff-body);margin-bottom:22px
}
.woocommerce .woocommerce-breadcrumb a,.wc-block-breadcrumbs a{color:var(--accent)}

/* ---- Pagination -------------------------------------------------------- */
.woocommerce nav.woocommerce-pagination ul,.wp-block-query-pagination{border:none;display:flex;gap:8px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span,
.wp-block-query-pagination .page-numbers{
  border:1px solid var(--line);border-radius:var(--r-btn);padding:8px 14px;font-family:var(--ff-head);color:var(--ink);min-width:auto
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.wp-block-query-pagination .page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ---- Badges (sale, stock) --------------------------------------------- */
.woocommerce span.onsale,.wc-block-components-product-sale-badge{
  background:var(--badge-sale);color:#fff;font-family:var(--ff-head);font-weight:500;font-size:13px;
  letter-spacing:.2px;border-radius:var(--badge-radius);min-height:29px;min-width:auto;padding:0 13px;line-height:29px}
/* place the sale badge top-left over the rounded image */
.wc-block-product .wc-block-components-product-image .wc-block-components-product-sale-badge,
ul.products li.product span.onsale{position:absolute;top:12px;left:12px;right:auto;margin:0;z-index:2}
.stock.in-stock{color:var(--accent)}
.stock.out-of-stock{color:#b3261e}

/* ---- Product card: equal height, square image, contained content ------ */
.wc-block-product-template{align-items:stretch}
ul.products li.product,.wc-block-grid__product,.wc-block-product-template .wc-block-product{
  background:transparent;border:0;border-radius:0;overflow:visible;
  transition:transform .26s var(--ease);text-align:left;padding:0;
  display:flex;flex-direction:column;height:100%
}
/* rounded image (the box) carries the card — round the image wrapper, not the card */
.wc-block-product .wc-block-components-product-image,
.wc-block-product .wp-block-woocommerce-product-image{border-radius:var(--rounded-radius)}
/* Square (1:1) image that FILLS the card edge-to-edge (cover) — same as the
   homepage .bs-pcard cards. No padding, no letterboxing. */
.wc-block-product .wc-block-components-product-image,
.wc-block-product .wp-block-woocommerce-product-image{
  display:block;position:relative;overflow:hidden;background:#f4f3f0;margin:0;aspect-ratio:1/1
}
.wc-block-product .wc-block-components-product-image img,
.wc-block-product .wp-block-woocommerce-product-image img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  padding:0;margin:0;border-radius:0;transition:transform .5s var(--ease)
}
/* Classic loop markup (related / up-sells) — square image, fills box.
   Scoped :not(.bs-pcard-grid) so the Shop's brandstore_product_card images keep
   their own absolute-fill rules. */
ul.products:not(.bs-pcard-grid) li.product>a:first-child,ul.products:not(.bs-pcard-grid) li.product>.woocommerce-LoopProduct-link{display:block;margin:0}
ul.products:not(.bs-pcard-grid) li.product img{
  display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#f4f3f0;
  padding:0;margin:0 0 12px;border-radius:0;transition:transform .5s var(--ease)
}
.wc-block-product:hover .wc-block-components-product-image img,
.wc-block-product:hover .wp-block-woocommerce-product-image img,
ul.products:not(.bs-pcard-grid) li.product:hover img{transform:scale(1.06)}
/* Title — 2-line clamp so every card lines up */
.wc-block-product .wp-block-post-title,
ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title,.wc-block-components-product-title{
  font-family:var(--ff-head);font-weight:500;font-size:16px;line-height:1.35;color:var(--color-dark);text-transform:capitalize;
  padding:0;margin:14px 0 0;
  display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em
}
.wc-block-product .wp-block-post-title a{color:var(--color-dark);text-decoration:none}
.wc-block-product .wp-block-post-title a:hover{color:var(--color-primary)}
/* Price — sale red first, compare-at grey line-through */
.wc-block-product .wp-block-woocommerce-product-price,
.wc-block-grid__product-price,ul.products li.product .price{
  display:flex;align-items:baseline;gap:8px;padding:0;margin:7px 0 0;font-family:var(--ff-head);font-weight:600;font-size:16px;color:var(--color-dark)
}
.wc-block-product .wp-block-woocommerce-product-price ins,ul.products li.product .price ins{order:1;text-decoration:none;color:var(--color-primary);font-weight:600}
.wc-block-product .wp-block-woocommerce-product-price del,ul.products li.product .price del{order:2;color:var(--color-grey);font-weight:400;text-decoration:line-through}
ul.products li.product .price del .amount,.wc-block-product .wp-block-woocommerce-product-price del .amount{color:var(--color-grey)}
/* Button — compact dark pill, no full-width card padding */
.wc-block-product .wc-block-components-product-button{margin-top:12px}
.wc-block-product .wp-block-button__link,
ul.products li.product .button,.wc-block-grid__product .add_to_cart_button{
  display:inline-flex;align-items:center;justify-content:center;margin:12px 0 0;width:auto;background:var(--color-dark);border:0;color:#fff;
  text-align:center;border-radius:var(--btn-radius);padding:11px 26px;font:600 12.5px var(--ff-head);letter-spacing:.2px;box-shadow:none;transition:transform var(--speed) var(--ease),opacity var(--speed) var(--ease)
}
.wc-block-product .wp-block-button__link:hover,
ul.products li.product .button:hover,ul.products li.product .added_to_cart{background:#000;color:#fff;transform:translateY(-2px)}
.bs-loop-cat{display:block;padding:14px 16px 0;font:600 11px var(--ff-head);text-transform:uppercase;letter-spacing:1px;color:var(--muted)}

/* ---- Single product ---------------------------------------------------- */
.woocommerce div.product .product_title{font-family:var(--ff-head);font-size:32px;color:var(--ink);margin-bottom:10px}
.woocommerce div.product .woocommerce-product-rating{margin-bottom:14px}
.woocommerce div.product form.cart .qty{border:1px solid var(--line);border-radius:var(--r-btn);padding:11px;font-family:var(--ff-body);width:64px}
.woocommerce div.product form.cart .button{vertical-align:middle}
.woocommerce div.product .woocommerce-tabs ul.tabs{border:none;padding:0;margin-bottom:0}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  border:1px solid var(--line);background:var(--base2);border-radius:var(--r-btn) var(--r-btn) 0 0;font-family:var(--ff-head);font-size:14px
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff;border-bottom-color:#fff}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--ink)}
.woocommerce #reviews #comments h2,.woocommerce div.product .woocommerce-tabs .panel h2{
  font-family:var(--ff-head);font-size:20px
}
/* gallery */
.woocommerce div.product div.images img{border-radius:var(--r-card)}
.flex-control-thumbs li img{border-radius:var(--r-btn)}

/* related products heading */
.woocommerce .related>h2,.woocommerce .upsells>h2,.woocommerce .cross-sells>h2{font-family:var(--ff-head);font-size:24px;margin-bottom:24px}

/* ---- Cart + Checkout blocks ------------------------------------------- */
.wc-block-cart,.wc-block-checkout{font-family:var(--ff-body)}
.wc-block-cart__totals-title,.wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__label{
  font-family:var(--ff-head);color:var(--ink)
}
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{
  background:var(--accent)!important;border-radius:var(--r-btn)!important;font-family:var(--ff-head)
}
.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover{background:var(--accent-strong)!important}
.wc-block-components-totals-item__value,.wc-block-cart-item__total{color:var(--ink)}

/* express payment area */
.wc-block-components-express-payment,.wp-block-woocommerce-checkout-express-payment-block{
  border:1px dashed var(--line);border-radius:var(--r-card);padding:18px;background:#fff;margin-bottom:8px
}
.wc-block-components-express-payment__title-container,.bs-express-label{
  font-family:var(--ff-head);font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:1px
}

/* ---- My account / order status ---------------------------------------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul{border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:12px 16px;font-family:var(--ff-head);font-size:14px;color:var(--ink)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--accent);color:#fff}
.woocommerce table.shop_table,.woocommerce-order-details table{border:1px solid var(--line);border-radius:var(--r-card);border-collapse:separate}

/* ---- Single product: summary depth + extras --------------------------- */
/* Tighten the empty space above the product (breadcrumbs sit close to header) */
.bs-section.bs-product-page{padding-top:24px}
.bs-product-page .wc-block-breadcrumbs,.bs-product-page .woocommerce-breadcrumb{margin-bottom:18px}
@media(max-width:768px){.bs-section.bs-product-page{padding-top:14px}.bs-product-page .wc-block-breadcrumbs{margin-bottom:12px}}
/* Cart & checkout pages: comfortable top spacing, full-width blocks */
.bs-section.bs-checkout-page,.bs-section.bs-cart-page{padding-top:32px}
.bs-checkout-page .bs-wrap,.bs-cart-page .bs-wrap{max-width:1200px}
.bs-checkout-page .wp-block-post-title,.bs-cart-page .wp-block-post-title{font-family:var(--ff-head);font-size:30px;margin-bottom:22px}
@media(max-width:768px){.bs-section.bs-checkout-page,.bs-section.bs-cart-page{padding-top:18px}}
.bs-product-top .wp-block-post-terms.bs-prod-eyebrow{margin-bottom:10px}
.bs-product-top .wp-block-post-terms.bs-prod-eyebrow a{color:var(--ink)!important;text-decoration:none}
.bs-product-top .wc-block-components-product-rating,.bs-product-top .woocommerce-product-rating{margin:6px 0 12px}
.woocommerce div.product .product_title,.bs-product-top h1{font-family:var(--ff-head);font-size:34px;letter-spacing:-.01em;margin-bottom:8px}
.bs-product-top form.cart,.bs-product-top .wp-block-woocommerce-add-to-cart-form{margin-top:18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.bs-product-top form.cart .single_add_to_cart_button,
.bs-product-top .wp-block-woocommerce-add-to-cart-form button.single_add_to_cart_button{
  flex:1;min-width:200px;height:50px;background:var(--ink);color:#fff;border:none;border-radius:var(--r-pill);
  padding:0 28px;font-family:var(--ff-head);font-weight:600;font-size:14px;box-shadow:var(--sh-btn);
  transition:transform .2s var(--ease),box-shadow .2s,background .2s;margin:0
}
.bs-product-top form.cart .single_add_to_cart_button:hover{background:#000;transform:translateY(-2px)}
/* Quantity stepper (−/＋) — compact, Shopify-style */
.bs-product-top form.cart .quantity.bs-qty{display:inline-flex;align-items:stretch;border:1px solid var(--line);border-radius:var(--r-pill);overflow:hidden;height:50px;margin:0;flex:none;background:#fff}
.bs-product-top form.cart .quantity.bs-qty input.qty{border:none!important;width:40px;text-align:center;font:600 16px var(--ff-head);background:transparent;padding:0;-moz-appearance:textfield;appearance:textfield;height:48px;min-height:0;box-shadow:none!important}
.bs-product-top form.cart .quantity.bs-qty input.qty::-webkit-outer-spin-button,
.bs-product-top form.cart .quantity.bs-qty input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.bs-qty-btn{width:36px;border:none;background:transparent;color:var(--ink);font-size:17px;font-weight:400;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.15s;flex:none;padding:0}
.bs-qty-btn:hover{color:var(--muted)}
.bs-qty-btn:active{transform:scale(.92)}
.bs-prod-meta{margin-top:20px;border-top:1px solid var(--line);padding-top:18px;display:flex;flex-direction:column;gap:12px}
.bs-prod-stock{display:flex;align-items:center;gap:8px;font-family:var(--ff-head);font-weight:600;font-size:13px;color:var(--ink)}
.bs-prod-stock .bs-ic{width:16px;height:16px}
.bs-prod-trust{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.bs-prod-trust__badges{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.bs-prod-trust__badges .bs-ic{width:15px;height:15px}

/* Tabs → desktop tabs, mobile accordions, themed like FAQ */
.bs-product-tabs .wc-tabs,.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:8px;border:none;padding:0;margin:0 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--base-2);border:1px solid var(--line);border-radius:var(--r-md) var(--r-md) 0 0;box-shadow:none}
.woocommerce div.product .woocommerce-tabs .panel{border:1px solid var(--line);border-radius:0 var(--r-md) var(--r-md) var(--r-md);padding:24px;box-shadow:var(--sh-sm);background:#fff}
@media(max-width:768px){
  .woocommerce div.product .woocommerce-tabs ul.tabs{flex-direction:column;gap:8px}
  .woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:var(--r-md)}
  .woocommerce div.product .woocommerce-tabs .panel{border-radius:var(--r-md);margin-top:8px}
}

/* ---- Product gallery: STABLE square viewer ---------------------------- */
/* The WooCommerce gallery (FlexSlider) otherwise sizes the main image box to
   each slide's own height, so the layout jumps up/down when images have
   different ratios. Lock the viewer to a fixed square and contain the image
   (centred, never cropped, on white) so every product looks consistent. */
.bs-product-top .wp-block-woocommerce-product-image-gallery,
.bs-product-top .woocommerce-product-gallery{position:relative;margin:0}
.bs-product-top .woocommerce-product-gallery .flex-viewport,
.bs-product-top .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper{
  aspect-ratio:1/1;height:auto!important;max-height:none!important;overflow:hidden;
  border:1px solid var(--line);border-radius:var(--r-md);background:#fff
}
.bs-product-top .flex-viewport .woocommerce-product-gallery__wrapper{height:100%!important}
.bs-product-top .woocommerce-product-gallery__image{height:100%}
.bs-product-top .woocommerce-product-gallery__image a{display:block;height:100%}
.bs-product-top .woocommerce-product-gallery__image img,
.bs-product-top .wp-block-woocommerce-product-image-gallery img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  border-radius:0;box-shadow:none;background:#fff;display:block
}
/* zoom trigger stays pinned to the corner of the fixed box */
.bs-product-top .woocommerce-product-gallery__trigger{top:14px;right:14px}

/* thumbnails: uniform square row, dim until active/hover */
.bs-product-top .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0;padding:0;list-style:none}
.bs-product-top .flex-control-thumbs li{width:72px;height:72px;margin:0;list-style:none}
.bs-product-top .flex-control-thumbs li img{width:100%;height:100%;object-fit:cover;border:1px solid var(--line);border-radius:var(--r-sm);opacity:.55;cursor:pointer;transition:opacity .15s,border-color .15s}
.bs-product-top .flex-control-thumbs li img.flex-active,
.bs-product-top .flex-control-thumbs li img:hover{opacity:1;border-color:var(--ink)}
@media(max-width:560px){.bs-product-top .flex-control-thumbs li{width:60px;height:60px}}

/* ---- Shop: page header + toolbar + mobile filter drawer --------------- */
.bs-shop-header h1{font-family:var(--ff-head);font-size:33px;letter-spacing:-.01em;margin-bottom:8px}
.bs-shop-bar{border-bottom:1px solid var(--line);padding-bottom:16px}
/* Sidebar filter headings + product-categories list */
.bs-shop-sidebar .bs-filter-h{font:700 12px var(--ff-head);letter-spacing:1.4px;text-transform:uppercase;color:var(--ink);margin:26px 0 6px}
.bs-shop-sidebar .wc-block-product-categories{margin:0 0 8px}
.bs-shop-sidebar .wc-block-product-categories ul,
.bs-shop-sidebar .wc-block-product-categories ol{list-style:none;margin:0;padding:0}
.bs-shop-sidebar .wc-block-product-categories li{margin:0;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 0;border-bottom:1px solid var(--line);transition:padding .2s}
.bs-shop-sidebar .wc-block-product-categories li:hover{padding-left:4px}
.bs-shop-sidebar .wc-block-product-categories li a{font-family:var(--ff-body);font-size:14px;color:var(--body);text-decoration:none;border:none;padding:0;flex:1}
.bs-shop-sidebar .wc-block-product-categories li:hover a{color:var(--ink)}
.bs-shop-sidebar .wc-block-product-categories .count{flex:none;color:var(--muted);font-size:12px;font-weight:600;background:var(--base-2);border-radius:999px;padding:2px 10px}
.bs-filter-toggle{display:none}
/* (mobile sidebar drawer + toolbar live in the v1.9.5/1.9.6 block below) */

/* ---- Product Collection columns: force a true, full-width grid ---------
   WooCommerce renders the product template as flex with fixed-width items,
   which leaves dead space on the right and wraps 4-up to 3+1. Force an even
   CSS grid so featured = 4 equal columns and shop = 3, filling the row. */
@media(min-width:901px){
  .wp-block-woocommerce-product-collection .is-flex-container.columns-3,
  .wc-block-product-template.columns-3{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:22px}
  .wp-block-woocommerce-product-collection .is-flex-container.columns-4,
  .wc-block-product-template.columns-4{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:22px}
  .wp-block-woocommerce-product-collection .is-flex-container.columns-3>*,
  .wp-block-woocommerce-product-collection .is-flex-container.columns-4>*,
  .wc-block-product-template.columns-3>*,.wc-block-product-template.columns-4>*{max-width:none!important;width:auto!important;margin:0!important;flex:none!important}
}
/* ---- Product Collection responsive columns (mobile-first) ------------- */
@media(max-width:900px){
  .wp-block-woocommerce-product-collection .is-flex-container.columns-3,
  .wp-block-woocommerce-product-collection .is-flex-container.columns-4,
  .wc-block-product-template.columns-3,.wc-block-product-template.columns-4{
    display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:16px
  }
  .wp-block-woocommerce-product-collection .is-flex-container.columns-3>*,
  .wp-block-woocommerce-product-collection .is-flex-container.columns-4>*,
  .wc-block-product-template.columns-3>*,.wc-block-product-template.columns-4>*{
    max-width:none!important;width:auto!important;margin:0!important;flex:none!important
  }
}
@media(max-width:420px){
  .wp-block-woocommerce-product-collection .is-flex-container.columns-3,
  .wp-block-woocommerce-product-collection .is-flex-container.columns-4,
  .wc-block-product-template.columns-3,.wc-block-product-template.columns-4{grid-template-columns:1fr!important}
}
/* On mobile the add-to-cart must always be visible (never hover-only) */
@media(max-width:900px){
  .wc-block-product .wc-block-components-product-image::after,
  ul.products li.product>a:first-child::after{display:none!important}
}

/* ---- Mini-cart drawer (theme) ----------------------------------------- */
.bs-minicart .bs-drawer__head h3{font:600 17px var(--ff-head);color:var(--ink)}
.bs-minicart .widget_shopping_cart_content{font-size:14px;color:var(--body)}
/* mini-cart item list */
#bs-minicart .woocommerce-mini-cart{list-style:none;margin:0;padding:0}
#bs-minicart .woocommerce-mini-cart-item{position:relative;display:flex;gap:12px;align-items:center;padding:16px 30px 16px 0;border-bottom:1px solid var(--line);list-style:none}
#bs-minicart .woocommerce-mini-cart-item img{order:-1;width:64px;height:64px;object-fit:cover;background:#f4f3f0;border:1px solid var(--line);border-radius:var(--r-sm);margin:0;float:none}
#bs-minicart .woocommerce-mini-cart-item a:not(.remove){font:600 13px var(--ff-head);color:var(--ink);text-decoration:none;line-height:1.4}
#bs-minicart .woocommerce-mini-cart-item .quantity{display:block;color:var(--muted);font-size:13px;margin-top:4px}
#bs-minicart a.remove,#bs-minicart a.remove_from_cart_button{position:absolute;top:50%;right:0;transform:translateY(-50%);width:24px;height:24px;line-height:22px;text-align:center;border-radius:50%;background:transparent;color:var(--muted)!important;font-size:18px;font-weight:400;border:none;text-decoration:none;opacity:.7;transition:.15s}
#bs-minicart a.remove:hover,#bs-minicart a.remove_from_cart_button:hover{background:var(--base-2);color:var(--ink)!important;opacity:1}
#bs-minicart .woocommerce-mini-cart__total{display:flex;justify-content:space-between;align-items:center;padding:16px 0;font:600 15px var(--ff-head);color:var(--ink);border-bottom:1px solid var(--line);margin-bottom:16px}
#bs-minicart .woocommerce-mini-cart__total strong{font-weight:700}
#bs-minicart .woocommerce-mini-cart__empty-message{padding:24px 0;color:var(--muted)}
/* the two action buttons — always readable (white text on ink, outline view-cart) */
#bs-minicart .woocommerce-mini-cart__buttons{display:flex;flex-direction:column;gap:10px;padding:0}
#bs-minicart .button,#bs-minicart a.button{
  display:block;width:100%;text-align:center;border-radius:var(--r-sm);
  padding:14px;font:600 13px var(--ff-head);margin:0;box-shadow:none;transition:.2s;line-height:1.2
}
#bs-minicart a.button:not(.checkout){background:#fff!important;color:var(--ink)!important;border:1px solid var(--ink)!important}
#bs-minicart a.button:not(.checkout):hover{background:var(--base-2)!important}
#bs-minicart a.button.checkout{background:var(--ink)!important;color:#fff!important;border:1px solid var(--ink)!important;box-shadow:var(--sh-btn)}
#bs-minicart a.button.checkout:hover{background:#000!important;color:#fff!important}

/* ---- Mini-cart drawer: smooth mobile UX ------------------------------- */
/* Never allow the contents to be wider than the drawer (the source of the
   "swipe sideways / text slides away" problem on touch). */
.bs-minicart{overflow-x:hidden}
/* Flex column so the item list scrolls and the totals + checkout button stay
   pinned to the bottom — no big empty gap when the cart only has a few items,
   and the checkout button is always within thumb reach. */
#bs-minicart{display:flex;flex-direction:column;overflow:hidden}
#bs-minicart>p{display:none}                 /* stray empty <p> from wpautop */
#bs-minicart .bs-drawer__head,
#bs-minicart .bs-shipbar,
#bs-minicart .bs-minicart__urgency{flex:none}
#bs-minicart .widget_shopping_cart_content{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;overflow-x:hidden;padding:14px 20px}
#bs-minicart .woocommerce-mini-cart{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;min-height:0;margin:0}
#bs-minicart .woocommerce-mini-cart__total,
#bs-minicart .bs-minicart__agb,
#bs-minicart .woocommerce-mini-cart__buttons{flex:none}
/* Clean, wrapping item: thumbnail + name on row 1, qty/price on row 2, remove
   pinned top-right. Long names wrap instead of forcing a horizontal scroll. */
#bs-minicart .woocommerce-mini-cart-item{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:14px 26px 14px 0;min-width:0}
#bs-minicart .woocommerce-mini-cart-item>a:not(.remove){display:flex;align-items:center;gap:12px;flex:1 1 100%;min-width:0;overflow-wrap:anywhere;word-break:break-word}
#bs-minicart .woocommerce-mini-cart-item>a:not(.remove) img{flex:none;width:56px;height:56px;margin:0}
#bs-minicart .woocommerce-mini-cart-item br{display:none}
#bs-minicart .woocommerce-mini-cart-item .quantity{flex:1 1 100%;padding-left:68px;margin:0}

/* ---- Order tracking page (Bestellstatus) ------------------------------ */
.bs-track-card{background:var(--base-2);border:1px solid var(--line);border-radius:var(--r-card);padding:28px;margin:24px 0}
.bs-track-card form.track_order{display:flex;flex-direction:column;gap:16px;margin:0}
.bs-track-card form.track_order p{margin:0}
.bs-track-card form.track_order label{display:block;font-family:var(--ff-head);font-weight:600;font-size:13px;color:var(--ink);margin-bottom:7px}
.bs-track-card form.track_order input.input-text{
  width:100%;border:1px solid var(--line);border-radius:var(--r-md);background:#fff;
  padding:13px 15px;font:400 15px var(--ff-body);color:var(--ink)
}
.bs-track-card form.track_order input.input-text:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(20,20,20,.08)}
.bs-track-card form.track_order .button,.bs-track-card form.track_order button{
  align-self:flex-start;background:var(--ink);color:#fff;border:none;border-radius:var(--r-pill);
  padding:14px 30px;font:600 14px var(--ff-head);cursor:pointer;box-shadow:var(--sh-btn);transition:transform .2s var(--ease),background .2s
}
.bs-track-card form.track_order .button:hover{background:#000;transform:translateY(-2px)}
.bs-track-hint{font-size:14px;color:var(--muted);line-height:1.7;margin-top:8px}
@media(max-width:600px){.bs-track-card{padding:20px}.bs-track-card form.track_order .button{align-self:stretch;text-align:center}}

/* ---- Single product: highlights list + benefits grid ------------------ */
.bs-prod-highlights{list-style:none;margin:18px 0 4px;padding:0;display:flex;flex-direction:column;gap:10px}
.bs-prod-highlights li{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;color:var(--body);font-family:var(--ff-body);line-height:1.5}
.bs-prod-highlights .bs-ic{width:18px;height:18px;flex:none;margin-top:1px;color:var(--ink)}
.bs-prod-benefits{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 2px}
.bs-prod-benefit{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:var(--r-md);padding:12px 14px;background:#fff;transition:border-color .15s,box-shadow .15s}
.bs-prod-benefit:hover{border-color:var(--ink);box-shadow:var(--sh-sm)}
.bs-prod-benefit .bs-ic{width:22px;height:22px;flex:none;color:var(--ink)}
.bs-prod-benefit span{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.bs-prod-benefit strong{font-family:var(--ff-head);font-weight:600;font-size:13px;color:var(--ink)}
.bs-prod-benefit small{font-size:12px;color:var(--muted)}
.bs-prod-trust__badges{font-family:var(--ff-head);font-weight:600;font-size:12px;color:var(--muted);letter-spacing:.3px}
@media(max-width:480px){.bs-prod-benefits{grid-template-columns:1fr}}

/* ====================================================================== */
/* CLASSIC checkout + cart (shortcode) — works with every payment gateway */
/* (PayPal, Stripe, bank transfer, COD…). Styled to match the theme.      */
/* ====================================================================== */
.bs-checkout-page .woocommerce,.bs-cart-page .woocommerce{font-family:var(--ff-body)}
/* notices / coupon toggle */
.woocommerce-checkout .woocommerce-info,.woocommerce-checkout .woocommerce-message,
.bs-cart-page .woocommerce-info,.bs-cart-page .woocommerce-message{border-radius:var(--r-md);padding:14px 18px;font-size:14px}
/* two-column: customer details + order review side by side on desktop */
@media(min-width:861px){
  .woocommerce-checkout form.checkout.woocommerce-checkout{display:grid;grid-template-columns:1fr 400px;grid-template-rows:auto 1fr;column-gap:40px;align-items:start}
  /* billing/shipping spans the full height of the left column… */
  .woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / 3}
  /* …while the heading + order-review stack together at the TOP of the right
     column (sticky), instead of dropping to the bottom of the form */
  .woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0 0 14px}
  .woocommerce-checkout #order_review{grid-column:2;grid-row:2;position:sticky;top:96px;align-self:start}
}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none;width:100%}
.woocommerce-checkout h3,.woocommerce-checkout #order_review_heading{font-family:var(--ff-head);font-size:19px;letter-spacing:-.01em;margin-bottom:16px}
/* form fields */
.woocommerce form .form-row label{margin-bottom:6px;display:block;font-size:13px}
.woocommerce form .form-row{margin-bottom:14px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout select{border:1px solid var(--line)!important;border-radius:var(--r-md)!important;padding:13px 15px!important;height:auto!important;font-size:16px;background:#fff;min-height:48px;line-height:1.4}
.woocommerce-checkout .select2-container .select2-selection__rendered{line-height:1.4;padding:0}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
/* order review card */
.woocommerce-checkout #order_review{border:1px solid var(--line);border-radius:var(--r-card);background:var(--base-2);padding:24px;box-shadow:var(--sh-sm)}
.woocommerce-checkout #order_review .shop_table{background:transparent;border:none;margin:0 0 16px;font-size:14px}
.woocommerce-checkout #order_review .shop_table th,.woocommerce-checkout #order_review .shop_table td{padding:10px 0;border-bottom:1px solid var(--line)}
.woocommerce-checkout #order_review .order-total .amount{font-family:var(--ff-head);font-weight:700;font-size:18px;color:var(--ink)}
/* payment methods */
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:8px 14px;margin:0 0 16px;list-style:none}
.woocommerce-checkout #payment ul.payment_methods li{padding:10px 0;border-bottom:1px solid var(--line);list-style:none}
.woocommerce-checkout #payment ul.payment_methods li:last-child{border-bottom:none}
.woocommerce-checkout #payment ul.payment_methods li label{font-family:var(--ff-head);font-weight:600;font-size:14px;color:var(--ink);display:inline}
.woocommerce-checkout #payment div.payment_box{background:#fff!important;border:1px solid var(--line);border-radius:var(--r-sm);font-size:13px;color:var(--body);padding:14px 16px;margin:8px 0 4px;line-height:1.6}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment ul.payment_methods li input[type=radio]{accent-color:var(--ink)}
.woocommerce-checkout #payment ul.payment_methods li img{display:none}
.woocommerce-checkout #payment div.form-row.place-order{padding:16px 0 0}
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout #payment button#place_order{width:100%;background:var(--ink);color:#fff;border:none;border-radius:var(--r-pill);padding:16px;font:600 15px var(--ff-head);box-shadow:var(--sh-btn);transition:transform .2s var(--ease),background .2s}
.woocommerce-checkout #payment #place_order:hover{background:#000;transform:translateY(-2px)}
.woocommerce-privacy-policy-text{font-size:12.5px;color:var(--muted);margin-top:10px}
/* classic cart */
.bs-cart-page table.cart{border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden}
.bs-cart-page table.cart th{font-family:var(--ff-head);font-size:13px;background:var(--base-2)}
.bs-cart-page table.cart td.product-name a{color:var(--ink);font-weight:600;text-decoration:none}
.bs-cart-page .cart_totals{border:1px solid var(--line);border-radius:var(--r-card);background:var(--base-2);padding:24px;max-width:100%;box-sizing:border-box}
/* keep the totals table within the container on mobile (no horizontal overflow) */
.bs-cart-page .cart_totals table,.bs-cart-page .cart_totals table.shop_table{width:100%;table-layout:fixed;margin:0}
.bs-cart-page .cart_totals td,.bs-cart-page .cart_totals th{overflow-wrap:anywhere;word-break:break-word}
.bs-cart-page .cart_totals h2{font-family:var(--ff-head);font-size:19px;margin-bottom:14px}
.bs-cart-page .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;background:var(--ink);color:#fff;border-radius:var(--r-pill);padding:15px;font:600 15px var(--ff-head);box-shadow:var(--sh-btn)}
.bs-cart-page .wc-proceed-to-checkout a.checkout-button:hover{background:#000}
@media(min-width:861px){.bs-cart-page .woocommerce form.woocommerce-cart-form,.bs-cart-page .cart-collaterals{display:block}}

/* ---- Classic cart table polish ---------------------------------------- */
.bs-cart-page table.cart{border-collapse:separate;border-spacing:0}
.bs-cart-page table.cart thead th{padding:16px 18px;font-size:12px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);border:none}
.bs-cart-page table.cart td{padding:18px;vertical-align:middle;border-top:1px solid var(--line);background:#fff}
.bs-cart-page table.cart td.product-thumbnail img{width:72px;height:72px;object-fit:cover;border:1px solid var(--line);border-radius:var(--r-md);background:#fff}
.bs-cart-page table.cart td.product-name a{font-family:var(--ff-head);font-size:15px}
.bs-cart-page table.cart td.product-price,.bs-cart-page table.cart td.product-subtotal{font-family:var(--ff-head);color:var(--ink)}
/* subtle round × remove button (not the default big red ×) */
.bs-cart-page td.product-remove a.remove{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--base-2)!important;color:var(--muted)!important;font-size:18px;line-height:1;border:1px solid var(--line);transition:.15s;text-decoration:none}
.bs-cart-page td.product-remove a.remove:hover{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)}
/* compact, theme-styled quantity field */
.bs-cart-page .quantity input.qty,.woocommerce .quantity input.qty{width:64px;height:44px;text-align:center;border:1px solid var(--line);border-radius:var(--r-pill);font:600 16px var(--ff-head);background:#fff;-moz-appearance:textfield;padding:0 8px}
.bs-cart-page .quantity input.qty::-webkit-outer-spin-button,.bs-cart-page .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* coupon + update row */
.bs-cart-page td.actions .coupon{display:inline-flex;gap:10px}
.bs-cart-page td.actions .coupon input#coupon_code{height:46px;border:1px solid var(--line);border-radius:var(--r-pill);padding:0 18px;min-width:150px}
.bs-cart-page td.actions{padding:18px;background:var(--base-2);border-top:1px solid var(--line)}
.bs-cart-page td.actions .button{border-radius:var(--r-pill)!important;padding:13px 24px!important}
@media(max-width:860px){
  .bs-cart-page table.cart td.product-remove{position:absolute;right:8px;top:8px;border:none;padding:0}
  .bs-cart-page table.cart td{padding:12px}
}

/* ---- Out-of-stock: never present an active "buy" button (GMC compliance) */
li.product.outofstock .button,
.wc-block-product.is-not-purchasable .wp-block-button__link,
.wc-block-product .wp-block-button__link[href*="/product/"]:not([href*="add-to-cart"]).is-oos{
  background:var(--base-2)!important;color:var(--muted)!important;border:1px solid var(--line)!important;
  box-shadow:none!important;cursor:default
}
li.product.outofstock .button:hover{background:var(--base-2)!important;color:var(--muted)!important;transform:none}
/* out-of-stock label chip on the single product */
.woocommerce div.product p.stock.out-of-stock,.wc-block-components-product-stock-indicator--out-of-stock{
  display:inline-block;background:#fbf2f2;color:#a3271f;border:1px solid #ecd2cf;border-radius:var(--r-pill);
  padding:8px 16px;font:600 13px var(--ff-head);margin:8px 0
}

/* ====================================================================== */
/* Shop archive rendered with brandstore_product_card() (matches homepage) */
/* ====================================================================== */
/* structural (high specificity beats WC-core), but NOT grid-template-columns so
   the responsive + switcher rules below can win */
.woocommerce ul.products.bs-pcard-grid,ul.products.bs-pcard-grid{list-style:none;margin:0;padding:0;width:100%;display:grid;gap:28px;clear:both}
.bs-pcard-grid{grid-template-columns:repeat(3,1fr)}
/* beat WooCommerce-core loop CSS (.woocommerce ul.products li.product{width:30.75%;float:left}) */
.woocommerce ul.products.bs-pcard-grid>li.product,ul.products.bs-pcard-grid>li.product{margin:0!important;padding:0!important;background:transparent!important;border:0!important;float:none!important;width:auto!important;min-height:0!important;height:auto!important;align-self:start;display:block}
.bs-pcard-grid>li.product::before,.bs-pcard-grid>li.product::after{display:none;content:none}
/* kill the WooCommerce-core clearfix pseudo-element — as a grid item it leaves
   the top-left cell empty and shifts the first product to cell 2 */
.woocommerce ul.products.bs-pcard-grid::before,.woocommerce ul.products.bs-pcard-grid::after,
ul.products.bs-pcard-grid::before,ul.products.bs-pcard-grid::after{content:none!important;display:none!important}
/* fixed responsive grid (switcher removed): 3 cols ≥1025px · 2 cols ≤1024px */
@media(max-width:1024px){.bs-pcard-grid{grid-template-columns:repeat(2,1fr);gap:18px}}
@media(max-width:560px){.bs-pcard-grid{gap:12px}}
/* pagination — centered row of uniform round buttons */
.bs-pagination{margin-top:32px}
.bs-pagination nav.woocommerce-pagination,.bs-pagination ul.page-numbers,.bs-pagination ul{display:flex!important;justify-content:center;align-items:center;gap:8px;list-style:none;padding:0;margin:0;border:0;flex-wrap:wrap}
.bs-pagination li{margin:0;list-style:none;border:0}
.bs-pagination a.page-numbers,.bs-pagination span.page-numbers{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;line-height:1;border-radius:50%;text-decoration:none;border:1px solid var(--line);background:transparent;color:var(--color-dark);font-family:var(--ff-head);font-weight:600;font-size:14px;box-sizing:border-box;transition:all var(--speed) var(--ease)}
.bs-pagination a.page-numbers:hover{border-color:var(--color-dark)}
.bs-pagination .page-numbers.current{background:var(--color-dark);color:#fff;border-color:var(--color-dark)}
.bs-pagination .page-numbers.dots{border:0;background:transparent;width:auto;min-width:24px}
.bs-shop__empty{margin:30px 0}

/* ====================================================================== */
/* v1.9.5 — Shop hero, toolbar, grid views, filter sidebar, cart drawer    */
/* ====================================================================== */
/* centered hero */
.bs-shop-hero{text-align:center;max-width:780px;margin:0 auto 40px;padding-top:18px}
.bs-shop-hero .woocommerce-breadcrumb,.bs-shop-hero .wc-block-breadcrumbs{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;margin:0 0 14px;font-size:13px;color:var(--color-grey)}
.bs-shop-hero .woocommerce-breadcrumb a,.bs-shop-hero .wc-block-breadcrumbs a{color:var(--color-grey)}
.bs-shop-hero .woocommerce-breadcrumb a:hover{color:var(--color-dark)}
.bs-shop-hero h1,.bs-shop-hero .wp-block-query-title{font-family:var(--ff-head);font-weight:600;font-size:clamp(40px,5vw,64px);line-height:1.05;letter-spacing:-.02em;color:var(--color-dark);margin:0}

/* columns */
.bs-shop-cols{align-items:flex-start}
@media(min-width:901px){.bs-shop-sidebar{position:sticky;top:120px}}

/* toolbar */
.bs-shoptools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.bs-shoptools__count{font-size:12.5px;color:var(--color-grey);line-height:1.45}
.bs-shoptools__count strong{color:var(--color-dark);font-weight:700;font-size:15px}
.bs-shoptools__sort{display:flex;align-items:center;gap:10px}
.bs-shoptools__sortlbl{font-size:13px;color:var(--color-grey);white-space:nowrap}
.bs-shoptools__sort .woocommerce-ordering{margin:0}
.bs-shoptools .woocommerce-ordering select,.bs-shoptools select.orderby{border:1px solid var(--line);border-radius:var(--r-pill);padding:11px 38px 11px 18px;font-family:var(--ff-head);font-weight:500;font-size:13px;background:#fff;color:var(--color-dark);-webkit-appearance:none;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");background-repeat:no-repeat;background-position:right 14px center}
.bs-filter-toggle{display:none;align-items:center;gap:8px;background:none;border:1px solid var(--line);border-radius:var(--r-pill);padding:9px 18px;font:600 13px var(--ff-head);color:var(--color-dark);cursor:pointer}
.bs-filter-toggle .bs-ic{width:16px;height:16px}

/* ---- Mobile toolbar: stack, no overlap; sort is a full-width labeled pill -- */
@media(max-width:900px){
  .bs-shoptools{flex-direction:column;align-items:stretch;gap:12px}
  .bs-filter-toggle{display:inline-flex;align-self:flex-start}
  .bs-shoptools__count{order:-1}
  .bs-shoptools__sort{flex-direction:column;align-items:stretch;gap:6px;width:100%}
  .bs-shoptools__sortlbl{white-space:nowrap}
  .bs-shoptools .woocommerce-ordering{width:100%;margin:0}
  .bs-shoptools select.orderby{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
}

/* filter accordion sidebar */
.bs-filters{font-family:var(--ff-body)}
.bs-shop-sidebar__head{display:none;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);margin-bottom:6px}
.bs-shop-sidebar__head h3{margin:0;font:600 18px var(--ff-head);color:var(--color-dark)}
.bs-acc{border-bottom:1px solid var(--line)}
.bs-acc__head{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;padding:16px 0;font:600 15px var(--ff-head);color:var(--color-dark);cursor:pointer;text-align:left}
.bs-acc__ic{position:relative;width:14px;height:14px;flex:none}
.bs-acc__ic::before,.bs-acc__ic::after{content:"";position:absolute;background:var(--color-dark);transition:transform var(--speed) var(--ease)}
.bs-acc__ic::before{top:6px;left:0;width:14px;height:2px}
.bs-acc__ic::after{top:0;left:6px;width:2px;height:14px}
.bs-acc.is-open .bs-acc__ic::after{transform:scaleY(0)}
.bs-acc__body{max-height:0;overflow:hidden;transition:max-height var(--speed) var(--ease)}
.bs-acc.is-open .bs-acc__body{max-height:640px}
.bs-acc__body>*:first-child{margin-top:2px}
.bs-acc__body{padding:0}
.bs-acc.is-open .bs-acc__body{padding-bottom:18px}
.bs-filtercats{list-style:none;margin:0;padding:0}
.bs-filtercats li{padding:6px 0}
.bs-filtercats a{display:flex;justify-content:space-between;gap:10px;color:var(--color-text);text-decoration:none;font-size:14px}
.bs-filtercats a:hover{color:var(--color-primary)}
.bs-filtercats li.is-current a{color:var(--color-dark);font-weight:600}
.bs-filtercats__n{color:var(--color-grey)}
.bs-check{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:14px;color:var(--color-text);cursor:pointer}
.bs-check input{width:18px;height:18px;accent-color:var(--color-dark);flex:none}
.bs-check em{color:var(--color-grey);font-style:normal}
/* price dual-range */
.bs-price{position:relative;height:34px;margin:6px 0 14px}
.bs-price__track{position:absolute;top:15px;left:0;right:0;height:4px;border-radius:4px;background:var(--line)}
.bs-price__fill{position:absolute;top:0;bottom:0;background:var(--color-dark);border-radius:4px}
.bs-price__range{position:absolute;top:7px;left:0;width:100%;height:20px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.bs-price__range::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:18px;height:18px;border-radius:50%;background:var(--color-dark);border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3);cursor:pointer}
.bs-price__range::-moz-range-thumb{pointer-events:auto;width:18px;height:18px;border-radius:50%;background:var(--color-dark);border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3);cursor:pointer}
.bs-price__range::-webkit-slider-runnable-track,.bs-price__range::-moz-range-track{background:none;border:0}
.bs-price__inputs{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--color-grey)}
.bs-price__num{width:64px;border:1px solid var(--line);border-radius:8px;padding:7px 8px;font-family:var(--ff-body);min-height:0}
.bs-price__readout{margin-top:10px;font-size:13px;color:var(--color-dark);font-weight:600}
.bs-filterform__actions{margin-top:18px;display:flex;align-items:center;gap:14px}
.bs-filterapply{background:var(--color-dark);color:#fff;border:0;border-radius:var(--btn-radius);padding:11px 26px;font:600 13px var(--ff-head);cursor:pointer;transition:opacity var(--speed) var(--ease)}
.bs-filterapply:hover{opacity:.92}
.bs-filterreset{font-size:13px;color:var(--color-grey);text-decoration:underline}

/* sidebar → left drawer on mobile */
@media(max-width:900px){
  .bs-shop-cols{display:block}
  .bs-shop-cols .bs-shop-main{width:100%}
  .bs-shop-sidebar{position:fixed!important;top:0;left:0;height:100%;width:330px;max-width:88vw;background:#fff;z-index:100;transform:translateX(-105%);transition:transform var(--speed) var(--ease);overflow-y:auto;flex-basis:auto!important;box-shadow:0 0 40px rgba(0,0,0,.12)}
  .bs-shop-sidebar.is-open{transform:translateX(0)}
  .bs-shop-sidebar .bs-filters{padding:0 20px 24px}
  .bs-shop-sidebar__head{display:flex}
}

/* cart drawer additions */
.bs-minicart__urgency{display:flex;align-items:center;gap:6px;padding:11px 24px;background:#fdf2f1;color:#b3261e;font-size:13px;border-bottom:1px solid var(--line)}
.bs-minicart__agb{display:flex;align-items:center;gap:10px;padding:14px 24px 6px;font-size:13px;color:var(--color-text)}
.bs-minicart__agb input{width:18px;height:18px;accent-color:var(--color-dark);flex:none}
.bs-minicart__agb a{color:var(--color-dark);text-decoration:underline}
.woocommerce-mini-cart__buttons a.checkout.is-disabled{opacity:.4;pointer-events:none}
.bs-shipbar__track span{background:repeating-linear-gradient(45deg,var(--badge-limited),var(--badge-limited) 8px,#1f9e63 8px,#1f9e63 16px)}

/* ====================================================================== */
/* v1.9.8 — Shop polish: ATC artifact, pagination glyphs, empty state,     */
/*          sidebar alignment, single-font enforcement                     */
/* ====================================================================== */
/* 1. hide the post-add "Warenkorb anzeigen" link injected into the card */
.bs-pcard .added_to_cart,.bs-pcard__atcbar .added_to_cart,.bs-pcard a.added_to_cart{display:none!important}

/* 2. optically centre the pagination number/arrow inside the 44px circles */
.bs-pagination a.page-numbers,.bs-pagination span.page-numbers,
.bs-pagination .woocommerce-pagination a,.bs-pagination .woocommerce-pagination span{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:15px;text-align:center}
.bs-pagination .next.page-numbers,.bs-pagination .prev.page-numbers{font-size:17px}

/* 3a. zero-result empty state */
.bs-no-results{text-align:center;padding:48px 24px;max-width:520px;margin:24px auto;font-family:var(--ff-body)}
.bs-no-results__title{font-family:var(--ff-head);font-weight:600;font-size:26px;color:var(--color-dark);margin:0 0 10px}
.bs-no-results__text{font-size:15px;line-height:1.6;color:var(--color-grey);margin:0 0 22px}
.bs-no-results__btn{display:inline-flex;align-items:center;justify-content:center;background:var(--color-dark);color:#fff;border-radius:var(--btn-radius);padding:12px 28px;font:600 14px var(--ff-head);text-decoration:none;transition:opacity var(--speed) var(--ease)}
.bs-no-results__btn:hover{opacity:.92;color:#fff}

/* 3b. result-count (now single-line) + sidebar alignment & even spacing */
.bs-shoptools__count{line-height:1.5}
@media(min-width:901px){.bs-filters .bs-acc:first-of-type .bs-acc__head{padding-top:0}}
.bs-acc__head{padding:15px 0}
.bs-acc{border-bottom:1px solid #e6e5e1}
.bs-acc.is-open .bs-acc__body{padding-bottom:18px}
.bs-filtercats li{padding:7px 0}
.bs-filtercats a,.bs-check,.bs-price__readout,.bs-price__inputs{padding-left:0;margin-left:0}
.bs-filtercats__n,.bs-shop-sidebar .count{color:var(--color-grey);font-weight:600;font-size:12px}

/* 4. enforce ONE font everywhere on the shop (incl. native select + options) */
.bs-shop-sidebar,.bs-shop-sidebar *,.bs-shoptools,.bs-shoptools *,.bs-pcard,.bs-pcard *,
.bs-pagination,.bs-pagination *,.woocommerce-pagination,.woocommerce-pagination *,
.bs-shoptools .woocommerce-ordering select,.bs-shoptools select.orderby,
.bs-shoptools .woocommerce-ordering option,.bs-shoptools select.orderby option,
.bs-shop-sidebar .count,.bs-no-results,.bs-no-results *{font-family:var(--ff-body)!important}

/* ==========================================================================
   Shopify-style checkout — clean two-pane: customer details on the left,
   order summary on a calm sticky rail to the right; one column on mobile.
   Uses theme color tokens so it stays on-brand.
   ========================================================================== */
/* Shopify shows no big page heading on checkout — the logo header is enough */
.bs-checkout-page .wp-block-post-title{display:none}
.bs-checkout-page .bs-wrap{max-width:1040px}

@media(min-width:861px){
  .bs-checkout-page form.checkout.woocommerce-checkout{grid-template-columns:1fr 416px;column-gap:64px}
  .bs-checkout-page #order_review{top:40px;padding:28px 26px;border-radius:14px}
}

/* section headings: Kontakt / Lieferadresse / Zahlung */
.bs-checkout-page #customer_details h3,
.bs-checkout-page #order_review_heading{font-size:18px;font-weight:600;letter-spacing:-.01em;margin-bottom:18px}

/* inputs — Shopify-clean: tall, soft border, calm focus ring (no iOS zoom: 16px) */
.bs-checkout-page form .form-row input.input-text,
.bs-checkout-page form .form-row textarea,
.bs-checkout-page select,
.bs-checkout-page .select2-container--default .select2-selection--single{
  font-size:16px!important;min-height:52px;border:1px solid #dcdcdc!important;border-radius:9px!important;padding:14px 15px!important;
  transition:border-color .15s,box-shadow .15s
}
.bs-checkout-page form .form-row input.input-text:focus,
.bs-checkout-page form .form-row textarea:focus,
.bs-checkout-page select:focus{border-color:var(--ink)!important;box-shadow:0 0 0 3px rgba(20,20,20,.10)!important;outline:none}
.bs-checkout-page form .form-row{margin-bottom:16px}
.bs-checkout-page form .form-row label{font-size:13px;color:var(--muted);font-weight:500;margin-bottom:7px}

/* order summary table — roomy Shopify spacing */
.bs-checkout-page #order_review .shop_table th,
.bs-checkout-page #order_review .shop_table td{padding:12px 0;font-size:14.5px}
.bs-checkout-page #order_review .cart_item .product-name{color:var(--ink);font-weight:500}
.bs-checkout-page #order_review .order-total th{font-size:15px}
.bs-checkout-page #order_review .order-total .amount{font-size:20px}

/* pay button — full-width, prominent */
.bs-checkout-page #payment #place_order,
.bs-checkout-page #payment button#place_order{font-size:16px;padding:17px;border-radius:12px;letter-spacing:.2px}

/* mobile: one column, summary below details, never overflow the viewport */
@media(max-width:860px){
  .bs-checkout-page #order_review{margin-top:8px;padding:22px 20px}
  .bs-checkout-page #order_review .shop_table{table-layout:fixed;width:100%}
  .bs-checkout-page #order_review .shop_table td,
  .bs-checkout-page #order_review .shop_table th{overflow-wrap:anywhere;word-break:break-word}
  .bs-checkout-page #customer_details .col2-set{display:block}
}

/* ==========================================================================
   Order confirmation / thank-you — minimal checkout chrome (logo header +
   slim footer), content styled to match the store. Template:
   templates/order-confirmation.html.
   ========================================================================== */
.bs-thankyou-page .bs-wrap{max-width:1040px}
.bs-thankyou-page .wp-block-post-title{display:none}
.bs-thankyou-page,.bs-thankyou-page .bs-wrap{overflow-x:hidden}

/* status: centered, with a success check */
.bs-thankyou-page .wc-block-order-confirmation-status{max-width:640px;margin:8px auto 40px;text-align:center}
.bs-thankyou-page .wc-block-order-confirmation-status::before{content:"";display:block;width:58px;height:58px;margin:0 auto 18px;border-radius:50%;background:#e8f6ee url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/28px no-repeat}
.bs-thankyou-page .wc-block-order-confirmation-status h1,
.bs-thankyou-page .wc-block-order-confirmation-status .wp-block-heading{font-family:var(--ff-head);font-size:clamp(26px,4vw,34px);letter-spacing:-.01em;margin:0 0 12px;color:var(--ink)}
.bs-thankyou-page .wc-block-order-confirmation-status p{color:var(--body);font-size:15.5px;line-height:1.7;margin:0}

/* section headings */
.bs-thankyou-page h2,.bs-thankyou-page h3{font-family:var(--ff-head);font-size:18px;font-weight:600;letter-spacing:-.01em;margin:0 0 14px;color:var(--ink)}

/* card look for summary + address panels */
.bs-thankyou-page .wc-block-order-confirmation-summary,
.bs-thankyou-page .wc-block-order-confirmation-shipping-address,
.bs-thankyou-page .wc-block-order-confirmation-billing-address,
.bs-thankyou-page .wc-block-order-confirmation-additional-information{border:1px solid var(--line);border-radius:14px;background:var(--base-2);padding:22px 24px;margin:0 0 24px}
.bs-thankyou-page .wc-block-order-confirmation-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;list-style:none}
.bs-thankyou-page .wc-block-order-confirmation-summary>*{min-width:0;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:3px}
.bs-thankyou-page .wc-block-order-confirmation-summary .wc-block-order-confirmation-summary-list-item__key,
.bs-thankyou-page .wc-block-order-confirmation-summary dt{font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);font-family:var(--ff-head);font-weight:600}
.bs-thankyou-page .wc-block-order-confirmation-summary .wc-block-order-confirmation-summary-list-item__value,
.bs-thankyou-page .wc-block-order-confirmation-summary dd{margin:0;font-weight:600;color:var(--ink);overflow-wrap:anywhere}

/* totals + any order tables */
.bs-thankyou-page table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14.5px;margin:0}
.bs-thankyou-page table th,.bs-thankyou-page table td{padding:12px 10px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere;word-break:break-word}
.bs-thankyou-page table tfoot th,.bs-thankyou-page table tfoot td{font-weight:700;color:var(--ink)}
.bs-thankyou-page .wc-block-order-confirmation-totals{margin-bottom:24px}

/* mobile: single column, no overflow */
@media(max-width:781px){
  .bs-thankyou-page .wc-block-order-confirmation-summary{grid-template-columns:1fr}
  .bs-thankyou-page .bs-thankyou-cols{display:block}
  .bs-thankyou-page .bs-thankyou-cols .wp-block-column{flex-basis:100%!important}
}
