/* Uma foto por slide. Cortes aprovados definidos individualmente na seleção. */
.carousel{min-width:0;max-width:100%;width:100%;--stage-height:420px}
.carousel-stage{height:var(--stage-height);position:relative;overflow:hidden;isolation:isolate;background:#f1f3ec;border:1px solid var(--line);border-radius:6px;touch-action:pan-y}
.carousel-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;padding:10px}
.carousel-slide[hidden]{display:none}
.carousel-image{width:100%;height:100%;min-height:0;min-width:0;object-fit:contain;object-position:center}
.photo-frame{display:block;height:auto;width:min(100%,calc((var(--stage-height) - 36px) * (var(--photo-ratio))));max-height:100%;aspect-ratio:var(--photo-ratio);overflow:hidden;margin-inline:auto}
.photo-frame>img{width:100%;height:100%;object-fit:cover;object-position:var(--photo-position,center top)}
.carousel-ready .carousel-slide.is-active{animation:dsm-photo-in .5s ease both}
@keyframes dsm-photo-in{from{opacity:0}to{opacity:1}}
.carousel-zoom{position:absolute;right:12px;bottom:12px;z-index:2;border:1px solid #dce1d6;background:#fffffff2;border-radius:4px;min-height:36px;padding:6px 12px;font-size:11px;box-shadow:0 2px 10px #173c2e0a}
.carousel-info{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-top:14px;font-size:11px;line-height:1.5;color:var(--muted);min-height:45px}
.carousel-caption{max-width:80%}.carousel-counter{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--green)}
.carousel-toolbar{display:flex;align-items:center;gap:10px;margin-top:8px;max-width:100%;min-height:40px}
.carousel-toolbar[hidden],.carousel-zoom[hidden]{display:none}
.carousel-arrow,.carousel-play{display:grid;place-items:center;flex-shrink:0;border:1px solid var(--line);background:white;color:var(--green);width:38px;height:38px;min-width:38px;border-radius:50%;font-size:17px;line-height:1;transition:border-color .2s,background .2s}
.carousel-arrow:hover,.carousel-play:hover{border-color:var(--green);background:#edf3e6}
.carousel-play{font-size:14px;margin-left:2px}
.carousel-dots{display:flex;justify-content:center;align-items:center;gap:6px;flex:1;min-width:0}
.carousel-dots .carousel-selector{border:0;display:grid;place-items:center;min-width:30px;min-height:34px;background:transparent;border-radius:5px;padding:0}
.carousel-dots .carousel-selector>span{display:block;width:6px;height:6px;background:#bdc9b4;border-radius:20px;transition:width .25s,background .25s}
.carousel-dots .carousel-selector[aria-pressed=true]>span{width:22px;background:var(--green)}
.carousel-detail{--stage-height:580px}
.carousel-detail .carousel-stage{background:white;border-radius:8px}
.carousel-detail .carousel-slide{padding:18px}
.carousel-thumbs{position:relative;display:flex;flex:1;gap:8px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:4px 2px 9px}
.carousel-thumbs .carousel-selector{flex:0 0 54px;width:54px;height:64px;border:1px solid var(--line);border-radius:4px;padding:3px;background:white}
.carousel-thumbs .carousel-selector img{width:100%;height:100%;min-height:0;object-fit:contain}
.carousel-thumbs .photo-frame>img{object-fit:cover;object-position:var(--photo-position,center top)}
.carousel-thumbs .photo-frame{--stage-height:86px}
.carousel-thumbs .carousel-selector[aria-pressed=true]{border:2px solid var(--green);background:#f3f6ef}
.carousel-thumbs .carousel-selector:focus-visible{outline-offset:-2px}
.carousel-detail .carousel-toolbar{gap:8px;align-items:center}
.carousel-detail .carousel-arrow,.carousel-detail .carousel-play{width:34px;min-width:34px;height:34px}
.carousel-dialog .zoom-image{height:calc(85dvh - 130px)}
.carousel-dialog .zoom-image.is-framed{width:min(100%,calc((85dvh - 130px) * (var(--photo-ratio))));height:auto;max-height:calc(85dvh - 130px);aspect-ratio:var(--photo-ratio);object-fit:cover;object-position:var(--photo-position,center top)}
.zoom-controls{display:flex;align-items:center;justify-content:center;gap:22px;padding-top:12px}
.zoom-controls>span{font-size:12px;text-align:center;color:var(--muted);max-width:70%}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.carousel{--stage-height:390px}.carousel-detail{--stage-height:510px}.carousel-thumbs .carousel-selector{flex-basis:48px;width:48px;height:60px}}
@media(max-width:900px){.carousel{--stage-height:380px}.carousel-detail{--stage-height:470px}.carousel-thumbs{gap:6px}.carousel-detail .carousel-toolbar{gap:5px}.carousel-detail .carousel-arrow,.carousel-detail .carousel-play{width:30px;min-width:30px;height:30px}.carousel-thumbs .carousel-selector{flex-basis:44px;width:44px;height:56px}}
@media(max-width:650px){.product-row{padding-bottom:20px;gap:24px}.carousel{--stage-height:390px}.carousel-detail{--stage-height:500px}.carousel-slide{padding:8px}.carousel-detail .carousel-slide{padding:12px}.carousel-info{font-size:10px;padding-top:12px;min-height:40px}.carousel-toolbar{gap:8px}.carousel-arrow,.carousel-play{width:36px;height:36px;min-width:36px}.carousel-detail .carousel-arrow,.carousel-detail .carousel-play{width:32px;min-width:32px;height:32px}.carousel-thumbs .carousel-selector{flex-basis:50px;width:50px;height:62px}.carousel-zoom{font-size:10px;right:10px;bottom:10px}.zoom-controls{gap:14px}.zoom-controls>span{font-size:11px}}
@media(max-width:370px){.carousel{--stage-height:345px}.carousel-detail{--stage-height:430px}.carousel-detail .carousel-toolbar{gap:4px}.carousel-thumbs .carousel-selector{flex-basis:44px;width:44px;height:56px}}
@media(prefers-reduced-motion:reduce){.carousel-ready .carousel-slide.is-active{animation:none}.carousel *{transition:none}}
