/* MCB v1.2: fully scoped; never restyles WooCommerce product options. */
.mcbsg{margin:12px 0 18px;color:#442932;font-family:inherit}
.mcbsg *{box-sizing:border-box}
.mcbsg__launch{display:inline-flex;align-items:center;gap:8px!important;background:none!important;border:0!important;color:#66283e!important;font-size:14px!important;font-weight:600!important;text-decoration:underline;text-underline-offset:4px;padding:6px 0!important;min-height:36px;box-shadow:none!important;letter-spacing:0!important;cursor:pointer}
.mcbsg__launch:hover,.mcbsg__launch:focus-visible{color:#3e1728!important}
.mcbsg__launch-glyph{font-size:19px;line-height:1}
.mcbsg__dialog{position:fixed;inset:0;width:min(760px,calc(100vw - 30px));max-height:min(90dvh,950px);margin:auto;padding:0;border:1px solid #eaded8;border-radius:20px;overflow-y:auto;overscroll-behavior:contain;background:#fffaf5;color:#422c34;box-shadow:0 24px 92px rgba(43,19,27,.3)}
.mcbsg__dialog::backdrop{background:rgba(36,20,28,.62)}
.mcbsg__body{padding:clamp(19px,3vw,34px);font-size:15px;line-height:1.5;text-align:left}
.mcbsg__header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.mcbsg__eyebrow{color:#976b78;font-size:10px!important;letter-spacing:.16em;font-weight:700;margin:0 0 9px!important}
.mcbsg__header h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(26px,4.5vw,37px)!important;line-height:1.12;color:#4a182b;margin:0 0 10px!important}
.mcbsg__intro{font-size:14px!important;color:#715d63;margin:0!important;line-height:1.6}
.mcbsg__close{flex:0 0 38px;border:1px solid #e4d7d4!important;background:#fff!important;width:38px;height:38px;padding:0!important;border-radius:50%!important;color:#582239!important;font-size:28px!important;display:grid;place-items:center;line-height:1!important;cursor:pointer;box-shadow:none!important}
.mcbsg__tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:24px 0 14px;padding:4px;background:#efe4dc;border-radius:13px}
.mcbsg__tabs button{color:#674c55!important;border:0!important;border-radius:10px!important;background:transparent!important;padding:11px 9px!important;font-size:13px!important;font-weight:650!important;cursor:pointer;box-shadow:none!important;text-transform:none!important}
.mcbsg__tabs button[aria-selected=true]{background:#4c172b!important;color:#fff!important}
.mcbsg__units{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.mcbsg__units button{background:#fff!important;border:1px solid #e4d9d3!important;border-radius:99px!important;padding:7px 13px!important;color:#5b454e!important;font-size:12px!important;line-height:1.4!important;cursor:pointer;box-shadow:none!important}
.mcbsg__units button.is-active{background:#f5e9e6!important;border-color:#6c2a42!important;color:#632039!important}
.mcbsg__measure h3,.mcbsg__calculator h3{font-size:17px!important;font-weight:650!important;margin:0 0 13px!important;color:#491b2e;line-height:1.4}
.mcbsg__measure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mcbsg__measure-card{display:flex;align-items:center;gap:10px;border:1px solid #e9ddd6;border-radius:12px;padding:11px;background:#fffefb}
.mcbsg__icon{width:65px;height:74px;flex:0 0 65px}
.mcbsg__measure-card strong{display:block;color:#482030;font-size:14px;margin-bottom:4px}
.mcbsg__measure-card p{color:#6d5b60;margin:0;font-size:12px;line-height:1.55}
.mcbsg__tape{font-size:12px!important;color:#77686b;line-height:1.6;margin:10px 0 0!important}
.mcbsg__calculator{padding:18px;margin-top:18px;border:1px solid #eaded8;border-radius:15px;background:#f9f1ec}
.mcbsg__fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mcbsg__fields label{display:block;font-size:13px;color:#522d3a;font-weight:650}
.mcbsg__fields label span{color:#82737a;font-weight:400}
.mcbsg__fields input{display:block;width:100%;height:46px;margin:8px 0 0;padding:10px 13px;border-radius:8px;border:1px solid #d9c9c4!important;background:#fff!important;color:#3d2831!important;font-size:16px!important;line-height:1.4!important;box-shadow:none!important}
.mcbsg__fields input:focus-visible{outline:2px solid #782e48;outline-offset:2px}
.mcbsg__actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:15px}
.mcbsg__calculate{background:#4b1529!important;border:1px solid #4b1529!important;color:#fff!important;padding:12px 22px!important;min-height:44px;border-radius:8px!important;font-weight:650!important;font-size:13px!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;box-shadow:none!important}
.mcbsg__clear{border:0!important;padding:8px 2px!important;background:transparent!important;color:#75445a!important;font-size:12px!important;text-decoration:underline;cursor:pointer;box-shadow:none!important}
.mcbsg__result{background:#fff!important;border:1px solid #b98c9b;border-left:4px solid #67263f;border-radius:12px;margin-top:16px;padding:16px}
.mcbsg__result.is-warning{border-color:#dfc5a9;border-left-color:#a9763e}
.mcbsg__result-eyebrow{font-size:10px!important;letter-spacing:.11em;text-transform:uppercase;color:#8b6774;margin:0 0 6px!important;font-weight:700}
.mcbsg__result-size{font-family:Georgia,serif;color:#4a1a2c;font-size:24px!important;line-height:1.3!important;margin:0 0 5px!important}
.mcbsg__result-explain{margin:0 0 9px!important;color:#5b4650;font-size:13px!important;line-height:1.55!important}
.mcbsg__result-note{margin:0!important;color:#85767d;font-size:11px!important;line-height:1.55!important}
.mcbsg__privacy{margin:12px 0 0!important;color:#8a777b;font-size:11px!important;line-height:1.5!important}
.mcbsg__table-wrap[hidden],.mcbsg [hidden]{display:none!important}
.mcbsg__table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;font-size:14px}
.mcbsg__table th,.mcbsg__table td{padding:13px 8px;text-align:center;vertical-align:middle;border-bottom:1px solid #e6dbd5}
.mcbsg__table thead th{font-size:12px;font-weight:700;color:#6d394d;background:#f2eae4}
.mcbsg__table tbody th{color:#5d1b34;font-weight:700}
.mcbsg__units-note{font-size:12px!important;color:#7a6c71;margin:12px 0 0!important;line-height:1.6!important}
.mcbsg__notice{margin:20px 0 15px!important;background:#f5ede7;padding:14px;border-radius:10px;color:#69545e;font-size:12px!important;line-height:1.6!important}
.mcbsg__back{display:block;width:100%;background:transparent!important;border:1px solid #cbb8b5!important;border-radius:9px!important;color:#5f2941!important;padding:12px!important;min-height:44px;cursor:pointer;font-size:13px!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important}
.mcbsg__launch:focus-visible,.mcbsg__dialog button:focus-visible{outline:2px solid #953955;outline-offset:2px}
@media(max-width:620px){
 .mcbsg__dialog{width:100vw;max-width:100vw;max-height:92dvh;margin:auto 0 0;border-radius:19px 19px 0 0}
 .mcbsg__body{padding:21px 17px 30px}
 .mcbsg__measure-grid{grid-template-columns:1fr}
 .mcbsg__measure-card{padding:10px}
 .mcbsg__tabs button{font-size:12px!important}
 .mcbsg__table{font-size:12px}
 .mcbsg__table th,.mcbsg__table td{padding:13px 3px;white-space:nowrap}
 .mcbsg__table thead th{font-size:10px}
 .mcbsg__actions{gap:12px}
}
@media(max-width:380px){.mcbsg__fields{gap:8px}.mcbsg__calculate{width:100%}}
