/* Product detail */
.bs-pdp-page {
    --pdp-ink: #152638;
    --pdp-muted: #536577;
    --pdp-line: #e0e6ed;
    --pdp-accent: #086b5e;
    --pdp-soft: #f3f6f8;
    width: 100%;
    max-width: 1660px;
    margin-inline: auto;
    padding: 16px clamp(12px, 2.25vw, 40px) 42px;
    color: var(--pdp-ink);
}
.bs-retail .bs-retail-pdp-v2 .bs-pdp-shell { margin-top: 10px; background: #fff; border: 0; border-radius: 0; box-shadow: none; }
.bs-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "gallery" "info" "purchase" "fulfillment";
    align-items: start;
}
.bs-product-layout > *, .bs-pdp-details > * { min-width: 0; }
.bs-pdp-gallery { grid-area: gallery; padding: 10px 12px; }
.bs-pdp-info { grid-area: info; padding: 14px 20px; }
.bs-pdp-buy-column { grid-area: purchase; padding: 0 20px 18px; }
.bs-pdp-fulfillment { grid-area: fulfillment; padding: 0 20px 20px; }
.bs-pdp-info h1 { margin-top: 7px; font-size: clamp(22px, 2vw, 32px); line-height: 1.45; overflow-wrap: anywhere; }
.bs-pdp-tools { margin-top: 12px; }
.bs-pdp-tools button { min-height: 42px; border-radius: 8px; }
.bs-pdp-info > p { margin-block-start: 12px; overflow-wrap: anywhere; }
.bs-pdp-info a:hover, .bs-pdp-bundle-name:hover { text-decoration: underline; }
.bs-pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 13px; }
.bs-pdp-price strong { color: var(--pdp-ink); font-size: clamp(32px, 3.3vw, 48px); font-weight: 900; line-height: 1.24; font-variant-numeric: tabular-nums; }
.bs-pdp-price > span, .bs-pdp-price del { color: var(--pdp-muted); font-size: 13px; font-weight: 700; }
.bs-pdp-price .bs-pdp-discount { padding: 2px 8px; color: #a01f38; background: #fff0f3; border-radius: 5px; }
.bs-pdp-buy-title { font-size: 17px; font-weight: 900; }
.bs-retail-pdp-v2.bs-pdp-page .bs-pdp-purchase { padding: 16px; background: #fff; border: 1px solid var(--pdp-line); border-radius: 8px; box-shadow: none; }
.bs-pdp-stock { width: fit-content; max-width: 100%; background: transparent; padding-inline: 0; }
.bs-pdp-purchase form { margin-top: 13px; }
.bs-pdp-purchase .bs-pdp-actions { display: grid; gap: 8px; margin-top: 14px; }
.bs-pdp-page .bs-pdp-purchase .bs-pdp-actions button { min-height: 48px; margin: 0; }
.bs-retail-pdp-v2.bs-pdp-page .bs-pdp-purchase .bs-pdp-actions button:first-child { background: #f7d23d; color: #152638; }
.bs-retail-pdp-v2.bs-pdp-page .bs-pdp-purchase .bs-pdp-actions button[name=buy_now] { color: #152638; background: #fff; border: 1px solid #aebcc8; }
.bs-pdp-page .bs-pdp-purchase .bs-pdp-actions button:hover { filter: brightness(.96); }
.bs-pdp-seller { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: 12px; color: var(--pdp-muted); font-size: 12px; }
.bs-pdp-seller strong, .bs-pdp-seller a { color: var(--pdp-ink); }
.bs-pdp-purchase-policy { padding-top: 10px; border-top: 1px solid var(--pdp-line); }
.bs-pdp-fulfillment > section { border-top: 1px solid var(--pdp-line); padding-top: 14px; }
.bs-pdp-payment { padding-inline: 0; border-inline: 0; border-bottom: 0; border-radius: 0; background: transparent; }
.bs-pdp-delivery-option { padding: 5px 0; background: transparent; }

.bs-pdp-gallery-grid { display: grid; gap: 8px; align-items: start; }
.bs-retail-pdp-v2.bs-pdp-page #product-gallery-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    height: clamp(260px, 92vw, 560px);
    border: 0;
    border-radius: 0;
    background: #fff;
    touch-action: pan-y pinch-zoom;
}
.bs-pdp-gallery-placeholder { position: absolute; inset: 0; }
#product-main-image {
    width: var(--pdp-image-scale);
    height: var(--pdp-image-scale);
    min-height: 0;
    object-fit: contain;
    user-select: none;
}
#product-main-image[hidden] { display: none; }
#product-gallery-stage:has(#product-zoom-button) #product-main-image { cursor: zoom-in; }
.bs-gallery-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--pdp-line);
    background: #fff;
    color: var(--pdp-ink);
    font-size: 25px;
    line-height: 1;
}
.bs-gallery-button:hover { background: #f6f7f8; }
.bs-gallery-button svg { width: 19px; height: 19px; }
#product-zoom-button { position: absolute; inset-block-start: 6px; inset-inline-end: 5px; }
.bs-gallery-prev, .bs-gallery-next { position: absolute; top: 50%; transform: translateY(-50%); }
.bs-gallery-prev { inset-inline-start: 4px; }
.bs-gallery-next { inset-inline-end: 4px; }
[dir=rtl] :is(.bs-gallery-prev, .bs-gallery-next) { scale: -1 1; }
#product-gallery-counter {
    position: absolute;
    inset-block-end: 6px;
    inset-inline-end: 6px;
    padding: 3px 9px;
    background: #fff;
    border: 1px solid var(--pdp-line);
    border-radius: 16px;
    font-size: 11px;
    color: var(--pdp-muted);
}
.bs-pdp-thumbs { display: flex; gap: 6px; overflow: auto; padding: 4px; scrollbar-width: thin; scroll-snap-type: inline proximity; }
.bs-pdp-page .product-thumb {
    flex: 0 0 auto;
    width: clamp(50px, 14vw, var(--pdp-thumb-size));
    aspect-ratio: 1;
    overflow: hidden;
    padding: 3px;
    border: 1px solid var(--pdp-line);
    border-radius: 6px;
    background: #fff;
    scroll-snap-align: start;
}
.bs-retail-pdp-v2 .product-thumb[aria-pressed=true] { box-shadow: inset 0 0 0 1px #087d72; }
#product-lightbox {
    position: fixed;
    width: min(1200px, calc(100% - 16px));
    max-width: none;
    height: min(94dvh, 980px);
    max-height: none;
    margin: auto;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--pdp-ink);
    padding: 52px clamp(16px, 4vw, 60px) 12px;
    overflow: hidden;
}
#product-lightbox::backdrop { background: rgb(11 19 29 / 76%); }
#product-lightbox-image { width: 100%; height: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; }
.bs-lightbox-bar {
    position: absolute;
    inset: 4px 8px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--pdp-muted);
}
html:has(#product-lightbox[open]) { overflow: hidden; }
.bs-product-alert { margin-block-start: 14px; border-block-start: 1px solid var(--pdp-line); }
.bs-product-alert-summary {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 17px;
    gap: 9px;
    align-items: center;
    min-height: 54px;
    padding: 7px 2px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.bs-product-alert-summary::-webkit-details-marker { display: none; }
.bs-product-alert-icon { width: 23px; height: 23px; color: #087855; }
.bs-product-alert-chevron { width: 16px; height: 16px; color: var(--pdp-muted); }
.bs-product-alert[open] .bs-product-alert-chevron { rotate: 180deg; }
.bs-product-alert-summary small { display: block; color: var(--pdp-muted); font-size: 11px; font-weight: 600; }
.bs-pdp-purchase .bs-product-alert-form { display: grid; gap: 6px; margin: 0; padding-block: 4px 9px; }
.bs-product-alert-form label { display: block; font-size: 12px; font-weight: 800; }
.bs-product-alert-form :is(input[type=tel], input[type=number], select) {
    width: 100%;
    min-height: 43px;
    border: 1px solid #b8c4cd;
    border-radius: 6px;
    padding: 6px 9px;
    background: #fff;
    font-size: 14px;
}
.bs-product-alert-form [data-alert-target] { margin-block: 3px; }
.bs-product-alert-form [data-alert-target] input { margin-top: 4px; }
.bs-product-alert-form .bs-product-alert-consent {
    display: flex;
    gap: 7px;
    align-items: start;
    margin-block: 4px;
    color: var(--pdp-muted);
    font-weight: 600;
}
.bs-product-alert-consent input { margin-top: 3px; accent-color: #087855; }
.bs-product-alert-form button { min-height: 43px; border-radius: 6px; background: #09674f; color: #fff; font-size: 13px; font-weight: 800; }
.bs-product-alert-error { color: #a02234; font-size: 12px; }
.bs-pdp-delivery-heading { display: flex; align-items: center; gap: 8px; }
.bs-pdp-delivery-heading svg { width: 24px; height: 24px; color: var(--pdp-muted); flex: 0 0 auto; }
.bs-pdp-delivery-heading h2 { font-size: 15px; font-weight: 900; }
.bs-pdp-delivery-hint { margin-block: 5px; color: var(--pdp-muted); font-size: 12px; }
.bs-pdp-estimate { margin-block-start: 9px; min-inline-size: 0; }
.bs-pdp-estimate legend { margin-bottom: 5px; font-size: 12px; font-weight: 700; color: var(--pdp-muted); }
.bs-pdp-estimate-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.bs-pdp-estimate-fields select {
    min-width: 0;
    width: 100%;
    min-height: 43px;
    padding-inline: 6px 23px;
    border: 1px solid #bfccd6;
    border-radius: 6px;
    background-color: #fff;
    font-size: 13px;
    text-overflow: ellipsis;
}
.bs-pdp-estimate-fields select:disabled { border-color: #e1e6eb; color: #627386; background-color: #fff; }
.bs-pdp-estimate-summary { min-height: 27px; margin-block-start: 7px; font-size: 13px; color: var(--pdp-muted); }
.bs-pdp-estimate-summary[data-estimate-state=free] [data-estimate-result] { color: #08724f; font-weight: 900; }
.bs-pdp-estimate-summary[data-estimate-state=priced] [data-estimate-result] { color: var(--pdp-ink); font-weight: 900; }
.bs-pdp-estimate-summary[data-estimate-state=unavailable] [data-estimate-result] { color: #9a263a; }
[data-estimate-note] { margin-block-start: 2px; font-size: 12px; }
[data-estimate-note]:empty { display: none; }
.bs-pdp-pickup { margin-block-start: 7px; font-size: 13px; }
.bs-pdp-pickup summary { display: list-item; padding: 7px 0; cursor: pointer; font-weight: 800; }
.bs-pdp-pickup ul { padding-inline-start: 18px; list-style: disc; color: var(--pdp-muted); }
.bs-pdp-jumps { display: flex; overflow-x: auto; gap: 6px; padding: 7px; margin-top: 18px; border: 1px solid var(--pdp-line); border-radius: 12px; background: #fff; scrollbar-width: thin; }
.bs-pdp-jumps a { flex: 0 0 auto; padding: 9px 13px; border-radius: 8px; color: var(--pdp-ink); font-size: 13px; font-weight: 800; }
.bs-pdp-details { display: grid; gap: 20px; margin-top: 12px; padding: clamp(16px, 2vw, 28px); border: 1px solid var(--pdp-line); border-radius: 14px; background: #fff; }
.bs-pdp-details > * { overflow-wrap: anywhere; }
.bs-pdp-prose { font-size: 15px; line-height: 1.95; color: var(--pdp-muted); overflow-x: auto; }
.bs-pdp-prose :is(p, ul, ol) { margin-block: 10px; }
.bs-pdp-prose ul { list-style: disc; padding-inline-start: 20px; }
.bs-pdp-specs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); font-size: 13px; border: 1px solid var(--pdp-line); border-radius: 10px; overflow: hidden; }
.bs-pdp-specs :is(dt, dd) { min-width: 0; margin: 0; padding: 11px; border-bottom: 1px solid var(--pdp-line); overflow-wrap: anywhere; }
.bs-pdp-specs dt { background: var(--pdp-soft); color: var(--pdp-muted); }
.bs-pdp-specs dd { color: var(--pdp-ink); font-weight: 700; }
.bs-pdp-extras { display: grid; gap: 12px; align-items: start; margin-top: 14px; }
.bs-pdp-extras > * { min-width: 0; margin-top: 0; }
.bs-pdp-page [id^="product-"] { scroll-margin-top: 156px; }
.bs-pdp-page > .bs-pdp-affiliate { margin-block: 16px 0; }
.bs-pdp-bundle {
    margin-top: 16px;
    padding: clamp(14px, 2vw, 24px);
    border: 1px solid var(--pdp-line);
    border-radius: 14px;
    background: #fff;
}
.bs-pdp-bundle h2 { margin: 0 0 12px; font-size: clamp(18px, 2vw, 23px); font-weight: 900; }
.bs-pdp-bundle-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 224px), 1fr)); gap: 8px; }
.bs-pdp-bundle-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 9px; padding: 9px; border: 1px solid var(--pdp-line); border-radius: 9px; }
.bs-pdp-bundle-base { background: #f5f8fa; }
.bs-pdp-bundle-item:has(input:checked) { border-color: var(--pdp-accent); background: #f1faf7; }
.bs-pdp-bundle-image { display: block; height: 64px; overflow: hidden; background: #fff; border-radius: 6px; }
.bs-pdp-bundle-item-copy { display: grid; gap: 4px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.bs-pdp-bundle-item-copy small, .bs-pdp-bundle-footer span { color: var(--pdp-muted); font-size: 12px; }
.bs-pdp-bundle-item-copy strong, .bs-pdp-bundle-name { font-weight: 800; }
.bs-pdp-bundle-select { display: flex; align-items: center; gap: 7px; min-height: 34px; width: fit-content; cursor: pointer; }
.bs-pdp-bundle-select input { accent-color: var(--pdp-accent); width: 17px; height: 17px; }
.bs-pdp-bundle-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pdp-line); }
.bs-pdp-bundle-footer output { display: block; font-size: 17px; font-weight: 900; }
.bs-pdp-bundle-footer button { min-height: 44px; border-radius: 8px; padding: 8px 15px; background: var(--pdp-accent); color: white; font-weight: 800; font-size: 13px; }
.bs-pdp-bundle-footer button:disabled { background: #e9eef1; color: #546371; cursor: default; }
.bs-pdp-page .bs-pdp-mobile-bar { z-index: 45; }
.bs-pdp-mobile-bar[data-actions-visible] { display: none; }
.bs-pdp-page :is(a, button, input, select, summary):focus-visible { outline: 2px solid #0a796d; outline-offset: 3px; }
@media (min-width: 760px) {
    .bs-product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "gallery info" "gallery purchase" "gallery fulfillment"; grid-template-rows: auto auto 1fr; }
    .bs-pdp-gallery, .bs-pdp-info { padding-top: 22px; }
    .bs-retail-pdp-v2.bs-pdp-page #product-gallery-stage { height: clamp(340px, 52vw, min(680px, var(--pdp-gallery-h))); }
    .bs-pdp-details { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
    .bs-pdp-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bs-pdp-mobile-bar { display: none; }
}
@media (min-width: 1024px) {
    .bs-pdp-gallery-grid.bs-pdp-with-thumbs { grid-template-columns: calc(var(--pdp-thumb-size) + 10px) minmax(0, 1fr); }
    .bs-pdp-with-thumbs #product-gallery-stage { grid-column: 2; grid-row: 1; }
    .bs-pdp-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; max-height: min(48vw, var(--pdp-gallery-h)); scroll-snap-type: block proximity; }
    .bs-retail-pdp-v2.bs-pdp-page #product-gallery-stage { height: clamp(365px, 43vw, min(700px, var(--pdp-gallery-h))); }
    .bs-pdp-page .product-thumb { width: 100%; }
}
@media (min-width: 1190px) {
    .bs-product-layout { grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr) minmax(265px, .69fr); grid-template-areas: "gallery info purchase" "gallery fulfillment purchase"; grid-template-rows: auto 1fr; }
    .bs-pdp-gallery { padding-inline: 5px 8px; }
    .bs-pdp-buy-column { position: sticky; top: 124px; padding: 22px 0; margin-inline: 0 18px; }
    .bs-pdp-fulfillment { padding-top: 0; }
    .bs-pdp-purchase .bs-pdp-actions { grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
    .bs-pdp-page:has(.bs-pdp-mobile-bar) { padding-bottom: 102px; }
    .bs-pdp-page .bs-pdp-purchase .bs-pdp-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bs-pdp-page .bs-pdp-purchase .bs-pdp-actions button { padding-inline: 4px; }
    .bs-pdp-page [id^="product-"] { scroll-margin-top: 68px; }
}
@media (max-width: 420px) {
    .bs-pdp-page { padding-inline: 9px; }
    .bs-pdp-info, .bs-pdp-buy-column, .bs-pdp-fulfillment { padding-inline: 12px; }
    .bs-pdp-gallery { padding: 4px 0; }
    .bs-pdp-purchase { padding: 12px; }
    .bs-pdp-mobile-bar button { padding-inline: 9px; }
}
@media print { .bs-pdp-mobile-bar { display: none !important; } }
