/* ============================================================================
   BAGS OF SWANK — WooCommerce stylesheet
   Shop grid, product cards, theme-owned PDP (bos-ppv), gallery, swatches,
   buy-now, sticky ATC, filters, cart, checkout, account. Loaded after
   theme.css; all values come from the same Vault token set.
   ============================================================================ */

.bos-woocommerce-main { width: min(1280px, 100% - (2 * var(--bos-gutter))); margin-inline: auto; padding: 26px 0 var(--bos-section-tight); }
.woocommerce-breadcrumb { font-size: 12.5px; color: var(--bos-muted); margin-bottom: 18px; }
.woocommerce-breadcrumb a { color: var(--bos-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--bos-brand); }
.bos-breadcrumb-sep { color: var(--bos-line); }

/* ---------- notices ---------------------------------------------------------- */

.woocommerce-notices-wrapper { margin-bottom: 18px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border: 1px solid var(--bos-line); border-left: 4px solid var(--bos-brand); border-radius: 10px;
  background: var(--bos-mist); color: var(--bos-ink); padding: 14px 16px; margin: 0 0 14px; font-size: 14px; list-style: none;
}
.woocommerce-error { border-left-color: var(--bos-red); background: #fdecea; }
.woocommerce-message { border-left-color: var(--bos-green); background: #e9f8f0; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { font-weight: 700; }
.woocommerce-message .button, .woocommerce-info .button { padding: 9px 16px; font-size: 12px; }

/* ---------- shared price / rating / sale pill --------------------------------- */

.price { font: 700 15.5px/1.2 var(--bos-display); color: var(--bos-ink); }
.price ins { color: var(--bos-red); text-decoration: none; }
.price del { color: var(--bos-muted); font-weight: 500; font-size: .86em; margin-right: 6px; }
.onsale {
  position: absolute; top: 12px; left: 12px; z-index: 5;
  background: var(--bos-red); color: #fff; font: 800 11px/1 var(--bos-sans); letter-spacing: .4px;
  border-radius: 999px; padding: 6px 10px; box-shadow: 0 6px 14px rgba(224, 75, 58, .35);
}
.star-rating { display: inline-block; position: relative; font-family: star; font-size: 13px; letter-spacing: 1.5px; line-height: 1; color: var(--bos-gold); }
.star-rating span, .star-rating strong { overflow: visible; }
.star-rating::before { content: none; }

/* ---------- product cards (shop + shortcodes + related) ------------------------ */

ul.products {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products li.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--bos-paper); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m);
  overflow: hidden; transition: transform .24s var(--bos-ease), box-shadow .24s var(--bos-ease), border-color .24s;
}
ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--bos-shadow-2); border-color: #d8d0ee; }
ul.products li.product .woocommerce-loop-product__link { display: block; text-decoration: none; color: inherit; }
ul.products li.product .woocommerce-loop-product__link img {
  display: block; width: 100%; min-width: 0; min-height: 0; aspect-ratio: 1 / 1; object-fit: contain; opacity: 1; visibility: visible;
  background: linear-gradient(180deg, #faf9fe 0%, var(--bos-mist) 100%);
  padding: clamp(10px, 1.4vw, 18px);
  margin: 0; transition: transform .45s var(--bos-ease); border-bottom: 1px solid var(--bos-line);
}
ul.products li.product:hover .woocommerce-loop-product__link img { transform: scale(1.05); }
ul.products li.product .woocommerce-loop-category__title, ul.products li.product .woocommerce-loop-product__title {
  font: 600 14px/1.4 var(--bos-sans); color: var(--bos-ink); margin: 12px 14px 0; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
ul.products li.product:hover .woocommerce-loop-product__title { color: var(--bos-brand); }
ul.products li.product .woocommerce-loop-product__link .star-rating { margin: 6px 14px 0; }
ul.products li.product .price { margin: 6px 14px 14px; }
ul.products li.product .onsale { top: 10px; left: 10px; }
ul.products li.product .button, ul.products li.product .add_to_cart_button {
  margin: auto 14px 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11.5px 14px; border-radius: 999px; border: 1.5px solid var(--bos-line); background: var(--bos-paper);
  color: var(--bos-ink); font: 700 12.5px/1 var(--bos-sans); text-decoration: none; text-align: center;
  transition: all .18s var(--bos-ease);
}
ul.products li.product .button:hover, ul.products li.product .add_to_cart_button:hover {
  background: var(--bos-brand); border-color: var(--bos-brand); color: #fff;
}
ul.products li.product .add_to_cart_button.added { background: var(--bos-green); border-color: var(--bos-green); color: #fff; }
ul.products li.product .button.added { pointer-events: none; background: var(--bos-green); border-color: var(--bos-green); color: #fff; }
ul.products li.product .added_to_cart { display: none; }

/* product-card floating tool trio */
.bos-product-tools {
  position: absolute; top: 10px; right: 10px; z-index: 6; display: grid; gap: 6px;
}
@media (hover: hover) and (min-width: 821px) {
  .bos-product-tools { opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--bos-ease), transform .2s var(--bos-ease); }
  ul.products li.product:hover .bos-product-tools, .bos-recent-card:hover .bos-product-tools { opacity: 1; transform: none; }
}
.bos-product-tools button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bos-line);
  background: var(--bos-paper); color: var(--bos-ink); box-shadow: var(--bos-shadow-1);
  display: inline-flex; align-items: center; justify-content: center; transition: all .16s var(--bos-ease);
}
.bos-product-tools button:hover { background: var(--bos-brand); border-color: var(--bos-brand); color: #fff; }
.bos-product-tools button svg { width: 15.5px; height: 15.5px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bos-product-tools button.is-active { background: var(--bos-gold); border-color: var(--bos-gold); color: var(--bos-ink-deep); }

/* ---------- catalogue tools: chips / filter / sort ---------------------------- */

.bos-catalogue-tools { display: flex; align-items: center; gap: 14px; margin: 6px 0 4px; }
.bos-filter-drawer { position: relative; margin: 12px 0 4px; }
.bos-filter-drawer > summary {
  display: inline-flex; align-items: center; gap: 9px; list-style: none; cursor: pointer;
  border: 1.5px solid var(--bos-line); border-radius: 999px; background: var(--bos-paper); padding: 10px 17px;
  transition: border-color .18s, background .18s;
}
.bos-filter-drawer > summary::-webkit-details-marker { display: none; }
.bos-filter-drawer > summary span { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--bos-sans); }
.bos-filter-drawer > summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bos-filter-drawer > summary small { color: var(--bos-muted); font-size: 11.5px; padding-left: 9px; border-left: 1px solid var(--bos-line); }
.bos-filter-drawer[open] > summary { border-color: var(--bos-brand); background: var(--bos-mist); }
.bos-filter-drawer .bos-filter-form {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(330px, calc(100vw - 40px));
  background: var(--bos-paper); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m);
  box-shadow: var(--bos-shadow-2); padding: 18px; display: grid; gap: 16px;
}
.bos-filter-price, .bos-filter-checks { display: grid; gap: 8px; }
.bos-filter-price strong, .bos-filter-checks strong { font: 700 11.5px/1 var(--bos-display); letter-spacing: 1.6px; text-transform: uppercase; color: var(--bos-muted); }
.bos-filter-price label, .bos-filter-checks label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.bos-filter-price label span { font-weight: 600; font-size: 12px; color: var(--bos-muted); }
.bos-filter-checks input { accent-color: var(--bos-brand); width: 16px; height: 16px; }
.bos-filter-actions { display: flex; gap: 14px; align-items: center; }
.bos-filter-actions a { color: var(--bos-muted); font-size: 12.5px; text-decoration: none; }
.bos-filter-actions a:hover { color: var(--bos-red); }
.bos-filter-actions button { border: 0; border-radius: 999px; padding: 10px 20px; background: var(--bos-ink); color: #fff; font: 700 12.5px/1 var(--bos-sans); }
.bos-filter-actions button:hover { background: var(--bos-brand); }
.bos-catalogue-sortbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 14px 0 18px; padding: 10px 12px; background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m);
}
.bos-catalogue-sortbar .woocommerce-result-count { margin: 0; font-size: 12.5px; color: var(--bos-muted); }
.bos-catalogue-sortbar .woocommerce-ordering { margin: 0; }
.bos-catalogue-sortbar select { width: auto; padding: 8px 12px; border-radius: 8px; font-size: 13px; background: var(--bos-paper); }

