.product-dialog-open{overflow:hidden}
.product-dialog{box-sizing:border-box;width:min(960px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:auto;color:#fff7fc;background:linear-gradient(145deg,#10142d,#1a1234);border:1px solid #9862ab;border-radius:22px;box-shadow:0 16px 90px #0009;font-family:var(--font-ui,Manrope,sans-serif);font-size:14px;line-height:1.6}
.product-dialog::backdrop{background:#040718cf;backdrop-filter:blur(6px)}
.product-dialog *{box-sizing:border-box;min-width:0}
.product-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;background:#12132dec;border-bottom:1px solid #493758}
.product-dialog-header>span{font-size:11px;letter-spacing:.13em;color:#e9c49f;overflow-wrap:anywhere}
.product-dialog-header form{margin:0}
.product-dialog button{font:inherit;cursor:pointer;color:inherit}
.product-dialog-header button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #745981;border-radius:50%;background:#242039;font-size:26px;line-height:1}
.product-dialog-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:30px;padding:22px}
.product-gallery-stage{position:relative;aspect-ratio:760/1030;overflow:hidden;border:1px solid #5b396e;border-radius:16px;background:#080d22;touch-action:pan-y}
.product-gallery-main{display:block;width:100%;height:100%;object-fit:contain}
.product-photo-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border:1px solid #d1a0dc;border-radius:50%;background:#0d0d28cf;font-size:30px!important;line-height:1}
.product-photo-arrow--prev{left:10px}.product-photo-arrow--next{right:10px}
.product-photo-counter{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:3px 12px;background:#080d22cd;border:1px solid #8e5ba1;border-radius:20px;font-size:12px}
.product-photo-thumbnails{display:flex;gap:9px;overflow:auto;padding:12px 2px 3px;scrollbar-width:thin}
.product-photo-thumbnails button{flex:0 0 66px;overflow:hidden;padding:0;width:66px;height:82px;border:1px solid #65507c;border-radius:9px;background:#080d22}
.product-photo-thumbnails img{width:100%;height:100%;object-fit:cover;display:block}
.product-photo-thumbnails [aria-pressed=true]{border:2px solid #ff56e7;box-shadow:0 0 10px #e82bcb66}
.product-dialog-copy{align-self:center;overflow-wrap:anywhere}
.product-dialog-copy .eyebrow{margin:0 0 7px;font-size:10px;color:#e5a6ec;letter-spacing:.22em}
.product-dialog-copy h2{margin:0 0 14px;font-family:var(--font-display,'Cormorant Garamond',serif);font-size:clamp(32px,4vw,46px);font-weight:400;line-height:1.1;color:#ffe0b1;letter-spacing:0}
html[lang=ka] .product-dialog-copy h2{font-family:'Noto Sans Georgian',sans-serif;font-size:32px}
.product-modal-description{margin:0 0 12px;color:#d5d0e4}
.product-modal-stones{margin:0;color:#dfc9ac;font-size:13px}
.product-dialog:has([data-product-variant="wr"][aria-pressed="true"]) .product-modal-stones{display:none}
.product-modal-price{margin:22px 0;font-family:var(--font-display,'Cormorant Garamond',serif);font-size:29px;line-height:1.25;color:#ffe0b1}
html[lang=ka] .product-modal-price{font-family:'Noto Sans Georgian',sans-serif;font-size:23px}
.product-modal-stock{padding-top:18px;border-top:1px solid #493758}
.product-modal-stock h3{margin:0 0 12px;font:inherit;font-weight:600}
.product-variant-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.product-variant-tabs button{padding:9px 12px;min-height:44px;border:1px solid #68517b;border-radius:22px;background:#1a1636;font-size:12px}
.product-modal-sizes{display:flex;flex-wrap:wrap;gap:8px}
.product-modal-sizes button{min-height:44px;min-width:44px;padding:7px 12px;border:1px solid #785786;border-radius:9px;background:#12152f}
.product-variant-tabs [aria-pressed=true],.product-modal-sizes [aria-pressed=true]{border-color:#ed72e0;background:#622764;box-shadow:0 0 10px #e82bcb33}
.product-modal-help{display:flex;flex-wrap:wrap;gap:8px 20px;margin:20px 0}
.product-modal-help a{display:inline-flex;align-items:center;min-height:44px;color:#e9c1ef;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.product-modal-contact{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 20px;border:1px solid #f994ed;border-radius:28px;background:linear-gradient(110deg,#9818aa,#de28c0);box-shadow:0 0 14px #e82bcb55;color:white;text-decoration:none;font-weight:600}
.product-gallery-empty{display:grid;place-items:center;height:100%;margin:0;padding:30px;text-align:center;color:#c6c5d9}
.product-dialog [hidden]{display:none!important}
.product-dialog :focus-visible{outline:2px solid #ff9dea;outline-offset:3px}
.model-card .model-art{cursor:pointer}
.product-photo-link{display:contents}
.cms-model-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:10px;margin-top:12px}
.cms-gallery-photo{min-width:0;border:1px solid #594266;border-radius:10px;padding:7px;background:#11132b}
.cms-gallery-photo img{width:100%;height:120px;object-fit:contain;display:block}
.cms-gallery-photo>span{display:block;font-size:11px;color:#ead4c0;margin:5px 0}
.cms-gallery-actions{display:flex;flex-wrap:wrap;gap:4px}
.cms-shell .cms-gallery-actions button{flex:1;min-width:44px!important;min-height:44px!important;padding:6px!important;font-size:11px!important}
.cms-shell .cms-gallery-actions [data-gallery-action=cover],.cms-shell .cms-gallery-actions [data-gallery-action=remove]{flex-basis:100%!important;white-space:normal!important}
@media(max-width:640px){
 .product-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:16px;font-size:14px}
 .product-dialog-grid{grid-template-columns:minmax(0,1fr);gap:20px;padding:14px}
 .product-dialog-header{padding:7px 12px}
 .product-gallery-stage{max-height:54dvh;aspect-ratio:auto;height:54dvh}
 .product-dialog-copy h2{font-size:36px}
 .product-modal-price{margin:14px 0;font-size:28px}
 .product-modal-stock{padding-top:14px}
 .product-modal-help{margin:12px 0}
 .product-photo-thumbnails button{flex-basis:56px;width:56px;height:70px}
}
