.bs-largephoto { position: relative; isolation: isolate; }
.bs-photo .bs-enlarge { z-index: 2; }
.bs-photo .bs-photo-fade, .bs-largephoto .bs-photo-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.bs-swatches button[aria-pressed="true"] i {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}
.bs-cart-feedback:empty { margin: 0; padding: 0; }
.bs-cart-feedback:not(:empty) {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 12px 0 5px;
  padding: .7rem .8rem;
  color: #15286c;
  background: #edf1ff;
  border-radius: 8px;
  font-size: .87rem;
  line-height: 1.45;
}
.bs-cart-feedback:not(:empty)::before {
  content: "";
  width: 11px;
  height: 6px;
  flex: 0 0 11px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}
.bs-cartfees {
  display: grid;
  justify-content: stretch;
  gap: 5px;
  margin: 12px 0 16px;
  padding: 12px 14px 16px;
  background: #f3f5fa;
  border-radius: 9px;
}
.bs-cartfees button { justify-self: start; }
.bs-cartfees span { color: #374056; line-height: 1.5; }
.bs-postage-track {
  height: 4px;
  border-radius: 4px;
  background: #d7ddec;
  margin-top: 5px;
  overflow: hidden;
}
.bs-postage-track i {
  display: block;
  width: var(--progress,0%);
  height: 100%;
  border-radius: inherit;
  background: #244cce;
}
.bs-qty { gap: 0; }
.bs-qty button { width: 44px; height: 44px; }
.bs-qty span { min-width: 1.25rem; text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .bs-photo .bs-photo-fade, .bs-largephoto .bs-photo-fade {
    animation: bs-finish-fade .25s ease-out both;
  }
  .bs-largephoto img { transition: transform .24s ease-out; }
  .bs-postage-track i { transition: width .25s ease-out; }
  .bs-swatches button:active, .bs-thumb:active, .bs-qty button:active {
    background-color: #e2e8ff;
  }
}
@keyframes bs-finish-fade {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-photo img, .bs-thumb img, .bs-largephoto img { transition: none; animation: none; }
  .bs-photo-fade { display: none !important; }
}
/* Local product-review editor */
.mr-review-entry,.mr-review-editor{max-width:640px}
.mr-review-entry{margin-top:16px;padding:16px 0;border-block:1px solid #dce0e8}
.mr-review-entry>div,.mr-review-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.mr-review-entry strong{font-size:15px}
.mr-review-score{padding:4px 8px;background:#edf0ff;color:#203ca0;border-radius:6px;font:600 13px/1.2 Inter,Arial,sans-serif}
.mr-review-entry p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}
.mr-review-entry button{border:0;background:transparent;padding:7px 0;font:500 13px/1.4 Inter,Arial,sans-serif;text-decoration:underline;text-underline-offset:.2em;color:#444858}
.mr-review-editor{margin-top:14px}
.mr-review-editor summary{cursor:pointer;min-height:42px;width:fit-content;padding:10px 0;color:#213caa;font-weight:600}
.mr-review-editor form{padding:16px clamp(14px,2.5vw,25px) 21px;background:#f6f7fb;border:1px solid #e0e3ee;border-radius:12px}
.mr-review-editor .mr-review-note{font-size:13px;margin:0 0 16px;line-height:1.5;color:#535868}
.mr-review-editor fieldset{min-width:0;padding:0;border:0;margin:0 0 16px}
.mr-review-editor legend,.mr-review-editor form>label{display:block;font:600 14px/1.4 Inter,Arial,sans-serif;margin-bottom:6px;padding:0}
.mr-review-rating{display:flex;gap:5px;flex-wrap:wrap}
.mr-review-rating label{position:relative;display:block;cursor:pointer}
.mr-review-rating input{position:absolute;width:1px;height:1px;opacity:0}
.mr-review-rating span{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;border:1px solid #bfc4d0;background:white;color:#1e2128;font-weight:600}
.mr-review-rating input:checked+span{color:#fff;background:#153af4;border-color:#153af4}
.mr-review-rating input:focus-visible+span{outline:2px solid #153af4;outline-offset:2px}
.mr-review-editor textarea{display:block;width:100%;resize:vertical;box-sizing:border-box;min-height:88px;padding:10px 12px;font:400 15px/1.45 Inter,Arial,sans-serif;background:white;border:1px solid #bfc4d0;border-radius:8px;color:#17191c}
.mr-review-controls{margin-top:12px}
.mr-review-controls small{font-size:12px;color:#626676}
.mr-review-rateline{display:flex;align-items:center;flex-wrap:wrap;gap:3px 13px}
.mr-review-rateline output{font-size:13px;color:#46506b}
.mr-review-rating{gap:1px}
.mr-review-rating label span{position:relative;width:44px;height:46px;border:0;background:transparent;border-radius:6px;color:#596275}
.mr-review-rating label span b,.mr-review-rating label span i{grid-area:1/1;font:normal 31px/1 Arial,sans-serif}
.mr-review-rating label span i{opacity:0;color:#183be3}
.mr-review-rating input:checked+span{background:#e9edff;border:0}
.mr-review-rating label:has(input:checked) span i,.mr-review-rating label:has(~ label input:checked) span i{opacity:1}
.mr-review-score span{color:#1534bb;letter-spacing:1px}
.mr-sample-reviews { max-width: 640px; }
.bs-reviews .mr-sample-notice { margin: 12px 0 3px; padding: 10px 13px; border-radius: 8px; background: #f0f3ff; color: #263a75; font-size: 13px; }
.mr-sample-review { padding: 15px 0; border-bottom: 1px solid #dce0e8; }
.mr-sample-review header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mr-sample-review small { display: block; margin-top: 2px; font-size: 12px; color: #535967; }
.mr-sample-review p { margin: 6px 0 0; }
@media(hover:hover){.mr-review-rating label:hover span{background:#edf0fa}}
/* Home selection only; catalogue and related-item grids retain their own layouts. */
.mr-essentials .section-top{align-items:flex-end;margin-bottom:clamp(18px,2.2vw,34px)}
.mr-essentials .section-top h2{margin:0}
.mr-essentials .section-top>.plainlink{flex:none;padding:8px 0;align-self:flex-end}
.mr-essentials #selection{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.8vw,28px)}
.mr-essentials .bs-cardphoto{aspect-ratio:1.04;border-radius:12px}
.mr-essentials .bs-cardmeta{min-height:28px;padding:12px 0 2px;color:#565a67;font-weight:550}
.mr-essentials .bs-cardline{align-items:baseline;flex-wrap:wrap;gap:3px 9px}
.mr-essentials .bs-card h3{font-size:clamp(19px,1.75vw,28px);letter-spacing:-.045em}
.mr-essentials .bs-cardline strong{color:#14171e;font-size:15px;font-weight:650}
.mr-essentials .bs-cardfit{display:block;margin-top:2px;line-height:1.4;color:#555a66;font-size:13px}
.mr-essentials .bs-dots button{width:25px;min-height:25px}
.mr-essentials .mr-essential-model{display:inline-flex;align-items:center;gap:7px;min-height:32px;margin:8px 0 0;padding:4px 9px;border:1px solid #cfd8fe;background:#f0f3ff;border-radius:6px;color:#1938ae;font:600 12px/1.4 Inter,Arial,sans-serif;cursor:pointer}
.mr-essentials .mr-essential-model::after{content:"";width:5px;height:5px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-1px) rotate(45deg)}
.mr-essentials .mr-essential-model[hidden]{display:none}
.mr-essential-empty{grid-column:1/-1;padding:24px 0}
@media(max-width:820px){
  .mr-essentials #selection{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}
  .mr-essentials .bs-cardline{display:block}
  .mr-essentials .bs-cardline strong{display:block;margin:4px 0 1px}
  .mr-essentials .bs-cardmeta{font-size:11px;padding-top:8px;min-height:24px}
  .mr-essentials .bs-cardfit{font-size:12px}
  .mr-essentials .bs-cardphoto{aspect-ratio:1.02;border-radius:9px}
}
@media(max-width:350px){.mr-essentials .section-top{flex-wrap:wrap;gap:3px}.mr-essentials .bs-card h3{font-size:18px}}
.mr-review-photo{display:inline-flex;align-items:center;gap:11px;margin-top:10px;padding:4px 14px 4px 4px;border:1px solid #d6dae5;border-radius:9px;background:white;color:#253c92;font:600 12px/1.35 Inter,Arial,sans-serif;text-align:left}
.mr-review-photo img{width:70px;height:62px;display:block;object-fit:cover;border-radius:5px}
.mr-review-photo:hover{border-color:#778abf;background:#f7f8fe}
.bs-lightbox .mr-photozoom{min-height:40px;min-width:100px;border:1px solid #c6cad7;border-radius:24px;background:#fff;color:#202530;padding:7px 16px;font:600 14px/1.3 Inter,Arial,sans-serif}
.bs-lightbox .mr-photozoom[aria-pressed=true]{color:white;background:#153af4;border-color:#153af4}
.bs-lightbox .bs-largephoto[data-zoom=true]{display:block;overflow:auto;overscroll-behavior:contain}
.bs-lightbox .bs-largephoto[data-zoom=true] img{width:200%;height:200%;max-width:none;max-height:none;object-fit:contain}
.bs-gallerybar{flex-wrap:wrap}
@media(max-width:500px){.bs-lightbox .bs-gallerycontrol{gap:10px}.bs-lightbox .bs-gallerycontrol>span{font-size:13px}.bs-lightbox .bs-panelbody{padding-bottom:max(14px,env(safe-area-inset-bottom))}}
