/* Bender & Bender gallery – full-width layout V24 */
.bb23-gallery{background:#fff9f3 url('../img/bb-paw-beige-v22.png') repeat 0 0/627px 627px;padding:clamp(68px,7vw,104px) 0;overflow:hidden}
.bb23-gallery-head{display:block;width:100%;max-width:none;box-sizing:border-box;text-align:center;padding:0 clamp(18px,4vw,64px);margin:0 auto clamp(20px,3vw,36px)}
.bb23-gallery-head h2{font-size:clamp(2.15rem,4vw,3.55rem);line-height:1.12;color:#483c2f;margin:0}

.bb23-gallery-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin:clamp(6px,1.4vw,16px) auto 0;padding:0 16px;max-width:none}
.bb23-gallery-controls button{width:46px;height:46px;border:1px solid #9ca890;border-radius:50%;font-size:30px;line-height:1;background:#fff9f3;color:#4d5d42;cursor:pointer}
.bb23-gallery-controls button:hover:not(:disabled){background:#4d5d42;color:#fff9f3}
.bb23-gallery-controls button:disabled{opacity:.36;cursor:default}
.bb23-gallery-controls button:focus-visible,.bb23-track:focus-visible{outline:3px solid #4d5d42;outline-offset:3px}
.bb23-track{display:flex;box-sizing:border-box;width:100%;max-width:none;gap:clamp(18px,2.4vw,30px);align-items:center;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:clamp(20px,3vw,56px);-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding:22px clamp(20px,3vw,56px) 32px;scrollbar-color:#9ca890 transparent;scrollbar-width:thin}
.bb23-polaroid{--bb-turn:0deg;flex:0 0 clamp(240px,26vw,325px);min-width:0;margin:0;padding:10px 10px 0;background:#fff;color:#483c2f;box-shadow:0 12px 23px #483c2f30;scroll-snap-align:center;transform:rotate(var(--bb-turn));transition:transform .45s ease,box-shadow .45s ease,opacity .45s ease}
.bb23-polaroid img{display:block;width:100%;height:clamp(240px,26vw,315px);object-fit:cover;background:#eedecf}
.bb23-polaroid figcaption{text-align:center;font-size:16px;font-weight:600;padding:15px 4px 17px;line-height:1.4}
.bb23-gallery-empty{margin:auto;text-align:center;min-height:100px}
.quotes-section.bb23-flat{background:#9ca890!important}
.quotes-section.bb23-flat::before{content:none!important;display:none!important}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.bb23-polaroid:hover{transform:rotate(0deg) translateY(-8px);box-shadow:0 18px 34px #483c2f40}}
@media (prefers-reduced-motion:no-preference){.bb23-track{scroll-behavior:smooth}.bb23-gallery-animated .bb23-polaroid:not(.bb23-visible){opacity:.6;transform:translateY(16px) rotate(var(--bb-turn))}.bb23-gallery-animated .bb23-polaroid.bb23-visible{opacity:1;transform:rotate(var(--bb-turn))}}
@media (max-width:700px){.bb23-gallery-head{padding:0 20px;text-align:center;margin-bottom:21px}.bb23-gallery-controls{margin-top:4px}.bb23-gallery-controls button{width:42px;height:42px}.bb23-track{scroll-padding-inline:19px;padding:20px 19px 40px;gap:20px}.bb23-polaroid{flex-basis:min(75vw,310px)}.bb23-polaroid img{height:min(73vw,300px)}.bb23-gallery{padding:58px 0 48px}}
@media (prefers-reduced-motion:reduce){.bb23-track{scroll-behavior:auto}.bb23-polaroid{transition:none!important;transform:none!important;opacity:1!important}}

.bb23-gallery{width:100%;max-width:none;box-sizing:border-box}
.bb23-gallery-controls button{flex:none;min-width:46px;min-height:46px}
.bb23-track .bb23-polaroid{scroll-snap-stop:always}
@media (max-width:700px){.bb23-gallery-controls button{width:46px;height:46px}.bb23-track{scroll-padding-inline:18px;padding:19px 18px 30px}}

/* V25: invisible native scrollbar, keeping swipe and keyboard scrolling. */
.bb23-track{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.bb23-track::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
}

/* Handwritten-style photo captions, with local system font fallbacks. */
.bb23-polaroid figcaption{
  font-family:"Bradley Hand","Segoe Print","Chalkboard SE","Marker Felt",cursive;
  font-size:clamp(1.05rem,1.6vw,1.24rem);
  font-weight:500;
  line-height:1.45;
  letter-spacing:0;
}

/* V26: let elevated Polaroid shadows fade naturally within the scroll viewport. */
.bb23-track { padding-bottom: 84px; }
.bb23-gallery-controls { position: relative; z-index: 1; margin-top: -46px; }
@media (max-width: 700px) {
  .bb23-track { padding-bottom: 82px; }
  .bb23-gallery-controls { margin-top: -48px; }
}

/* V27: round testimonial navigation matching the Polaroid gallery. */
.quotes-section .quote-controls .quote-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid #9ca890;
  border-radius: 50%;
  background: #fff9f3;
  color: #4d5d42;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.quotes-section .quote-controls .quote-arrow:hover {
  background: #4d5d42;
  color: #fff9f3;
}
.quotes-section .quote-controls .quote-arrow:focus-visible {
  outline: 3px solid #4d5d42;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .quotes-section .quote-controls .quote-arrow { transition: none; }
}
