/* Product card layout; typefaces and palette are inherited from the storefront. */
.bbr-model-product, .bbr-model-tabs { --bbr-model-rule: rgba(255,255,255,.2); }
.bbr-model-product { align-items: start; }
.bbr-model-product .product-info { min-width: 0; }
.bbr-model-gallery { min-width: 0; }
.bbr-model-hero { display: block; position: relative; cursor: zoom-in; }
.bbr-model-hero img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; }
.bbr-model-zoom {
    display: grid; place-items: center; position: absolute; right: 12px; bottom: 12px;
    height: 32px; width: 32px; border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%; background: #1c1c1c; color: #fff; font: 21px/1 sans-serif;
}
.bbr-model-filmstrip { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; padding: 10px 2px 2px; }
.bbr-model-filmstrip a { display: grid; width: 100%; aspect-ratio: 3/2; align-items: center; min-width: 0; color: inherit; }
.bbr-model-filmstrip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bbr-model-filmstrip a[aria-current="true"] { outline: 2px solid #fff; outline-offset: 2px; }
.bbr-model-filmstrip .bbr-model-all-photos {
    border: 1px solid var(--bbr-model-rule); text-align: center; font: 13px/1.25 AcromBold,sans-serif;
}
.bbr-model-gallery a:focus-visible, .bbr-model-product button:focus-visible, .bbr-model-tabs a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bbr-model-product .product-heading { margin: 0; }
.bbr-model-product .product-name { margin: 0; font-size: clamp(30px, 2.8vw, 48px); line-height: 1.08; }
.bbr-model-product .product-price { margin-top: 10px; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.3; }
.bbr-model-product .product-brief {
    overflow-wrap: break-word;
    max-width: 40ch;
    margin: 24px 0 28px;
    padding-inline-start: 16px;
    border-inline-start: 2px solid #ccc;
    font: clamp(19px, 1.45vw, 23px)/1.48 Acrom, sans-serif;
    text-wrap: pretty;
}
.bbr-model-product .product-color:empty { display: none; }
.bbr-model-product .product-size { margin: 0; padding-top: 20px; border-top: 1px solid var(--bbr-model-rule); }
.bbr-model-product #product .size-tiles { margin: 0; max-width: none; }
.bbr-model-product #product .size-tiles-grid { grid-template-columns: repeat(auto-fill,minmax(55px,1fr)); gap: 7px; }
.bbr-model-product #product .size-tile > span { min-height: 44px; }
.bbr-model-product #extra-size-text:empty { display: none !important; }
.bbr-model-product #extra-size-text:not(:empty) { font-size: 15px; line-height: 1.55; margin: 16px 0 0; }
.bbr-model-product .bbr-gifts { margin: 20px 0 0; }
.bbr-model-product .bbr-gifts legend { margin-bottom: 10px; font: 18px/1.4 AcromBold,sans-serif; }
.bbr-model-product .bbr-gifts-grid {
    display: grid; grid-template-columns: repeat(var(--gift-columns),minmax(0,1fr));
    max-width: calc(var(--gift-columns) * 116px); gap: 12px;
}
.bbr-model-product .bbr-gifts a.bbr-gift-name { font: 14px/1.35 Acrom,sans-serif; }
.bbr-model-product .bbr-no-gift { min-height: 32px; margin-top: 6px; }
.bbr-model-product #button-cart-wrapper { width: 100%; }
.bbr-model-product #button-cart { width: 100%; margin-top: 14px; }
.bbr-model-product .form-group { margin-bottom: 0; }
.bbr-model-tabs { overflow: visible; }
.bbr-model-tabs > ul { display: flex; flex-wrap: wrap; justify-content: flex-start; width: auto; gap: 8px 22px; border-bottom: 1px solid var(--bbr-model-rule); }
.bbr-model-tabs > ul > li > a { display: inline-block; padding: 12px 0; border-bottom: 2px solid transparent; scroll-margin-top: 6rem; }
.bbr-model-tabs > ul > li.active a { padding: 12px 0; border-top: 0; border-bottom-color: currentColor; }
.bbr-model-tabs .tab-pane { margin-top: 24px; }
.bbr-model-tabs #tab-description p, .bbr-model-tabs #tab-faq p { max-width: 66ch; width: auto; }
@media (min-width: 861px) {
    .bbr-model-product, .bbr-model-tabs {
        grid-template-columns: minmax(0,1.45fr) minmax(315px,1fr);
        column-gap: clamp(24px,3vw,56px);
    }
    .bbr-model-product { padding-bottom: 1rem; }
    .bbr-model-product > .product-info {
        box-sizing: border-box;
        inline-size: min(100%, 509px);
        justify-self: start;
    }
    .bbr-model-product #product .bbr-gifts-grid {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(var(--gift-columns), minmax(0, 120px));
    }
    .bbr-model-gallery { align-self: start; }
    .bbr-model-tabs { display: grid; padding-top: 24px; }
    .bbr-model-tabs > ul { grid-column: 1; min-width: 0; }
    .bbr-model-tabs > .tab-content {
        grid-column: 1 / -1; display: grid; min-width: 0;
        grid-template-columns: inherit; column-gap: inherit;
    }
    .bbr-model-tabs > .tab-content > * { grid-column: 1 / -1; }
    .bbr-model-tabs #tab-description { grid-column: 1; min-width: 0; overflow-wrap: break-word; }
    .bbr-model-tabs #tab-description p { max-width: 100%; }
    .bbr-model-tabs #tab-description :is(img, video, iframe) { max-width: 100%; }
    .bbr-model-product--no-photo ~ .bbr-model-tabs { grid-template-columns: minmax(0,1fr); }
}
@media (min-width: 1201px) and (min-height: 740px) {
    .bbr-model-gallery { position: sticky; top: 5rem; }
}
@media (max-width: 860px) {
    .bbr-model-product { grid-template-columns: minmax(0,1fr); row-gap: 0; padding-bottom: 16px; }
    .bbr-model-product .product-info { display: contents; }
    .bbr-model-product .product-heading { order: 0; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 18px; }
    .bbr-model-product .product-price { margin: 0; max-width: 100%; }
    .bbr-model-gallery { order: 1; }
    .bbr-model-product .product-brief { order: 2; margin: 22px 0; padding-inline-start: 12px; font-size: 18px; }
    .bbr-model-product .product-color { order: 3; }
    .bbr-model-product #product { order: 4; padding-top: 16px; }
    .bbr-model-product #product .size-tiles-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
    .bbr-model-tabs { padding-top: 18px; }
    .bbr-model-tabs > ul { gap: 0 16px; }
    .bbr-model-tabs > ul > li a { font-size: 15px; }
}
@media (max-width: 480px) {
    .bbr-model-filmstrip { gap: 6px; }
    .bbr-model-filmstrip a { min-height: 44px; }
    .bbr-model-filmstrip .bbr-model-all-photos { font-size: 12px; }
    .bbr-model-product .product-name { font-size: 28px; }
}
@media (max-width: 359px) {
    .bbr-model-product #product .size-tiles-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

.bbr-model-product--no-photo { grid-template-columns: minmax(0, 1fr); }
.bbr-model-product--no-photo .product-info { max-width: 46rem; }
