.product-detail { background: #fff; }
.product-detail .detail-container { width: min(1380px, calc(100% - 80px)); padding-bottom: 100px; }
.detail-back { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 25px; color: #63758b; font-size: 13px; font-weight: 650; }
.detail-back svg { width: 17px; height: 17px; transform: rotate(180deg); }
.detail-back:hover, .detail-help a:hover { color: var(--blue); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(35px, 5vw, 82px); align-items: start; }
.detail-visual { min-width: 0; }
.detail-main-image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; padding: 6%; border: 0; border-radius: 6px; background: #f5f7fa; cursor: zoom-in; overflow: hidden; }
.detail-main-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
@media (hover:hover) and (pointer:fine) { .detail-main-image:hover img { transform: scale(1.1); } }
.detail-zoom-hint { margin-top: 11px; color: #8796a8; font-size: 11px; text-align: center; }
.detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #5f7288; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.detail-tags span + span::before { content: '/'; margin-right: 7px; color: #afbac7; font-weight: 400; }
.detail-summary h1 { margin: 13px 0 23px; font-size: clamp(29px, 3vw, 42px); line-height: 1.17; letter-spacing: -.045em; overflow-wrap: anywhere; }
.detail-price { display: flex; align-items: center; gap: 15px; padding: 0 0 20px; border-bottom: 1px solid #e5eaf0; }
.detail-price > strong { flex: none; color: var(--blue); font-size: clamp(31px, 3vw, 40px); line-height: 1; letter-spacing: -.05em; }
.detail-price > div { display: grid; gap: 4px; font-size: 12px; color: #53667d; }
.detail-price small { color: #8795a5; font-size: 10px; }
.detail-qc-jump { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 0; border-bottom: 1px solid #e5eaf0; color: var(--ink); font-size: 13px; font-weight: 700; }
.detail-qc-jump > svg:first-child { width: 18px; height: 18px; color: var(--blue); }
.detail-qc-jump small { margin-left: auto; color: #8190a2; font-size: 10px; font-weight: 500; }
.detail-qc-jump > svg:last-child { width: 17px; height: 17px; color: var(--blue); transform: rotate(90deg); }
.detail-sizes { padding: 17px 0 0; }
.detail-sizes h2 { font-size: 14px; line-height: 1.5; font-weight: 700; color: #5d7085; }
.detail-size-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.detail-size-list span { display: grid; place-items: center; min-width: 39px; min-height: 33px; padding: 5px 9px; border: 1px solid #dfe6ee; border-radius: 999px; color: #52657b; font-size: 11px; }
.detail-sizes p { margin-top: 10px; color: #8a98a7; font-size: 10px; line-height: 1.6; }
.detail-order-wrap { margin-top: 24px; }
.detail-order { display: flex; width: 100%; min-height: 52px; justify-content: center; border-radius: 7px; font-size: 13px; }
.detail-order svg { width: 17px; height: 17px; }
.detail-order-wrap > p { margin-top: 10px; color: #8090a3; font-size: 10px; line-height: 1.65; text-align: center; }
.detail-help { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 19px; }
.detail-help a { display: inline-flex; align-items: center; gap: 5px; color: #506b8c; font-size: 11px; font-weight: 650; }
.detail-help svg { width: 15px; height: 15px; }
.detail-qc-section { margin-top: 77px; padding-top: 32px; border-top: 1px solid #e5eaf0; scroll-margin-top: 100px; }
.detail-qc-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.detail-qc-heading .eyebrow { color: var(--blue); font-size: 9px; }
.detail-qc-heading h2 { margin-top: 7px; font-size: 29px; letter-spacing: -.04em; }
.detail-qc-heading p { margin-top: 9px; color: #74859a; font-size: 12px; line-height: 1.7; }
.detail-qc-heading > strong { flex: none; padding-bottom: 3px; color: #63758a; font-size: 11px; font-weight: 600; }
.detail-qc-controls { display: flex; justify-content: end; gap: 8px; margin: 18px 0 10px; }
.detail-qc-controls button { width: 34px; height: 34px; border: 1px solid #d9e3ee; border-radius: 50%; background: #fff; color: #355470; cursor: pointer; }
.detail-qc-controls button:hover { border-color: var(--blue); color: var(--blue); }
.detail-qc-track { display: flex; gap: 13px; padding: 2px 1px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.detail-qc-track::-webkit-scrollbar { display: none; }
.detail-qc-card { flex: 0 0 190px; padding: 0; border: 1px solid #e4eaf1; border-radius: 7px; background: #fff; text-align: left; cursor: zoom-in; scroll-snap-align: start; overflow: hidden; }
.detail-qc-card:hover { border-color: #a9cafa; }
.detail-qc-cover { position: relative; display: grid; place-items: center; height: 165px; background: #f6f8fb; }
.detail-qc-cover img { width: 100%; height: 100%; object-fit: contain; }
.detail-qc-badge { position: absolute; top: 8px; right: 8px; padding: 5px 7px; border-radius: 4px; background: #fffef6ed; color: #3c5875; font-size: 9px; font-weight: 700; box-shadow: 0 1px 5px #253f6017; }
.detail-qc-card-copy { display: grid; gap: 4px; padding: 12px; }
.detail-qc-card-copy strong { font-size: 11px; color: var(--ink); }
.detail-qc-card-copy small { color: #7c8c9d; font-size: 10px; }
.detail-qc-progress { height: 3px; margin-top: 12px; background: repeating-linear-gradient(90deg, #e6ebf2 0 12%, #fff 12% 13%); border-radius: 3px; overflow: hidden; }
.detail-qc-progress > span { display: block; height: 100%; width: 20%; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--blue) 0 12%, #fff 12% 13%); transform: translateX(0); }
.detail-qc-empty { margin-top: 25px; color: #8795a4; font-size: 13px; }
.detail-qc-error { margin-top: 14px; color: #a24646; font-size: 12px; }
.detail-viewer { width: min(1100px, calc(100vw - 30px)); max-height: calc(100vh - 30px); margin: auto; padding: 0; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 20px 80px #061a3a55; }
.detail-viewer::backdrop { background: #0b172ac7; }
.detail-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 6px 17px; color: #607184; font-size: 12px; }
.detail-viewer-toolbar button { border: 0; background: none; color: #354f69; font-size: 28px; cursor: pointer; }
.detail-viewer-image { display: grid; grid-template-columns: 45px minmax(0,1fr) 45px; align-items: center; height: min(75vh, 760px); padding: 0 10px; }
.detail-viewer-image img { width: 100%; height: 100%; object-fit: contain; }
.detail-viewer-image button { height: 45px; border: 0; border-radius: 50%; background: #edf3fa; color: #294d76; font-size: 19px; cursor: pointer; }
.detail-viewer-image button:disabled { opacity: .35; cursor: default; }
.detail-viewer > p { margin: 0; padding: 9px 18px 17px; color: #708197; font-size: 11px; text-align: center; }
.detail-main-image:focus-visible, .detail-qc-card:focus-visible, .detail-qc-jump:focus-visible, .detail-qc-controls button:focus-visible, .detail-viewer button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 850px) { .product-detail .detail-container { width: calc(100% - 44px); } .detail-layout { gap: 28px; } .detail-summary h1 { font-size: 29px; } .detail-qc-jump small { display: none; } }
@media (max-width: 650px) { .product-detail .detail-container { width: calc(100% - 32px); padding-bottom: 55px; } .detail-back { margin: 15px 0 14px; font-size: 11px; } .detail-layout { display: block; } .detail-main-image { height: min(64vw, 320px); aspect-ratio: auto; padding: 3%; } .detail-zoom-hint { font-size: 10px; margin-top: 6px; } .detail-summary { display: flex; flex-direction: column; margin-top: 17px; } .detail-order-wrap { order: 1; margin-top: 16px; } .detail-sizes { order: 2; } .detail-help { order: 3; } .detail-summary h1 { margin: 8px 0 13px; font-size: 27px; } .detail-tags { font-size: 10px; } .detail-price > strong { font-size: 32px; } .detail-qc-section { margin-top: 51px; padding-top: 27px; } .detail-qc-heading { display: block; } .detail-qc-heading h2 { font-size: 26px; } .detail-qc-heading > strong { display: block; margin-top: 13px; } .detail-qc-card { flex-basis: 157px; } .detail-qc-cover { height: 137px; } .detail-viewer { width: calc(100vw - 14px); } .detail-viewer-image { grid-template-columns: 35px minmax(0,1fr) 35px; height: 72vh; padding: 0 5px; } .detail-viewer-image button { height: 35px; } }
@media (prefers-reduced-motion: reduce) { .detail-main-image img { transition: none; } }
