/* Let the main photo use the full panel width at its natural proportions. */
.product-detail-page .product-media-card{padding:0;margin:0}
.product-detail-page .product-main-image-frame{width:100%;padding:0;align-items:flex-start;background:#fff}
.product-detail-page #productMainImage,.product-detail-page #productMainImage.is-portrait{display:block;width:100%;max-width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;padding:0;margin:0;object-fit:contain;box-shadow:none;transform:none;filter:none}
.product-detail-page #productMainImage:hover{transform:none;filter:none}
.product-detail-page .product-main-image-frame{aspect-ratio:3/2;border-radius:22px;align-items:center;isolation:isolate;box-shadow:0 8px 32px rgba(54,37,29,.045)}
.product-detail-page #productMainImage,.product-detail-page #productMainImage.is-portrait{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0}
.product-detail-page #productGallery{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 0 8px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#a79789 transparent}
.product-detail-page #productGallery .product-gallery-thumb{flex:0 0 88px;width:88px;height:66px;min-height:0;aspect-ratio:4/3;padding:0!important;border-radius:9px;overflow:hidden;scroll-snap-align:center;background:#fff;opacity:.65;transition:opacity .2s,border-color .2s}
.product-detail-page #productGallery .product-gallery-thumb.is-active{opacity:1;border:2px solid #8d1f35!important}
.product-detail-page #productGallery .product-gallery-thumb:hover{opacity:1}
.product-detail-page #productGallery .product-gallery-thumb img{width:100%;height:100%;object-fit:cover;padding:0;border-radius:0}
.product-photo-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:42px;height:42px;border:1px solid #ffffffb0;border-radius:50%;background:#ffffffe0;backdrop-filter:blur(12px);color:#493d35;box-shadow:0 3px 14px #32221715;font:300 30px/1 system-ui;display:grid;place-items:center;cursor:pointer;transition:background .2s,box-shadow .2s}
.product-photo-arrow{background:rgba(255,255,255,.32);border-color:rgba(255,255,255,.4);box-shadow:0 2px 8px #3222170a;backdrop-filter:blur(5px)}
.product-photo-arrow:hover{background:rgba(255,255,255,.62);box-shadow:0 3px 12px #32221715}.product-photo-arrow.photo-prev{left:16px}.product-photo-arrow.photo-next{right:16px}.product-photo-counter{position:absolute;bottom:16px;right:16px;z-index:4;border:1px solid #ffffff30;border-radius:20px;padding:5px 12px;background:#302925a6;color:#fff;font:500 11px/1.5 system-ui;letter-spacing:.08em;backdrop-filter:blur(12px)}
.product-photo-arrow[hidden],.product-photo-counter[hidden]{display:none}
.product-detail-page #productMainImage.photo-enter{animation:productPhotoEnter .32s ease-out}
@keyframes productPhotoEnter{from{opacity:.45;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@media(max-width:575.98px){.product-detail-page .product-main-image-frame{border-radius:14px}.product-detail-page #productGallery .product-gallery-thumb{flex-basis:74px;width:74px;height:56px}.product-photo-arrow{width:34px;height:34px;font-size:27px}.product-photo-arrow.photo-prev{left:8px}.product-photo-arrow.photo-next{right:8px}}
@media(prefers-reduced-motion:reduce){.product-detail-page #productMainImage.photo-enter{animation:none}.product-photo-arrow,.product-detail-page #productGallery .product-gallery-thumb{transition:none}}
.product-detail-page .product-photo-arrow{box-sizing:border-box;width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center;line-height:1;flex-shrink:0}
.product-photo-arrow svg{display:block;flex:none;pointer-events:none}
.product-detail-page .product-photo-arrow[hidden]{display:none}
.product-detail-page #productMainImage{transform-origin:var(--photo-x,50%) var(--photo-y,50%);transition:transform .4s cubic-bezier(.2,.65,.3,1),opacity .18s ease}
.product-detail-page .photo-zooming #productMainImage{transform:scale(1.15);animation:none}
.product-photo-spotlight{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;background:radial-gradient(circle 150px at var(--photo-x,50%) var(--photo-y,50%),rgba(255,255,255,.18),rgba(255,255,255,.07) 45%,transparent 100%);transition:opacity .3s ease;mix-blend-mode:screen}
.photo-zooming .product-photo-spotlight{opacity:1}
@media(max-width:575.98px){.product-detail-page .product-photo-arrow{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.product-detail-page #productMainImage,.product-photo-spotlight{transition:none}.product-detail-page .photo-zooming #productMainImage{transform:none}}