/* pagination + load more */
.woocommerce-pagination { margin-top: 26px; }
.woocommerce-pagination ul { display: flex; gap: 8px; justify-content: center; border: 0; margin: 0; padding: 0; }
.woocommerce-pagination ul li { border: 0; float: none; margin: 0; }
.woocommerce-pagination .page-numbers { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--bos-line); border-radius: 10px; background: var(--bos-paper); text-decoration: none; color: var(--bos-ink); font-weight: 600; }
.woocommerce-pagination .page-numbers.current { background: var(--bos-brand); border-color: var(--bos-brand); color: #fff; }
.woocommerce-pagination .page-numbers:hover:not(.current) { border-color: var(--bos-brand); color: var(--bos-brand); }
.bos-load-more {
  display: flex; margin: 18px auto 0; border: 1.5px solid var(--bos-line); border-radius: 999px; background: var(--bos-paper);
  padding: 13px 30px; font: 700 13.5px/1 var(--bos-sans); color: var(--bos-ink); transition: all .18s;
}
.bos-load-more:hover { border-color: var(--bos-brand); color: var(--bos-brand); }
.bos-load-more:disabled { opacity: .6; }
.woocommerce-no-products-found { text-align: center; padding: 50px 20px; }
.woocommerce-no-products-found .woocommerce-info { display: inline-block; }

/* archive description */
.term-description, .page-description { color: var(--bos-muted); max-width: 70ch; }

/* ============================================================================
   PRODUCT PAGE — theme-owned bos-ppv layout
   ============================================================================ */

body.single-product div.product.bos-ppv { display: block; }
.bos-ppv { max-width: 1280px; margin-inline: auto; }
.bos-ppv__head { margin-bottom: 20px; }
.bos-ppv__crumbs { margin: 0 0 8px; font: 700 11px/1 var(--bos-display); letter-spacing: 1.9px; text-transform: uppercase; }
.bos-ppv__crumbs a { color: var(--bos-muted); text-decoration: none; }
.bos-ppv__crumbs a:hover { color: var(--bos-brand); }
.bos-ppv__title { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 7px; letter-spacing: -0.01em; }
.bos-ppv__metas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--bos-muted); font-size: 13px; margin: 0; }
.bos-ppv__metas b { color: var(--bos-ink); }
.bos-ppv__revlink { color: var(--bos-ink); text-decoration: none; font-weight: 600; }
.bos-ppv__revlink { color: var(--bos-gold); }
.bos-ppv__revlink span { color: var(--bos-muted); font-weight: 500; }
.bos-ppv__revlink:hover span { color: var(--bos-brand); }

.bos-ppv__grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(340px, .72fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; }

/* gallery */
.bos-product-gallery { position: relative; display: grid; gap: 12px; }
.bos-product-gallery .onsale { top: 14px; left: 14px; z-index: 4; }
.bos-product-gallery__stage {
  position: relative; margin: 0; border: 1px solid var(--bos-line); border-radius: var(--bos-radius-l);
  overflow: hidden; background: var(--bos-mist);
}
.bos-product-gallery__main-image { display: block; width: 100%; aspect-ratio: 1/1; object-fit: contain; cursor: zoom-in; }
.bos-product-gallery__zoom {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bos-paper); border: 1px solid var(--bos-line); box-shadow: var(--bos-shadow-1);
  display: inline-flex; align-items: center; justify-content: center; color: var(--bos-ink);
}
.bos-product-gallery__zoom:hover { color: var(--bos-brand); border-color: var(--bos-brand); }
.bos-product-gallery__zoom svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.bos-product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.bos-product-gallery__thumb {
  padding: 0; border: 1.5px solid var(--bos-line); border-radius: 10px; overflow: hidden; background: var(--bos-mist);
  aspect-ratio: 1/1; transition: border-color .15s, box-shadow .15s;
}
.bos-product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bos-product-gallery__thumb.is-active { border-color: var(--bos-brand); box-shadow: 0 0 0 2.5px rgba(109, 77, 224, .25); }
.bos-gallery-lightbox { position: fixed; inset: 0; z-index: 99; display: flex; align-items: center; justify-content: center; }
.bos-gallery-lightbox__backdrop { position: absolute; inset: 0; border: 0; background: rgba(16, 11, 28, .86); }
.bos-gallery-lightbox__image { position: relative; max-width: min(1000px, 92vw); max-height: 88vh; border-radius: 14px; box-shadow: var(--bos-shadow-3); }
.bos-gallery-lightbox__close {
  position: absolute; z-index: 2; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(16, 11, 28, .7); color: #fff; font-size: 24px;
}
.bos-gallery-lightbox__close:hover { background: var(--bos-brand); border-color: var(--bos-brand); }

