/* SKANARE compact fitting assistant, shared by mobile and desktop PDP. */
.size-guide-modal{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:16px;box-sizing:border-box;min-width:0;overflow:hidden}
.size-guide-modal.hidden{display:none}
.size-guide-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px)}
.size-guide-modal__panel{position:relative;z-index:1;box-sizing:border-box;width:min(515px,100%);min-width:0;max-width:100%;max-height:min(88dvh,760px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e7e7e7;border-radius:18px;box-shadow:0 24px 85px rgba(0,0,0,.23);color:#111}
.size-guide-modal__header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:17px 22px 12px;background:#fff;border-bottom:1px solid #eee}
.size-guide-modal__eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:.16em;color:#747474;margin-bottom:5px}
.size-guide-modal__header h2{margin:0;font-size:25px;line-height:1.12;font-weight:780;letter-spacing:-.035em}
.size-guide-modal__close{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid #e8e8e8;border-radius:50%;background:#f7f7f7;color:#222;font-size:26px;line-height:1;cursor:pointer}
.size-guide-modal__close:hover{background:#e9e9e9}
.size-guide-modal__content{box-sizing:border-box;min-width:0;max-width:100%;padding:16px 22px 20px;overflow-wrap:anywhere}
.size-guide-modal__subtitle{font-size:13px;color:#6a6a6a;margin:0 0 16px}
.size-fit-form__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.size-fit-form__field{display:grid;gap:6px;font-size:12px;font-weight:650}
.size-fit-form__field small{color:#858585;font-size:11px}
.size-fit-form__field input{box-sizing:border-box;width:100%;min-width:0;height:46px;padding:0 13px;border:1px solid #d8d8d8;border-radius:9px;color:#111;background:#fff;font:inherit;font-size:16px}
.size-fit-form__field input:focus-visible{outline:2px solid #111;outline-offset:1px}
.size-fit-form__fit{border:0;padding:0;margin:15px 0 0;min-width:0}
.size-fit-form__fit legend{font-size:12px;font-weight:650;padding:0 0 8px}
.size-fit-form__choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.size-fit-form__choices label{position:relative;cursor:pointer}
.size-fit-form__choices input{position:absolute;opacity:0;width:1px;height:1px}
.size-fit-form__choices span{display:grid;place-items:center;border:1px solid #dedede;border-radius:9px;min-height:39px;font-size:12px;font-weight:650;text-align:center;padding:3px 4px}
.size-fit-form__choices input:checked + span{border:1.5px solid #111;background:#f2f2f2}
.size-fit-form__choices input:focus-visible + span{outline:2px solid #111;outline-offset:2px}
.size-fit-form__submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;margin-top:15px;background:#101010;color:white;border:0;border-radius:9px;font-size:13px;font-weight:750;cursor:pointer}
.size-fit-result{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:13px 15px;border:1px solid #d9e4d6;border-radius:11px;background:#f5f9f3}
.size-fit-result[hidden],.size-fit-result__apply[hidden]{display:none!important}
.size-fit-result__copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.size-fit-result__eyebrow{font-size:9px;font-weight:800;letter-spacing:.13em;color:#476443}
.size-fit-result__size{font-size:26px;line-height:1;font-weight:800}
.size-fit-result__detail{font-size:11px;line-height:1.55;color:#4e5b4c}
.size-fit-result__apply{border:1px solid #151515;border-radius:8px;background:#fff;padding:10px 12px;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer}
.size-guide-chart{margin-top:19px;border-top:1px solid #eaeaea;padding-top:16px}
.size-guide-chart__heading{min-width:0;flex-wrap:wrap;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.size-guide-chart__heading h3{font-size:14px;letter-spacing:-.015em;margin:0;font-weight:750}
.size-guide-chart__heading span{font-size:10px;color:#777;white-space:nowrap}
.size-guide-chart__scroll{width:100%;min-width:0;max-width:100%;overflow:hidden;border:1px solid #e8e8e8;border-radius:10px;box-sizing:border-box}
#sizeGuideMeasurements{width:100%;min-width:0;max-width:100%;table-layout:fixed;border-collapse:collapse;text-align:center;font-size:clamp(9px,1.6vw,12px)}
#sizeGuideMeasurements th,#sizeGuideMeasurements td{min-width:0;overflow-wrap:anywhere;word-break:normal;padding:11px 3px;border-bottom:1px solid #ececec;white-space:normal}
#sizeGuideMeasurements tr:last-child th,#sizeGuideMeasurements tr:last-child td{border-bottom:0}
#sizeGuideMeasurements th{font-weight:700}
#sizeGuideMeasurements th:first-child{width:25%;text-align:left;padding-left:8px;background:#fafafa}
#sizeGuideMeasurements thead{background:#f3f3f3}
#sizeGuideMeasurements [data-suggested-size]{background:#eef6ea;color:#245e2e}
.size-guide-chart__howto{margin-top:13px}
.size-guide-chart__howto summary{font-size:12px;font-weight:650;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.size-guide-chart__diagram{display:flex;gap:12px;align-items:center;margin-top:7px;background:#f7f7f7;border-radius:10px;padding:10px}
.size-guide-chart__diagram svg{width:105px;height:95px;flex-shrink:0}
.size-guide-chart__diagram p{font-size:11px;line-height:1.6;color:#5f5f5f;margin:0}
.size-guide-modal__note{font-size:10px;line-height:1.55;color:#777;margin:13px 0 0}
body.size-guide-open{overflow:hidden}
@media(max-width:600px){
 .size-guide-modal{padding:8px;align-items:center}
 .size-guide-modal__panel{width:100%;max-height:calc(100dvh - 16px);border-radius:15px}
 .size-guide-modal__header{padding:15px 16px 10px}
 .size-guide-modal__header h2{font-size:23px}
 .size-guide-modal__content{padding:14px 16px 18px}
 #sizeGuideMeasurements{font-size:11px}
 .size-guide-chart__heading h3{font-size:13px}
 .size-guide-modal__note{font-size:10px}
}

/* Zoom-safe layout: no sideways scrollbar, never clip a size column. */
.size-guide-modal__panel,.size-guide-modal__content,.size-guide-chart,.size-guide-chart__scroll{min-width:0;max-width:100%}
.size-guide-modal__content *{box-sizing:border-box}
.size-fit-result__detail{overflow-wrap:anywhere}
@media(max-width:410px){
 .size-guide-modal{padding:5px}
 .size-guide-modal__panel{max-height:calc(100dvh - 10px)}
 .size-guide-modal__header{padding:11px 12px 9px}
 .size-guide-modal__header h2{font-size:20px}
 .size-guide-modal__content{padding:11px 12px 15px}
 .size-guide-chart__heading{align-items:flex-start}
 .size-guide-chart__heading span{white-space:normal}
 .size-guide-chart__diagram{flex-wrap:wrap}
 .size-guide-chart__diagram svg{height:82px;width:92px}
 #sizeGuideMeasurements{font-size:10px}
 #sizeGuideMeasurements th,#sizeGuideMeasurements td{padding:9px 2px}
 #sizeGuideMeasurements th:first-child{padding-left:5px;width:28%}
 .size-fit-form__choices span{font-size:11px}
}
@media(max-width:290px){
 .size-fit-form__fields{grid-template-columns:1fr}
 .size-fit-form__choices{grid-template-columns:1fr}
 .size-fit-form__choices span{min-height:32px}
 #sizeGuideMeasurements{font-size:9px}
 .size-guide-chart__heading{display:block}
}
