.woocommerce ul.products li.product { position:relative; container-type:inline-size; }
.woocommerce ul.products li.product .bs-quick-add { position:absolute; top:calc(125cqw - 64px); left:12px; right:12px; z-index:2; padding:12px 16px; border:1px solid #d7e4dd; border-radius:8px; background:#fff; color:#194e43; font:inherit; font-weight:700; cursor:pointer; box-shadow:0 4px 16px #183c3420; opacity:0; pointer-events:none; transform:translateY(4px); transition:opacity .15s,transform .15s; }
.woocommerce ul.products li.product:hover .bs-quick-add,.woocommerce ul.products li.product:focus-within .bs-quick-add { opacity:1; pointer-events:auto; transform:none; }
@media(hover:none) { .woocommerce ul.products li.product .bs-quick-add { position:static; opacity:1; pointer-events:auto; transform:none; width:100%; margin-top:12px; } }
.bs-quick-dialog { width:min(940px,calc(100% - 28px)); max-height:90dvh; border:0; border-radius:16px; padding:36px 24px 24px; color:#18342c; background:#fff; }
.bs-quick-dialog::backdrop { background:#102a2499; }
html:has(.bs-quick-dialog[open]) { overflow:hidden; }
.bs-quick-close { position:sticky; top:0; float:right; z-index:3; width:40px; height:40px; margin-top:-24px; margin-right:-12px; border:0; border-radius:50%; background:#eff5f1; font-size:28px; cursor:pointer; }
.bs-quick-content { clear:both; display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:28px; }
.bs-quick-photo { width:100%; height:430px; object-fit:contain; background:#f6f8f6; border-radius:10px; }
.bs-quick-panel { min-width:0; }.bs-quick-panel h2 { font-size:23px; line-height:1.3; margin:0 0 8px; }.bs-quick-panel h3 { font-size:15px; margin:22px 0 12px; }
.bs-quick-panel fieldset { padding:0; border:0; margin:18px 0 0; min-width:0; }.bs-quick-option { display:flex; gap:12px; align-items:center; margin:12px 0; }.bs-quick-option select { min-width:0; max-width:100%; padding:8px; }
.bs-quick-swatches { display:flex; flex-wrap:wrap; gap:6px; max-height:170px; overflow:auto; padding:3px; }.bs-quick-swatches button { width:28px; height:28px; border:1px solid #b5c1ba; border-radius:4px; padding:2px; cursor:pointer; background:#fff; }.bs-quick-swatches img { width:100%; height:100%; object-fit:cover; }.bs-quick-swatches .bs-quick-text-swatch { width:auto; height:auto; min-height:32px; padding:5px 8px; }.bs-quick-swatches button[aria-pressed=true] { outline:2px solid #194e43; outline-offset:1px; }
.bs-quick-sizes { display:grid; grid-template-columns:repeat(auto-fit,minmax(62px,1fr)); gap:10px; }.bs-quick-sizes label { font-size:12px; text-align:center; }.bs-quick-sizes input { display:block; width:100%; box-sizing:border-box; margin:7px 0; padding:8px 4px; border:1px solid #bac9c0; border-radius:5px; }.bs-quick-sizes input:disabled { background:#eef0ee; }.bs-quick-sizes small { display:block; font-size:11px; }.bs-quick-summary,.bs-quick-status { font-size:13px; line-height:1.5; }.bs-quick-submit { width:100%; padding:14px; border:0; border-radius:8px; background:#194e43; color:#fff; font:inherit; font-weight:700; cursor:pointer; }.bs-quick-submit:disabled { opacity:.6; }
@media(max-width:700px) { .bs-quick-content { grid-template-columns:1fr; gap:16px; }.bs-quick-photo { height:200px; }.bs-quick-dialog { padding:32px 18px 20px; }.bs-quick-panel h2 { font-size:20px; }.bs-quick-sizes { grid-template-columns:repeat(4,minmax(0,1fr)); }.woocommerce ul.products li.product .bs-quick-add { position:static; opacity:1; pointer-events:auto; transform:none; width:100%; margin-top:10px; } }
.bs-quick-panel h2 { padding-right:32px; }
.bs-quick-details { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:4px; padding:10px 16px; border:1px solid #194e43; border-radius:8px; background:#fff; color:#194e43; font-size:14px; font-weight:700; line-height:1.4; text-decoration:none; }
.bs-quick-details:hover { background:#eff5f1; color:#194e43; text-decoration:none; }
.bs-quick-details:focus-visible { outline:2px solid #194e43; outline-offset:3px; }
@media(max-width:700px) { .bs-quick-dialog .bs-quick-photo { height:200px; max-height:200px; object-fit:contain; } }

.bs-quick-sizes input { text-align:center; appearance:textfield; -moz-appearance:textfield; }
.bs-quick-sizes input::-webkit-inner-spin-button,.bs-quick-sizes input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.bs-quick-sizes input::placeholder { color:#7c8982; opacity:1; }

@media (max-width: 767px), (pointer: coarse) {
    .bs-quick-sizes input { font-size:16px; }
}