/* buy column */
.bos-ppv__buy { padding-top: 4px; }
.bos-ppv__stock { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--bos-sans); margin: 0 0 12px; }
.bos-ppv__stock i { width: 9px; height: 9px; border-radius: 50%; background: var(--bos-green); animation: bos-dotpulse 2.2s ease-in-out infinite; }
.bos-ppv__stock.is-in { color: var(--bos-green); }
.bos-ppv__stock.is-out { color: var(--bos-muted); }
.bos-ppv__stock.is-out i { background: var(--bos-red); animation: none; }
@keyframes bos-dotpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 99, .4); } 50% { box-shadow: 0 0 0 5px rgba(31, 157, 99, 0); } }
.bos-ppv__price { display: flex; align-items: center; gap: 13px; margin: 0 0 14px; }
.bos-ppv__pricenow .woocommerce-Price-amount, .bos-ppv__pricenow { font: 700 clamp(26px, 2.8vw, 34px)/1 var(--bos-display); color: var(--bos-ink); }
.bos-ppv__pricenow ins { color: var(--bos-ink); }
.bos-ppv__pricenow del { color: var(--bos-muted); font-size: .58em; margin-right: 10px; }
.bos-ppv__savechip { background: var(--bos-red); color: #fff; font: 800 12px/1 var(--bos-sans); border-radius: 999px; padding: 6.5px 12px; }
.bos-ppv__dellines, .bos-pdp3__dellines { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }
.bos-ppv__dellines li, .bos-pdp3__dellines li { display: flex; align-items: center; gap: 9px; font: 600 13px/1.4 var(--bos-sans); color: var(--bos-ink); }
.bos-ppv__dellines svg, .bos-pdp3__dellines svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--bos-green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.bos-ppv__intro { color: var(--bos-muted); font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.bos-ppv__intro p { margin: 0 0 .7em; }
.bos-ppv__formzone { padding: 20px; background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m); }
form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
form.cart .quantity { display: inline-flex; align-items: stretch; border: 1.5px solid var(--bos-line); border-radius: 999px; background: var(--bos-paper); overflow: hidden; }
form.cart .quantity input.qty {
  width: 52px; border: 0; border-radius: 0; text-align: center; padding: 13px 0; font-weight: 700; box-shadow: none; -moz-appearance: textfield; appearance: textfield;
}
form.cart .quantity input.qty::-webkit-outer-spin-button, form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bos-qty-btn { flex: none; width: 40px; border: 0; background: transparent; font: 700 18px/1 var(--bos-display); color: var(--bos-muted); transition: color .15s, background .15s; }
.bos-qty-btn:hover { color: var(--bos-brand); background: var(--bos-mist); }
.single_add_to_cart_button, form.cart button.button, form.cart button[type="submit"] {
  flex: 1 1 200px; border: 0; border-radius: 999px; padding: 15px 22px;
  background: linear-gradient(135deg, var(--bos-brand-bright), var(--bos-brand) 55%, var(--bos-brand-2)); color: #fff;
  font: 800 14.5px/1 var(--bos-sans); box-shadow: 0 12px 28px rgba(109, 77, 224, .32); transition: transform .18s var(--bos-ease), box-shadow .18s;
}
.single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(109, 77, 224, .42); color: #fff; }
.single_add_to_cart_button.disabled { opacity: .55; }
.bos-buy-now {
  flex: 1 1 100%; width: 100%; border: 1.5px solid var(--bos-ink); background: var(--bos-paper); color: var(--bos-ink);
  border-radius: 999px; padding: 14px 22px; font: 800 14px/1 var(--bos-sans); transition: all .18s var(--bos-ease);
}
.bos-buy-now:hover { background: var(--bos-ink); color: var(--bos-gold); }
/* make buy-now share the formzone width under the add-to-cart row */
form.cart .bos-buy-now { order: 9; margin-top: 2px; }
.bos-ppv__saved { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.bos-ppv__saved button, .bos-pdp3__actionlinks button, .bos-pdp__tool {
  display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 14px;
  border: 1.5px solid var(--bos-line); border-radius: 999px; background: var(--bos-paper); color: var(--bos-ink);
  font: 700 13px/1 var(--bos-sans); transition: all .16s var(--bos-ease);
}
.bos-ppv__saved button svg, .bos-pdp3__actionlinks button svg, .bos-pdp__tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bos-ppv__saved button:hover, .bos-pdp3__actionlinks button:hover, .bos-pdp__tool:hover { border-color: var(--bos-brand); color: var(--bos-brand); }
.bos-ppv__saved button.is-active, .bos-pdp3__actionlinks button.is-active, .bos-pdp__tool.is-active { background: var(--bos-gold); border-color: var(--bos-gold); color: var(--bos-ink-deep); }
.bos-ppv__assure { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bos-ppv__assure li { display: flex; gap: 11px; align-items: center; }
.bos-ppv__assure-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--bos-mist); border: 1px solid var(--bos-line); display: inline-flex; align-items: center; justify-content: center; }
.bos-ppv__assure-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--bos-brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bos-ppv__assure b { display: block; font: 700 13px/1.3 var(--bos-sans); }
.bos-ppv__assure small { color: var(--bos-muted); font-size: 11.5px; line-height: 1.35; display: block; }

/* postcode checker */
.bos-postcode-box {
  margin-top: 18px; padding: 16px; border: 1.5px dashed var(--bos-line); border-radius: var(--bos-radius-m);
  background: var(--bos-paper);
}
.bos-postcode-box > label { display: block; font: 700 13px/1.3 var(--bos-sans); margin-bottom: 9px; }
.bos-postcode-box > div { display: flex; gap: 8px; }
.bos-postcode-box input { text-transform: uppercase; }
.bos-postcode-box button {
  flex: none; border: 0; border-radius: var(--bos-radius-s); padding: 0 22px;
  background: var(--bos-ink); color: #fff; font: 700 13px/1 var(--bos-sans);
}
.bos-postcode-box button:hover { background: var(--bos-brand); }
.bos-postcode-box button:disabled { opacity: .6; }
.bos-postcode-result { margin: 11px 0 0; font-size: 13px; line-height: 1.55; color: var(--bos-green); font-weight: 500; }
.bos-postcode-result.is-error { color: var(--bos-red); }
.bos-postcode-free { color: var(--bos-muted); }

/* condition note + tags */
.bos-pdp__fits, .bos-pdp__fits.bos-pdp-condition {
  display: flex; margin-top: 16px; padding: 13px 16px; border-radius: 12px;
  background: #f2ecff; border: 1px solid #ddd2f8; font-size: 13px; line-height: 1.55;
}
.bos-pdp__fits b { display: inline; }
.bos-pdp__fits em { display: block; font-style: normal; color: var(--bos-muted); }
.bos-ppv__fit-cta { margin: 14px 0 0; font-size: 12.5px; color: var(--bos-muted); }
.bos-ppv__fit-cta a, .bos-pdp__tagchips a { font-weight: 600; }
.bos-pdp__tagchips { display: block; margin-top: 12px; font-size: 12px; color: var(--bos-muted); }
.bos-pdp__tagchips i { font-style: normal; font-weight: 700; color: var(--bos-ink); }

/* meta chips + headmeta (legacy pdp3 + helpers) */
.bos-pdp__metaline { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.bos-pdp__chip { display: grid; gap: 2px; background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: 12px; padding: 10px 15px; }
.bos-pdp__chip small { font: 700 10px/1 var(--bos-display); letter-spacing: 1.6px; text-transform: uppercase; color: var(--bos-muted); }
.bos-pdp__chip strong { font: 700 13.5px/1.2 var(--bos-sans); }
.bos-pdp__chip--brand { background: var(--bos-ink); border-color: var(--bos-ink); }
.bos-pdp__chip--brand small { color: var(--bos-gold); }
.bos-pdp__chip--brand strong { color: #fff; }
.bos-pdp__headmeta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 12.5px; color: var(--bos-muted); margin-bottom: 8px; }
.bos-pdp__headmeta a { color: inherit; text-decoration: none; font-weight: 600; }
.bos-pdp__headmeta a:hover { color: var(--bos-brand); }
.bos-pdp__headmeta-stars { color: var(--bos-gold); letter-spacing: 2px; }
.bos-ppv__revlink { color: var(--bos-gold); letter-spacing: 2px; }

/* stock urgency */
.bos-stock-urgency { flex-basis: 100%; margin: 0 0 12px; }
.bos-stock-urgency span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  background: linear-gradient(135deg, #fff4ed, #ffe9e2); border: 1px solid #ffd3bd; color: var(--bos-red); font: 600 13px/1.3 var(--bos-sans);
}
.bos-stock-urgency span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bos-red); animation: bos-urgency-pulse 1.6s ease-in-out infinite; }
@keyframes bos-urgency-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* variations + swatches */
.variations { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.variations th, .variations td { text-align: left; padding: 8px 0; border: 0; }
.variations th.label { width: 120px; font: 700 12px/1.4 var(--bos-display); letter-spacing: .8px; text-transform: uppercase; }
.variations select { width: 1px !important; height: 1px !important; opacity: 0 !important; position: absolute !important; pointer-events: none; }
.reset_variations { font-size: 12px; color: var(--bos-muted); }
.bos-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.bos-swatch {
  min-height: 38px; padding: 8px 16px; border: 1.5px solid var(--bos-line); border-radius: 999px; background: var(--bos-paper);
  font: 600 13px/1.2 var(--bos-sans); color: var(--bos-ink); transition: all .15s var(--bos-ease);
}
.bos-swatch:hover { border-color: var(--bos-brand); color: var(--bos-brand); }
.bos-swatch.is-active { border-color: var(--bos-brand); border-width: 2px; color: var(--bos-brand); background: var(--bos-mist); margin: -0.5px; }
.bos-swatch.is-disabled { opacity: .38; text-decoration: line-through; pointer-events: none; }
.bos-swatches--color .bos-swatch {
  width: 38px; height: 38px; min-height: 0; padding: 0; border-radius: 50%; background: var(--bos-swatch, var(--bos-mist));
  border-color: rgba(23, 18, 36, .16); font-size: 0;
}
.bos-swatches--color .bos-swatch.is-active { border-color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px var(--bos-brand); }
.woocommerce-variation { flex-basis: 100%; }
.woocommerce-variation-price { font: 700 19px/1 var(--bos-display); margin: 4px 0 0; }
.woocommerce-variation-availability { font-size: 13px; font-weight: 600; margin-top: 4px; }
.single_variation { margin-bottom: 10px; }

/* PDP tabs */
.bos-ppv-tabs { margin-top: clamp(34px, 4vw, 54px); }
.bos-ppv-tabs__nav { display: flex; gap: 4px; border-bottom: 1.5px solid var(--bos-line); }
.bos-ppv-tabs__nav button {
  position: relative; border: 0; background: none; padding: 14px 18px; font: 700 14px/1 var(--bos-sans); color: var(--bos-muted);
}
.bos-ppv-tabs__nav button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1.5px; height: 3px; border-radius: 3px 3px 0 0; background: var(--bos-brand); transform: scaleX(0); transition: transform .2s var(--bos-ease); }
.bos-ppv-tabs__nav button.is-active { color: var(--bos-ink); }
.bos-ppv-tabs__nav button.is-active::after { transform: scaleX(1); }
.bos-ppv-tabs__panel { padding: 26px 2px 0; line-height: 1.75; max-width: 980px; }
.bos-ppv-tabs__panel h2, .bos-ppv-tabs__panel h3 { margin: 1.2em 0 .45em; }
.bos-ppv-tabs__panel h3 { font-size: 18px; }
.bos-ppv__spectable { width: 100%; border-collapse: collapse; max-width: 760px; }
.bos-ppv__spectable th, .bos-ppv__spectable td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--bos-line); font-size: 13.5px; }
.bos-ppv__spectable th { width: 220px; font: 700 12px/1.4 var(--bos-display); letter-spacing: .8px; text-transform: uppercase; color: var(--bos-muted); background: var(--bos-mist); }
.bos-ppv__empty { color: var(--bos-muted); }

