/* One accessible native input, rather than the theme's second painted control. */
body#checkout #wrapper .fm-checkout-page :is(.custom-radio,.custom-checkbox) {
 display:inline-flex!important;align-items:center;justify-content:center;position:relative;
 width:22px!important;height:22px!important;min-width:22px;flex:0 0 22px;
 margin:0 10px 0 0!important;float:none!important;vertical-align:middle;line-height:1;
}
body#checkout #wrapper .fm-checkout-page :is(.custom-radio,.custom-checkbox)>span {display:none!important;}
body#checkout #wrapper .fm-checkout-page :is(.custom-radio,.custom-checkbox)>input {
 appearance:none!important;-webkit-appearance:none!important;display:block!important;
 position:static!important;opacity:1!important;visibility:visible!important;
 width:22px!important;height:22px!important;min-width:22px;flex:0 0 22px;
 margin:0!important;padding:0!important;transform:none!important;clip:auto!important;
 border:2px solid var(--fm-muted)!important;background:var(--fm-surface)!important;
 box-shadow:none!important;cursor:pointer;transition:border-color .15s,background-color .15s;
}
body#checkout #wrapper .fm-checkout-page .custom-radio>input {border-radius:50%!important;}
body#checkout #wrapper .fm-checkout-page .custom-radio>input:checked {
 border-color:var(--fm-price-pink)!important;background:var(--fm-price-pink)!important;
 box-shadow:inset 0 0 0 4px var(--fm-surface)!important;
}
body#checkout #wrapper .fm-checkout-page .custom-checkbox>input {border-radius:4px!important;}
body#checkout #wrapper .fm-checkout-page .custom-checkbox>input:checked {
 border-color:var(--fm-price-pink)!important;background-color:var(--fm-price-pink)!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-8' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
body#checkout #wrapper .fm-checkout-page :is(.custom-radio,.custom-checkbox)>input:focus-visible {outline:3px solid var(--fm-accent);outline-offset:4px;}
body#checkout #wrapper .fm-checkout-page :is(.custom-radio,.custom-checkbox)>input:disabled {opacity:.45!important;cursor:not-allowed;}
body#checkout #wrapper .fm-checkout-page .address-item header .radio-block {display:flex;align-items:center;min-height:36px;margin:0;gap:2px;}
body#checkout #wrapper .fm-checkout-page .address-item header .address-alias {font-size:15px;font-weight:700;line-height:1.4;}
body#checkout #wrapper .fm-checkout-page .delivery-option {display:grid;grid-template-columns:22px minmax(0,1fr);gap:16px;align-items:center;}
body#checkout #wrapper .fm-checkout-page .delivery-option>.col-sm-1 {width:auto;max-width:none;padding:0;}
body#checkout #wrapper .fm-checkout-page .delivery-option .delivery-option-2 {width:100%;max-width:none;min-width:0;margin:0;padding:0;}
body#checkout #wrapper .fm-checkout-page .delivery-option-2>.row {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;margin:0;}
body#checkout #wrapper .fm-checkout-page .delivery-option-2>.row>div {width:auto;max-width:none;flex:none;padding:0;}
body#checkout #wrapper .fm-checkout-page .carrier-hasLogo {display:flex;align-items:center;gap:14px;margin:0;}
body#checkout #wrapper .fm-checkout-page .carrier-hasLogo>div {padding:0;width:auto;max-width:none;flex:none;}
body#checkout #wrapper .fm-checkout-page .carrier-hasLogo .carriere-name-container {flex:1;min-width:0;}
body#checkout #wrapper .fm-checkout-page .delivery-option img {width:66px;max-height:36px;object-fit:contain;}
body#checkout #wrapper .fm-checkout-page .carrier-name {font-size:14px;line-height:1.4;margin:0;}
body#checkout #wrapper .fm-checkout-page .carrier-delay {font-size:12px;color:var(--fm-muted);}
body#checkout #wrapper .fm-checkout-page .payment-option {display:flex;align-items:center;gap:10px;min-height:74px;}
body#checkout #wrapper .fm-checkout-page .payment-option>label {display:flex;align-items:center;flex:1;gap:12px;margin:0;font-size:15px;font-weight:650;min-width:0;}
body#checkout #wrapper .fm-checkout-page .payment-option>label img {max-width:88px;max-height:36px;object-fit:contain;}

