/* A photo-led detail page. The index keeps its existing layout. */
.detail-page{--ink:#242522;--muted:#64655f;--line:#e4e4df;background:#fff;color:var(--ink)}
.detail-page .header{max-width:1280px;padding:24px 48px;border-bottom:1px solid var(--line)}
.detail-page .brand-name{font-size:24px;letter-spacing:-.07em}
.detail-page .brand-dot{color:var(--ink)}
.detail-page .header nav a.active{color:var(--ink);border-color:var(--ink)}
.detail-page .header nav b{background:#f1f1ee;color:var(--ink)}
.refined-detail{max-width:1280px;padding:0 48px}
.detail-topline{display:flex;align-items:center;justify-content:space-between;padding:26px 0 0;font-size:14px;color:var(--muted)}
.detail-topline a{min-height:44px;display:inline-flex;align-items:center;color:var(--ink)}
.refined-detail .detail-header{padding:24px 0 36px}
.refined-detail .detail-header h1{font-size:38px;line-height:1.35;letter-spacing:-.055em;font-weight:600;margin:0 0 12px}
.refined-detail .detail-header p{font-size:16px;color:var(--muted);margin:0;line-height:1.6}
.refined-detail .look-layout{max-width:none;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:64px;margin:0 0 64px;align-items:start}
.refined-detail .photo-column{min-width:0}
.refined-detail .look-frame{border:0;border-radius:0;overflow:visible}
.refined-detail .large-photo{width:100%;max-width:none;background:#fff;padding:0}
.refined-detail .swipe-slide{border-radius:18px}
.refined-detail .pager{margin:18px 9% 0;padding:0;min-height:48px;border:0;gap:10px}
.refined-detail .pager button{min-height:48px;border:0;border-radius:0;padding:10px 0;background:transparent;font-size:16px;font-weight:500;color:var(--ink)}
.refined-detail .pager button:not(:disabled):hover{background:none;color:var(--blue);text-decoration:underline;text-underline-offset:5px}
.refined-detail .pager button:disabled{opacity:1;color:#a3a49e}
.refined-detail .pager span{font-size:16px;color:var(--muted);font-variant-numeric:tabular-nums}
.refined-detail .pager strong{font-weight:600;color:var(--ink)}
.refined-detail .count-divider{padding:0 5px;color:#b0b1aa}
.refined-detail .swipe-hint{margin:8px 0 0;color:#72736c;font-size:13px;line-height:1.6}
.refined-detail .look-info{padding:0;position:sticky;top:28px}
.selection-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 28px;border-bottom:1px solid var(--line)}
.selection-label{font-size:14px;color:var(--muted);margin:0;white-space:nowrap}
.selection-label strong{font-size:20px;color:var(--ink);font-weight:500;margin-left:7px;font-variant-numeric:tabular-nums}
.refined-detail .save-button{margin:0;width:auto;min-height:48px;padding:10px 16px;border:1px solid #d5d6cf;border-radius:4px;background:#fff;color:var(--ink);font-size:15px;white-space:nowrap}
.refined-detail .save-button.saved{color:var(--blue);border-color:#b7c6ea;background:#f5f8ff}
.refined-detail .products-head{border:0;padding:28px 0 0;margin:0;scroll-margin-top:24px}
.refined-detail .products-head h2{font-size:24px;line-height:1.4;margin:0;font-weight:600;letter-spacing:-.04em}
.refined-detail .product-pending{padding:32px 0 36px;color:var(--muted);border-bottom:1px solid var(--line)}
.refined-detail .product-pending svg{margin-bottom:14px;color:#8a8d80}
.refined-detail .product-pending h3{font-size:17px;line-height:1.6;font-weight:500;color:var(--ink);margin:0 0 6px}
.refined-detail .product-pending p{font-size:15px;line-height:1.8;margin:0;word-break:keep-all}
.refined-detail .product-row{padding:22px 0}
.refined-detail .buy{background:#f4f4f0!important;color:var(--ink)!important;border-radius:4px}
.image-note{font-size:13px;line-height:1.8;color:var(--muted);margin:22px 0 12px;word-break:keep-all}
.purchase-notice{font-size:13px;color:var(--muted);line-height:1.8}
.purchase-notice summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}
.purchase-notice summary::after{content:'＋';font-size:16px}
.purchase-notice[open] summary::after{content:'−'}
.purchase-notice summary::-webkit-details-marker{display:none}
.purchase-notice p{margin:0 0 10px}
.detail-end{border-top:1px solid var(--line);padding:32px 0 40px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.detail-end>span{font-size:15px;color:var(--muted)}
.detail-end>a{font-size:18px;min-height:48px;display:flex;align-items:center;gap:24px;font-weight:500;color:var(--ink)}
.detail-page footer{border-top:1px solid var(--line);margin-top:0;color:var(--muted)}
.detail-page .bottom-nav a.active{background:none;color:var(--ink);font-weight:600}
.detail-page .bottom-nav a.active::after{content:'';display:block;width:18px;height:2px;margin:5px auto -7px;background:var(--ink)}
@media(max-width:1000px){.refined-detail{padding:0 28px}.refined-detail .look-layout{gap:32px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.refined-detail .detail-header h1{font-size:32px}.selection-row{gap:8px}.refined-detail .save-button{padding:10px}}
@media(max-width:640px){
 .detail-page .header{padding:16px 22px;border-bottom:1px solid #efefeb;min-height:72px}
 .detail-page .brand-name{font-size:23px}.detail-page .header nav{font-size:14px}
 .refined-detail{padding:0 22px}
 .detail-topline{padding-top:10px;font-size:13px}
 .refined-detail .detail-header{padding:14px 0 26px}
 .refined-detail .detail-header h1{font-size:28px;line-height:1.42;max-width:330px;margin:0 0 10px;font-weight:600}
 .refined-detail .detail-header p{font-size:14px}
 .refined-detail .look-layout{display:block;margin-bottom:36px}
 .refined-detail .photo-column{margin:0 -22px}
 .refined-detail .pager{margin:12px 9% 0}
 .refined-detail .pager button{font-size:16px}
 .refined-detail .swipe-hint{margin:4px 0 0;font-size:13px}
 .refined-detail .look-info{position:static;padding-top:30px}
 .selection-row{padding-bottom:20px}
 .refined-detail .save-button{font-size:15px;padding:10px 14px}
 .refined-detail .products-head{padding-top:24px}
 .refined-detail .products-head h2{font-size:23px}
 .refined-detail .product-pending{padding:24px 0 28px}
 .refined-detail .product-pending svg{display:none}
 .detail-end{display:block;padding:26px 0 30px}
 .detail-end>a{justify-content:space-between;margin-top:6px}
 .detail-page .bottom-nav{border-color:#e4e4df;background:#fff;padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){.refined-detail .detail-header h1{font-size:25px}.refined-detail .pager button{font-size:15px}.selection-label{font-size:13px}.refined-detail .save-button{font-size:14px;padding:10px}}
