.product-detail{padding-top:30px}
.product-detail .crumbs{font-size:12px;flex-wrap:wrap;margin-bottom:20px}
.product-detail .product-grid{gap:40px;align-items:start}
.product-detail .product-info h1{font-size:clamp(23px,2.4vw,34px);line-height:1.25;max-width:none;letter-spacing:-.035em;margin:0 0 14px}
.product-gallery{min-width:0}
.product-gallery-open{display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:18px;color:var(--text);overflow:hidden;cursor:zoom-in}
.product-gallery-open>img{width:100%;height:100%;object-fit:contain}
.product-gallery-hint{position:absolute;inset:auto 10px 10px;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 11px;border-radius:9px;background:#000b;color:#eee;font-size:11px;pointer-events:none}
.product-meta{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;font-size:12px;margin-bottom:16px}
.product-meta .product-sku{margin:0;color:var(--muted);font-variant-numeric:tabular-nums;text-underline-offset:3px;white-space:nowrap}
.product-sku:hover{color:var(--text)}
.product-meta .stock{margin:0;font-size:12px;white-space:nowrap}
.product-meta .stock.out{color:var(--muted)}
.product-meta .stock.preorder{color:var(--accent2)}
.product-review{color:var(--accent2);font-size:11px}
.product-detail .price-lg b{font-size:30px}
.product-purchase{gap:12px;margin:18px 0 24px}
.product-purchase .buy-actions{flex:1;gap:8px;margin:0}
.product-purchase .btn{font-size:12px;padding:0 12px;min-height:46px;border-radius:10px;white-space:nowrap}
.product-purchase .add-to-cart{background:#24202b;border-color:#403849;color:var(--text)}
.product-purchase .add-to-cart:hover{background:#30263e;border-color:var(--accent)}
.product-purchase .qty{flex-shrink:0;border:1px solid var(--line);border-radius:10px}
.product-purchase .qty input{width:30px}
.product-purchase .qty button{width:30px;height:44px}
.product-delivery{margin-top:22px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.product-delivery h2{font-size:15px;margin:0 0 12px}
.product-delivery dl{margin:0;display:grid;gap:10px;font-size:13px}
.product-delivery dl>div{display:flex;justify-content:space-between;align-items:center;gap:16px}
.product-delivery dt{display:flex;align-items:center;gap:8px}
.product-delivery dd{margin:0;font-weight:700;text-align:right}
.delivery-carrier-dot{width:7px;height:7px;border-radius:50%;background:var(--muted)}
.delivery-carrier-dot.ozon{background:#587bff}.delivery-carrier-dot.dpd{background:#f0637e}.delivery-carrier-dot.cdek{background:#65c48e}
.delivery-price-included{color:var(--ok)}
.product-delivery p{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 0}
.product-delivery .product-delivery-note{margin-top:14px}
.product-detail .description{margin-top:24px;padding-top:18px;font-size:14px}
.product-detail .description h2{margin:0 0 12px;font-size:17px}
.product-detail .preorder-notice{margin:20px 0 0}
.product-lightbox{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:16px;background:#08080bf5;color:var(--text);overscroll-behavior:contain}
.product-lightbox[open]{display:flex;flex-direction:column;gap:14px}
.product-lightbox::backdrop{background:#000}
.product-lightbox-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-shrink:0;font-size:13px;padding:0 4px}
.product-gallery-close{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--text);font-size:12px}
.product-gallery-close span{font-size:23px}
.product-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;flex:1;gap:8px}
.product-lightbox-image{width:calc(100% - 104px);height:100%;object-fit:contain}
.product-lightbox-stage .product-video{position:static;width:calc(100% - 104px);height:100%;min-width:0}
.product-gallery-arrow{position:relative;z-index:1;flex-shrink:0;align-self:center;width:44px;height:48px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);font-size:28px}
.product-photo-options{display:flex;gap:8px;flex-shrink:0;overflow-x:auto;max-width:100%;padding:4px 0 8px;justify-content:safe center}
.product-photo-option{flex-shrink:0;display:grid;place-items:center;width:54px;height:54px;border:1px solid var(--line);border-radius:8px;padding:0;background:var(--surface2);color:var(--text);overflow:hidden}
.product-photo-option img{width:100%;height:100%;object-fit:contain}
.product-photo-option[aria-pressed="true"]{border-color:var(--accent);outline:1px solid var(--accent)}
html.product-gallery-is-open{overflow:hidden}
.product-gallery-open:focus-visible,.product-gallery-arrow:focus-visible,.product-gallery-close:focus-visible,.product-photo-option:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:850px){
  .product-detail{padding-top:18px;padding-bottom:110px}
  .product-detail .crumbs{font-size:10px;gap:5px;margin-bottom:12px}
  .product-detail .product-grid{gap:20px}
  .product-gallery-open{aspect-ratio:auto;height:clamp(230px,76vw,370px);border-radius:14px}
  .product-detail .product-info h1{font-size:23px;line-height:1.25;margin-bottom:10px}
  .product-detail .section-kicker{font-size:10px;margin-bottom:7px}
  .product-meta{gap:8px 12px;margin-bottom:12px}
  .product-detail .price-lg b{font-size:28px}
  .product-purchase,.product-info .buy-row.product-purchase{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:100;display:flex;flex-wrap:nowrap;gap:8px;width:auto;margin:0;padding:10px;border:1px solid #49414f;border-radius:16px;background:#121015f5;box-shadow:0 8px 35px #000b;backdrop-filter:blur(16px)}
  .product-info .product-purchase .buy-actions{width:auto;min-width:0;flex:1;margin:0;gap:6px}
  .product-purchase .qty input{width:25px;font-size:13px}
  .product-purchase .qty button{width:27px;min-height:44px}
  .product-purchase .btn{min-height:46px;min-width:0;font-size:11px;padding:0 8px}
  body:has(.product-purchase) .toast{z-index:110;bottom:calc(95px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 30px)}
  body:has(.product-purchase) .site-footer{padding-bottom:95px}
  .product-delivery{padding:15px;margin-top:18px}
  .product-lightbox{padding:calc(10px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom));gap:10px}
  .product-lightbox-image,.product-lightbox-stage .product-video{width:100%}
  .product-gallery-arrow{position:absolute;bottom:8px;width:40px;height:44px;background:#16121bd9}
  [data-gallery-prev]{left:0}[data-gallery-next]{right:0}
}
@media(max-width:350px){.product-purchase{left:6px;right:6px;padding:8px;gap:6px}.product-purchase .qty button{width:23px}.product-purchase .qty input{width:23px}.product-purchase .btn{padding:0 6px;font-size:10px}.product-detail .product-info h1{font-size:21px}}