/* Header bag: a compact panel with one surface and a clear product hierarchy. */
body #header .fm-native-cart #fm-blockcart-content.fm-mini-cart-panel {
 width:min(430px,calc(100vw - 32px))!important;padding:0!important;margin-top:12px;
 border:1px solid var(--fm-border)!important;border-radius:12px!important;
 box-shadow:0 16px 48px #19101826!important;max-height:min(760px,82dvh);overflow:auto;
}
body #header .fm-native-cart #blockcart-content {padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:var(--fm-surface);}
body #header .fm-native-cart #blockcart-content .cart-title {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;margin:0;border-bottom:1px solid var(--fm-border);}
body #header .fm-native-cart #blockcart-content .cart-title .modal-title {font-size:21px;line-height:1.3;letter-spacing:-.5px;}
body #header .fm-native-cart #blockcart-content #js-cart-close {display:grid;place-items:center;position:static;width:36px;height:36px;min-width:36px;padding:0;margin:0;float:none;opacity:1;font-size:26px;border:0;border-radius:50%;background:var(--fm-soft);color:var(--fm-ink);}
body #header .fm-native-cart #blockcart-content .cart-products {list-style:none;margin:0;padding:0 22px;max-height:340px;overflow-y:auto;}
body #header .fm-native-cart #blockcart-content .cart-products>li {padding:20px 0;margin:0;border:0;border-bottom:1px solid var(--fm-border);}
body #header .fm-native-cart #blockcart-content .cart-products>li:last-child {border-bottom:0;}
body #header .fm-native-cart #blockcart-content .fm-mini-line {display:grid;grid-template-columns:82px minmax(0,1fr);gap:16px;margin:0;align-items:start;}
body #header .fm-native-cart #blockcart-content .fm-mini-photo {padding:0;min-width:0;}
body #header .fm-native-cart #blockcart-content .product-image {display:block;width:100%;margin:0;}
body #header .fm-native-cart #blockcart-content .product-image img {display:block;width:82px;height:110px;max-height:none;object-fit:cover;background:var(--fm-soft);border-radius:5px;}
body #header .fm-native-cart #blockcart-content .fm-mini-info {padding:0;min-width:0;}
body #header .fm-native-cart #blockcart-content .fm-mini-info>.pb-1>a {font-size:14px;font-weight:700;line-height:1.45;display:block;}
body #header .fm-native-cart #blockcart-content .product-attributes {font-size:12px;line-height:1.5;margin:3px 0 10px;color:var(--fm-muted)!important;}
body #header .fm-native-cart #blockcart-content .fm-mini-controls {display:grid!important;grid-template-columns:108px minmax(0,1fr) 30px!important;gap:8px!important;margin:10px 0 0!important;align-items:center;}
body #header .fm-native-cart #blockcart-content .fm-mini-controls>div {grid-column:auto!important;grid-row:auto!important;padding:0!important;margin:0!important;min-width:0;}
body #header .fm-native-cart #blockcart-content .bootstrap-touchspin {display:grid;grid-template-columns:repeat(3,36px);width:108px;}
body #header .fm-native-cart #blockcart-content .bootstrap-touchspin input {width:36px;min-width:0;height:36px;font-size:13px;}
body #header .fm-native-cart #blockcart-content .bootstrap-touchspin .btn {width:36px;height:36px;min-height:36px;font-size:16px;border-color:var(--fm-border);}
body #header .fm-native-cart #blockcart-content .fm-mini-unit-price {font-size:13px;text-align:right;white-space:nowrap;}
body #header .fm-native-cart #blockcart-content .fm-mini-unit-price>.text-muted {display:none;}
body #header .fm-native-cart #blockcart-content .fm-preview-price {font-weight:750;color:var(--fm-price-pink);}
body #header .fm-native-cart #blockcart-content .remove-from-cart {min-width:30px;min-height:36px;width:30px;height:36px;display:grid;place-items:center;border-radius:4px;color:var(--fm-muted);}
body #header .fm-native-cart #blockcart-content .remove-from-cart:hover {color:var(--fm-price-pink);background:var(--fm-soft);}
body #header .fm-native-cart #blockcart-content .cart-subtotals {padding:14px 22px!important;margin:0!important;background:var(--fm-soft);border-top:1px solid var(--fm-border);}
body #header .fm-native-cart #blockcart-content .cart-summary-line {display:flex;justify-content:space-between;gap:16px;margin:6px 0;font-size:13px;}
body #header .fm-native-cart #blockcart-content .cart-summary-line .value {float:none;white-space:nowrap;}
body #header .fm-native-cart #blockcart-content .cart-totals {padding:16px 22px!important;margin:0!important;border:0!important;font-size:17px;font-weight:750;background:var(--fm-soft);}
body #header .fm-native-cart #blockcart-content .cart-totals>.clearfix {display:flex;justify-content:space-between;gap:12px;}
body #header .fm-native-cart #blockcart-content .cart-totals .value {float:none!important;white-space:nowrap;color:var(--fm-price-pink);}
body #header .fm-native-cart #blockcart-content .cart-buttons {padding:0 22px 20px!important;margin:0!important;background:var(--fm-soft);display:grid;gap:8px;}
body #header .fm-native-cart #blockcart-content .cart-buttons .btn {margin:0!important;min-height:44px;border-radius:5px;font-size:14px;font-weight:700;}
body #header .fm-native-cart #blockcart-content .cart-buttons .btn-secondary {background:var(--fm-surface)!important;color:var(--fm-ink)!important;border:1px solid var(--fm-border)!important;}
body #header .fm-native-cart #blockcart-content .fm-mini-empty {padding:24px 22px;}
body #header .fm-native-cart .fm-bag-toggle:focus:not(:focus-visible) {outline:none!important;box-shadow:none!important;}

