.ad-gallery{border:1px solid var(--border);background:#fff;border-radius:16px;width:100%;min-width:0;overflow:hidden}.ad-gallery-cover{cursor:zoom-in;text-align:left;background:#f7f0f3;border:0;width:100%;padding:0;display:block;position:relative}.ad-gallery-cover>img{aspect-ratio:1.35;object-fit:cover;width:100%;display:block}.ad-gallery-cover:focus-visible{outline-offset:-3px;outline:3px solid #e0025d}.ad-gallery-expand{color:#40012f;background:#fff;border-radius:9px;align-items:center;gap:7px;padding:9px 12px;font-size:12px;font-weight:600;display:inline-flex;position:absolute;bottom:14px;right:14px;box-shadow:0 2px 8px #0002}.ad-gallery-controls{border-top:1px solid var(--border);background:#fff;justify-content:center;align-items:center;gap:8px;padding:9px 10px;display:flex}.ad-gallery-controls .btn{gap:6px;height:auto;min-height:42px;margin:0;font-size:12px}.ad-gallery-controls .ad-gallery-step{width:42px;min-width:42px;padding:8px}.ad-gallery-counter{text-align:center;color:#694257;font-variant-numeric:tabular-nums;min-width:42px;font-size:12px;font-weight:600}.ad-gallery-controls .ad-gallery-rotation{min-width:104px;margin-left:auto;padding:8px 10px}.ad-gallery-expanded{border:0;border-radius:10px}.ad-gallery-stage{background:#fbf5f8;border-radius:10px;justify-content:center;align-items:center;height:min(53dvh,540px);display:flex;overflow:hidden}.ad-gallery-stage>img{object-fit:contain;width:100%;height:100%;display:block}.ad-gallery-expanded .ad-gallery-controls{border-top:0;padding:12px 0 0}.ad-gallery-unavailable{color:#735b68;background:#fbf5f8;place-items:center;min-height:180px;font-size:14px;display:grid}@media (max-width:800px){.ad-gallery-cover>img{aspect-ratio:1.3}}@media (max-width:380px){.ad-gallery-controls{gap:5px;padding:8px}.ad-gallery-controls .ad-gallery-rotation{min-width:96px;padding:8px}.ad-gallery-expanded .ad-gallery-controls{gap:4px}}
