.bfc-size-guide-wrap{margin:14px 0 0}.bfc-size-guide-open{width:100%;min-height:48px;border:1px solid #1c1c1c;background:#fff;color:#111;font-weight:700;letter-spacing:.01em;border-radius:3px;cursor:pointer}.bfc-size-guide-open:hover{background:#f5f5f5}.bfc-size-guide-modal{display:none;position:fixed;inset:0;z-index:999999}.bfc-size-guide-modal.is-open{display:block}.bfc-size-guide-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px)}.bfc-size-guide-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1040px,calc(100% - 36px));max-height:90vh;overflow:auto;background:#fff;border-radius:10px;box-shadow:0 24px 80px rgba(0,0,0,.25)}.bfc-size-guide-close{position:sticky;float:right;top:14px;margin:14px 14px -48px 0;width:38px;height:38px;border:0;background:#f3f3f3;border-radius:50%;font-size:28px;line-height:1;cursor:pointer;z-index:3}.bfc-size-guide-content{padding:38px}.bfc-size-guide-header{max-width:700px;margin-bottom:26px}.bfc-size-guide-header h2{font-size:34px;line-height:1.05;margin:5px 0 10px}.bfc-size-guide-header p{margin:0;color:#5b5b5b}.bfc-kicker{display:block;font-size:11px;letter-spacing:.15em;font-weight:800;color:#6a6a6a}.bfc-size-guide-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}.bfc-size-form-card,.bfc-size-result-card{border:1px solid #e3e3e3;border-radius:8px;padding:22px;background:#fff}.bfc-size-form-card>label{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #ececec;padding:13px 0;font-weight:650}.bfc-size-form-card>label span{display:flex;align-items:center;gap:6px;color:#666;font-weight:500}.bfc-optional{margin-right:auto;color:#8a8a8a;font-size:11px;font-weight:500}.bfc-size-form-card input[type=number]{width:90px;border:1px solid #cfcfcf;border-radius:4px;padding:9px 10px;text-align:right}.bfc-fit-options{border:0;padding:18px 0 8px;margin:0}.bfc-fit-options legend{font-weight:750;margin-bottom:10px}.bfc-fit-options label{display:flex;gap:10px;align-items:flex-start;border:1px solid #e2e2e2;border-radius:6px;padding:11px 12px;margin:8px 0;cursor:pointer}.bfc-fit-options input{margin-top:4px}.bfc-fit-options span{display:flex;flex-direction:column}.bfc-fit-options small{color:#6c6c6c}.bfc-calc-size,.bfc-select-size{width:100%;border:0;background:#141414;color:#fff;font-weight:750;padding:14px 18px;border-radius:4px;cursor:pointer}.bfc-size-note{font-size:12px;color:#737373;line-height:1.45;margin:12px 0 0}.bfc-field-error{background:#fff2f2;color:#a32626;padding:9px 10px;border-radius:4px;font-size:13px}.bfc-size-result-card{display:flex;align-items:center;justify-content:center;background:#f7f7f5}.bfc-result-empty{text-align:center;max-width:280px}.bfc-result-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 12px;border-radius:50%;background:#fff;border:1px solid #ddd;font-size:22px}.bfc-result-empty h3{margin:0 0 7px}.bfc-result-empty p{margin:0;color:#6c6c6c}.bfc-result-filled{width:100%}.bfc-result-label{font-size:11px;letter-spacing:.14em;font-weight:800}.bfc-result-size{font-size:72px;line-height:.95;font-weight:900;margin:9px 0 12px}.bfc-result-title{margin:0 0 6px}.bfc-result-copy{color:#5f5f5f}.bfc-result-comparison{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:18px 0}.bfc-comp-item{background:#fff;border:1px solid #ddd;border-radius:5px;padding:10px 8px;text-align:center;display:flex;flex-direction:column}.bfc-comp-item.is-active{border:2px solid #151515;padding:9px 7px}.bfc-comp-item span{font-size:11px;color:#666;margin-top:2px}.bfc-model-section{margin-top:30px;padding-top:26px;border-top:1px solid #e7e7e7}.bfc-model-heading h3{margin:4px 0 15px}.bfc-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bfc-model-card{border:1px solid #e4e4e4;border-radius:7px;overflow:hidden;background:#fff}.bfc-model-card img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:#f2f2f2}.bfc-model-card-text{padding:12px}.bfc-model-card-text strong{display:block;font-size:14px}.bfc-model-card-text p{font-size:13px;line-height:1.45;color:#686868;margin:5px 0 0}.bfc-modal-open{overflow:hidden}@media(max-width:760px){.bfc-size-guide-dialog{width:100%;height:100%;max-height:none;top:0;left:0;transform:none;border-radius:0}.bfc-size-guide-content{padding:24px 18px 30px}.bfc-size-guide-header{padding-right:35px}.bfc-size-guide-header h2{font-size:28px}.bfc-size-guide-grid{grid-template-columns:1fr}.bfc-size-result-card{min-height:260px}.bfc-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bfc-result-size{font-size:60px}.bfc-size-guide-close{top:8px;margin:8px 8px -46px 0}}@media(max-width:420px){.bfc-model-grid{grid-template-columns:1fr 1fr}.bfc-model-card-text{padding:10px}.bfc-model-card-text p{font-size:12px}.bfc-size-form-card,.bfc-size-result-card{padding:17px}}


/* v1.3 – måleguide + modelreference i anbefalingen */
.bfc-size-form-card>.bfc-form-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #ececec;padding:13px 0;font-weight:650}.bfc-field-label{display:flex;align-items:center;gap:8px}.bfc-measure-help-open{display:inline-grid;place-items:center;width:22px;height:22px;padding:0;border:1px solid #bfbfbf;background:#fff;color:#222;border-radius:50%;font-size:12px;font-weight:800;line-height:1;cursor:pointer}.bfc-measure-help-open:hover,.bfc-measure-help-open:focus{border-color:#151515;outline:none;box-shadow:0 0 0 2px rgba(0,0,0,.08)}.bfc-form-row>span{display:flex;align-items:center;gap:6px;color:#666;font-weight:500}.bfc-form-row input[type=number]{width:90px;border:1px solid #cfcfcf;border-radius:4px;padding:9px 10px;text-align:right}.bfc-result-main{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.bfc-result-reference{display:grid;grid-template-columns:118px minmax(0,1fr);border:1px solid #dededb;border-radius:7px;overflow:hidden;background:#fff;margin-top:16px}.bfc-result-reference[hidden]{display:none!important}.bfc-result-reference-image{display:block;width:100%;height:100%;min-height:145px;object-fit:cover;background:#efefed}.bfc-result-reference-copy{padding:13px 14px;align-self:center}.bfc-result-reference-kicker{display:block;font-size:10px;letter-spacing:.13em;font-weight:800;color:#757575;margin-bottom:5px}.bfc-result-reference-meta{display:block;font-size:14px;line-height:1.35}.bfc-result-reference-description{font-size:12px;line-height:1.45;color:#6a6a6a;margin:5px 0 0}.bfc-measure-help{position:fixed;inset:0;z-index:1000002}.bfc-measure-help[hidden]{display:none!important}.bfc-measure-help-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.34)}.bfc-measure-help-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;width:min(650px,calc(100% - 32px));background:#fff;border-radius:10px;box-shadow:0 20px 70px rgba(0,0,0,.28);padding:28px}.bfc-measure-help-close{position:absolute;right:10px;top:10px;width:34px;height:34px;border:0;background:#f3f3f3;border-radius:50%;font-size:24px;line-height:1;cursor:pointer}.bfc-measure-help-visual{display:grid;place-items:center;background:#f7f7f5;border:1px solid #e5e5e2;border-radius:8px;min-height:170px}.bfc-measure-help-visual svg{width:132px;height:auto;color:#171717}.bfc-measure-help-visual img{display:block;width:100%;height:auto;max-height:230px;object-fit:contain}.bfc-measure-help-copy{padding-right:14px}.bfc-measure-help-copy h3{font-size:22px;line-height:1.15;margin:5px 0 12px}.bfc-measure-help-copy ol{margin:0 0 12px 18px;padding:0}.bfc-measure-help-copy li{margin:0 0 7px;line-height:1.4}.bfc-measure-help-copy p{margin:0;color:#666;font-size:13px;line-height:1.45}
@media(min-width:900px){.bfc-size-result-card{align-items:stretch}.bfc-result-filled{align-self:center}}
@media(max-width:760px){.bfc-result-reference{grid-template-columns:105px minmax(0,1fr)}.bfc-result-reference-image{min-height:132px}.bfc-measure-help-card{grid-template-columns:1fr;padding:22px;gap:14px;max-height:calc(100vh - 32px);overflow:auto}.bfc-measure-help-visual{min-height:125px}.bfc-measure-help-visual svg{width:105px}.bfc-measure-help-visual img{width:min(100%,360px);max-height:220px}.bfc-measure-help-copy{padding-right:0}.bfc-measure-help-copy h3{font-size:20px}}
@media(max-width:420px){.bfc-result-reference{grid-template-columns:92px minmax(0,1fr)}.bfc-result-reference-copy{padding:10px}.bfc-result-reference-description{font-size:11px}.bfc-measure-help-card{width:calc(100% - 20px);padding:18px}}

/* v1.4 – feedback når anbefalet størrelse overføres til WooCommerce */
.bfc-select-size{transition:opacity .15s ease,background-color .15s ease}

/* v1.5 – aktiverbar længdesammenligning */
.bfc-length-compare{margin-top:16px;border:1px solid #dededb;border-radius:7px;background:#fff;padding:14px}
.bfc-length-compare[hidden]{display:none!important}
.bfc-length-compare-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.bfc-length-compare-head>div{display:flex;flex-direction:column;gap:3px}
.bfc-length-compare-kicker{font-size:9px;line-height:1.25;letter-spacing:.12em;font-weight:800;color:#737373}
.bfc-length-compare-head strong{font-size:19px;line-height:1.2}
.bfc-length-help-open{border:1px solid #cfcfcf;background:#fff;color:#171717;border-radius:4px;padding:8px 10px;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.bfc-length-help-open:hover,.bfc-length-help-open:focus{border-color:#151515;outline:none}
.bfc-own-length-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding-top:12px;border-top:1px solid #ececec;font-size:12px;font-weight:650}
.bfc-own-length-row small{font-weight:500;color:#8a8a8a;margin-left:4px}
.bfc-own-length-input{display:flex;align-items:center;gap:6px;color:#666;font-weight:500}
.bfc-own-length-input input{width:78px;border:1px solid #cfcfcf;border-radius:4px;padding:8px 9px;text-align:right}
.bfc-length-difference{margin:10px 0 0;padding:9px 10px;background:#f7f7f5;border-radius:4px;font-size:12px;line-height:1.4;color:#333}
.bfc-length-help{position:fixed;inset:0;z-index:1000002}
.bfc-length-help[hidden]{display:none!important}
.bfc-length-help-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.34)}
.bfc-length-help-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;width:min(680px,calc(100% - 32px));background:#fff;border-radius:10px;box-shadow:0 20px 70px rgba(0,0,0,.28);padding:28px}
.bfc-length-help-close{position:absolute;right:10px;top:10px;width:34px;height:34px;border:0;background:#f3f3f3;border-radius:50%;font-size:24px;line-height:1;cursor:pointer}
.bfc-length-help-visual{display:grid;place-items:center;background:#f7f7f5;border:1px solid #e5e5e2;border-radius:8px;min-height:190px}
.bfc-length-help-visual svg{width:125px;height:auto;color:#171717}.bfc-length-help-visual img{display:block;width:100%;height:auto;max-height:230px;object-fit:contain}
.bfc-length-help-copy{padding-right:14px}
.bfc-length-help-copy h3{font-size:22px;line-height:1.15;margin:5px 0 12px}
.bfc-length-help-copy ol{margin:0 0 12px 18px;padding:0}
.bfc-length-help-copy li{margin:0 0 7px;line-height:1.4}
.bfc-length-help-copy p{margin:0;color:#666;font-size:13px;line-height:1.45}
@media(max-width:760px){.bfc-length-help-card{grid-template-columns:1fr;padding:22px;gap:14px;max-height:calc(100vh - 32px);overflow:auto}.bfc-length-help-visual{min-height:130px}.bfc-length-help-visual svg{width:95px}.bfc-length-help-visual img{width:min(100%,360px);max-height:220px}.bfc-length-help-copy{padding-right:0}.bfc-length-help-copy h3{font-size:20px}}
@media(max-width:420px){.bfc-length-compare-head{align-items:flex-start}.bfc-length-help-open{padding:7px 8px}.bfc-own-length-row{align-items:center}.bfc-length-help-card{width:calc(100% - 20px);padding:18px}}

/* v1.6 – klikbare alternative størrelser */
.bfc-comp-item{appearance:none;-webkit-appearance:none;font:inherit;color:inherit;cursor:pointer;width:100%}.bfc-comp-item:hover{border-color:#8c8c8c;background:#fafafa}.bfc-comp-item:focus-visible{outline:2px solid #111;outline-offset:2px}.bfc-comp-item.is-active{border:2px solid #151515;padding:9px 7px;background:#fff}.bfc-comp-item.is-recommended span{font-weight:700;color:#222}

/* v1.7 – BFC-illustrationer i måleguider */
.bfc-measure-help-visual,.bfc-length-help-visual{overflow:hidden;padding:8px}
@media(max-width:760px){.bfc-measure-help-visual,.bfc-length-help-visual{padding:6px}}


/* v1.8.0 – klikbare modelreferencer + stort billed-view */
.bfc-model-image-open{position:relative;display:block;padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in;text-align:inherit}
.bfc-model-image-open:focus-visible{outline:2px solid #111;outline-offset:2px}
.bfc-model-card-image-button{width:100%}
.bfc-model-card-image-button img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:#f2f2f2}
.bfc-result-reference-button{width:100%;height:100%;min-height:145px;overflow:hidden}
.bfc-model-image-zoom{position:absolute;right:9px;bottom:9px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.93);color:#111;font-size:10px;font-weight:750;line-height:1;box-shadow:0 2px 10px rgba(0,0,0,.12);opacity:0;transform:translateY(3px);transition:opacity .18s ease,transform .18s ease}
.bfc-model-image-open:hover .bfc-model-image-zoom,.bfc-model-image-open:focus-visible .bfc-model-image-zoom{opacity:1;transform:none}
.bfc-model-lightbox{position:fixed;inset:0;z-index:1000006;display:grid;place-items:center;padding:20px}
.bfc-model-lightbox[hidden]{display:none!important}
.bfc-model-lightbox-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.82);backdrop-filter:blur(4px)}
.bfc-model-lightbox-dialog{position:relative;z-index:1;width:min(920px,calc(100vw - 40px));max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.4)}
.bfc-model-lightbox-close{position:absolute;right:12px;top:12px;z-index:3;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#111;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.bfc-model-lightbox-image-wrap{display:grid;place-items:center;min-height:0;background:#f0f0ee}
.bfc-model-lightbox-image{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100vh - 150px);object-fit:contain}
.bfc-model-lightbox-caption{padding:14px 18px 16px;background:#fff;border-top:1px solid #e5e5e5}
.bfc-model-lightbox-caption[hidden]{display:none!important}
.bfc-model-lightbox-meta{display:block;font-size:14px;line-height:1.35}
.bfc-model-lightbox-description{margin:5px 0 0;color:#666;font-size:12px;line-height:1.45}
@media(max-width:760px){.bfc-model-image-zoom{opacity:1;transform:none}.bfc-result-reference-button{min-height:132px}.bfc-model-lightbox{padding:8px}.bfc-model-lightbox-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:8px}.bfc-model-lightbox-image{max-height:calc(100vh - 125px)}.bfc-model-lightbox-caption{padding:12px 14px 14px}.bfc-model-lightbox-close{right:8px;top:8px}}


/* v1.9.0 – kompakt model-lightbox uden scroll */
.bfc-model-lightbox-open{overflow:hidden!important}
.bfc-size-guide-dialog.bfc-model-lightbox-active{overflow:hidden!important}
.bfc-model-lightbox{overflow:hidden;overscroll-behavior:contain}
.bfc-model-lightbox-dialog{
  width:min(820px,calc(100vw - 64px));
  height:min(86dvh,820px);
  max-height:86dvh;
  overflow:hidden;
}
.bfc-model-lightbox-image-wrap{
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}
.bfc-model-lightbox-image{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.bfc-model-lightbox-caption{
  flex:0 0 auto;
  padding:12px 18px 14px;
}
@media(max-width:760px){
  .bfc-model-lightbox{padding:10px}
  .bfc-model-lightbox-dialog{
    width:calc(100vw - 20px);
    height:calc(100dvh - 20px);
    max-height:calc(100dvh - 20px);
  }
  .bfc-model-lightbox-caption{padding:11px 14px 12px}
}

/* 2.0: compact overview, shared product measurements and accessible controls */
.bfc-size-guide-wrap,.bfc-size-guide-wrap *{box-sizing:border-box}
.bfc-size-guide-wrap [hidden]{display:none!important}
.bfc-guide-overview{width:100%;color:#171717;line-height:1.45}
.bfc-guide-heading{margin:0 0 18px}
.bfc-guide-heading h2{font-size:26px;line-height:1.15;margin:6px 0 8px}
.bfc-guide-heading p{margin:0;color:#666;font-size:14px}
.bfc-guide-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.bfc-guide-actions>button,.bfc-guide-actions>a{flex:1 1 180px;display:flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 15px;line-height:1.25;text-align:center;font-size:14px;font-weight:700;border-radius:4px;text-decoration:none!important;width:auto}
.bfc-guide-actions .bfc-size-guide-open{background:#171717;color:#fff;border:1px solid #171717}
.bfc-guide-actions .bfc-models-link,.bfc-guide-back{border:1px solid #ccc;background:#fff;color:#171717}
.bfc-guide-actions .bfc-models-link:hover,.bfc-guide-back:hover{border-color:#111;background:#f4f4f2}
.bfc-guide-overview .bfc-guide-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:20px 0 8px;font-size:14px}
.bfc-guide-overview .bfc-guide-table caption{text-align:left;padding:0 0 9px;color:#666;font-size:12px}
.bfc-guide-overview .bfc-guide-table th,.bfc-guide-overview .bfc-guide-table td{padding:11px 8px;text-align:center;line-height:1.3;border:0;border-bottom:1px solid #e7e7e4;background:#fff;color:#171717}
.bfc-guide-overview .bfc-guide-table thead th{background:#171717;color:#fff;font-size:12px}
.bfc-guide-overview .bfc-guide-table th:first-child{width:25%}
.bfc-guide-overview .bfc-guide-table tbody tr:nth-child(even)>*{background:#f5f5f3}
.bfc-guide-overview .bfc-guide-table tr.is-selected>*{background:#e9eee7;box-shadow:inset 0 2px #343d30,inset 0 -2px #343d30}
.bfc-guide-small{margin:8px 0 20px!important;color:#666;font-size:12px!important;line-height:1.45!important}
.bfc-guide-explanations details{border-top:1px solid #dededb}
.bfc-guide-explanations details:last-child{border-bottom:1px solid #dededb}
.bfc-guide-explanations summary,.bfc-model-options summary,.bfc-size-note summary{cursor:pointer;min-height:44px;padding:13px 0;font-size:14px;font-weight:650;color:#171717}
.bfc-guide-explanations details>div{padding:0 0 16px;font-size:14px}
.bfc-guide-explanations p{margin:0 0 9px!important;line-height:1.5!important}
.bfc-guide-measure{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:center}
.bfc-guide-measure img{width:100%;max-height:210px;object-fit:contain;background:#f5f5f3;border-radius:5px}
.bfc-guide-measure ol{margin:0;padding-left:19px}
.bfc-guide-measure li{margin:0 0 8px}
.bfc-guide-help{margin:20px 0 0!important;font-size:13px!important}
.bfc-model-options{margin:5px 0 15px;border-top:1px solid #e4e4e1}
.bfc-model-options label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0}
.bfc-model-options label span{display:flex;align-items:center;gap:6px}
.bfc-model-options small{font-weight:400;color:#666}
.bfc-model-options p,.bfc-size-note p{font-size:12px;line-height:1.5;color:#666}
.bfc-size-note summary{font-size:12px;min-height:40px;padding:10px 0}
.bfc-result-warning{border-left:3px solid #85652d;background:#f8f2e7;padding:10px 12px;font-size:13px;line-height:1.45}
.bfc-select-size:disabled{opacity:.5;cursor:default}
.bfc-guide-return-status{padding:10px;background:#eff3eb;font-size:14px}
.bfc-size-guide-wrap button:focus-visible,.bfc-size-guide-wrap a:focus-visible,.bfc-size-guide-wrap input:focus-visible,.bfc-size-guide-wrap summary:focus-visible,.bfc-model-page-tools button:focus-visible,.bfc-model-page-tools a:focus-visible{outline:2px solid #111;outline-offset:3px}
.bfc-model-page-tools{max-width:940px;margin:0 auto;padding:12px 24px}
.bfc-model-size-nav{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}
.bfc-model-size-nav button{min-width:44px;min-height:44px;border:1px solid #d5d5d0;background:#fff;color:#171717;padding:8px 12px;border-radius:3px;cursor:pointer}
.bfc-model-size-nav button[aria-pressed=true]{background:#171717;color:#fff;border-color:#171717}
.bfc-model-size-status{font-size:13px;color:#666;margin:0}
.bfc-fit-card.bfc-size-highlight{outline:2px solid #111;outline-offset:3px}
.bfc-model-gallery .bfc-model-section{margin:16px 0;border-top:0;padding-top:0}
.bfc-model-gallery .bfc-model-heading{display:none}
@media(max-width:760px){
 .bfc-size-guide-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}
 .bfc-size-guide-content{padding:24px 16px}
 .bfc-size-guide-header{padding-right:27px;margin-bottom:16px}
 .bfc-size-guide-header h2{font-size:26px}
 .bfc-size-form-card,.bfc-size-result-card{padding:16px}
 .bfc-guide-actions{gap:8px}
 .bfc-guide-actions>button,.bfc-guide-actions>a{flex-basis:100%}
 .bfc-guide-overview .bfc-guide-table{font-size:13px}
 .bfc-guide-overview .bfc-guide-table th,.bfc-guide-overview .bfc-guide-table td{padding:10px 6px}
 .bfc-guide-overview .bfc-guide-table thead th{font-size:11px}
 .bfc-guide-measure{grid-template-columns:100px 1fr;gap:12px;font-size:13px}
 .bfc-model-page-tools{padding:10px 14px}
 .bfc-result-size{font-size:56px}
}
@media(prefers-reduced-motion:reduce){.bfc-size-guide-wrap *{scroll-behavior:auto!important;transition:none!important}}

/* 2.0.1: neutral table rows, independent of theme table styles. */
.bfc-guide-overview table.bfc-guide-table tbody tr>th,
.bfc-guide-overview table.bfc-guide-table tbody tr>td{color:#171717!important;background:#fff!important;box-shadow:none!important}
.bfc-guide-overview table.bfc-guide-table tbody tr:nth-child(even)>th,
.bfc-guide-overview table.bfc-guide-table tbody tr:nth-child(even)>td{color:#171717!important;background:#f5f5f3!important}
.bfc-model-choose{display:block;width:100%;min-height:48px;margin:16px 0 0;padding:12px;background:#171717;color:#fff;border:1px solid #171717;border-radius:3px;font:inherit;font-weight:700;cursor:pointer}
.bfc-model-choose:disabled{opacity:.6;cursor:wait}
.bfc-cart-hint{display:block;margin:7px 0 0;color:#666;font-size:11px;line-height:1.4}
.bfc-cart-error{color:#a32626;font-size:13px;line-height:1.4}
.bfc-fit-card__body .bfc-model-choose{flex-shrink:0}
.bfc-fit-guide [data-bfc-tab][hidden]{display:none!important}
.bfc-model-page-tools:empty{display:none}

/* 2.0.2: mobile fields avoid iOS focus zoom; all navigation choices fit. */
@media(max-width:760px){
 .bfc-size-guide-wrap input[type=number]{font-size:16px!important;line-height:1.4}
 .bfc-fit-guide .bfc-fit-tabs{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
 .bfc-fit-guide .bfc-fit-tabs__button{min-width:0;font-size:16px!important;color:#171717!important}
 .bfc-fit-guide .bfc-fit-tabs__button[aria-selected="true"]{color:#fff!important}
 .bfc-fit-guide .bfc-height-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;flex-wrap:wrap;margin:20px 0 0;padding:10px 0;width:100%;position:sticky}
 .bfc-fit-guide .bfc-height-nav__button{min-width:0;width:100%;min-height:44px;padding:10px 4px;font-size:14px!important;white-space:normal;line-height:1.2}
}
.bfc-model-empty{text-align:center;color:#666;padding:16px;font-size:14px}

/* 2.0.3-boxytee.2: keep the calculator legend inside narrow mobile forms. */
@media(max-width:760px){
 .bfc-size-guide-dialog .bfc-fit-options{min-width:0}
 .bfc-size-guide-dialog .bfc-fit-options legend{
  width:100%;
  max-width:100%;
  margin-left:0;
  margin-right:0;
  padding-left:0;
  padding-right:0;
 }
}

/* 2.0.3-boxytee.3: let mobile calculator cards and input rows fit the available width. */
@media(max-width:760px){
 .bfc-size-guide-dialog .bfc-size-guide-grid{
  grid-template-columns:minmax(0,1fr);
 }
 .bfc-size-guide-dialog .bfc-size-form-card,
 .bfc-size-guide-dialog .bfc-size-result-card{
  min-width:0;
 }
 .bfc-size-guide-dialog .bfc-form-row,
 .bfc-size-guide-dialog .bfc-model-options>label{
  flex-wrap:wrap;
 }
}

/* 2.0.3-boxytee.4: keep comparison labels readable on very narrow screens. */
@media(max-width:420px){
 .bfc-size-guide-dialog .bfc-result-comparison{
  grid-template-columns:minmax(0,1fr);
 }
}
