/* Product detail composition; same locked tokens, icon vocabulary and product cards. */
.ts-pdv2-container{min-width:0}
.ts-pdv2-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-block-end:24px}
.ts-pdv2-breadcrumb>span{max-width:60ch;overflow-wrap:anywhere}.ts-pdv2-breadcrumb>.icon{width:14px;height:14px;transform:rotate(90deg)}[dir=ltr] .ts-pdv2-breadcrumb>.icon{transform:rotate(-90deg)}
.ts-pdv2-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:start}
.ts-pdv2-gallery{min-width:0;touch-action:pan-y}
.ts-pdv2-gallery-stage{position:relative;aspect-ratio:1;overflow:hidden;border-radius:var(--radius);background:var(--surface)}
.ts-pdv2-gallery-slide{display:none;width:100%;height:100%;padding:0}
.ts-pdv2-gallery-slide.is-active{display:block}
.ts-pdv2-gallery-slide img{width:100%;height:100%;object-fit:cover}
.ts-pdv2-gallery-control,.ts-pdv2-gallery-zoom{position:absolute;display:grid;place-items:center;width:44px;height:44px;background:var(--elevated);border:1px solid var(--line);border-radius:8px}
.ts-pdv2-gallery-control{top:calc(50% - 22px)}.ts-pdv2-gallery-prev{inset-inline-start:12px}.ts-pdv2-gallery-next{inset-inline-end:12px}
.ts-pdv2-gallery-zoom{bottom:12px;inset-inline-end:12px}
.ts-pdv2-gallery-zoom svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
.ts-pdv2-discount,.ts-pdv2-unavailable{position:absolute;top:12px;inset-inline-start:12px;padding:5px 10px;background:var(--red);color:var(--on-red);border-radius:6px;font-size:13px}
.ts-pdv2-unavailable{top:50px;background:var(--elevated);color:var(--ink)}
.ts-pdv2-file-preview{position:absolute;bottom:12px;inset-inline-start:12px;background:var(--elevated);padding:10px 14px;border-radius:8px;font-size:13px}
.ts-pdv2-thumbs{display:flex;gap:10px;overflow:auto;scrollbar-width:thin;padding-block:14px 4px}
.ts-pdv2-thumb{width:72px;flex:none;aspect-ratio:1;border-radius:8px;overflow:hidden;opacity:.65;outline:1px solid var(--line);outline-offset:-1px}
.ts-pdv2-thumb.is-active{outline:2px solid var(--red);opacity:1}.ts-pdv2-thumb img{width:100%;height:100%;object-fit:cover;padding:0}
.ts-pdv2-heading-row{display:flex;align-items:start;justify-content:space-between;gap:16px}
.ts-pdv2-heading-row h1{font-size:clamp(24px,2.2vw,32px);line-height:1.45;font-weight:500;overflow-wrap:anywhere}
.ts-pdv2-heading-actions{display:flex;gap:6px;flex:none}.ts-pdv2-icon-button{display:grid;place-items:center;position:relative;width:44px;height:44px;min-width:44px;background:var(--surface);border-radius:8px;color:var(--ink)}
.ts-pdv2-icon-button.save::before{content:none}
.ts-pdv2-share{position:relative}.ts-pdv2-share-menu{position:absolute;top:50px;inset-inline-end:0;z-index:4;min-width:170px;background:var(--elevated);border:1px solid var(--line);border-radius:8px;padding:8px}
.ts-pdv2-share-menu a{display:flex;align-items:center;min-height:44px;padding:8px;font-size:14px}.ts-pdv2-share-menu a:hover{color:var(--red);background:var(--surface)}.ts-pdv2-share-menu svg{display:none}
.ts-pdv2-rating{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted);margin-block-end:10px}
.ts-pdv2-stars{display:inline-flex;gap:3px;color:var(--red)}.ts-pdv2-stars svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.65;fill:none}.ts-pdv2-stars .is-filled{fill:currentColor}
.ts-pdv2-meta-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-block:18px}
.ts-pdv2-brand{display:flex;align-items:center;gap:10px;font-size:14px}.ts-pdv2-brand>span{display:grid;place-items:center;background:#fff;border-radius:6px;width:54px;height:40px}
.ts-pdv2-brand img{max-width:48px;height:30px;object-fit:contain}.ts-pdv2-brand b{font-weight:500}
.ts-pdv2-warranty{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13px}.ts-pdv2-warranty svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.ts-pdv2-digital-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;margin-block-end:18px}
.ts-pdv2-price-block{padding-block:18px;border-block:1px solid var(--line);margin-block-end:22px}
.ts-pdv2-price-line{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.ts-pdv2-price-line strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}
.ts-pdv2-price-line small{font-size:13px;font-weight:400;margin-inline-start:6px}.ts-pdv2-price-line del{font-size:14px;color:var(--muted)}
.ts-pdv2-dual-price{font-size:13px;color:var(--muted);text-align:start;margin-block-start:6px;unicode-bidi:plaintext}.ts-pdv2-dual-price.is-previous{text-decoration:line-through;font-size:12px}
[dir=rtl] .ts-pdv2-dual-price{text-align:right}
.ts-pdv2-option-group{border:0;padding:0;margin:0 0 20px}.ts-pdv2-option-group legend{padding:0;margin-block-end:10px;font-size:14px;font-weight:500}
.ts-pdv2-pills,.ts-pdv2-swatches{display:flex;flex-wrap:wrap;gap:8px}
.ts-pdv2-pills input,.ts-pdv2-swatches input{position:absolute;opacity:0;width:1px;height:1px}
.ts-pdv2-pills label{padding:10px 14px;min-height:44px;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-size:14px}
.ts-pdv2-pills input:checked+label{border-color:var(--red);background:var(--red-soft);color:var(--red)}
.ts-pdv2-pills input:focus-visible+label,.ts-pdv2-swatches input:focus-visible+label{outline:2px solid var(--red);outline-offset:3px}
.ts-pdv2-swatches label{position:relative;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;border:1px solid var(--line);border-radius:50%}
.ts-pdv2-swatches label:before{content:"";width:30px;height:30px;border-radius:50%;background:var(--swatch)}
.ts-pdv2-swatches label span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.ts-pdv2-swatches input:checked+label{outline:2px solid var(--red);outline-offset:2px}
.ts-pdv2-buy-row{display:flex;flex-wrap:wrap;gap:16px;align-items:end}
.ts-pdv2-quantity>span{display:block;font-size:13px;margin-block-end:6px}
.ts-pdv2-quantity>div{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;height:48px}
.ts-pdv2-quantity button{min-width:40px;font-size:20px}.ts-pdv2-quantity input{width:52px;border:0;background:var(--elevated);text-align:center;appearance:textfield}
.ts-pdv2-actions{display:flex;gap:10px;flex:1}
.ts-pdv2-actions button,.ts-pdv2-restock button{min-height:48px;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:500;border:1px solid var(--line);flex:1}
.ts-pdv2-actions .ts-pdv2-buy-now{background:var(--ink);border-color:var(--ink);color:var(--canvas)}
.ts-pdv2-add{background:var(--surface)}.ts-pdv2-actions button:not(:disabled):hover{background:var(--red);border-color:var(--red);color:var(--on-red)}
.ts-pdv2-actions.is-hidden{display:none}.ts-pdv2-restock{flex:1}
.ts-pdv2-total{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-block:18px;font-size:14px}
.ts-pdv2-total>span{color:var(--muted)}.ts-pdv2-total>div{text-align:end}.ts-pdv2-total small{display:block;font-size:12px;color:var(--muted);margin-block-start:4px}
.ts-pdv2-shop-alert{padding:12px;background:var(--red-soft);color:var(--red);font-size:14px}
.ts-pdv2-reliability{display:grid;gap:12px;border-block-start:1px solid var(--line);padding-block:20px}.ts-pdv2-reliability>div{display:flex;align-items:center;gap:10px;font-size:14px}
.ts-pdv2-reliability img{width:28px;height:28px;object-fit:contain}
.ts-pdv2-seller{border-block-start:1px solid var(--line);padding-block:20px}.ts-pdv2-seller>a{display:flex;gap:12px;align-items:center}
.ts-pdv2-seller img{width:48px;height:48px;object-fit:cover;border-radius:8px}.ts-pdv2-seller small{display:block;color:var(--muted)}
.ts-pdv2-seller dl{display:flex;gap:24px;font-size:13px}.ts-pdv2-seller dt{color:var(--muted)}.ts-pdv2-seller dd{margin:0}
.ts-pdv2-details{margin-block:48px}
.ts-pdv2-tabs{display:flex;gap:24px;border-block-end:1px solid var(--line);margin-block-end:24px}
.ts-pdv2-tabs button{padding:12px 0;min-height:48px;color:var(--muted);font-weight:500}
.ts-pdv2-tabs button[aria-selected=true]{color:var(--red)}
.ts-pdv2-tab-panel{max-width:100%;min-width:0}
.ts-pdv2-rich-text{max-width:78ch;line-height:1.85;overflow:hidden;max-height:500px}
.ts-pdv2-rich-text.is-expanded{max-height:none}
.ts-pdv2-rich-text :where(p,ul,ol,h2,h3,h4,table,blockquote){margin-block:0 16px}.ts-pdv2-rich-text h2{font-size:22px}.ts-pdv2-rich-text h3{font-size:18px}
.ts-pdv2-rich-text img{height:auto;max-width:100%;border-radius:8px}
.ts-pdv2-rich-text table{border-collapse:collapse;display:block;max-width:100%;overflow:auto}.ts-pdv2-rich-text td,.ts-pdv2-rich-text th{border:1px solid var(--line);padding:10px;text-align:start}
.ts-pdv2-rich-text a{color:var(--red);text-decoration:underline}
.ts-pdv2-show-more,.ts-pdv2-view-more{display:flex;gap:8px;align-items:center;min-height:44px;color:var(--red);font-size:14px;margin-block-start:14px}
.ts-pdv2-show-more [data-less],.ts-pdv2-show-more.is-expanded [data-more]{display:none}.ts-pdv2-show-more.is-expanded [data-less]{display:inline}
.ts-pdv2-video{max-width:720px;aspect-ratio:16/9;margin-block-end:24px;background:var(--surface);display:grid;place-items:center}.ts-pdv2-video iframe{width:100%;height:100%;border:0}
.ts-pdv2-video button,.ts-pdv2-video a{display:flex;gap:10px;align-items:center;min-height:44px;padding:12px;color:var(--red)}
.ts-pdv2-empty{padding:32px;background:var(--surface);border-radius:var(--radius);text-align:center;color:var(--muted)}.ts-pdv2-empty img{width:64px;height:64px;margin:0 auto 16px}
.ts-pdv2-review-summary{display:flex;align-items:center;gap:40px;padding:24px;background:var(--surface);border-radius:var(--radius);margin-block-end:24px}
.ts-pdv2-review-score{display:grid;gap:6px}.ts-pdv2-review-score>strong{font-size:34px}.ts-pdv2-review-score>span{font-size:13px;color:var(--muted)}
.ts-pdv2-review-bars{flex:1;max-width:460px;display:grid;gap:10px}.ts-pdv2-review-bars>div{display:flex;align-items:center;gap:10px;font-size:12px}.ts-pdv2-review-bars>div>span{width:100px}.ts-pdv2-review-bars>div>div{flex:1;height:4px;background:var(--line);border-radius:4px}.ts-pdv2-review-bars i{display:block;height:4px;background:var(--red)}
.eh-review{padding-block:24px;border-block-end:1px solid var(--line)}
.eh-review header{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;margin-block-end:12px}.eh-review header>span{display:flex;gap:16px;font-size:12px;color:var(--muted)}
.eh-review>p{max-width:80ch;white-space:pre-line;overflow-wrap:anywhere}
.eh-review-images{display:flex;gap:10px;margin-block-start:14px}.eh-review-images button{width:80px;height:80px;border-radius:8px;overflow:hidden}.eh-review-images img{width:100%;height:100%;object-fit:cover}
.eh-review aside{padding:16px;margin-block-start:16px;background:var(--surface);border-radius:8px}.eh-review aside h3{font-size:14px;margin-block-end:8px}
.ts-pdv2-products{margin-block-start:48px}.ts-pdv2-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-block-end:22px}.ts-pdv2-section-head h2{font-size:24px}.ts-pdv2-section-head>a{display:flex;align-items:center;gap:8px;font-size:14px;flex:none}
.ts-pdv2-products .eh-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.ts-pdv2-lightbox{border:0;background:var(--canvas);padding:44px 0 0;width:min(1000px,96vw);max-height:94dvh;border-radius:12px;color:var(--ink)}
.ts-pdv2-lightbox::backdrop,.eh-shipping-dialog::backdrop{background:#000b}
.ts-pdv2-lightbox>button{position:absolute;top:0;inset-inline-end:0;width:44px;height:44px;display:grid;place-items:center}
.ts-pdv2-lightbox>img{max-height:calc(94dvh - 44px);width:100%;object-fit:contain}
.ts-pdv2-sticky{display:none}
.eh-shipping-dialog{border:1px solid var(--line);border-radius:12px;background:var(--canvas);color:var(--ink);width:min(480px,94vw);padding:24px}
.eh-shipping-dialog>button{margin-inline-start:auto;display:flex}.eh-shipping-dialog h2{font-size:22px;margin-block-end:20px}
.eh-shipping-options{border:0;padding:0;margin:0 0 24px;display:grid;gap:12px}.eh-shipping-options label{display:flex;align-items:center;gap:12px;min-height:52px}.eh-shipping-options small{display:block;color:var(--muted);font-size:13px}
.eh-product-feedback{background:var(--surface);border-inline-start:3px solid var(--line);border-radius:4px;padding:14px;margin-block:16px;font-size:14px}
.eh-product-feedback.is-error{border-inline-start-color:var(--red)}
@media(max-width:1000px){.ts-pdv2-hero{gap:28px}.ts-pdv2-heading-row{flex-wrap:wrap}.ts-pdv2-heading-actions{order:-1}.ts-pdv2-products .eh-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .ts-pdv2-hero{grid-template-columns:1fr;gap:24px}.ts-pdv2-heading-row{flex-wrap:nowrap}.ts-pdv2-heading-actions{order:0}
 .ts-pdv2-heading-row h1{font-size:24px}.ts-pdv2-heading-actions{flex-direction:column}.ts-pdv2-price-line strong{font-size:23px}
 .ts-pdv2-buy-row{gap:12px}.ts-pdv2-quantity{display:flex;align-items:center;justify-content:space-between;width:100%}.ts-pdv2-quantity>span{margin:0}.ts-pdv2-actions{min-width:100%}.ts-pdv2-actions button{padding-inline:12px}
 .ts-pdv2-details,.ts-pdv2-products{margin-block-start:32px}.ts-pdv2-products .eh-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
 .ts-pdv2-section-head h2{font-size:21px}.ts-pdv2-section-head>a{font-size:13px}
 .ts-pdv2-review-summary{padding:18px;gap:20px}.ts-pdv2-review-bars>div>span{width:70px}.eh-review header{align-items:start}.eh-review header>span{flex-direction:column;gap:4px}
 .ts-pdv2-sticky.is-visible{display:block;position:fixed;inset-inline:0;bottom:0;z-index:35;background:var(--elevated);border-block-start:1px solid var(--line);padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom))}
 .ts-pdv2-sticky-inner{display:flex;align-items:center;gap:12px}.ts-pdv2-sticky img{width:44px;height:44px;border-radius:6px;object-fit:cover}.ts-pdv2-sticky-inner>div{flex:1;min-width:0}
 .ts-pdv2-sticky strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.ts-pdv2-sticky span{font-size:14px}
 .ts-pdv2-sticky button{padding:10px 14px;min-height:44px;background:var(--ink);color:var(--canvas);border-radius:8px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.ts-pdv2 *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
