/* Swipeable photos without the social feed presentation. */
.classic-photo-gallery{position:relative;min-width:0;overflow:hidden;border-radius:12px;background:var(--light)}
.classic-photo-gallery .photo-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.classic-photo-gallery .photo-slides::-webkit-scrollbar{display:none}
.classic-photo-gallery .photo-slide{display:block;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;aspect-ratio:3/4}
.classic-photo-gallery .photo-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.classic-photo-gallery .photo-count{position:absolute;z-index:2;right:56px;top:12px;border-radius:20px;background:rgba(0,0,0,.28);color:#fff;font-size:11px;padding:4px 10px;pointer-events:none}
.classic-photo-gallery .photo-controls button{position:absolute;z-index:2;top:50%;transform:translateY(-50%);display:grid;place-items:center;padding:0;width:36px;height:36px;border:0;border-radius:50%;background:rgba(0,0,0,.28);backdrop-filter:blur(6px);color:#fff}
.classic-photo-gallery .photo-controls button:disabled{visibility:hidden}
.classic-photo-gallery .photo-prev{left:10px}.classic-photo-gallery .photo-next{right:10px}
.classic-photo-gallery .photo-dots{position:absolute;z-index:3;left:50%;bottom:10px;transform:translateX(-50%);display:flex;justify-content:center;flex-wrap:wrap;width:max-content;max-width:calc(100% - 24px);padding:2px 6px;border-radius:999px;background:rgba(0,0,0,.28);backdrop-filter:blur(6px)}
.classic-photo-gallery .photo-dots button{display:grid;place-items:center;width:14px;height:20px;padding:0;border:0;background:none}
.classic-photo-gallery .photo-dots span{width:6px;height:6px;border-radius:50%;background:#bcbcbc}
.classic-photo-gallery .photo-dots [aria-pressed=true] span{background:#fff;transform:scale(1.3)}
.classic-photo-gallery .photo-hover-frame{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center top;pointer-events:none;opacity:0;transition:opacity .55s ease;z-index:1}
.classic-photo-gallery .photo-hover-frame.is-visible{opacity:1}.classic-photo-gallery .photo-hover-frame.is-reset{transition:none}
.classic-shop .product-media{position:relative;min-width:0}.classic-shop .product-media .photo-slide{cursor:zoom-in}
.classic-shop .product-media .photo-slide{height:min(760px,calc(100svh - var(--purchase-bar-height,160px) - 32px));aspect-ratio:auto}
.classic-shop .product-media .photo-slide img,.classic-shop .product-media .photo-hover-frame{object-fit:contain;object-position:center}
.classic-shop .product-detail{gap:36px;align-items:start}
.classic-shop .product-information{padding-top:16px}
.classic-shop .product-information>h1{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.015em;overflow-wrap:anywhere}
.classic-shop .product-information [data-variant-choices]{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-top:20px}
.classic-shop .product-information [data-variant-choices][hidden]{display:none}
.classic-shop .product-size-choice{flex:1;min-width:0}.classic-shop .product-color-choice{flex:0 1 42%;min-width:0;text-align:right}
.classic-shop .product-color-choice legend{width:100%;text-align:right}.classic-shop .product-color-choice .color-options{justify-content:flex-end}
.classic-shop .size-options button,.classic-shop .product-purchase-bar input[name=quantity]{font-size:14px;line-height:1.6;border:1px solid #aaa;border-radius:4px}
.has-purchase-bar{padding-bottom:var(--purchase-bar-height,160px)}.has-purchase-bar .whatsapp-launcher{bottom:calc(var(--purchase-bar-height,160px) + 12px)}
.product-purchase-bar{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;border-top:1px solid var(--line);box-shadow:0 -3px 16px #00000008;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.product-purchase-bar-inner{max-width:960px;margin:auto;display:flex;align-items:end;flex-wrap:wrap;gap:0 12px}
.product-purchase-bar label{width:70px;flex:none;font-size:12px}
.product-purchase-bar input[name=quantity]{width:100%;height:44px;padding:7px 10px;margin:2px 0 0}
.classic-shop form[data-add-to-bag] .product-purchase-bar .primary{width:auto;flex:1;margin:0;min-height:44px;border-radius:6px}
.product-purchase-bar .form-message{flex-basis:100%;margin:6px 0 0;font-size:12px}.product-purchase-bar .form-message:empty{display:none}
.product-purchase-choices{display:flex;align-items:center;justify-content:space-between;flex-basis:100%;min-width:0;gap:12px;margin-bottom:8px}.product-purchase-choices[hidden]{display:none}
.product-purchase-choices .size-options{min-width:0;flex:1}.product-purchase-choices .color-options{min-width:0;max-width:45%;justify-content:flex-end;flex-wrap:wrap}
.product-card.is-unavailable .classic-photo-gallery img{filter:grayscale(1);opacity:.55}.product-card.is-unavailable:focus-within .classic-photo-gallery img,.product-card.is-unavailable.is-interacting .classic-photo-gallery img{filter:none;opacity:1}
@media(hover:hover) and (pointer:fine){.product-card.is-unavailable:hover .classic-photo-gallery img{filter:none;opacity:1}}
@media(max-width:600px){.classic-shop .product-information>h1{font-size:22px}.classic-photo-gallery .photo-controls button{width:30px;height:30px}.classic-shop .product-detail{gap:0}.classic-shop .product-media .photo-slide{height:auto;aspect-ratio:3/4}}
@media(prefers-reduced-motion:reduce){.classic-photo-gallery .photo-hover-frame{transition:none}}

@media(min-width:1001px){
 .classic-shop .product-detail{--classic-detail-height:min(760px,calc(100svh - var(--purchase-bar-height,160px) - 32px))}
 .classic-shop .product-media .photo-slide{height:var(--classic-detail-height)}
 .classic-shop .product-information{padding:16px 8px 16px 0}
}

/* The inline action follows the description and variant choices. */
.classic-shop .product-inline-purchase{display:flex;align-items:end;gap:12px;margin-top:16px}
.classic-shop .product-inline-purchase label{flex:0 0 70px;margin:0}
.classic-shop .product-inline-purchase input{width:100%;height:44px;margin:0;padding:7px 10px;font-size:14px;line-height:1.6;border:1px solid #aaa;border-radius:4px}
.classic-shop form[data-add-to-bag] .product-inline-add{width:auto;flex:1;margin:0;min-height:44px;border-radius:6px}

/* Keep catalog details close together beneath each photo. */
.classic-shop .product-card>.product-brand{margin:10px 0 3px;line-height:1.3}
.classic-shop .product-card>h2{margin:0 0 5px;line-height:1.3}
.classic-shop .product-card>.product-price{margin:0 0 7px;line-height:1.35}
.classic-shop .product-card>.catalog-variants{margin-bottom:8px}
