/* Shared icons do not depend on the system's emoji font. */
.ui-arrow{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.15em;flex:none}
body.product-open{overflow:hidden}
#product-detail{box-sizing:border-box;width:min(960px,calc(100vw - 32px));max-width:960px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:hidden;border:1px solid #e4e8f0;border-radius:20px;color:#202431;background:#fff;font-family:Barlow,B,Arial,sans-serif;box-shadow:0 20px 70px #20243125}
#product-detail[open]{display:flex;flex-direction:column}
#product-detail::backdrop{background:#20243166;backdrop-filter:blur(3px)}
.pd-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px 10px 24px;flex:none;border-bottom:1px solid #edf0f4;background:white;font-size:14px;color:#727782}
#product-detail .pd-close,#modal .close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #e4e8f0;border-radius:50%;background:#f7f8fa;color:#202431;cursor:pointer;line-height:1}
.pd-close svg,#modal .close svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round}
#product-detail .pd-close:hover,#modal .close:hover{color:#062fdf;background:#eef2ff;border-color:#cbd5ff}
.pd-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;padding:24px;scrollbar-gutter:stable}
.pd-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.pd-layout>*{min-width:0}.pd-gallery{position:sticky;top:0}
.pd-photo{width:100%;aspect-ratio:1;max-height:380px;background:#fff;display:grid;place-items:center;border-radius:12px;overflow:hidden}
.pd-photo img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.pd-thumbs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:16px 0 0}.pd-thumbs[hidden]{display:none}
.pd-thumbs button{display:grid;place-items:center;width:58px;height:58px;padding:3px;border:1px solid #dce1e9;background:white;border-radius:10px;cursor:pointer}.pd-thumbs button[aria-pressed=true]{border:2px solid #062fdf}.pd-thumbs img{width:100%;height:100%;object-fit:contain}
#product-detail p{line-height:1.5;font-size:16px;margin:0 0 12px}
#product-detail .pd-category,.pd-notice{font-size:14px;color:#727782}
#product-detail h2{font-family:Rajdhani,R,Arial,sans-serif;font-weight:500;font-size:clamp(26px,3vw,34px);line-height:1.15;margin:0 0 16px;overflow-wrap:anywhere}
#pd-title:focus{outline:none}
#product-detail .pd-price{font-size:28px;color:#062fdf;margin:0 0 16px}
.pd-description{white-space:pre-wrap;overflow-wrap:anywhere}
#product-detail .pd-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:100%;background:#062fdf;color:white;padding:12px 20px;border-radius:28px;margin:8px 0 20px;text-decoration:none;font-size:16px;line-height:1.4;text-align:center}
.pd-cta:hover{background:#0525b2}
#product-detail details{padding:14px 0;border-top:1px solid #e4e8f0;font-size:16px}
#product-detail summary{cursor:pointer;list-style:none;position:relative;padding-right:24px;line-height:1.4}
#product-detail summary::-webkit-details-marker{display:none}
#product-detail summary::after{content:'';position:absolute;right:4px;top:6px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
#product-detail details[open]>summary::after{transform:rotate(225deg);top:10px}
#product-detail details>p{margin:14px 0 0}
#product-detail button:focus-visible,#product-detail a:focus-visible,#product-detail summary:focus-visible,#modal .close:focus-visible{outline:2px solid #062fdf;outline-offset:2px}
#modal{padding-top:70px;max-height:calc(100dvh - 32px);overflow:auto}#modal .close{right:14px;top:14px}
@media(max-width:650px){#product-detail{width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:18px}.pd-header{padding:8px 12px 8px 18px}.pd-scroll{padding:18px;scrollbar-gutter:auto}.pd-layout{grid-template-columns:minmax(0,1fr);gap:20px}.pd-gallery{position:static}.pd-photo{height:min(65vw,280px);aspect-ratio:auto}.pd-thumbs{margin-top:10px}.pd-thumbs button{width:48px;height:48px}#product-detail h2{font-size:28px;margin-bottom:12px}#product-detail .pd-price{font-size:26px}#product-detail .pd-cta{width:100%}}

/* Approved compact product sheet: blue unboxed close and bounded description. */
.pd-header{justify-content:flex-end;border:0;padding:8px 12px;height:48px}
#product-detail .pd-close{border:0;background:transparent;color:#062fdf;border-radius:8px}
.pd-close svg{width:30px;height:30px;stroke-width:2.8;stroke-linecap:butt}
#product-detail .pd-close:hover{background:transparent;color:#0525b2}
.pd-scroll{padding-top:4px}
#product-detail p{line-height:1.3;margin-bottom:9px}
.pd-description-section{margin:12px 0}
.pd-description-section>strong{display:block;margin-bottom:6px;font-size:16px}
.pd-description-scroll{max-height:144px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#product-detail .pd-description-scroll p{margin:0;line-height:1.3}
.pd-more{display:block;margin:5px 0 0;padding:4px 0;border:0;background:transparent;color:#737985;font:inherit;font-size:14px;cursor:pointer}
.pd-more[hidden]{display:none}
@media(max-width:650px){.pd-header{padding:6px 10px}.pd-description-scroll{max-height:130px}.pd-scroll{padding-top:0}.pd-layout{gap:14px}}
