/* V17: readable product information, terms tabs and image enlargement. */
:root{--product-copy:#263042;--product-muted:#586174}
html[data-theme=dark]{--product-copy:#f0edf8;--product-muted:#c1bbd1}
.catalogue .product-name-row h3{font-weight:750;letter-spacing:-.4px}
.catalogue .product-description{font-size:14px;color:var(--product-muted);line-height:1.65;min-height:46px}
.catalogue .product-category,.catalogue .catalogue-package-count,.catalogue .market-platforms span,.catalogue .catalogue-card-footer .price-label{color:var(--product-muted)}
.catalogue .product-category{font-size:11px;font-weight:650}
.catalogue .catalogue-card-footer .price{font-weight:800}
.product-image-zoom{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;overflow:hidden;cursor:zoom-in;isolation:isolate}
.catalogue .product-cover .product-image-zoom{inset:0 auto auto 0;width:76px;height:76px;border-radius:15px}
.product-cover .product-image-zoom .catalogue-image{position:static;width:100%;height:100%;object-fit:cover;border-radius:inherit;transition:transform .32s cubic-bezier(.2,.65,.3,1);transform-origin:center}
.product-image-zoom:focus-visible{outline:3px solid #8f75f4;outline-offset:4px}
.product-image-zoom:active .catalogue-image{transform:scale(1.15)}
.product-image-zoom[hidden]{display:none}
.product-cover .favorite-button,.product-cover .product-badge{z-index:2}
.product-cover.has-image:not(.image-failed) .product-logo{pointer-events:none}
#product-dialog .detail-product-heading h2{font-weight:800;color:var(--product-copy);font-size:clamp(25px,2.4vw,34px);letter-spacing:-.7px}
.detail-product-heading>p{font-size:15px;color:var(--product-muted);line-height:1.7}
.detail-product-intro:has(.detail-cover.has-image:not(.image-failed)){flex-direction:column;align-items:stretch;padding:22px;gap:22px}
.detail-product-intro .detail-cover.has-image:not(.image-failed){width:100%;height:260px;border-radius:17px;background:var(--market-soft,#f1edfa);overflow:hidden}
.detail-cover .product-image-zoom .catalogue-image{object-fit:contain}
.detail-cover .product-image-zoom:after{content:'Arahkan kursor atau sentuh untuk memperbesar';position:absolute;bottom:10px;left:10px;right:10px;border-radius:99px;background:#ffffffec;padding:8px 12px;font-size:11px;font-weight:650;color:#263042;box-shadow:0 2px 12px #0000000a;pointer-events:none}
.detail-copy-panel{padding:0;overflow:hidden}
.detail-copy-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--market-line,#e7e1f2)}
.detail-copy-tabs [role=tab]{padding:20px 14px;min-height:54px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--product-muted);font:inherit;font-weight:650;font-size:15px;cursor:pointer;transition:color .18s,background .18s,border-color .18s}
.detail-copy-tabs [aria-selected=true]{border-bottom-color:var(--purple,#6950ed);color:var(--purple,#6950ed);background:var(--market-soft,#f6f3ff)}
.detail-copy-tabs [role=tab]:hover{background:var(--market-soft,#f6f3ff)}
.detail-copy-tabs [role=tab]:focus-visible,.detail-copy-content:focus-visible{outline:3px solid #957df0;outline-offset:-4px}
.detail-copy-content{padding:25px 27px}
.detail-copy-content[hidden]{display:none}
.detail-copy-content h3,.detail-panel>h3{font-size:17px;font-weight:750;letter-spacing:0;color:var(--product-copy);margin:0 0 16px}
.detail-panel .detail-description{font-size:16px;line-height:1.85;color:var(--product-copy);white-space:pre-wrap;overflow-wrap:anywhere}
.detail-facts span{font-size:11px;font-weight:600;color:var(--product-muted)}
.detail-facts strong{font-size:22px;color:var(--product-copy);font-weight:800}
.detail-purchase-subtitle,.detail-purchase-note{font-size:14px;color:var(--product-muted)}
.variant-copy strong{font-size:15px;font-weight:750;color:var(--product-copy)}
.variant-copy>span{font-size:13px;color:var(--product-muted)}
.variant-price{font-size:17px;font-weight:800}
.detail-order-guide li{font-size:15px;color:var(--product-muted);line-height:1.75}
.detail-usage-note>p{font-size:14px;line-height:1.8}
.detail-breadcrumb{font-size:13px;color:var(--product-muted)}
#example-viewer{max-width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;overflow:auto}
#example-full-image{display:block;max-width:100%;max-height:calc(100dvh - 140px);width:auto;height:auto;object-fit:contain;margin:auto}
@media(hover:hover) and (pointer:fine){.product-image-zoom:hover .catalogue-image{transform:scale(1.45)}.button:hover:not(:disabled){filter:brightness(1.04)}.variant-option:hover:not(.is-unavailable){box-shadow:0 5px 18px #6950ed12}}
@media(prefers-reduced-motion:no-preference){.detail-copy-content:not([hidden]){animation:product-copy-in .22s ease-out}.button{transition:transform .18s,box-shadow .18s,background .18s}.button:active:not(:disabled){transform:scale(.98)}@keyframes product-copy-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media(max-width:650px){.detail-product-intro:has(.has-image){padding:16px;gap:18px}.detail-product-intro .detail-cover.has-image:not(.image-failed){height:220px}.detail-product-heading>p{font-size:14px}.detail-copy-content{padding:20px 18px}.detail-copy-tabs [role=tab]{padding:17px 12px;font-size:14px}.detail-panel .detail-description{font-size:15px}.detail-facts strong{font-size:19px}.detail-facts span{font-size:9px}.detail-order-guide li{font-size:14px}.variant-price{font-size:16px}.variant-copy strong{font-size:14px}.detail-breadcrumb{font-size:11px}}
@media(prefers-reduced-motion:reduce){.product-image-zoom .catalogue-image,.detail-copy-tabs [role=tab]{transition:none}.detail-copy-content{animation:none}}
html[data-theme=dark] .detail-copy-tabs [aria-selected=true]{color:#c9b6ff}
html[data-theme=dark] #product-dialog{background:var(--market-soft,#181523);color:var(--product-copy)}
html[data-theme=dark] #example-viewer{background:var(--market-paper,#222032);color:var(--product-copy)}
