/* Horizon's collection template: full bleed background, separate white text blocks. */
body:is(.post-type-archive-product,.tax-product_cat) .store-content { padding-top:0; width:calc(100% - 64px); max-width:1376px; }
.woocommerce-products-header:has(.bl-collection-hero) { margin:0; }
.woocommerce-products-header .bl-collection-hero { width:100vw; margin:0 calc((100% - 100vw)/2); padding:40px max(32px,calc((100vw - 1376px)/2)); gap:16px; min-height:0; display:flex; flex-direction:column; align-items:stretch; }
.bl-collection-hero .bl-collection-hero-copy { display:contents; }
.bl-collection-hero h1 { width:fit-content; max-width:100%; padding:0 4px; margin:0; background:white; color:#000; font:400 clamp(32px,4.75vw,56px)/1.1 var(--display); text-wrap:initial; }
.bl-collection-hero h2 { width:100%; max-width:none; margin:0; padding:4px; background:white; color:#000; font:400 24px/1.05 var(--display); text-wrap:initial; }
.bl-collection-hero h2 span { display:block; max-width:390px; }
.bl-collection-hero .bl-collection-intro { width:100%; max-width:none; padding:10px 15px 5px; margin:0; background:white; color:#000; font:400 14px/1.6 var(--body); }
.bl-collection-intro > * { max-width:450px; }
.bl-collection-intro p { margin-bottom:10px; }
.bl-collection-hero .bl-collection-photo { width:24%; max-width:none; margin:0; }
.bl-collection-hero .bl-collection-photo img { max-height:none; object-position:center; }
/* Shared selected choices, including dynamically mounted quick-view forms. */
.woocommerce .variations .bootlg-color-swatches { display:flex; flex-wrap:wrap; gap:4px; }
.woocommerce .variations .bootlg-choice.bootlg-swatch { width:44px; height:44px; min-width:44px; min-height:44px; padding:5px; border:0; border-radius:50%; background:transparent; box-shadow:none; }
.woocommerce .bootlg-swatch[aria-pressed=true] .bootlg-choice-dot { outline:2px solid #000; outline-offset:3px; box-shadow:0 0 0 1px #fff,0 0 0 2px #045a44; }
.single-product .summary .bootlg-choice:not(.bootlg-swatch)[aria-pressed=true],.bl-quick-view .bootlg-choice:not(.bootlg-swatch)[aria-pressed=true] { background:#000; border-color:#045a44; color:white; box-shadow:none; }
.single-product .product .summary .variations .bootlg-selected-color,.bl-quick-view .bootlg-selected-color { margin-left:14px; text-transform:uppercase; font-weight:700; letter-spacing:.12em; font-size:12px; }
/* Horizontal desktop facets; the native form is the no-script fallback. */
.bl-catalogue-toolbar { position:relative; z-index:3; gap:8px 16px; border:0; margin:0 0 16px; padding:8px 0; font-size:14px; }
.bl-catalogue-filters > summary { display:none; }
.bl-catalogue-filters[open] .bootlg124-facets { padding:0; }
.bl-catalogue-toolbar .bootlg124-facets { gap:16px; }
.bl-facet > summary { gap:8px; font-weight:400; }
.bl-facet fieldset { min-width:120px; border:0; border-radius:14px; padding:12px 14px; box-shadow:0 4px 28px #0002; }
.bl-facet label { display:flex; }
.bl-facet input { appearance:auto; width:16px; height:16px; accent-color:#000; margin:0; flex-shrink:0; }
.bl-facet-apply { width:100%; font:inherit; background:white; border:1px solid #000; border-radius:6px; padding:5px; margin-top:8px; }
.bl-collection-js .bl-facet-apply { display:none; }
.bl-catalogue-sort { gap:14px; flex-wrap:nowrap; }
.bl-catalogue-sort .woocommerce-ordering { max-width:150px; }
.bl-catalogue-sort select { max-width:150px; font-size:13px; }
.bl-grid-density { display:flex; gap:4px; }
.bl-grid-density button { display:grid; place-items:center; width:32px; height:32px; border:0; padding:7px; border-radius:4px; color:#777; background:white; cursor:pointer; }
.bl-grid-density button[aria-pressed=true] { color:#000; background:#f2f2f2; }
.bl-grid-density svg { width:18px; height:18px; }
.woocommerce .store-content > ul.products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px 16px; margin:0 0 32px; }
.woocommerce .store-content > ul.products::before,.woocommerce .store-content > ul.products::after { display:none; }
.woocommerce .store-content > ul.products li.product { width:auto; margin:0; float:none; min-width:0; }
.woocommerce .store-content[data-density=compact] > ul.products { grid-template-columns:repeat(6,minmax(0,1fr)); }
/* Image link and interactive controls are siblings, never nested links/buttons. */
.bl-card-media { position:relative; aspect-ratio:1; margin-bottom:8px; background:#f6f6f6; }
.bl-card-image { display:block; width:100%; height:100%; }
.woocommerce ul.products li.product .bl-card-image img { display:block; width:100%; height:100%; aspect-ratio:1; object-fit:contain; margin:0; }
.bl-card-arrow,.bl-card-quick { position:absolute; display:flex; align-items:center; justify-content:center; z-index:1; color:#000; cursor:pointer; transition:opacity .15s; }
.bl-card-arrow { top:calc(50% - 22px); width:36px; height:44px; padding:6px; background:transparent; border:0; }
.bl-card-arrow svg { width:24px; height:24px; }
.bl-card-arrow-prev { left:0; }.bl-card-arrow-next { right:0; }
.bl-card-arrow:hover { background:#ffffffaa; }
.bl-card-quick { bottom:12px; right:12px; gap:8px; min-height:36px; min-width:36px; padding:5px 8px; border:2px solid #ddd; border-radius:100px; background:white; text-decoration:none; font:400 14px/1.2 var(--body); }
.bl-card-quick svg { width:22px; height:22px; }
.bl-card-quick[aria-busy=true] { opacity:.5; pointer-events:none; }
.bl-card-media .bl-card-status:not(:empty) { position:absolute; width:auto; height:auto; clip-path:none; clip:auto; left:4px; bottom:4px; padding:8px; background:white; font:13px/1.3 var(--body); z-index:2; }
@media(hover:hover) and (pointer:fine) { .bl-card-arrow,.bl-card-quick { opacity:0; } .bl-card-media:is(:hover,:focus-within) :is(.bl-card-arrow,.bl-card-quick) { opacity:1; } }
.bl-load-more { display:block; margin:24px auto; border:1px solid #000; border-radius:10px; background:white; padding:10px 24px; font:inherit; cursor:pointer; }
html.bl-quick-open { overflow:hidden; }
.bl-quick-view { box-sizing:border-box; width:min(864px,calc(100vw - 32px)); max-width:none; height:min(720px,calc(100dvh - 64px)); max-height:calc(100dvh - 32px); padding:0; border:0; border-radius:14px; background:white; color:#000; overflow:hidden; }
.bl-quick-view::backdrop { background:#0004; }
.bl-quick-close { position:absolute; z-index:5; top:14px; right:14px; width:32px; height:32px; display:grid; place-items:center; padding:7px; background:#fff; color:#000; border:0; border-radius:50%; cursor:pointer; }
.bl-quick-close svg { width:18px; height:18px; }
.bl-quick-content { height:100%; display:grid; grid-template-columns:1fr 1.25fr; }
.bl-quick-loading { padding:40px; grid-column:1/-1; }
.bl-quick-images { min-width:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.bl-quick-images img { display:block; width:100%; height:auto; border:1px solid #000; margin-bottom:5px; aspect-ratio:1; object-fit:contain; }
.bl-quick-summary { padding:24px 28px 20px 52px; display:flex; flex-direction:column; min-width:0; overflow:auto; overscroll-behavior:contain; }
.bl-quick-summary h2 { font:700 24px/1.2 var(--body); margin:0 24px 16px 0; text-wrap:initial; }
.woocommerce .bl-quick-summary .price { font:400 32px/1.2 var(--display); color:#000; margin-bottom:26px; }
.bl-quick-summary form.cart { flex:1; display:flex; flex-direction:column; margin:0; }
.bl-quick-view .variations { border:0; margin:0 0 18px; width:100%; }
.bl-quick-view .variations tr,.bl-quick-view .variations th,.bl-quick-view .variations td { display:block; text-align:left; padding:0; border:0; }
.bl-quick-view .variations th { padding-bottom:8px; }
.bl-quick-view .variations tr { margin-bottom:16px; }
.bl-quick-view .variations th label { font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#6b6459; }
.bl-quick-view .variations select { max-width:100%; padding:10px; }
.bl-quick-view .bootlg-choices { gap:10px; }
.bl-quick-view .bootlg-choice { border:1px solid #000; border-radius:14px; min-height:48px; flex:1 0 48px; font:700 14px/1.2 var(--body); padding:8px; }
.bl-quick-view .bootlg-choice.bootlg-swatch { flex:0 0 44px; }
.bl-quick-view .reset_variations { font-size:12px; }
.bl-quick-view .single_variation_wrap { margin-top:auto; }
.bl-quick-view .woocommerce-variation-add-to-cart { display:flex; gap:10px; flex-wrap:wrap; align-items:stretch; padding-top:16px; }
.bl-quick-view .woocommerce-variation-price { display:none; }
.bl-quick-view .quantity { display:flex; align-items:center; border:1px solid #000; border-radius:4px; margin:0!important; max-width:130px; }
.bl-quick-view .quantity input { appearance:textfield; width:40px; border:0; padding:8px 0; background:transparent; text-align:center; }
.bl-quick-view .quantity input::-webkit-inner-spin-button { appearance:none; }
.bl-quick-view .quantity button { width:36px; min-height:48px; background:white; color:#000; border:0; font:22px/1 sans-serif; cursor:pointer; }
.woocommerce.bl-quick-view button.button.single_add_to_cart_button { flex:1; min-height:52px; border:0; border-radius:14px; background:#ffdb58; color:#000; font:400 16px/1.4 var(--body); padding:12px; margin:0; }
.bl-quick-view button.single_add_to_cart_button:disabled { opacity:.45; cursor:default; }
.bl-quick-status { font-size:14px; margin:8px 0; }.bl-quick-status:empty { display:none; }
.bl-quick-details { font-size:12px; margin-top:14px; color:#555; }
@media(max-width:900px) { .bl-catalogue-sort .woocommerce-ordering { max-width:125px; }.bl-catalogue-sort select { max-width:125px; }.bl-catalogue-toolbar { font-size:13px; }.bl-catalogue-toolbar .bootlg124-facets { gap:10px; } }
@media(max-width:749px) {
 body:is(.post-type-archive-product,.tax-product_cat) .store-content { width:calc(100% - 32px); }
 .woocommerce-products-header .bl-collection-hero { padding:24px 16px; }
 .bl-collection-hero h1 { font-size:32px; }.bl-collection-hero h2 { font-size:22px; }.bl-collection-hero .bl-collection-photo { width:100%; }
 .bl-catalogue-filters { width:100%; }.bl-catalogue-filters > summary { display:list-item; font-weight:400; }
 .bl-catalogue-filters[open] .bootlg124-facets { padding-bottom:12px; }.bl-catalogue-toolbar .bootlg124-facets { flex-wrap:wrap; gap:4px 18px; }
 .bl-catalogue-sort { width:100%; margin:0; justify-content:space-between; }.bl-facet fieldset { max-width:calc(100vw - 40px); }
 .woocommerce .store-content > ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 12px; }
 .woocommerce .store-content[data-density=compact] > ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .bl-card-quick { right:6px; bottom:6px; font-size:12px; gap:4px; }
 .bl-card-arrow { width:30px; }.bl-card-arrow svg { width:18px; }
 .bl-quick-view { width:calc(100vw - 24px); height:calc(100dvh - 32px); }
 .bl-quick-content { display:block; overflow:auto; overscroll-behavior:contain; }
 .bl-quick-images { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; overflow-y:hidden; }
 .bl-quick-images img { flex:0 0 100%; width:100%; max-height:38dvh; object-fit:contain; scroll-snap-align:start; border:0; margin:0; }
 .bl-quick-summary { overflow:visible; padding:20px; }.bl-quick-summary h2 { font-size:22px; }.woocommerce .bl-quick-summary .price { font-size:26px; margin-bottom:20px; }
 .bl-quick-view .bootlg-choices { gap:6px; }.bl-quick-view .bootlg-choice { flex-basis:42px; }
 .bl-quick-view .single_variation_wrap { margin-top:10px; }
}
@media(prefers-reduced-motion:reduce) { .bl-card-arrow,.bl-card-quick { transition:none; } }

.bl-quick-view .bl-quick-guide { display:contents; }
.bl-quick-view .variations th:has(.bl-size-link) { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.bl-quick-view .bl-size-link { padding:0; border:0; background:transparent; color:#000; font:400 12px/1.4 var(--body); text-decoration:underline; cursor:pointer; }

.bl-quick-view .single_add_to_cart_button svg { width:22px; height:22px; flex:0 0 22px; }

.bl-quick-view .bootlg-choices[aria-label^="Size" i] { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); }
.woocommerce.bl-quick-view button.button.single_add_to_cart_button { display:inline-flex; align-items:center; justify-content:center; gap:8px; }