/* A little breathing room, with no layout shift when the card lifts. */
body #wrapper .fm-card {box-shadow:none!important;}
body #wrapper .fm-card .product-miniature {padding:8px!important;border:1px solid transparent!important;border-radius:6px;box-shadow:none!important;transition:box-shadow .2s,border-color .2s,transform .2s;}
body #wrapper .fm-card .thumbnail-container {border-radius:3px;overflow:hidden;}
body #wrapper .fm-card .product-description {padding:14px 6px 10px!important;}
@media(hover:hover) and (pointer:fine) {
 body #wrapper .fm-card .product-miniature:hover {border-color:var(--fm-border)!important;box-shadow:0 10px 26px #19101812!important;transform:translateY(-3px);}
}
@media(max-width:600px) {
 body#checkout #wrapper .fm-checkout-page .delivery-option {gap:12px;}
 body#checkout #wrapper .fm-checkout-page .delivery-option-2>.row {grid-template-columns:minmax(0,1fr) auto;gap:8px;}
 body#checkout #wrapper .fm-checkout-page .delivery-option-2>.row>div:first-child {grid-column:1/-1;}
 body#checkout #wrapper .fm-checkout-page .carrier-hasLogo {gap:10px;}
 body#checkout #wrapper .fm-checkout-page .carrier-delay {font-size:12px;}
 body #header .fm-native-cart #blockcart-content .cart-title {padding:16px;}
 body #header .fm-native-cart #blockcart-content .cart-products {padding:0 16px;}
 body #header .fm-native-cart #blockcart-content .fm-mini-line {grid-template-columns:64px minmax(0,1fr);gap:12px;}
 body #header .fm-native-cart #blockcart-content .product-image img {width:64px;height:86px;}
 body #header .fm-native-cart #blockcart-content .fm-mini-controls {grid-template-columns:108px minmax(0,1fr) 26px!important;gap:4px!important;}
 body #header .fm-native-cart #blockcart-content .cart-subtotals,body #header .fm-native-cart #blockcart-content .cart-totals {padding:12px 16px!important;}
 body #header .fm-native-cart #blockcart-content .cart-buttons {padding:0 16px 16px!important;}
 body #wrapper .fm-card .product-miniature {padding:5px!important;}
 body #wrapper .fm-card .product-description {padding:10px 3px!important;}
}
@media(prefers-reduced-motion:reduce) {body #wrapper .fm-card .product-miniature {transition:none;transform:none!important;}}
/* Warehouse checkbox wrappers also contain their text label. */
body#checkout #wrapper .fm-checkout-page .custom-checkbox {
 width:auto!important;height:auto!important;min-height:22px;flex:initial;
 justify-content:flex-start;align-items:flex-start!important;gap:10px;margin:0!important;line-height:1.6;
}
body#checkout #wrapper .fm-checkout-page .custom-checkbox>label {
 position:static!important;display:block;flex:1;min-width:0;width:auto;height:auto;
 padding:0!important;margin:0!important;float:none;line-height:1.6;font-size:13px;
}
body#checkout #wrapper .fm-checkout-page :is(.delivery-option,.payment-option) .custom-radio {margin:0!important;}
body#checkout #wrapper .fm-checkout-page #conditions-to-approve {clear:both;margin:20px 0;padding:16px;background:var(--fm-soft);border:1px solid var(--fm-border);border-radius:5px;}
body#checkout #wrapper .fm-checkout-page #conditions-to-approve ul {list-style:none;margin:0;padding:0;}
body#checkout #wrapper .fm-checkout-page #conditions-to-approve li {margin:0 0 12px;padding:0;}
body#checkout #wrapper .fm-checkout-page #conditions-to-approve li:last-child {margin-bottom:0;}
body#checkout #wrapper .fm-checkout-page #conditions-to-approve .js-terms {color:var(--fm-ink);}
body#checkout #wrapper .fm-checkout-page .additional-information {margin:8px 0 18px;padding:12px 16px;border-left:2px solid var(--fm-border);font-size:13px;line-height:1.6;}
body #header .fm-native-cart #blockcart-content .bootstrap-touchspin input {height:36px!important;min-height:36px!important;max-height:36px;padding:0!important;line-height:normal;}
