:root{--product-line:color-mix(in srgb,var(--store-ink) 13%,transparent);--product-photo-bg:color-mix(in srgb,var(--store-muted) 7%,var(--store-surface))}
.gl-detail{max-width:1320px;margin:auto;padding:28px 24px 0;color:var(--store-ink)}
.gl-detail-crumb{margin-bottom:22px;overflow-wrap:anywhere}
.gl-detail-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(28px,5vw,76px);align-items:start}
.gl-detail-media{min-width:0;position:sticky;top:110px}
.gl-detail-hero{position:relative;aspect-ratio:5/4;overflow:hidden;border-radius:calc(var(--store-radius) * 1.2);background:var(--product-photo-bg);border:1px solid var(--product-line);display:grid;place-items:center}
.gl-detail-hero #mainPhoto{width:100%;height:100%;object-fit:contain;min-height:0;min-width:0;touch-action:pan-y}
.gl-no-photo{display:grid;gap:10px;text-align:center;color:var(--store-muted)}.gl-no-photo i{font-size:40px}
.gl-photo-tools{position:absolute;top:14px;right:14px;display:flex;gap:8px}
.gl-photo-tools button,.gl-photo-favorite-button,.gl-photo-arrow,.gl-card-share{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--store-surface);color:var(--store-ink);border:1px solid var(--product-line);box-shadow:0 3px 12px #0001;font-size:18px;cursor:pointer}
.gl-photo-favorite{position:absolute;right:14px;bottom:14px}.gl-photo-favorite-button.is-saved,.gl-photo-favorite-button:has(.bi-heart-fill){color:var(--gl-accent)}
.gl-photo-arrow{position:absolute;top:50%;transform:translateY(-50%)}.gl-photo-prev{left:12px}.gl-photo-next{right:12px}.gl-photo-count{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);background:var(--store-surface);color:var(--store-ink);border-radius:30px;padding:4px 12px;font-size:12px;font-weight:600}
.gl-detail [hidden]{display:none!important}
#completeProductGallery{gap:10px;margin-top:12px;scrollbar-width:thin;padding:3px}
#completeProductGallery button{width:72px;height:72px;border:1px solid var(--product-line);background:var(--product-photo-bg);border-radius:var(--store-radius)}
#completeProductGallery button[aria-pressed=true]{outline:2px solid var(--gl-accent);outline-offset:1px}
.gl-detail-info{min-width:0;padding:5px 0}.gl-detail-title{font-size:clamp(25px,3vw,42px);line-height:1.13;font-weight:800;letter-spacing:-.035em;margin:9px 0 8px;overflow-wrap:anywhere}
.gl-detail-price{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:20px 0;padding:0 0 20px;border-bottom:1px solid var(--product-line)}.gl-detail-price #price{font-size:clamp(26px,3vw,36px);line-height:1.15}.gl-detail-price #originalPrice{margin:0;color:var(--store-muted)}.gl-detail-price .sale-badge{background:var(--store-error-bg);color:var(--store-error)}
.gl-detail-options{display:grid;gap:20px}.gl-detail-options h3{font-size:14px}.gl-detail-options .pill-select{background:var(--store-surface);color:var(--store-ink);border:1px solid var(--product-line);border-radius:10px;min-height:40px;padding:8px 14px;max-width:100%;overflow-wrap:anywhere}.gl-detail-options .pill-select[aria-pressed=true]{border-color:var(--gl-accent);color:var(--gl-accent);background:var(--store-lavender)}.gl-detail-options button:disabled{opacity:.45;cursor:not-allowed}.gl-detail-options .color-select[aria-pressed=true]{outline:2px solid var(--gl-accent);outline-offset:3px}
.gl-detail-buy{display:flex;gap:12px;margin:20px 0;align-items:stretch}.gl-quantity{display:flex;align-items:center;border:1px solid var(--product-line);border-radius:var(--store-radius);overflow:hidden}.gl-quantity input{background:transparent;color:var(--store-ink);appearance:textfield}.gl-quantity input::-webkit-inner-spin-button{appearance:none}.gl-detail-buy .btn-primary{min-height:48px;flex:1}.gl-detail-buy button:disabled,.sticky-buy button:disabled{opacity:.5;cursor:not-allowed}
.gl-detail .product-sharing{margin:18px 0;background:var(--store-surface);border:1px solid var(--product-line);border-radius:var(--store-radius);padding:12px}.gl-detail .share-action{color:var(--gl-accent);background:var(--store-surface);border-color:var(--product-line)}
.gl-detail-accordions{margin-top:22px;border-top:1px solid var(--product-line)}.gl-detail-accordions details{border-color:var(--product-line)}.gl-detail-accordions summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}.gl-detail-accordions summary::after{content:'+';font-size:20px;font-weight:400;color:var(--store-muted)}.gl-detail-accordions details[open] summary::after{content:'−'}.gl-detail-accordions summary::-webkit-details-marker{display:none}.gl-detail-reviews{max-width:1272px;margin:32px auto 0;border:1px solid var(--product-line)}
.product-card .gl-card-share{position:absolute;right:12px;top:58px;z-index:20;width:34px;height:34px;font-size:14px}.product-card .nova-heart{background:var(--store-surface)!important;color:var(--gl-accent)!important}.product-card .product-image,.product-card .card-gallery,.product-card .card-thumb{background:var(--product-photo-bg)!important}.product-card .card-thumb{border-color:var(--product-line)}.product-card .card-thumb.is-active{border-color:var(--gl-accent)}
.gl-card-variants{display:grid;gap:4px;margin-top:8px;min-width:0}.gl-card-variant{display:flex;align-items:center;gap:5px;min-width:0;font-size:11px;line-height:1.35;color:var(--store-ink)}.gl-card-variant-label{color:var(--store-muted);flex-shrink:0}.gl-card-variant-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;min-width:0}.gl-card-more{flex-shrink:0;font-weight:700;color:var(--gl-accent);background:var(--store-lavender);padding:2px 5px;border-radius:6px}
@media(max-width:900px){.gl-detail-grid{grid-template-columns:minmax(0,1fr);gap:22px}.gl-detail-media{position:relative;top:auto}.gl-detail-hero{aspect-ratio:5/4;max-height:550px}.gl-detail{max-width:700px}.gl-detail-reviews{margin:24px 16px}}
@media(max-width:639px){.gl-detail{padding:12px 14px 0}.gl-detail-crumb{margin-bottom:12px;font-size:11px}.gl-detail-grid{gap:14px}.gl-detail-hero{aspect-ratio:1/1;border-radius:var(--store-radius)}.gl-photo-tools{top:10px;right:10px}.gl-photo-tools button,.gl-photo-favorite-button,.gl-photo-arrow{width:36px;height:36px;font-size:16px}.gl-photo-favorite{right:10px;bottom:10px}#completeProductGallery button{width:48px;height:48px}#completeProductGallery{margin-top:7px;gap:8px}.gl-detail-info{padding:0 2px}.gl-detail-title{margin-top:6px}.gl-detail-price{margin:15px 0;padding-bottom:15px}.gl-detail-options{gap:16px}.gl-detail-buy{gap:8px}.gl-detail-buy .btn-primary{font-size:13px;padding:8px}.gl-quantity button{padding:10px}.gl-quantity input{width:36px}.product-card .gl-card-share{width:26px;height:26px;right:7px;top:40px;font-size:12px}.product-card .nova-wish-card{right:7px;top:7px}.product-card .nova-heart{width:28px;height:28px;font-size:14px}.gl-card-variant{font-size:10px;gap:3px}.gl-card-more{padding:1px 4px}}
body:has(.gl-detail) .sticky-buy{background:var(--store-surface)!important;color:var(--store-ink);border-color:var(--product-line)}
#completeProductGallery{position:relative}#variantStatus[data-available=true]{color:var(--store-success)!important}#variantStatus{padding:10px 12px;border-radius:10px;background:var(--gl-subtle);overflow-wrap:anywhere}.gl-detail-hero #mainPhoto{position:absolute;inset:0}.gl-detail-hero button:focus-visible,.gl-card-share:focus-visible{outline:2px solid var(--gl-accent);outline-offset:2px}

@media(max-width:639px){.gl-detail .product-sharing{padding:9px}.gl-detail .product-share-label{font-size:11px}.gl-detail .product-share-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex-wrap:nowrap}.gl-detail .product-share-actions .share-action{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;width:100%;padding:7px 2px;font-size:clamp(9px,2.8vw,12px);line-height:1.2;white-space:nowrap;min-height:36px}.gl-detail .product-share-actions .share-action i{font-size:12px;flex-shrink:0}}
