/* The gallery stays in normal flow so its controls never overlap the next row. */
.product-dialog::backdrop{backdrop-filter:none}
.product-dialog .detail-gallery{position:static;top:auto;grid-row:1;align-self:start;min-width:0;isolation:isolate}
.product-dialog .product-detail{align-items:start;gap:28px 32px}
.product-dialog .product-information{grid-column:1/-1;grid-row:2;position:relative;min-width:0;margin-top:0;padding-top:4px}
.product-dialog .gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;height:430px;min-height:280px;max-height:none;padding:22px 40px;border:1px solid #e8e5ec;background:#fff;border-radius:14px;touch-action:pan-y;overflow:hidden}
.product-dialog .gallery-stage>img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.product-dialog .gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:44px;display:grid;place-items:center;padding:0;border:1px solid #e4e0e9;border-radius:10px;background:#ffffffed;color:#24202b;box-shadow:0 2px 7px #20152d08;z-index:1;cursor:pointer}
.product-dialog .gallery-arrow:hover{background:#f4f0f7;border-color:#b9a8c8}.product-dialog .gallery-arrow svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.product-dialog .gallery-prev{left:7px}.product-dialog .gallery-next{right:7px}
.product-dialog .gallery-counter{display:block;background:#ffffffed;border:1px solid #e8e5ec;border-radius:6px;color:#68616f;bottom:10px;right:12px;font-size:12px;padding:3px 8px}.product-dialog .gallery-counter[hidden]{display:none}
.product-dialog .gallery-controls{display:flex;align-items:center;justify-content:center;gap:8px;overflow-x:auto;overflow-y:hidden;max-width:100%;padding:10px 3px 4px;margin:0;scrollbar-width:thin}
.product-dialog .gallery-thumb{flex:0 0 62px;width:62px;height:62px;padding:5px;background:#fff;border:1px solid #e5e1ea;border-radius:9px;transition:border-color .15s}.product-dialog .gallery-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}.product-dialog .gallery-thumb[aria-pressed=true]{border:2px solid #c82d49;padding:4px;box-shadow:none}
.product-dialog .gallery-notice{display:block;margin:10px 0 0;padding:0 2px;font-size:11px;line-height:1.55;color:#736b7d}.product-dialog .gallery-notice summary{min-height:30px;display:flex;align-items:center;gap:7px}.product-dialog .gallery-notice p{margin:8px 0 0;font-size:12px;line-height:1.6}
.product-dialog .detail-copy h2{font-size:27px;line-height:1.2;letter-spacing:-.025em;margin:9px 0}.product-dialog .detail-subtitle{font-size:13px;line-height:1.55}.product-dialog .detail-summary{font-size:14px;line-height:1.7;margin-top:14px}.product-dialog .detail-highlights{margin:16px 0 0;padding:14px 0;gap:14px}.product-dialog .detail-highlights dd{font-size:17px}.product-dialog .detail-highlights dt{font-size:12px;line-height:1.45}
.product-dialog .variant-selector{padding:18px 0 0;margin:0;border:0}.product-dialog .variant-selector legend{font-size:13px;line-height:1.5;margin-bottom:9px;color:#62586c}.product-dialog .variant-selector fieldset+fieldset{margin-top:16px}
.product-dialog .variant-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(116px,1fr));gap:8px}.product-dialog .variant-color{display:flex;flex-direction:row;justify-content:flex-start;gap:8px;width:100%;height:auto;min-width:0;min-height:44px;padding:9px 11px;border:1px solid #ded6e7;border-radius:9px;background:#fff;position:relative;text-align:left;color:#504458;line-height:1.3}
.product-dialog .variant-color>span:first-child{flex:0 0 19px;width:19px;height:19px;border-radius:50%;box-shadow:inset 0 0 0 1px #0002}
.product-dialog .variant-color>span+span{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip-path:none;white-space:normal;font-size:12px;line-height:1.3;font-weight:550}
.product-dialog .variant-color[aria-pressed=true],.product-dialog .variant-capacities button[aria-pressed=true]{border:1px solid #c82d49;box-shadow:inset 0 0 0 1px #c82d49;background:#fff6f8;color:#a91f3c}
.product-dialog .variant-capacities{display:flex;flex-wrap:wrap;gap:8px}.product-dialog .variant-capacities button{min-width:78px;min-height:44px;padding:9px 16px;font-size:13px;border-radius:9px;font-weight:600}
.product-dialog .variant-selection-label{display:none}.product-dialog .detail-price{padding-top:18px;margin-top:18px;border-top:1px solid #e8e2ed;font-size:30px;line-height:1.2}.product-dialog .detail-price>span{font-size:11px;margin-top:5px}.product-dialog .detail-actions{margin-top:16px}
.product-dialog .detail-tablist{position:static;padding:0;gap:24px;margin-bottom:22px}.product-dialog .detail-tablist button{font-size:14px;min-height:54px}.product-dialog .detail-gallery button:focus:not(:focus-visible){outline:none}
@media(max-width:760px){.product-dialog .product-detail{gap:22px;padding:16px}.product-dialog .detail-gallery,.product-dialog .detail-copy,.product-dialog .product-information{grid-column:1;grid-row:auto}.product-dialog .gallery-stage{height:330px;min-height:240px;max-height:49dvh;padding:18px 38px}.product-dialog .gallery-thumb{flex-basis:54px;width:54px;height:54px}.product-dialog .detail-copy h2{font-size:24px}.product-dialog .variant-colors{grid-template-columns:repeat(2,minmax(0,1fr))}.product-dialog .variant-color{min-height:46px;padding:10px 12px}.product-dialog .variant-color>span+span{font-size:13px}.product-dialog .detail-tablist{gap:20px}.product-dialog .detail-tablist button{font-size:13px;white-space:nowrap}.product-dialog .detail-price{font-size:28px}}
.product-dialog .variant-color{max-width:none}.product-dialog .variant-capacities button{flex:1 1 68px;min-width:68px;max-width:110px;padding-inline:10px}
@media(min-width:761px) and (max-height:650px){.product-dialog .gallery-stage{height:350px}}
