/* V8 — size-guide extension: original Premium styling remains unchanged. */
.size-guide-open{overflow:hidden}
.size-guide-overlay[hidden]{display:none!important}
.size-guide-overlay{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:18px}
.size-guide-shade{position:absolute;inset:0;background:rgba(34,27,27,.66);backdrop-filter:blur(5px)}
.size-guide-dialog{position:relative;z-index:1;background:#fbf9f4;color:var(--ink,#292522);border:1px solid #e4dbd3;width:min(875px,100%);max-height:min(94dvh,880px);overflow:auto;overscroll-behavior:contain;padding:clamp(20px,4vw,45px);box-shadow:0 20px 90px rgba(25,16,18,.3)}
.size-guide-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.size-guide-eyebrow{font-size:10px;letter-spacing:.21em;text-transform:uppercase;color:#937b72;margin-bottom:15px}
.size-guide-head h2{margin:0;font:400 clamp(33px,4.7vw,56px)/1.08 var(--serif,Georgia,serif);letter-spacing:-.055em}.size-guide-head h2 em{color:var(--burg,#6f2737)}
.size-guide-close{width:43px;height:43px;flex:0 0 43px;border:1px solid #d9cbc4;background:#fffdf9;font-size:30px;line-height:1}
.size-guide-intro{font-size:13px;color:#6e635b;line-height:1.7;margin:16px 0 24px;max-width:650px}
.size-guide-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:11px;letter-spacing:.07em;font-weight:600}
.size-guide-units{display:flex;gap:3px;background:#eae4de;padding:4px}
.size-guide-unit{background:transparent;border:1px solid transparent;padding:8px 13px;font-size:10px;letter-spacing:.12em;min-height:35px}
.size-guide-unit.selected{background:var(--burg,#6f2737);color:white}
.size-guide-scroll{overflow-x:auto;max-width:100%;border:1px solid #ded2c8;background:#fffefa}
.size-guide-table{width:100%;min-width:565px;border-collapse:collapse;font-size:12px;text-align:center}
.size-guide-table th,.size-guide-table td{padding:15px 10px;border-bottom:1px solid #e9e2da;border-right:1px solid #eee9e2;font-variant-numeric:tabular-nums}
.size-guide-table thead th{font-size:10px;letter-spacing:.08em;text-transform:uppercase;background:#ede5dd;color:#4b3b37;white-space:nowrap}
.size-guide-table thead th:first-child,.size-guide-table tbody th{position:sticky;left:0;z-index:1;min-width:58px;background:#f8f4ee}
.size-guide-table thead th:first-child{z-index:2;background:#ede5dd}
.size-guide-table tbody th{font-weight:700;color:#6f2737}
.size-guide-table tr:last-child th,.size-guide-table tr:last-child td{border-bottom:0}
.size-guide-table tr.size-guide-row-current th,.size-guide-table tr.size-guide-row-current td{background:#f3e6e7}
.size-guide-xs{margin:13px 0 0;border-left:3px solid #a87978;padding:8px 12px;background:#f4eeeb;color:#79564f;font-size:11px;line-height:1.65}
.size-guide-advice{margin-top:25px}
.size-guide-advice h3{font:400 23px var(--serif,Georgia,serif);margin:0 0 11px}
.size-guide-advice ul{margin:0;padding:0 0 0 19px;color:#6e665f;font-size:12px;line-height:1.75}.size-guide-advice li+li{margin-top:7px}
.size-guide-bottom{border-top:1px solid #e4d9d1;margin-top:24px;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.size-guide-bottom span{font-size:10px;color:#82766d;line-height:1.5}.size-guide-bottom button{background:var(--burg,#6f2737);border:1px solid var(--burg,#6f2737);color:white;padding:13px 18px;white-space:nowrap;font-size:10px;letter-spacing:.1em}
.fit-note{margin:8px 0 13px;color:#766762;font-size:11px;line-height:1.6}
.product-specs{border-block:1px solid #e3dbd1;padding:11px 0;margin:18px 0}.product-specs summary{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#6f2737;cursor:pointer;padding:6px 0}
.product-specs-list{display:grid;grid-template-columns:125px minmax(0,1fr);column-gap:12px;row-gap:9px;font-size:12px;line-height:1.6;margin:15px 0}
.product-specs-list dt{color:#8c7d72}.product-specs-list dd{margin:0;color:#4a3d36}
.product-specs-note{font-size:11px;line-height:1.6;color:#83766d}
.collection-size-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.collection-size-help{border:0;background:none;color:#6f2737;font-size:10px;letter-spacing:.06em;text-decoration:underline;text-underline-offset:3px;padding:5px 0;text-align:right}
@media(max-width:640px){
 .size-guide-overlay{padding:0;align-items:flex-end}.size-guide-dialog{width:100%;max-height:94dvh;border-radius:17px 17px 0 0;padding:24px 18px 28px}
 .size-guide-tools{align-items:flex-start}.size-guide-unit{padding:7px 10px}
 .size-guide-bottom{align-items:stretch;flex-direction:column}.size-guide-bottom button{width:100%;min-height:46px}
 .size-guide-scroll:after{content:''}.size-guide-table{font-size:12px}
 .product-specs-list{grid-template-columns:95px minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.size-guide-shade{backdrop-filter:none}}

.size-guide-swipe-note{display:none;font-size:10px;letter-spacing:.04em;color:#8b5e67;margin:-2px 0 10px;text-align:right}
@media(max-width:640px){.size-guide-swipe-note{display:block}}
