/* ==========================================================================
   WebDreamers button system — "keycaps"
   --------------------------------------------------------------------------
   Additive layer: loaded AFTER style.css. It only restyles and re-places
   buttons; no markup, script or feature is removed.

   Every button is a key: a face, a small lip underneath, and it presses
   down when clicked. All colours come from the store palette
   (--theme-*), so whatever the admin saves in Settings still applies.

   Roles
     primary   solid palette colour   Details, Inquire, Browse, selected filter
     inverse   light key on a dark bar   header + About call-to-action
     secondary neutral key            everything else (compare, arrows, close…)
   ========================================================================== */

:root{
  --key-r:12px;
  --key-lip:3px;
  --key-primary:var(--theme-primary,#1769d2);
  --key-primary-lip:color-mix(in srgb,var(--key-primary) 64%,#000);
  --key-surface:var(--theme-background,#f7faff);
  --key-ink:var(--theme-text,#132a45);
  --key-edge:color-mix(in srgb,var(--key-ink) 20%,var(--key-surface));
  --key-lip-neutral:color-mix(in srgb,var(--key-ink) 26%,var(--key-surface));
  --key-ring:color-mix(in srgb,var(--key-primary) 55%,#fff);

  --ic-chev-l:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E");
  --ic-chev-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
  --ic-chev-d:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --ic-arrow-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  --ic-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  --ic-sliders:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10m4 0h2M4 17h2m4 0h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E");
  --ic-chat:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-12.4 7.5L3 21l1.9-5.3A8.5 8.5 0 1 1 21 11.5Z'/%3E%3C/svg%3E");
  --ic-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   1. Shared key geometry (every button role)
   -------------------------------------------------------------------------- */
html body :is(
  .details-btn,.messenger-btn,.hero-actions .btn.primary,.category-pills .pill.selected,
  .site-header .header-cta,#about .about-box .btn.primary,
  .btn.ghost,.compare-label,.remove-compare,.mobile-filter-toggle,.category-pills .pill:not(.selected),
  .compare-empty a,.detail-share-icon,.menu-btn,.modal-close,
  .gallery-controls button,.hero-gallery-controls button
){
  box-sizing:border-box;
  border-style:solid!important;
  border-width:1.5px!important;
  border-radius:var(--key-r)!important;
  font-family:inherit;
  font-weight:700;
  letter-spacing:.005em;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
  transition:transform .09s ease,box-shadow .09s ease,background-color .2s ease,border-color .2s ease;
}

/* icon helper: every ::before/::after icon below is a currentColor mask */
html body :is(.details-btn::after,.compare-empty a::before,.remove-compare::before,.messenger-btn::before,
  .mobile-filter-toggle::before,.mobile-filter-toggle::after){}

/* --------------------------------------------------------------------------
   2. Primary keys
   -------------------------------------------------------------------------- */
html body :is(.details-btn,.messenger-btn,.hero-actions .btn.primary,.category-pills .pill.selected){
  background:var(--key-primary)!important;
  background-image:none!important;
  border-color:var(--key-primary-lip)!important;
  box-shadow:0 var(--key-lip) 0 var(--key-primary-lip)!important;
  color:#fff;
  filter:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:48px;
  padding:0 20px;
  font-size:14px;
}
html body :is(.details-btn,.messenger-btn,.hero-actions .btn.primary,.category-pills .pill.selected):focus-visible{
  outline:3px solid var(--key-ring);outline-offset:3px;
}
@media(hover:hover){
  html body :is(.details-btn,.messenger-btn,.hero-actions .btn.primary,.category-pills .pill.selected):hover{
    transform:translateY(-1px);
    box-shadow:0 calc(var(--key-lip) + 1px) 0 var(--key-primary-lip)!important;
    filter:none;
  }
}
html body :is(.details-btn,.messenger-btn,.hero-actions .btn.primary,.category-pills .pill.selected):active{
  transform:translateY(var(--key-lip));
  box-shadow:0 0 0 var(--key-primary-lip)!important;
  filter:none;
}

/* arrow on Details, chat bubble on Inquire */
html body .details-btn::after,
html body .messenger-btn::before{
  content:"";flex:0 0 16px;width:16px;height:16px;background:currentColor;
  -webkit-mask:center/contain no-repeat;mask:center/contain no-repeat;
}
html body .details-btn::after{-webkit-mask-image:var(--ic-arrow-r);mask-image:var(--ic-arrow-r)}
html body .messenger-btn::before{-webkit-mask-image:var(--ic-chat);mask-image:var(--ic-chat);width:18px;height:18px;flex-basis:18px}

/* --------------------------------------------------------------------------
   3. Inverse keys: light key on the dark header / About bar
   -------------------------------------------------------------------------- */
html body :is(.site-header .header-cta,#about .about-box .btn.primary){
  align-items:center;justify-content:center;gap:9px;
  min-height:44px;padding:0 18px;font-size:14px;
  background:var(--key-surface)!important;
  background-image:none!important;
  color:var(--key-ink)!important;
  border-color:color-mix(in srgb,var(--key-ink) 34%,var(--key-surface))!important;
  box-shadow:0 var(--key-lip) 0 color-mix(in srgb,var(--key-ink) 30%,var(--key-surface))!important;
  filter:none;
}
html body :is(.site-header .header-cta,#about .about-box .btn.primary) *{color:inherit!important}
html body :is(.site-header .header-cta,#about .about-box .btn.primary):focus-visible{
  outline:3px solid var(--key-surface);outline-offset:3px;
}
@media(hover:hover){
  html body :is(.site-header .header-cta,#about .about-box .btn.primary):hover{
    transform:translateY(-1px);
    box-shadow:0 calc(var(--key-lip) + 1px) 0 color-mix(in srgb,var(--key-ink) 30%,var(--key-surface))!important;
    filter:none;
  }
}
html body :is(.site-header .header-cta,#about .about-box .btn.primary):active{
  transform:translateY(var(--key-lip));
  box-shadow:0 0 0 transparent!important;
}

/* --------------------------------------------------------------------------
   4. Secondary keys
   -------------------------------------------------------------------------- */
html body :is(
  .btn.ghost,.compare-label,.remove-compare,.mobile-filter-toggle,.category-pills .pill:not(.selected),
  .compare-empty a,.detail-share-icon,.menu-btn,.modal-close,
  .gallery-controls button,.hero-gallery-controls button
){
  background:var(--key-surface)!important;
  background-image:none!important;
  color:var(--key-ink)!important;
  border-color:var(--key-edge)!important;
  box-shadow:0 var(--key-lip) 0 var(--key-lip-neutral)!important;
  min-height:46px;
}
html body :is(
  .btn.ghost,.compare-label,.remove-compare,.mobile-filter-toggle,.category-pills .pill:not(.selected),
  .compare-empty a,.detail-share-icon,.menu-btn,.modal-close,
  .gallery-controls button,.hero-gallery-controls button
):focus-visible{outline:3px solid var(--key-ring);outline-offset:3px}
@media(hover:hover){
  html body :is(
    .btn.ghost,.compare-label,.remove-compare,.mobile-filter-toggle,.category-pills .pill:not(.selected),
    .compare-empty a,.detail-share-icon,.menu-btn,.modal-close,
    .gallery-controls button,.hero-gallery-controls button
  ):hover:not(:disabled){
    transform:translateY(-1px);
    border-color:color-mix(in srgb,var(--key-primary) 55%,var(--key-edge))!important;
    box-shadow:0 calc(var(--key-lip) + 1px) 0 var(--key-lip-neutral)!important;
  }
}
html body :is(
  .btn.ghost,.compare-label,.remove-compare,.mobile-filter-toggle,.category-pills .pill:not(.selected),
  .compare-empty a,.detail-share-icon,.menu-btn,.modal-close,
  .gallery-controls button,.hero-gallery-controls button
):active:not(:disabled){
  transform:translateY(var(--key-lip));
  box-shadow:0 0 0 var(--key-lip-neutral)!important;
}

/* ghost / outline call-to-action (Compare models, Clear filters) */
html body .btn.ghost{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:48px;padding:0 20px;font-size:14px;
}
html body .btn.ghost [data-icon]{color:var(--key-primary)}

/* --------------------------------------------------------------------------
   5. Header: CTA gets room, menu button becomes a proper key
   -------------------------------------------------------------------------- */
/* header CTA is hidden on phones by style.css — only show it as a key from tablet up */
@media(min-width:651px){html body .site-header .header-cta{display:inline-flex}}
html body #about .about-box .btn.primary{display:inline-flex}
html body .site-header .header-cta{margin-left:18px;white-space:nowrap;flex:0 0 auto}
html body .site-header nav{margin-right:2px}
html body .menu-btn{
  width:46px;height:46px;min-height:46px;padding:0;flex:0 0 46px;
  align-items:center;justify-content:center;
}
html body .menu-btn .menu-lines{width:20px;height:16px}
html body .menu-btn .menu-lines i{background:currentColor}
html body .menu-btn.menu-open .menu-lines i:first-child{transform:translateY(7px) rotate(45deg)}
html body .menu-btn.menu-open .menu-lines i:last-child{transform:translateY(-7px) rotate(-45deg)}

/* --------------------------------------------------------------------------
   6. Hero actions: one row, equal keys; stacked and full width on phones
   -------------------------------------------------------------------------- */
.hero-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:stretch;gap:14px;max-width:480px;margin-top:28px}
html body .hero-actions .btn{min-height:52px;padding:0 24px;font-size:15px}
@media(max-width:650px){
  .hero-actions{grid-template-columns:1fr;gap:12px;max-width:none}
  html body .hero-actions .btn{width:100%;min-height:54px}
}

/* --------------------------------------------------------------------------
   7. Gallery arrows (hero, product card, Details): same key everywhere,
      centred on the photo, counter tucked into the corner
   -------------------------------------------------------------------------- */
.image-carousel{--ctl:40px}
.card-gallery{--ctl:38px}
.details-gallery{--ctl:46px}
@media(max-width:650px){
  .card-gallery{--ctl:32px}
  html body .card-gallery .gallery-controls button:first-child{left:6px!important}
  html body .card-gallery .gallery-controls button:last-child{right:6px!important}
  html body .card-gallery .gallery-controls button{--key-lip:2px}
}

html body .image-carousel .gallery-controls{
  position:absolute!important;inset:0!important;display:block!important;
  height:auto!important;transform:none!important;pointer-events:none;z-index:3;
}
html body .image-carousel .gallery-controls button{
  position:absolute!important;
  top:calc(50% - var(--ctl)/2)!important;bottom:auto!important;
  width:var(--ctl)!important;height:var(--ctl)!important;min-height:0!important;min-width:0!important;
  padding:0!important;margin:0!important;
  transform:none;
  display:flex!important;align-items:center;justify-content:center;
  font-size:0!important;line-height:0!important;color:var(--key-ink)!important;
  pointer-events:auto;
}
html body .image-carousel .gallery-controls button:first-child{left:10px!important;right:auto!important}
html body .image-carousel .gallery-controls button:last-child{right:10px!important;left:auto!important}
html body .image-carousel .gallery-controls button:hover:not(:disabled){transform:translateY(-1px)}
html body .image-carousel .gallery-controls button:active:not(:disabled){transform:translateY(var(--key-lip))}

html body :is(.image-carousel .gallery-controls button,.hero-gallery-controls button)::before{
  content:"";flex:0 0 44%;width:44%;height:44%;background:var(--key-ink);
  -webkit-mask:center/contain no-repeat;mask:center/contain no-repeat;
}
html body .image-carousel .gallery-controls button:first-child::before,
html body #heroPhotoPrev::before{-webkit-mask-image:var(--ic-chev-l);mask-image:var(--ic-chev-l)}
html body .image-carousel .gallery-controls button:last-child::before,
html body #heroPhotoNext::before{-webkit-mask-image:var(--ic-chev-r);mask-image:var(--ic-chev-r)}

/* photo counter: a small flat chip in the top-right corner */
html body .image-carousel .gallery-controls span{
  position:absolute!important;top:10px!important;right:10px!important;bottom:auto!important;left:auto!important;
  transform:none!important;
  padding:4px 9px;border-radius:8px;font-size:11px;font-weight:700;letter-spacing:.02em;
  border:1px solid var(--key-edge);box-shadow:none;
  background:color-mix(in srgb,var(--key-surface) 92%,transparent)!important;
  color:var(--key-ink)!important;pointer-events:none;
}

/* dots: bigger tap area, same look */
html body .image-carousel .gallery-dots{bottom:10px!important;gap:6px;max-width:70%;z-index:3}
html body .image-carousel .gallery-dots button{
  position:relative;width:8px;height:8px;border-radius:99px;
  background:color-mix(in srgb,var(--key-ink) 28%,var(--key-surface));
  transition:width .2s ease,background-color .2s ease;
}
html body .image-carousel .gallery-dots button::before{content:"";position:absolute;inset:-10px -3px}
html body .image-carousel .gallery-dots button.active{width:20px;background:var(--key-primary)}

/* hero gallery controls: key – counter – key, centred under the photo */
html body .hero-gallery-controls{gap:12px;bottom:6px;align-items:center}
html body .hero-gallery-controls button{
  display:flex;align-items:center;justify-content:center;width:42px;height:42px;min-height:0;padding:0;
  font-size:0!important;line-height:0;
}
html body .hero-gallery-controls button:disabled{opacity:.38;cursor:not-allowed;box-shadow:0 var(--key-lip) 0 var(--key-lip-neutral)!important}
html body .hero-gallery-controls span{
  min-width:56px;text-align:center;padding:7px 12px;border-radius:9px;font-size:12px;font-weight:700;
  border:1px solid var(--key-edge);box-shadow:none;
  background:var(--key-surface)!important;color:var(--key-ink)!important;
}

/* --------------------------------------------------------------------------
   8. Product card actions: compare toggle + Details, always aligned
   -------------------------------------------------------------------------- */
html body .card-actions{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;margin-top:14px;
  padding-bottom:var(--key-lip);
}
html body .card-actions .details-btn{min-width:118px}
@media(max-width:650px){
  html body .card-actions{grid-template-columns:minmax(0,1fr);gap:10px}
  html body .card-actions .details-btn{width:100%;min-width:0}
}

/* compare toggle */
html body .compare-label{
  display:flex;align-items:center;justify-content:flex-start;gap:11px;
  padding:0 14px;font-size:13px;white-space:nowrap;text-align:left;
}
html body .compare-label input[type=checkbox]{
  -webkit-appearance:none;appearance:none;flex:0 0 22px;width:22px;height:22px;margin:0;
  border:2px solid var(--key-lip-neutral)!important;border-radius:7px!important;
  background:var(--key-surface)!important;accent-color:var(--key-primary);
  display:grid;place-content:center;cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease;
}
html body .compare-label input[type=checkbox]:checked{
  background:var(--key-primary) var(--ic-check) center/14px no-repeat!important;
  border-color:var(--key-primary-lip)!important;
}
html body .compare-label:has(input:checked){
  background:color-mix(in srgb,var(--key-primary) 11%,var(--key-surface))!important;
  border-color:var(--key-primary)!important;
  box-shadow:0 var(--key-lip) 0 color-mix(in srgb,var(--key-primary) 42%,var(--key-surface))!important;
}
html body .compare-label:focus-within{outline:3px solid var(--key-ring);outline-offset:3px}
html body .compare-label input:focus-visible{outline:0}
@media(max-width:650px){html body .compare-label{justify-content:center;font-size:12.5px;padding:0 10px;gap:9px;white-space:normal}}

/* --------------------------------------------------------------------------
   9. Filters: toggle, chips, and a toolbar without an empty column
   -------------------------------------------------------------------------- */
.filters{grid-template-columns:minmax(200px,1fr) repeat(2,minmax(150px,210px))}
@media(max-width:900px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

html body .category-pills{gap:10px;padding:2px 2px 10px}
html body .category-pills .pill{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:0 18px;font-size:14px;font-weight:700;white-space:nowrap;
}
html body .category-pills .pill:not(.selected){--key-lip:2px}
html body .category-pills .pill.selected{--key-lip:3px}

html body .mobile-filter-toggle{
  align-items:center;justify-content:flex-start;gap:10px;min-height:50px;padding:0 16px;
  font-size:14px;text-align:left;
}
@media(max-width:700px){html body .mobile-filter-toggle{display:flex;margin-bottom:12px}}
html body .mobile-filter-toggle::before,
html body .mobile-filter-toggle::after{
  content:"";flex:0 0 18px;width:18px;height:18px;background:var(--key-primary);
  -webkit-mask:center/contain no-repeat;mask:center/contain no-repeat;
}
html body .mobile-filter-toggle::before{-webkit-mask-image:var(--ic-sliders);mask-image:var(--ic-sliders)}
html body .mobile-filter-toggle::after{
  margin-left:auto;background:var(--key-ink);
  -webkit-mask-image:var(--ic-chev-d);mask-image:var(--ic-chev-d);transition:transform .22s ease;
}
html body .mobile-filter-toggle[aria-expanded="true"]::after{transform:rotate(180deg)}
html body .mobile-filter-toggle #filterActiveCount{
  color:var(--key-primary);font-weight:800;
}

/* --------------------------------------------------------------------------
   10. Compare section buttons
   -------------------------------------------------------------------------- */
html body .remove-compare{
  display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;
  font-size:12px;margin-top:8px;--key-lip:2px;
}
html body .remove-compare::before{
  content:"";width:12px;height:12px;background:currentColor;
  -webkit-mask:var(--ic-x) center/contain no-repeat;mask:var(--ic-x) center/contain no-repeat;
}
html body .compare-empty a{
  display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:0 20px;margin-top:14px;
  font-size:14px;
}
html body .compare-empty a::before{
  content:"";width:16px;height:16px;background:var(--key-primary);
  -webkit-mask:var(--ic-arrow-r) center/contain no-repeat;mask:var(--ic-arrow-r) center/contain no-repeat;
  transform:rotate(90deg);
}

/* --------------------------------------------------------------------------
   11. Details window: close key top-right (and always visible), share key,
       and the Inquire button pinned to the bottom so it is never off-screen
   -------------------------------------------------------------------------- */
html body .modal-close{
  display:grid;place-items:center;
  position:sticky;top:0;z-index:6;
  width:46px;height:46px;min-height:0;padding:0;
  margin:0 0 10px auto;
  float:none;
}
html body .modal-close [data-icon]{width:20px;height:20px}
html body .modal-visual .viewer-model-heading{padding-right:0}
@media(max-width:650px){
  html body .modal-visual .viewer-model-heading{padding-right:52px}
}

html body .detail-share-icon{
  display:grid;place-items:center;width:46px;height:46px;min-height:0;padding:0;flex:0 0 46px;
  color:var(--key-primary)!important;
}
html body .detail-share-icon svg{width:21px;height:21px}

/* sticks flush with the bottom edge of the window (cancels the window's own padding) */
html body .product-detail-actions{
  position:sticky;bottom:-24px;z-index:4;
  margin:18px -2px -24px;padding:20px 2px 22px;
  background:linear-gradient(to top,var(--key-surface) 78%,transparent);
}
html body .product-detail-actions .messenger-btn{
  width:100%;min-height:54px;font-size:15px;
}
@media(max-width:700px){
  html body .product-detail-actions{display:block}
}
@media(max-width:650px){
  html body .product-detail-actions{bottom:-14px;margin-bottom:-14px;padding-bottom:18px}
}

/* --------------------------------------------------------------------------
   12. Full-screen photo viewer controls
   -------------------------------------------------------------------------- */
html body :is(.fullscreen-close,.fullscreen-arrow){
  box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0;
  font-size:0!important;line-height:0;color:#fff;
  background:#1b3550!important;
  border:1.5px solid rgba(255,255,255,.28)!important;
  border-radius:var(--key-r)!important;
  box-shadow:0 3px 0 rgba(0,0,0,.45);
  transition:transform .09s ease,box-shadow .09s ease,background-color .2s ease;
  cursor:pointer;
}
html body :is(.fullscreen-close,.fullscreen-arrow)::before{
  content:"";flex:0 0 46%;width:46%;height:46%;background:#fff;
  -webkit-mask:center/contain no-repeat;mask:center/contain no-repeat;
}
html body .fullscreen-close{width:48px;height:48px;right:18px;top:18px}
html body .fullscreen-close::before{-webkit-mask-image:var(--ic-x);mask-image:var(--ic-x)}
html body .fullscreen-arrow{width:52px;height:52px}
html body #fullscreenPrev::before{-webkit-mask-image:var(--ic-chev-l);mask-image:var(--ic-chev-l)}
html body #fullscreenNext::before{-webkit-mask-image:var(--ic-chev-r);mask-image:var(--ic-chev-r)}
html body :is(.fullscreen-close,.fullscreen-arrow):hover{background:#244767!important}
html body :is(.fullscreen-close,.fullscreen-arrow):active{box-shadow:0 0 0 rgba(0,0,0,.45)}
html body .fullscreen-arrow{transform:translateY(-50%)}
html body .fullscreen-arrow:active{transform:translateY(calc(-50% + 3px))}
html body :is(.fullscreen-close,.fullscreen-arrow):focus-visible{outline:3px solid #9fd0ff;outline-offset:3px}
@media(max-width:700px){
  html body .fullscreen-arrow{width:44px;height:44px}
  html body .fullscreen-close{width:44px;height:44px;right:12px;top:12px}
}

/* --------------------------------------------------------------------------
   13. About bar: call-to-action aligned with the copy
   -------------------------------------------------------------------------- */
html body #about .about-box{align-items:center}
html body #about .about-box .btn.primary{flex:0 0 auto;min-height:52px;padding:0 24px;font-size:15px}
@media(max-width:650px){
  html body #about .about-box .btn.primary{display:flex;width:100%;margin-top:18px}
}

/* --------------------------------------------------------------------------
   14. Motion: keys stay still for people who ask for less movement
   -------------------------------------------------------------------------- */
@media(prefers-reduced-motion:reduce){
  html body :is(
    .details-btn,.messenger-btn,.btn,.compare-label,.remove-compare,.mobile-filter-toggle,.pill,
    .compare-empty a,.detail-share-icon,.menu-btn,.modal-close,.gallery-controls button,
    .hero-gallery-controls button,.fullscreen-close,.fullscreen-arrow,.site-header .header-cta
  ):is(:hover,:active){transform:none!important}
  html body .fullscreen-arrow:is(:hover,:active){transform:translateY(-50%)!important}
}