/* reviews (tab panel + pdp3) */
#reviews .comment_container, .bos-pdp3__reviews .comment-container { list-style: none; }
#comments .commentlist, ol.commentlist { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
ol.commentlist .comment-body { background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m); padding: 16px 18px; }
ol.commentlist .comment-text .star-rating { margin-bottom: 6px; }
ol.commentlist .meta { font-size: 12.5px; color: var(--bos-muted); }
#review_form_wrapper { margin-top: 24px; }
#review_form .comment-reply-title { font: 700 18px/1.3 var(--bos-display); }
#review_form form { display: grid; gap: 12px; }
#review_form textarea { min-height: 130px; }
#review_form .form-submit .submit { border: 0; border-radius: 999px; padding: 13px 28px; background: linear-gradient(135deg, var(--bos-brand-bright), var(--bos-brand) 55%, var(--bos-brand-2)); color: #fff; font-weight: 800; }
#comments { border: 0; padding: 0; }
p.stars { display: inline-flex; gap: 2px; }
p.stars a { color: var(--bos-gold); text-decoration: none; }

/* rails below the PDP (upsells/related) */
.bos-ppv__rails { margin-top: clamp(36px, 4.5vw, 60px); }
.bos-ppv__rails > section, .related.products, .upsells.products, .cross-sells { margin-top: 34px; }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 {
  font-size: clamp(21px, 2.3vw, 27px); margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.related.products > h2::before, .upsells.products > h2::before, .cross-sells > h2::before {
  content: ""; width: 26px; height: 2px; background: var(--bos-gold);
}
.related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* recently viewed */
.bos-recently-viewed { margin-top: clamp(36px, 4.5vw, 60px); }
.bos-recently-viewed h2 { font-size: clamp(21px, 2.3vw, 27px); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.bos-recently-viewed h2::before { content: ""; width: 26px; height: 2px; background: var(--bos-gold); }
.bos-recently-viewed__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bos-recent-card {
  position: relative; background: var(--bos-paper); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m);
  overflow: hidden; transition: transform .2s var(--bos-ease), box-shadow .2s;
}
.bos-recent-card:hover { transform: translateY(-3px); box-shadow: var(--bos-shadow-2); }
.bos-recent-card__link { display: block; text-decoration: none; color: inherit; }
.bos-recent-card img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 12px; display: block; background: linear-gradient(180deg, #faf9fe, var(--bos-mist)); border-bottom: 1px solid var(--bos-line); }
.bos-recent-card__copy { display: grid; gap: 5px; padding: 12px 14px 15px; }
.bos-recent-card__copy b { font: 600 13.5px/1.35 var(--bos-sans); color: var(--bos-ink); min-height: 2.6em; }
.bos-recent-card__copy em { font: 700 14px/1 var(--bos-display); font-style: normal; }
.bos-recent-card__copy em ins { color: var(--bos-red); text-decoration: none; }

/* mobile sticky add-to-cart */
.bos-mobile-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: calc(var(--bos-preview-banner-height)); z-index: 80;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: rgba(23, 18, 36, .96); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 -12px 34px rgba(16, 11, 28, .3);
}
.bos-mobile-sticky-atc__price { color: #fff; font: 700 16px/1 var(--bos-display); white-space: nowrap; }
.bos-mobile-sticky-atc__price ins { color: var(--bos-gold); text-decoration: none; }
.bos-mobile-sticky-atc__price del { color: #9c92c4; font-size: 12px; margin-right: 5px; }
.bos-mobile-sticky-atc__qty { display: inline-flex; align-items: stretch; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; overflow: hidden; }
.bos-mobile-sticky-atc__qty .bos-qty-btn { color: #fff; width: 34px; }
.bos-mobile-sticky-atc__qty input { width: 34px; border: 0; background: transparent; color: #fff; font-weight: 700; text-align: center; padding: 10px 0; box-shadow: none; }
.bos-mobile-sticky-atc__button {
  flex: 1; border: 0; border-radius: 999px; padding: 12.5px 18px;
  background: linear-gradient(135deg, #ffe29a, var(--bos-gold) 55%, var(--bos-gold-2)); color: var(--bos-ink-deep); font: 800 13.5px/1 var(--bos-sans);
}

/* PDP3 (secondary/legacy path) — compact editorial single column */
.bos-pdp3__head { margin-bottom: 22px; }
.bos-pdp3__bcrumbs { margin: 0 0 8px; font: 700 11px/1 var(--bos-display); letter-spacing: 1.9px; text-transform: uppercase; }
.bos-pdp3__bcrumbs a { color: var(--bos-muted); text-decoration: none; }
.bos-pdp3__bcrumbs a:hover { color: var(--bos-brand); }
.bos-pdp3__title { font-size: clamp(24px, 2.6vw, 36px); margin: 0 0 8px; }
.bos-pdp3__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--bos-muted); font-size: 13px; margin: 0; }
.bos-pdp3__revlink { color: var(--bos-gold); letter-spacing: 2px; text-decoration: none; }
.bos-pdp3__revlink span { color: var(--bos-muted); letter-spacing: 0; }
.bos-pdp3__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; }
.bos-pdp3__stock { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--bos-sans); margin: 0 0 10px; }
.bos-pdp3__stock i { width: 9px; height: 9px; border-radius: 50%; background: var(--bos-green); }
.bos-pdp3__stock.is-in { color: var(--bos-green); }
.bos-pdp3__stock.is-out { color: var(--bos-muted); }
.bos-pdp3__stock.is-out i { background: var(--bos-red); }
.bos-pdp3__price { font: 700 clamp(26px, 2.8vw, 33px)/1 var(--bos-display); margin: 0 0 12px; }
.bos-pdp3__price del { color: var(--bos-muted); font-size: .6em; margin-right: 10px; }
.bos-pdp3__intro { color: var(--bos-muted); margin: 14px 0 18px; }
.bos-pdp3__form { padding: 20px; background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m); }
.bos-pdp3__actionlinks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.bos-pdp3__details { margin-top: clamp(34px, 4vw, 54px); }
.bos-pdp3__block { margin-bottom: 26px; max-width: 980px; }
.bos-pdp3__block h2 { font-size: clamp(21px, 2.3vw, 26px); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.bos-pdp3__block h2::before { content: ""; width: 26px; height: 2px; background: var(--bos-gold); }
.bos-pdp3__spectable { width: 100%; border-collapse: collapse; max-width: 760px; }
.bos-pdp3__spectable th, .bos-pdp3__spectable td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--bos-line); font-size: 13.5px; }
.bos-pdp3__spectable th { width: 220px; background: var(--bos-mist); font: 700 12px/1.4 var(--bos-display); letter-spacing: .8px; text-transform: uppercase; color: var(--bos-muted); }
.bos-pdp3__reviews { margin-top: clamp(30px, 4vw, 50px); }
.bos-pdp3__reviews > h2 { font-size: clamp(21px, 2.3vw, 26px); display: flex; align-items: center; gap: 12px; }
.bos-pdp3__reviews > h2::before { content: ""; width: 26px; height: 2px; background: var(--bos-gold); }
.bos-pdp3__below { margin-top: 20px; }
.bos-pdp__tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bos-product-confidence { margin-top: 18px; }
.bos-stock-strip { display: flex; gap: 9px; align-items: baseline; margin: 0 0 10px; font-size: 13.5px; }
.bos-stock-strip b { color: var(--bos-green); }
.bos-stock-strip span { color: var(--bos-muted); }
.bos-product-confidence ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bos-product-confidence li { display: flex; gap: 11px; align-items: center; }
.bos-product-confidence li svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--bos-mist); border: 1px solid var(--bos-line); fill: none; stroke: var(--bos-brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bos-confidence-copy strong { display: block; font: 700 13px/1.3 var(--bos-sans); }
.bos-confidence-copy small { color: var(--bos-muted); font-size: 11.5px; display: block; }

/* ---------- free shipping progress + secure note ------------------------------ */

.bos-ship-progress { background: var(--bos-paper); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m); padding: 15px 18px; margin-bottom: 18px; }
.bos-ship-progress p { margin: 0 0 9px; font-size: 13.5px; }
.bos-ship-progress__track { height: 8px; border-radius: 99px; background: var(--bos-mist); overflow: hidden; }
.bos-ship-progress__track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--bos-brand), var(--bos-gold)); transition: width .5s var(--bos-ease); }
.bos-secure-note { display: flex; align-items: center; gap: 9px; justify-content: center; margin: 14px 0 0; font-size: 12.5px; color: var(--bos-muted); }
.bos-secure-note svg { width: 15px; height: 15px; fill: none; stroke: var(--bos-green); stroke-width: 1.8; }

