.catalogue-card-controls,.catalogue-gallery-arrows,.catalogue-swatches{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.catalogue-card-controls{margin:.4rem 0 .8rem}
.catalogue-gallery-arrows button,.catalogue-swatches button{background:transparent;border:1px solid currentColor;cursor:pointer;min-width:28px;height:28px;border-radius:50%;padding:2px;line-height:1}
.catalogue-gallery-arrows button{font-size:20px}
.catalogue-swatches button{border-color:transparent}
.catalogue-swatches button[aria-pressed=true]{border-color:currentColor}
.catalogue-swatches img{width:22px;height:22px;object-fit:cover;border-radius:50%}
.catalogue-badges{font-size:.76rem}

.catalogue-gallery-arrows{position:absolute;inset:50% 6px auto;transform:translateY(-50%);display:flex;justify-content:space-between;pointer-events:none;z-index:3}
.catalogue-gallery-arrows button,.catalogue-video-button{pointer-events:auto;background:#fff;color:#262626;border:1px solid #ddd;box-shadow:0 1px 4px #0002;cursor:pointer}
.catalogue-gallery-arrows button{width:32px;height:32px;display:grid;place-items:center;font:24px/1 sans-serif}
.catalogue-video-button{position:absolute;top:8px;left:8px;z-index:4;width:28px;height:28px;border-radius:50%;padding:0;display:grid;place-items:center}
.catalogue-video-button::before{content:"";width:0;height:0;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent currentColor;margin-left:2px}
.catalogue-video-button[aria-label="Close product video"]::before,.catalogue-video-button[aria-label="Close product video"]::after{content:"";grid-area:1/1;width:11px;height:2px;background:currentColor;border:0;margin:0;transform:rotate(45deg)}
.catalogue-video-button[aria-label="Close product video"]::after{transform:rotate(-45deg)}
.catalogue-card-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#f8f7f5;z-index:2}

.catalogue-gallery-arrows{flex-wrap:nowrap}
.catalogue-gallery-arrows button::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.6px 1.6px 0;grid-area:1/1}
.catalogue-gallery-arrows .photo-prev::after{transform:translateX(1px) rotate(135deg)}
.catalogue-gallery-arrows .photo-next::after{transform:translateX(-1px) rotate(-45deg)}
.catalogue-card-controls:empty{display:none}
@media(max-width:749px),(pointer:coarse){
  .catalogue-gallery-arrows{inset-inline:0;z-index:4}
  .catalogue-gallery-arrows button{width:44px;height:44px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;touch-action:manipulation}
  .catalogue-gallery-arrows button::before{content:"";width:26px;height:26px;border:1px solid #ddd;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;grid-area:1/1}
  .catalogue-swatches{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:2px}
  .catalogue-swatches button{flex:none;min-width:34px;height:34px}
  .quiet-product-row>div{min-width:0}
}
