.product-detail{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(100%,1060px);max-height:min(var(--visual-viewport-height,100dvh) - 48px,1000px);min-width:0;min-height:0;background:#070B16;border:1px solid #34415C;border-radius:24px;overflow:hidden;box-shadow:0 16px 40px #0004;transform:translateY(12px);transition:transform 180ms var(--app-ease)}
.modal-layer.is-open .product-detail{transform:none}
.product-detail__header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;background:#10182B;border-bottom:1px solid #2B3853;min-width:0}
.product-detail__header>div{min-width:0;display:grid;gap:6px}.product-detail__header small{font-size:12px;color:#A9B7FF;line-height:1.5;font-weight:600}
.product-detail__header h2{margin:0;font-size:24px;line-height:1.25;font-weight:750;letter-spacing:-.025em;overflow-wrap:anywhere}
.product-detail__body{min-height:0;min-width:0;padding:24px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-padding:24px;-webkit-overflow-scrolling:touch}
.product-detail__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;align-items:start;min-width:0}
.product-detail__media{min-width:0;position:static;align-self:start}
.product-detail__information{min-width:0;display:grid;gap:20px}
.product-detail__badges{display:flex;flex-wrap:wrap;gap:8px}
.product-detail__badges>span{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #34415C;border-radius:8px;background:#10182B;color:#B7C1D8;font-size:12px;line-height:1.4;font-weight:550}
.product-detail__badges>span.is-stock-in_stock{border-color:#2F6857;color:#73E3B7;background:#11352C}
.product-detail__description{margin:0;font-size:15px;line-height:1.65;color:#B7C1D8;overflow-wrap:anywhere}
.detail-section{min-width:0}.detail-section>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.detail-section h3{font-size:17px;font-weight:700;line-height:1.4;margin:0}.detail-section header>span{font-size:12px;color:#B7C1D8;text-align:right}
.detail-plans{display:grid;gap:10px}
.detail-plan{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px;min-height:80px;border:1px solid #34415C;border-radius:14px;background:#10182B;color:#F1F5FF;text-align:left;cursor:pointer}
.detail-plan.is-selected{border-color:#8090ED;background:#1B2947;box-shadow:inset 0 0 0 1px #8090ED}
.detail-plan__check{color:#8090ED;font-size:18px}.detail-plan.is-selected .detail-plan__check{color:#A9B7FF}
.detail-plan__copy{display:grid;gap:6px;min-width:0}.detail-plan__copy strong{font-size:15px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.detail-plan__copy small{font-size:12px;line-height:1.5;color:#B7C1D8;overflow-wrap:anywhere}
.detail-plan>b{font-size:16px;font-weight:650;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:180px}
.detail-plan:hover{border-color:#8090ED}
.detail-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;border:1px solid #34415C;border-radius:14px;background:#10182B;min-width:0}
.detail-summary>span{display:grid;gap:6px;min-width:0}.detail-summary small{color:#B7C1D8;font-size:12px}.detail-summary strong{font-size:15px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.detail-summary em{font-size:12px;line-height:1.5;color:#A9B7FF;font-style:normal}
.detail-summary>b{font-size:22px;font-weight:750;white-space:normal;overflow-wrap:anywhere;text-align:right;min-width:0;font-variant-numeric:tabular-nums}
.detail-availability{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5;color:#B7C1D8;margin:0}.detail-availability>i{color:#A9B7FF}
.detail-restock{justify-self:start;max-width:100%}
.detail-features{padding:20px;border:1px solid #2B3853;border-radius:16px;background:#10182B}
.detail-features ul{list-style:none;display:grid;gap:12px;margin:0;padding:0}.detail-features li{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:10px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.detail-features li>i{margin-top:4px;color:#73E3B7;font-size:12px}
.product-detail__help{display:flex;gap:10px;color:#B7C1D8;font-size:12px;line-height:1.6;margin:0}.product-detail__help>i{padding-top:4px;flex-shrink:0}
.product-detail__footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px max(16px,env(safe-area-inset-bottom));background:#10182B;border-top:1px solid #34415C;min-width:0}
.product-detail__price{display:grid;gap:6px;min-width:0}.product-detail__price small{font-size:12px;line-height:1.4;color:#B7C1D8;overflow-wrap:anywhere}.product-detail__price strong{font-size:24px;font-weight:750;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.product-detail__actions{display:flex;gap:12px;min-width:0}.product-detail__actions .screen-button{flex:1;min-width:0}
.product-gallery{display:grid;gap:12px;min-width:0}
.product-gallery__viewport{position:relative;aspect-ratio:1.25/1;min-height:0;width:100%;overflow:hidden;border:1px solid #34415C;border-radius:16px;background:#0B1222}
.product-gallery__track{position:absolute;inset:0;height:100%;width:100%;display:flex;transition:transform 180ms var(--app-ease)}
.product-gallery__slide{position:relative;flex:0 0 100%;width:100%;height:100%;margin:0;padding:0;display:grid;place-items:center;overflow:hidden}
.product-gallery__slide img{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;max-height:100%;object-fit:cover;object-position:center;border-radius:0;filter:none}
.product-gallery__slide--logo img{padding:0;max-width:100%;max-height:100%;background:transparent;box-shadow:none}
.product-gallery__controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.product-gallery__original{display:inline-flex;align-items:center;min-height:44px;margin-inline-start:auto;padding-inline:8px;color:#b9caff;font-size:13px;text-underline-offset:3px}.product-gallery__arrow{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:10px;border:1px solid #405172;border-radius:12px;background:#10182BEF;color:#F1F5FF;backdrop-filter:none;box-shadow:none;z-index:2}
.product-gallery__arrow svg{width:20px;height:20px}
.product-gallery__counter{display:flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #405172;border-radius:8px;background:#10182BEF;color:#B7C1D8;font-size:12px;line-height:1.4;z-index:2}.product-gallery__counter strong{font-weight:650;color:#F1F5FF}
.product-gallery__thumbnails{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding:3px;scrollbar-width:thin;scroll-snap-type:x proximity}
.product-gallery__thumbnail{position:relative;flex:0 0 60px;min-height:60px;max-height:60px;min-width:60px;padding:0;background:#10182B;border:1px solid #34415C;border-radius:10px;overflow:hidden;scroll-snap-align:center}
.product-gallery__thumbnail img{width:100%;height:100%;object-fit:cover;border-radius:inherit;filter:none;padding:0}
.product-gallery__thumbnail.is-active{border-color:#A9B7FF;box-shadow:0 0 0 1px #A9B7FF}.product-gallery__thumbnail.is-error::after{content:'!';position:absolute;inset:0;display:grid;place-items:center;color:#FFACB8;background:#10182B}
@media(max-width:899px){
 #purchaseModal{padding:0;align-items:stretch}.product-detail{width:100%;height:100%;max-height:var(--visual-viewport-height,100dvh);border:0;border-radius:0;box-shadow:none}
 .product-detail__header{padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));gap:10px}.product-detail__header>div{gap:4px}.product-detail__header h2{font-size:20px}.product-detail__header small{font-size:11px}
 .product-detail__body{padding:12px max(12px,env(safe-area-inset-right)) 16px max(12px,env(safe-area-inset-left));scroll-padding:16px}.product-detail__layout{grid-template-columns:minmax(0,1fr);gap:14px}.product-detail__information{gap:14px}
 .product-gallery__viewport{aspect-ratio:1.9/1;max-height:340px;border-radius:12px}.product-gallery__arrow{width:44px;min-width:44px;height:44px;padding:8px;border-radius:10px}.product-gallery__counter{font-size:12px;padding:5px 8px;bottom:8px;right:8px}.product-gallery__thumbnail{flex-basis:48px;min-width:48px;min-height:48px;max-height:48px;border-radius:8px}.product-gallery__thumbnails{gap:6px}
 .product-detail__badges{gap:6px}.product-detail__badges>span{font-size:11px;padding:5px 8px}.product-detail__description{font-size:13px}.detail-section h3{font-size:16px}.detail-section header>span{font-size:12px}
 .detail-plan{grid-template-columns:18px minmax(0,1fr) auto;padding:10px 12px;gap:8px;min-height:64px;border-radius:12px}.detail-plan__copy{gap:4px}.detail-plan__copy strong{font-size:14px}.detail-plan__copy small{font-size:12px}.detail-plan>b{font-size:14px;max-width:120px}.detail-plan__check{font-size:16px}
 .detail-summary{gap:10px;padding:12px;border-radius:12px}.detail-summary strong{font-size:14px}.detail-summary small,.detail-summary em{font-size:12px}.detail-summary>b{font-size:20px}.detail-availability{font-size:13px}
 .detail-features{padding:14px;border-radius:12px}.detail-features li{font-size:13px;line-height:1.6}.detail-features li>i{font-size:12px;margin-top:4px}.product-detail__help{font-size:12px}
 .product-detail__footer{padding:8px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));gap:8px;flex-wrap:wrap}.product-detail__price{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:1 1 100%}.product-detail__price small{font-size:12px}.product-detail__price strong{font-size:20px;text-align:right}.product-detail__actions{width:100%;gap:8px}.product-detail__actions .screen-button{font-size:13px;padding:10px}
}
@media(pointer:coarse){.product-gallery__arrow{min-width:44px;min-height:44px}.product-gallery__thumbnail{min-height:48px}.detail-plan{min-height:64px}}
@media(max-height:500px) and (orientation:landscape){.product-detail__layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.product-detail__header{padding-block:8px}.product-detail__footer{flex-wrap:nowrap;padding-block:8px}.product-detail__price{flex:1 1 auto;display:grid}.product-detail__actions{width:auto}.product-gallery__viewport{aspect-ratio:1.4/1}.client-header__title p{display:none}.client-header{padding-block:8px}}
@media(prefers-reduced-motion:reduce){.product-detail,.product-gallery__track{transition:none}}


#purchaseCommunity { clear: both; margin-top: 24px; }
#purchaseCommunity > p, #purchaseCommunity .community-empty, #purchaseCommunity .community-compose p { color: #b4c5dc; margin: 0; }
#purchaseCommunity .community { display: grid; gap: 14px; min-width: 0; padding: clamp(14px,3vw,24px); border: 1px solid #334761; border-radius: 16px; background: #111d31; }
#purchaseCommunity :is(h3,h4,p) { margin: 0; overflow-wrap: anywhere; }
#purchaseCommunity .community-heading, #purchaseCommunity .community-actions, #purchaseCommunity .community-compose,
#purchaseCommunity .community-comment header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
#purchaseCommunity .community-heading, #purchaseCommunity .community-compose { justify-content: space-between; }
#purchaseCommunity .community-heading h3 { font-size: 1.12rem; }
#purchaseCommunity button, .community-people button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px; color: #e5efff; background: #203452; border: 1px solid #476187; border-radius: 12px; font: inherit; cursor: pointer; }
#purchaseCommunity button:focus-visible, .community-people button:focus-visible { outline: 3px solid #91c6ff; outline-offset: 2px; }
#purchaseCommunity button:disabled { opacity: .6; cursor: wait; }
#purchaseCommunity .primary { background: #2753a4; }
#purchaseCommunity .is-liked { color: #ffc7da; border-color: #9c5979; }
#purchaseCommunity .is-liked svg { fill: currentColor; }
#purchaseCommunity .community-compose { border-block: 1px solid #32435a; padding-block: 12px; }
#purchaseCommunity .community-comment, .community-people .community-person { display: flex; align-items: flex-start; gap: 12px; padding-block: 14px; }
#purchaseCommunity .community-comment + .community-comment, .community-people .community-person + .community-person { border-top: 1px solid #32435a; }
#purchaseCommunity .community-comment > div, .community-people .community-person > div { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
#purchaseCommunity .community-comment p { white-space: pre-line; }
#purchaseCommunity :is(time,.verified-badge), .community-people small { color: #a8c6df; font-size: .8rem; }
#purchaseCommunity .verified-badge { display: inline-flex; align-items: center; gap: 4px; }
#purchaseCommunity .review-stars { color: #ffd47b; letter-spacing: 2px; }
:is(#purchaseCommunity,.community-people) .community-avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; position: relative; overflow: hidden; color: #cae0ff; background: #2a4266; border-radius: 50%; }
:is(#purchaseCommunity,.community-people) .community-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:is(#purchaseCommunity,.community-people) svg { width: 1.1em; height: 1.1em; flex: none; }
.community-people-list { margin: 0; padding: 0; list-style: none; }
#purchaseCommunity .community-author{color:#f3f6ff;font-size:1.02rem;font-weight:750;overflow-wrap:anywhere}
#purchaseCommunity .community-comment>div{flex:1;min-width:0}
#purchaseCommunity .thread-actions{display:flex;flex-wrap:wrap;gap:8px}
#purchaseCommunity .review-thread:has(.thread-actions:empty){display:none}
#purchaseCommunity .thread-button{min-height:44px;margin:0;padding:6px 12px;font-size:.85rem}
#purchaseCommunity .thread-body{margin:8px 0 0;padding:0 0 0 clamp(8px,2vw,16px);border-inline-start:2px solid #445e89}
#purchaseCommunity .thread-body ul{list-style:none;margin:0;padding:0}
#purchaseCommunity .thread-body li{display:flex;gap:8px;padding:10px 0}
#purchaseCommunity .thread-body li>div{min-width:0;overflow-wrap:anywhere}
#purchaseCommunity .thread-body .community-avatar{width:30px;height:30px}
#purchaseCommunity .thread-body li p{margin:.3em 0;white-space:pre-wrap}
.reply-context{margin:0;padding:10px 14px;border-inline-start:3px solid #799aee;background:#192a44;color:#d5e3f9;overflow-wrap:anywhere}
.reply-context p{white-space:pre-wrap;max-height:7em;overflow:auto}
