.product-preview{display:block;position:relative;aspect-ratio:2/3;margin:0 auto 16px;overflow:hidden;border-radius:16px;background:#f4f4f6;touch-action:pan-y}
.product-preview img{width:100%;height:100%;object-fit:contain;display:block;animation:product-photo-in .14s ease-out}
.product-preview img[hidden],.product-gallery__panel[hidden]{display:none}
.product-preview__3d{position:absolute;left:10px;top:10px;padding:5px 9px;border-radius:16px;background:rgba(255,255,255,.92);color:#365d43;font:600 10px/1.4 Arial,sans-serif}
.product-preview__dots{position:absolute;bottom:10px;left:15%;right:15%;display:flex;justify-content:center;gap:4px;pointer-events:none}
.product-preview__dots i{height:3px;flex:1;max-width:44px;background:#d2d5d3;border-radius:5px}.product-preview__dots i.is-active{background:#376445}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:40px;background:white;border-radius:24px;padding:36px;align-items:start}
.product-summary{grid-column:2;grid-row:1;min-width:0;padding-top:10px}.product-summary h1{font-size:42px}.product-summary form button{margin-bottom:26px}
.product-detail-media{grid-column:1;grid-row:1;min-width:0}
.product-gallery{display:grid;grid-template-columns:68px minmax(0,1fr);gap:14px;min-width:0}
.product-gallery__thumbs{display:flex;flex-direction:column;gap:10px;overflow:auto;max-height:650px;padding:2px;scrollbar-width:thin;overscroll-behavior:contain}
.product-gallery__thumb{width:64px;height:86px;flex-shrink:0;padding:3px;overflow:hidden;border:1px solid #e2e6e3;border-radius:10px;background:#f4f4f6;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.product-gallery__thumb[aria-pressed=true]{border-color:#427453;box-shadow:0 0 0 1px #427453}.product-gallery__thumb:hover{border-color:#7c9c85}
.product-gallery__thumb img{width:100%;height:100%;object-fit:contain;display:block;border-radius:6px}
.product-gallery__thumb--model{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#376445;background:#edf4ef;font:700 13px/1.2 Arial,sans-serif}
.product-gallery__main{min-width:0}.product-gallery__stage{position:relative;height:min(640px,70vh);min-height:400px;border-radius:16px;background:#f4f4f6;overflow:hidden;touch-action:pan-y;outline:none}
.product-gallery__stage:focus-visible,.product-gallery__thumb:focus-visible,.product-gallery__arrow:focus-visible{outline:2px solid #427453;outline-offset:3px}
.product-gallery__panel{position:absolute;inset:0;animation:product-photo-in .16s ease-out}.product-gallery__panel>img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}
.product-gallery__panel iframe{display:block;border:0;width:100%;height:100%;background:#f7f8f6}
.product-gallery__zoom-trigger{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;color:#365d43}
.product-gallery__zoom-trigger>span{position:absolute;bottom:12px;right:12px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #dce5dd;border-radius:50%;background:rgba(255,255,255,.9)}
.product-gallery__zoom-trigger:focus-visible{outline:2px solid #427453;outline-offset:-4px}
.product-lightbox:not([open]){display:none}.product-lightbox[open]{display:flex;flex-direction:column}
.product-lightbox{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#f4f4f6;color:#1b3026;overflow:hidden;overscroll-behavior:contain}
.product-lightbox::backdrop{background:rgba(15,25,20,.8)}body.product-lightbox-open{overflow:hidden}
.product-lightbox__header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:12px 24px;background:white;border-bottom:1px solid #e2e8e3}
.product-lightbox__counter{font:14px/1.4 Arial,sans-serif}.product-lightbox__tools{display:flex;align-items:center;gap:8px}
.product-lightbox__tools button{display:grid;place-items:center;min-width:40px;height:40px;border:1px solid #dce5dd;border-radius:22px;background:#fff;color:#365d43;font:24px/1 Arial,sans-serif;cursor:pointer}
.product-lightbox__tools button:disabled{opacity:.35;cursor:default}.product-lightbox__tools .product-lightbox__scale{min-width:64px;font-size:12px}
.product-lightbox button:focus-visible{outline:2px solid #427453;outline-offset:2px}
.product-lightbox__viewport{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;user-select:none;cursor:zoom-in}
.product-lightbox__viewport[data-zoomed=true]{cursor:grab}.product-lightbox__viewport[data-dragging=true]{cursor:grabbing}
.product-lightbox__viewport>img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;object-fit:contain;pointer-events:none;will-change:transform}
.product-lightbox__hint{flex-shrink:0;margin:0;padding:12px 20px;text-align:center;background:white;color:#718077;font:12px/1.5 Arial,sans-serif}
@media(max-width:600px){.product-lightbox__header{padding:8px 12px;gap:8px}.product-lightbox__tools{gap:5px}.product-lightbox__tools button{min-width:36px;height:36px}.product-lightbox__hint{font-size:10px;padding:9px 12px}}
.product-gallery__arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:44px;border:1px solid #e1e7e2;border-radius:20px;background:rgba(255,255,255,.92);color:#355b40;font:28px/1 Arial,sans-serif;cursor:pointer;z-index:1}
.product-gallery__arrow--prev{left:8px}.product-gallery__arrow--next{right:8px}.product-gallery__stage[data-active-model=true] .product-gallery__arrow{top:24px;width:28px;height:32px;font-size:23px}.product-gallery__stage[data-active-model=true] .product-gallery__arrow--prev{left:auto;right:44px}
.product-gallery__caption{display:flex;justify-content:space-between;gap:10px;margin-top:12px;color:#77867c;font:11px/1.5 Arial,sans-serif}.product-gallery__caption span:first-child{white-space:nowrap;color:#3c5b46}
@keyframes product-photo-in{from{opacity:.65}to{opacity:1}}
@media(max-width:1000px){.product-detail-layout{padding:24px;gap:24px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.product-gallery{grid-template-columns:54px minmax(0,1fr);gap:10px}.product-gallery__thumb{width:50px;height:68px}.product-summary h1{font-size:34px}}
@media(max-width:767px){.product-detail-layout{display:flex;flex-direction:column;padding:16px;gap:24px}.product-detail-media,.product-summary{width:100%}.product-summary{padding:0}.product-summary h1{font-size:34px}.product-gallery{display:flex;flex-direction:column;gap:12px}.product-gallery__main{order:0;width:100%}.product-gallery__thumbs{order:1;flex-direction:row;max-height:none;width:100%;padding:3px;gap:8px}.product-gallery__thumb{width:58px;height:78px}.product-gallery__caption{font-size:10px}.product-preview{border-radius:12px;margin-bottom:12px}.product-preview__3d{font-size:9px;left:6px;top:8px;padding:4px 7px}}
@media(max-width:767px){.product-detail-media{order:0}.product-summary{order:1}.product-gallery__stage{height:auto;min-height:0;aspect-ratio:2/3}.product-gallery__thumb{width:52px;height:70px}.product-gallery__caption span:last-child{max-width:80%;text-align:right}.product-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.product-catalog-grid .text-base{font-size:13px}.product-catalog-grid .text-xl{font-size:17px}}
@media(prefers-reduced-motion:reduce){.product-preview img,.product-gallery__panel{animation:none}}