/* ---------- cart ----------------------------------------------------------------- */

.bos-woocommerce-system-page .bos-page-header h1 { font-size: clamp(26px, 3vw, 36px); }
table.shop_table { width: 100%; border-collapse: collapse; border: 0; }
table.shop_table th { text-align: left; font: 700 11.5px/1.4 var(--bos-display); letter-spacing: 1.4px; text-transform: uppercase; color: var(--bos-muted); padding: 0 12px 12px; border-bottom: 1.5px solid var(--bos-line); }
table.shop_table td { padding: 16px 12px; border-bottom: 1px solid var(--bos-line); vertical-align: middle; }
.woocommerce-cart-form .product-thumbnail { width: 90px; min-width: 90px; }
.woocommerce-cart-form .product-thumbnail img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; border: 1px solid var(--bos-line); }
.woocommerce-cart-form .product-name a { font-weight: 700; color: var(--bos-ink); text-decoration: none; }
.woocommerce-cart-form .product-name a:hover { color: var(--bos-brand); }
.woocommerce-cart-form .variation { margin: 6px 0 0; font-size: 12px; color: var(--bos-muted); }
.woocommerce-cart-form .product-remove a.remove, .product-remove .remove {
  display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--bos-line); color: var(--bos-muted); text-decoration: none; font-size: 17px;
}
.product-remove .remove:hover { border-color: var(--bos-red); color: var(--bos-red); background: #fdecea; }
.woocommerce-cart-form .quantity { display: inline-flex; align-items: stretch; border: 1.5px solid var(--bos-line); border-radius: 999px; overflow: hidden; background: var(--bos-paper); }
.woocommerce-cart-form .quantity input.qty { width: 46px; border: 0; border-radius: 0; text-align: center; padding: 9px 0; font-weight: 700; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button, .woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce-cart-form .actions { padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.woocommerce-cart-form .coupon { display: flex; gap: 8px; }
.woocommerce-cart-form .coupon label { position: absolute; left: -9999px; }
.woocommerce-cart-form .coupon input { width: 180px; border-radius: 999px; }
.woocommerce-cart-form .coupon button, .woocommerce-cart-form .actions > button {
  border: 1.5px solid var(--bos-line); border-radius: 999px; background: var(--bos-paper); padding: 11px 20px; font-weight: 700; font-size: 13px;
}
.woocommerce-cart-form .coupon button:hover, .woocommerce-cart-form .actions > button:hover:not(:disabled) { border-color: var(--bos-brand); color: var(--bos-brand); }
.woocommerce-cart-form .actions > button:disabled { opacity: .5; }
.cart-collaterals { margin-top: 26px; }
.cart-collaterals .cart_totals { width: min(430px, 100%); margin-left: auto; background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-l); padding: 24px; }
.cart-collaterals .cart_totals > h2 { margin: 0 0 14px; font-size: 19px; }
.cart_totals table.shop_table th { padding: 10px 0; border-bottom: 1px solid var(--bos-line); }
.cart_totals table.shop_table td { padding: 10px 0; text-align: right; border-bottom: 1px solid var(--bos-line); }
.cart_totals .order-total th, .cart_totals .order-total td { border-bottom: 0; padding-top: 14px; }
.cart_totals .order-total td { font: 700 20px/1 var(--bos-display); }
.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout .checkout-button {
  display: flex; justify-content: center; border-radius: 999px; padding: 16px 24px;
  background: linear-gradient(135deg, var(--bos-brand-bright), var(--bos-brand) 55%, var(--bos-brand-2));
  color: #fff; font: 800 15px/1 var(--bos-sans); text-decoration: none; box-shadow: 0 12px 28px rgba(109, 77, 224, .3);
}
.cart_empty.woocommerce-info { text-align: center; }
.return-to-shop .button { border-radius: 999px; padding: 13px 26px; text-decoration: none; }

/* ---------- checkout / account forms --------------------------------------------- */

.woocommerce-checkout { margin-top: 8px; }
.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.form-row label { font: 700 12.5px/1.3 var(--bos-sans); }
.form-row .required { color: var(--bos-red); }
.form-row input, .form-row textarea, .form-row select { background: var(--bos-paper); }
.woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.woocommerce-form__label-for-checkbox input { accent-color: var(--bos-brand); }
#order_review_heading, .woocommerce-billing-fields > h3, .woocommerce-shipping-fields > h3, .woocommerce-additional-fields > h3 {
  font-size: 19px; margin: 22px 0 14px; display: flex; align-items: center; gap: 12px;
}
#order_review_heading::before, .woocommerce-billing-fields > h3::before, .woocommerce-shipping-fields > h3::before, .woocommerce-additional-fields > h3::before { content: ""; width: 22px; height: 2px; background: var(--bos-gold); }
#order_review, .woocommerce-checkout-review-order { background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-l); padding: 24px; }
#order_review table.shop_table td, #order_review table.shop_table th { padding: 9px 0; }
#order_review .order-total td, #order_review .order-total th { font: 700 17px/1 var(--bos-display); border-top: 1.5px solid var(--bos-line); }
.wc_payment_methods { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.wc_payment_methods li { background: var(--bos-paper); border: 1.5px solid var(--bos-line); border-radius: 12px; padding: 14px 16px; }
.wc_payment_methods input { accent-color: var(--bos-brand); }
.wc_payment_methods label { font-weight: 700; }
.payment_box { color: var(--bos-muted); font-size: 13px; margin-top: 9px; }
#place_order, .woocommerce-checkout #place_order {
  width: 100%; border: 0; border-radius: 999px; padding: 16px 24px; margin-top: 16px;
  background: linear-gradient(135deg, #ffe29a, var(--bos-gold) 55%, var(--bos-gold-2)); color: var(--bos-ink-deep);
  font: 800 15px/1 var(--bos-sans); box-shadow: 0 12px 28px rgba(242, 179, 45, .3);
}
.woocommerce-form-login, .woocommerce-form-register, .lost_reset_password { max-width: 480px; background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-l); padding: 26px; }
.woocommerce-form-login button, .woocommerce-form-register button, .lost_reset_password button, .woocommerce-Button, .woocommerce-form .button {
  border: 0; border-radius: 999px; padding: 13px 26px; background: linear-gradient(135deg, var(--bos-brand-bright), var(--bos-brand) 55%, var(--bos-brand-2)); color: #fff; font: 800 13.5px/1 var(--bos-sans);
}
.woocommerce-MyAccount-navigation { margin-bottom: 26px; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a {
  display: inline-flex; padding: 9px 16px; border: 1.5px solid var(--bos-line); border-radius: 999px;
  background: var(--bos-paper); color: var(--bos-ink); font: 600 13px/1 var(--bos-sans); text-decoration: none;
}
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--bos-ink); border-color: var(--bos-ink); color: #fff; }
.woocommerce-MyAccount-content, .woocommerce-account .woocommerce { line-height: 1.7; }
.woocommerce-orders-table { background: var(--bos-paper); }
.addresses .addresses, .woocommerce-customer-details .addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.woocommerce-column__title { font-size: 17px; }
.woocommerce-address-fields .button, .edit-account .button, .woocommerce-EditAccountForm .button { border-radius: 999px; }
mark { background: var(--bos-gold); color: var(--bos-ink-deep); padding: 1px 5px; border-radius: 4px; }

/* order tracking + thankyou */
ul.order_details { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 18px 22px; background: var(--bos-mist); border: 1px solid var(--bos-line); border-radius: var(--bos-radius-m); }
ul.order_details strong { display: block; }

/* ---------- responsive ----------------------------------------------------------- */

@media (max-width: 980px) {
  .bos-ppv__grid, .bos-pdp3__grid, .col2-set { grid-template-columns: 1fr; }
  .related.products ul.products, .upsells.products ul.products, .bos-recently-viewed__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-collaterals .cart_totals { margin-inline: auto; }
}

@media (max-width: 620px) {
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  ul.products.columns-4, .related.products ul.products, .upsells.products ul.products, .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  ul.products li.product .woocommerce-loop-product__title { min-height: 0; margin-top: 10px; }
  ul.products li.product .price { font-size: 14px; }
  .bos-product-tools { gap: 5px; top: 8px; right: 8px; }
  .bos-product-tools button { width: 32px; height: 32px; }
  .bos-catalogue-sortbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .bos-ppv__saved, .bos-pdp3__actionlinks, .bos-pdp__tools { grid-template-columns: 1fr; }
  .bos-ppv__assure { grid-template-columns: 1fr; }
  .bos-ppv-tabs__nav { overflow-x: auto; }
  .bos-recently-viewed__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  form.cart .single_add_to_cart_button { flex-basis: 100%; }
  .woocommerce-cart-form .coupon input { width: 130px; }
}

/* 1.0.5 — authoritative product-card geometry for every WooCommerce grid. */
.woocommerce ul.products,
.woocommerce-page ul.products {
  align-items: stretch;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  display: flex !important;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5dff0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(35,20,68,.08);
}
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce-page ul.products li.product .woocommerce-loop-product__link {
  display: flex !important;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  display: block !important;
  width: 100% !important;
  height: clamp(190px,20vw,270px) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 18px !important;
  border-bottom: 1px solid #eee9f6;
  background: radial-gradient(circle at 50% 34%,#fff,#f4f0fa) !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 2.9em !important;
  margin: 16px 17px 8px !important;
  padding: 0 !important;
  overflow: hidden;
  color: #211a31;
  font: 700 14px/1.42 var(--bos-sans) !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.woocommerce ul.products li.product .star-rating,
.woocommerce-page ul.products li.product .star-rating { margin: 0 17px 8px !important; }
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  margin: auto 17px 13px !important;
  color: #5b3fc3 !important;
  font: 800 17px/1.2 var(--bos-display) !important;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  display: inline-flex !important;
  width: auto !important;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0 17px 17px !important;
  padding: 12px 15px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg,#8b6bea,#6d4de0 58%,#5938c3) !important;
  color: #fff !important;
  font: 800 12.5px/1 var(--bos-sans) !important;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale { top: 12px !important; left: 12px !important; right: auto !important; z-index: 4; margin: 0 !important; }
.woocommerce ul.products li.product .bos-product-tools { z-index: 5; }
@media (max-width: 620px) {
  .woocommerce ul.products li.product a img,.woocommerce-page ul.products li.product a img { height: clamp(150px,42vw,205px) !important; padding: 12px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce-page ul.products li.product .woocommerce-loop-product__title { margin: 12px 12px 7px !important; font-size: 12.5px !important; }
  .woocommerce ul.products li.product .price,.woocommerce-page ul.products li.product .price { margin-inline: 12px !important; font-size: 15px !important; }
  .woocommerce ul.products li.product .button,.woocommerce-page ul.products li.product .button { min-height: 40px; margin: 0 12px 12px !important; padding: 10px !important; font-size: 11.5px !important; }
}

/* 1.1.1 — authoritative public product layout and purchase controls. */
body.single-product .bos-woocommerce-main {
  width: min(1440px, calc(100% - 48px));
  padding-top: 30px;
}
body.single-product .bos-ppv { width: 100%; max-width: none; }
body.single-product .bos-ppv__head { max-width: 1180px; margin-bottom: 26px; }
body.single-product .bos-ppv__title { max-width: 26ch; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; }
body.single-product .bos-ppv__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, .96fr) !important;
  gap: clamp(34px, 4vw, 68px) !important;
  align-items: start;
}
body.single-product .bos-ppv__media,
body.single-product .bos-ppv__buy { float: none !important; width: auto !important; min-width: 0; margin: 0 !important; }
body.single-product .bos-product-gallery__stage {
  display: grid;
  place-items: center;
  min-height: clamp(520px, 50vw, 720px);
  border-color: #ded8e9;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 42%, #fff 0, #f8f5fc 58%, #f0ebf7 100%);
  box-shadow: 0 18px 55px rgba(37, 23, 64, .08);
}
body.single-product .bos-product-gallery__main-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit;
  padding: clamp(18px, 3vw, 42px);
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.single-product .bos-product-gallery__thumbs { grid-template-columns: repeat(6, minmax(68px, 92px)); gap: 12px; overflow-x: auto; padding: 2px 2px 8px; }
body.single-product .bos-product-gallery__thumb { width: 100%; border-radius: 13px; background: #f7f4fb; }
body.single-product .bos-product-gallery__thumb img { object-fit: contain; padding: 5px; }
body.single-product .bos-ppv__buy {
  padding: clamp(25px, 2.6vw, 38px);
  border: 1px solid #e2dceb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(37, 23, 64, .1);
}
body.single-product .bos-ppv__price { flex-wrap: wrap; gap: 10px 14px; margin: 5px 0 20px; }
body.single-product .bos-ppv__pricenow { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
body.single-product .bos-ppv__pricenow ins,
body.single-product .bos-ppv__pricenow > .woocommerce-Price-amount { color: var(--bos-ink); font-size: clamp(32px, 3vw, 43px); font-weight: 800; text-decoration: none; }
body.single-product .bos-ppv__pricenow del { order: -1; margin: 0; color: #898091; font-size: 18px; font-weight: 600; }
body.single-product .bos-ppv__pricenow ins .woocommerce-Price-amount { color: var(--bos-ink); font-size: clamp(32px, 3vw, 43px); font-weight: 800; }
body.single-product .bos-ppv__pricenow del .woocommerce-Price-amount { color: #898091; font-size: 18px; font-weight: 600; }
body.single-product .bos-ppv__savechip { padding: 8px 13px; font-size: 12px; }
body.single-product .bos-ppv__intro { max-width: 64ch; margin: 18px 0 22px; color: #5f5868; font-size: 15px; line-height: 1.72; }
body.single-product .bos-ppv__formzone { padding: 22px; border-radius: 18px; background: #f6f3fa; }
body.single-product .bos-ppv__formzone form.cart {
  display: grid !important;
  grid-template-columns: 134px minmax(200px, 1fr);
  width: 100%;
  gap: 12px;
  margin: 0;
}
body.single-product form.cart .quantity { display: grid; grid-template-columns: 38px 1fr 38px; width: 134px; min-height: 52px; }
body.single-product form.cart .quantity input.qty { width: 100%; min-width: 0; padding: 0; }
body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart button.single_add_to_cart_button {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 15px 22px !important;
  opacity: 1;
  visibility: visible;
}
body.single-product form.cart .single_add_to_cart_button:disabled,
body.single-product form.cart .single_add_to_cart_button.disabled { cursor: not-allowed; opacity: .52; }
body.single-product form.cart .bos-buy-now { grid-column: 1 / -1; width: 100%; min-height: 50px; margin: 0; }
body.single-product form.variations_form.cart .variations,
body.single-product form.grouped_form.cart .group_table { grid-column: 1 / -1; width: 100%; }
body.single-product form.variations_form.cart .single_variation_wrap { display: grid; grid-column: 1 / -1; gap: 12px; }
body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart { display: grid !important; grid-template-columns: 134px minmax(200px, 1fr); gap: 12px; }
body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart .bos-buy-now { grid-column: 1 / -1; }
body.single-product .bos-ppv__saved { margin-top: 12px; }
body.single-product .bos-ppv__assure { margin-top: 22px; gap: 15px; }

/* Every catalogue rail uses a real grid and never inherits WooCommerce floats. */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }

@media (max-width: 1120px) {
  body.single-product .bos-ppv__grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .88fr) !important; gap: 30px !important; }
  body.single-product .bos-product-gallery__stage { min-height: clamp(460px, 52vw, 610px); }
  .woocommerce ul.products,.woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body.single-product .bos-woocommerce-main { width: min(100% - 30px, 720px); padding-top: 22px; }
  body.single-product .bos-ppv__grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  body.single-product .bos-product-gallery__stage { min-height: 0; aspect-ratio: 1 / 1; }
  body.single-product .bos-product-gallery__main-image { min-height: 0; }
  body.single-product .bos-ppv__buy { padding: 24px; }
  .woocommerce ul.products,.woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  body.single-product .bos-woocommerce-main { width: calc(100% - 22px); }
  body.single-product .bos-ppv__head { margin-bottom: 18px; }
  body.single-product .bos-ppv__title { font-size: clamp(25px, 8vw, 34px); }
  body.single-product .bos-ppv__buy { padding: 19px 16px; border-radius: 18px; }
  body.single-product .bos-ppv__formzone { padding: 14px; }
  body.single-product .bos-ppv__formzone form.cart,
  body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart { grid-template-columns: 1fr; }
  body.single-product form.cart .quantity { width: 100%; }
  body.single-product form.cart .bos-buy-now { grid-column: 1; }
  body.single-product .bos-ppv__saved { grid-template-columns: 1fr; }
  .woocommerce ul.products,.woocommerce-page ul.products { gap: 10px; }
}

/* 1.1.2 — frameless, correctly balanced product page. WooCommerce applies
   width:48% to div.images; reset that wrapper itself, not just its grid cell. */
body.single-product .bos-woocommerce-main {
  width: min(1500px, calc(100% - 48px));
  padding-top: 28px;
}
body.single-product .bos-ppv__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr) !important;
  gap: clamp(38px, 4vw, 64px) !important;
  align-items: start;
}
body.single-product div.product .bos-ppv__media,
body.single-product div.product .bos-product-gallery.images,
body.single-product div.product div.images.bos-product-gallery {
  display: grid !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  gap: 12px;
}
body.single-product .bos-product-gallery__stage {
  display: grid;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.single-product .bos-product-gallery__main-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 780px;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
}
body.single-product .bos-product-gallery__zoom { top: 14px; right: 14px; }
body.single-product .bos-product-gallery__thumbs { width: 100%; }

/* Remove the added card/frame while preserving comfortable readable spacing. */
body.single-product .bos-ppv__buy {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 1100px) {
  body.single-product .bos-ppv__grid { grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr) !important; gap: 34px !important; }
}
@media (max-width: 900px) {
  body.single-product .bos-woocommerce-main { width: min(100% - 30px, 760px); }
  body.single-product .bos-ppv__grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  body.single-product .bos-ppv__buy { padding-top: 0 !important; }
}
@media (max-width: 520px) {
  body.single-product .bos-woocommerce-main { width: calc(100% - 22px); }
}

/* 1.1.12: lock the purchase controls to the confirmed store layout.
   Quantity and Add to cart share row one; Buy now spans row two. */
body.single-product.woocommerce div.product .bos-ppv__formzone form.cart:not(.variations_form) {
  display: grid !important;
  grid-template-columns: 134px minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 10px 12px !important;
  width: 100% !important;
}
body.single-product.woocommerce div.product .bos-ppv__formzone form.cart:not(.variations_form) > .quantity {
  grid-column: 1 !important;
  grid-row: 1 !important;
  float: none !important;
  width: 134px !important;
  margin: 0 !important;
}
body.single-product.woocommerce div.product .bos-ppv__formzone form.cart:not(.variations_form) > .single_add_to_cart_button {
  grid-column: 2 !important;
  grid-row: 1 !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
body.single-product.woocommerce div.product .bos-ppv__formzone form.cart:not(.variations_form) > .bos-buy-now {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
body.single-product.woocommerce div.product form.variations_form.cart {
  display: block !important;
}
body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 134px minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 10px 12px !important;
  width: 100% !important;
}
body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart > .quantity {
  grid-column: 1 !important;
  grid-row: 1 !important;
  float: none !important;
  width: 134px !important;
  margin: 0 !important;
}
body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
  grid-column: 2 !important;
  grid-row: 1 !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart > .bos-buy-now {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
@media (max-width: 520px) {
  body.single-product.woocommerce div.product .bos-ppv__formzone form.cart:not(.variations_form),
  body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart {
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }
  body.single-product.woocommerce div.product .bos-ppv__formzone form.cart:not(.variations_form) > .quantity,
  body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart > .quantity {
    width: 118px !important;
  }
}

/* 1.1.13: final purchase-button colours. The generic cart submit selector
   must never repaint Buy now with the Add to cart gradient. */
body.single-product.woocommerce div.product .bos-ppv__formzone form.cart button.single_add_to_cart_button,
body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart button.single_add_to_cart_button {
  border: 0 !important;
  background: linear-gradient(135deg, #8869f1, #6d4de0 55%, #5530c9) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(109, 77, 224, .32) !important;
}
body.single-product.woocommerce div.product .bos-ppv__formzone form.cart button.single_add_to_cart_button:hover,
body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart button.single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #7654e9, #5c3ccf 55%, #4724b4) !important;
  color: #fff !important;
}
body.single-product.woocommerce div.product .bos-ppv__formzone form.cart button.bos-buy-now,
body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart button.bos-buy-now {
  border: 1.5px solid #f2b32d !important;
  background: linear-gradient(135deg, #ffe29a, #ffce54 55%, #f2b32d) !important;
  color: #251740 !important;
  box-shadow: 0 12px 26px rgba(242, 179, 45, .26) !important;
}
body.single-product.woocommerce div.product .bos-ppv__formzone form.cart button.bos-buy-now:hover,
body.single-product.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart button.bos-buy-now:hover {
  border-color: #e6a518 !important;
  background: linear-gradient(135deg, #ffd778, #f8bf36 55%, #e6a518) !important;
  color: #251740 !important;
}
