/* Birdie checkout (woocommerce/birdie-checkout/*.php, inc/birdie-checkout-page.php). Scoped to .bco. */
.birdie-checkout-page .wd-content-layout{padding-top:0}
body.birdie-checkout-page,.birdie-checkout-page .wd-page-wrapper,.birdie-checkout-page .website-wrapper,.birdie-checkout-page .wd-page-content,.birdie-checkout-page .main-page-wrapper,.birdie-checkout-page .wd-content-layout,.birdie-checkout-page .wd-content-area,.birdie-checkout-page .entry-content{background:#fff!important;background-image:none!important}

.bco{
	--ink:#1a1a1a;--muted:#4f564f;--line:#e3e8e3;--field:#f4f7f4;--hover:#b9c7b9;
	--g900:#0f4a32;--g700:#0f7a43;--g600:#0f6e3c;--brand:#179252;--err:#b42318;--ease:cubic-bezier(.16,1,.3,1);
	font-family:Roboto,"Roboto Fallback",Arial,sans-serif;color:var(--ink);font-size:15px;line-height:1.45
}
.bco *,.bco *::before,.bco *::after{box-sizing:border-box}
.bco a{color:inherit;text-decoration:none}
.bco button{font:inherit;text-transform:none;letter-spacing:0;min-height:0;margin:0;cursor:pointer}
.bco :focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:6px}
.bco svg{display:block;flex:none}
.bco h2{font-family:inherit;color:var(--ink);text-transform:none;letter-spacing:-.01em}
.bco .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* steps + title */
.bco-steps{display:flex;align-items:center;gap:10px;margin:28px 0 18px;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.bco-steps li{display:inline-flex;align-items:center;gap:8px;margin:0}
.bco-steps li + li::before{content:"";width:28px;height:1.5px;margin-right:2px;background:var(--line)}
.bco-steps a{display:inline-flex;align-items:center;gap:8px}
.bco-steps a:hover{text-decoration:underline;text-underline-offset:3px}
.bco-steps .n{display:grid;place-items:center;width:24px;height:24px;border:1.5px solid var(--line);border-radius:50%;font-size:12.5px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.bco-steps .n svg{width:13px;height:13px;stroke-width:2.6}
.bco-steps .done{color:var(--g700)}
.bco-steps .done .n{border-color:#e8f5ec;background:#e8f5ec;color:var(--g700)}
.bco-steps .on{color:var(--ink);font-weight:600}
.bco-steps .on .n{border-color:var(--g900);background:var(--g900);color:#fff}
.bco .bco-title{margin:0 0 22px;font-family:inherit;font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.1;letter-spacing:-.02em;color:var(--ink);text-transform:none}

/* layout: the form is "display:contents" so its two columns sit in our grid next to the notices strip */
.bco-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;column-gap:40px;align-items:start;padding-bottom:80px}
.bco-grid > .bco-pre,.bco-form > *{grid-column:1}
/* WoodMart styles form.checkout itself (flex/grid); the form must not be a box here */
.bco form.bco-form.checkout{display:contents!important}
/* WoodMart reorders #customer_details; keep source order (side gets its own order on phones) */
.bco #customer_details.bco-main{order:0}
.bco form.bco-form > .bco-side{order:0}
.bco-grid > *,.bco-form > *{min-width:0;max-width:100%}
.bco-form > .bco-side{grid-column:2;grid-row:1 / span 4;align-self:start;position:sticky;top:calc(20px + var(--wd-admin-bar-h, 0px))}
.bco-pre > *{margin:0 0 10px!important}
.bco-must{padding:16px;border-radius:14px;background:var(--field)}

/* notices (WooCommerce's, plus the checkout errors it prepends to the form) */
.bco .woocommerce-message,.bco .woocommerce-info,.bco .woocommerce-error{display:block;position:relative;margin:0 0 10px;padding:12px 16px;border:0;border-radius:12px;background:#eef7f1;color:var(--g900);font-size:15px;line-height:1.45;list-style:none}
.bco .woocommerce-info::before{display:none}
/* errors and confirmations carry an icon (WoodMart's own icon font is replaced) */
.bco .woocommerce-error,.bco .woocommerce-message{padding-left:46px!important}
.bco .woocommerce-error::before,.bco .woocommerce-message::before{content:""!important;display:block!important;position:absolute;left:16px;top:13px;width:20px;height:20px;margin:0;font-size:0;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.8 2.8L16 9.8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.8 2.8L16 9.8'/%3E%3C/svg%3E") center/contain no-repeat}
.bco .woocommerce-error::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E")}
.bco .woocommerce-error{background:#fdebe1;color:#9a3412}
.bco .woocommerce-error li{list-style:none}
.bco .woocommerce-error a{color:inherit;text-decoration:none}
.bco .woocommerce-error a:hover{text-decoration:underline;text-underline-offset:2px}
.bco .woocommerce-error li{margin:0;padding:0}
.bco .woocommerce-error li + li{margin-top:4px}
.bco .woocommerce-info a,.bco .woocommerce-message a{font-weight:700;color:var(--g700);text-decoration:underline;text-underline-offset:3px}
.bco-form > .woocommerce-NoticeGroup{margin-bottom:4px}
.bco-pre .woocommerce-form-login-toggle{display:none}
.bco-pre :is(.woocommerce-form-coupon-toggle,.ywgc_have_code) .woocommerce-info{display:block!important;margin:0!important;padding:12px 16px!important;border:0!important;border-radius:12px!important;background:#eef7f1!important;color:var(--g900)!important;font-size:15px!important;font-weight:400}

/* coupon + gift card boxes above the form */
.bco-pre :is(.checkout_coupon,.ywgc_enter_code),.bco-pre form.login{margin:0 0 10px!important;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}
/* coupon and gift card: same row — input, then "Izmantot" */
.bco-pre .checkout_coupon,.bco-pre .ywgc_enter_code > div{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%!important;max-width:none!important;margin:0!important;padding:0}
.bco-pre form.checkout_coupon{padding:14px 16px;box-sizing:border-box}
.bco-pre .ywgc_enter_code{text-align:left!important}
.bco-pre .ywgc_enter_code > div{padding:0!important}
.bco-pre :is(.checkout_coupon,.ywgc_enter_code) p:not(.form-row){flex:1 0 100%;margin:0;font-size:14px;color:var(--muted)}
.bco-pre :is(.checkout_coupon,.ywgc_enter_code) .form-row{display:block!important;flex:0 0 auto;width:auto!important;margin:0!important;padding:0!important;float:none!important}
.bco-pre :is(.checkout_coupon,.ywgc_enter_code) .form-row-first{flex:1 1 0;min-width:0}
.bco-pre :is(.checkout_coupon,.ywgc_enter_code) input.input-text{width:100%!important;height:48px!important;padding:0 14px!important;border:1.5px solid var(--line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;color:var(--ink)!important;font-size:16px!important}
.bco-pre :is(.checkout_coupon,.ywgc_enter_code) input.input-text:focus{outline:none;border-color:var(--g700);box-shadow:0 0 0 3px rgba(15,122,67,.12)}
.bco-pre :is(.checkout_coupon,.ywgc_enter_code) .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:48px!important;min-height:48px!important;padding:0 20px!important;border:0!important;border-radius:12px!important;background:var(--g900)!important;box-shadow:none!important;color:#fff!important;font-size:15px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important}
.bco-pre :is(.checkout_coupon,.ywgc_enter_code) .button:hover{background:var(--g700)!important;color:#fff!important}
.bco-pre .clear{display:none}

/* section cards */
.bco-blk{margin:0 0 14px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff}
.bco-h{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.bco-h .n{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--g900);color:#fff;font-size:13.5px;font-weight:700;line-height:1}
.bco-h h2{margin:0;font-size:20px;font-weight:700;line-height:1.2}
.bco-h small{margin-left:auto;font-size:13.5px;color:var(--muted)}
.bco-h small a{font-weight:600;color:var(--g700);text-decoration:underline;text-underline-offset:2px}

/* fields */
.bco-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px}
.bco-f--full{grid-column:1 / -1}
.bco .form-row{display:flex;flex-direction:column;gap:6px;width:auto!important;margin:0!important;padding:0!important;float:none!important;clear:none!important}
.bco .form-row > label:not(.checkbox){margin:0;font-size:14px;font-weight:600;line-height:1.3;color:var(--ink);text-transform:none;letter-spacing:0}
.bco .form-row .required,.bco .form-row .optional{display:none}
.bco .woocommerce-input-wrapper{display:block;width:100%}
.bco .form-row .input-text,.bco .form-row select,.bco .form-row textarea{width:100%;height:50px;padding:0 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;box-shadow:none;color:var(--ink);font-size:16px;line-height:1.3;transition:border-color .15s,box-shadow .15s}
.bco .form-row textarea,.bco .form-row textarea.input-text{height:auto;min-height:96px;padding:12px 14px!important;line-height:1.45;resize:vertical}
.bco .form-row .input-text:focus,.bco .form-row select:focus,.bco .form-row textarea:focus{outline:none;border-color:var(--g700);box-shadow:0 0 0 3px rgba(15,122,67,.12)}
.bco .form-row .input-text::placeholder,.bco .form-row textarea::placeholder{color:#8a918a}
.bco .form-row.woocommerce-invalid .input-text,.bco .form-row.woocommerce-invalid .select2-selection{border-color:var(--err)!important}
.bco .form-row.woocommerce-validated .input-text{border-color:var(--line)}
.bco .checkout-inline-error-message{margin:2px 0 0;font-size:13px;color:var(--err)}
.bco-hint{display:block;font-size:13px;line-height:1.35;color:var(--muted)}

/* select2 (country, locker list) to match the inputs */
.bco .select2-container{width:100%!important}
.bco .select2-container .select2-selection--single{display:flex;align-items:center;height:50px;padding:0 40px 0 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;box-shadow:none}
.bco .select2-container .select2-selection--single .select2-selection__rendered{padding:0;color:var(--ink);font-size:16px;line-height:1.3}
.bco .select2-container .select2-selection--single .select2-selection__arrow{top:0;right:10px;height:100%}
.bco .select2-container--focus .select2-selection--single,.bco .select2-container--open .select2-selection--single{border-color:var(--g700);box-shadow:0 0 0 3px rgba(15,122,67,.12)}
.select2-dropdown{border-color:var(--line,#e3e8e3);border-radius:12px;overflow:hidden;font-family:Roboto,"Roboto Fallback",Arial,sans-serif}
.select2-results__option--highlighted[aria-selected],.select2-results__option--highlighted[data-selected]{background:#0f7a43!important;color:#fff!important}

/* delivery tiles */
.bco-ctry{margin-bottom:14px}
.bco-opts{display:grid;gap:8px}
.bco-opts[hidden]{display:none}
.bco-pkg{margin:6px 0 0;font-size:14px;font-weight:600}
.bco-none{margin:0;padding:14px 16px;border-radius:14px;background:var(--field);font-size:14.5px}
.bco-opt{position:relative;display:grid;grid-template-columns:auto 52px minmax(0,1fr) auto;align-items:center;gap:12px;margin:0;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:#fff;cursor:pointer;transition:border-color .15s,background-color .15s}
.bco-opt:hover{border-color:var(--hover)}
.bco-opt input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.bco-opt:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}
.bco-opt .rd{width:20px;height:20px;border:2px solid var(--hover);border-radius:50%;transition:border-color .15s,box-shadow .15s}
.bco-opt.is-on,.bco-opt:has(input:checked){border-color:var(--g700);background:#f3faf5}
.bco-opt.is-on .rd,.bco-opt:has(input:checked) .rd{border-color:var(--g700);box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 10px var(--g700)}
.bco-opt .lg{display:grid;place-items:center;width:52px;height:40px;border-radius:12px;background:var(--field);color:var(--g700)}
.bco-opt .lg img{display:block;width:auto;max-width:40px;max-height:24px;border-radius:4px}
.bco-opt .lg svg{width:24px;height:24px}
.bco-opt .tx{min-width:0}
.bco-opt b{display:block;font-size:15.5px;font-weight:600;line-height:1.3}
.bco-opt small{display:block;font-size:13px;line-height:1.35;color:var(--muted)}
.bco-opt .pr{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.bco-opt .pr .amount{color:inherit;font-weight:inherit}
.bco-opt .pr.free{color:var(--g600)}

.bco-more{margin-top:12px;padding:16px;border-radius:14px;background:var(--field)}
.bco-more[hidden]{display:none}
.bco-lab{margin:0 0 6px;font-size:14px;font-weight:600}
.bco-store{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;line-height:1.45}
.bco-store svg{width:20px;height:20px;margin-top:2px;color:var(--g700)}
.bco-store b{display:block}
.bco .makecommerce-pickuppoint-wrapper,.bco .makecommerce-pickuppoint-table-data{display:block}
.bco .mcSelectContainer{max-width:none!important;padding:0!important}

.bco-chk{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;font-size:14.5px;font-weight:400;cursor:pointer}
.bco-chk input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--g700)}
.bco-note{margin-top:10px}
.bco-note[hidden]{display:none}
.bco-note .form-row > label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.bco-account{margin-top:4px}
.bco-account .create-account{margin-top:12px}

/* payment: one gateway (MakeCommerce) shows its bank picker straight away */
.bco-payment{margin:0;padding:0;background:none;border-radius:0}
.bco-payment .payment_methods{margin:0;padding:0;border:0;list-style:none}
.bco-payment .wc_payment_method{margin:0;padding:0}
.bco-payment .wc_payment_method + .wc_payment_method{margin-top:8px}
.bco-payment .wc_payment_method > label{display:flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}
.bco-payment .wc_payment_method > label img{max-height:22px;margin:0}
.bco-payment .wc_payment_method:only-child > input.input-radio,.bco-payment .wc_payment_method:only-child > label{display:none}
.bco-payment .payment_box{margin:10px 0 0;padding:0;background:none;box-shadow:none;border-radius:0;font-size:14px;color:var(--muted)}
.bco-payment .wc_payment_method:only-child .payment_box{display:block!important;margin:0}
.bco-payment .payment_box::before{display:none}
.bco-payment .makecommerce-picker{padding:0!important;background:none!important}
.bco-payment .makecommerce-picker > .mb-3{margin:0 0 4px!important}
.bco-payment .makecommerce-picker .form-select{width:auto;min-width:180px;height:40px;padding:0 36px 0 12px;border:1.5px solid var(--line);border-radius:10px;background-color:#fff;box-shadow:none;font-size:14.5px;color:var(--ink)}
.bco-payment .makecommerce_country_methods > .d-flex{margin:14px 0 8px!important;font-size:13px!important;font-weight:600!important;color:var(--muted)!important}
.bco-payment .makecommerce_country_methods > .d-flex .border-top{border-color:var(--line)!important}
.bco-payment .makecommerce_country_methods .row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px!important;margin:0!important;--bs-gutter-x:0;--bs-gutter-y:0}
.bco-payment .payment-method-wrapper{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;flex:none!important}
.bco-payment .payment-method{position:relative;height:56px!important;padding:8px;border:1.5px solid var(--line);border-radius:12px!important;background:#fff;box-shadow:none!important;transition:border-color .15s,background-color .15s,box-shadow .15s}
.bco-payment .payment-method:hover{border-color:var(--hover)}
.bco-payment .payment-method:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}
.bco-payment .payment-method-selected,.bco-payment .payment-method:has(input:checked){border-color:var(--g700);background:#f3faf5;box-shadow:0 0 0 2px rgba(15,122,67,.15)!important}
.bco-payment .payment-method .check{display:none}
.bco-payment .payment-control{padding:0;cursor:pointer}
.bco-payment .mc-payment-logo{display:block;width:auto;max-width:86%;max-height:28px;margin:0}
.bco-payment .payment-method-selected::after,.bco-payment .payment-method:has(input:checked)::after,
.bco-opt.is-on::after,.bco-opt:has(input:checked)::after{content:"";position:absolute;top:-7px;right:-7px;width:20px;height:20px;border-radius:50%;background:var(--g700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7'/%3E%3C/svg%3E") center/12px no-repeat;box-shadow:0 0 0 2px #fff}
.bco-opt.is-on::after,.bco-opt:has(input:checked)::after{display:none}
.bco-extra:not(:empty){margin:-4px 0 14px}
.bco-extra .form-row + .form-row{margin-top:8px!important}
.bco-extra .form-row{flex-direction:column}
.bco-extra label.checkbox{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:14px;font-weight:400;line-height:1.45;cursor:pointer}
.bco-extra input[type=checkbox]{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--g700)}
.bco-paynote{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-size:13px;color:var(--muted)}
.bco-paynote svg{width:14px;height:14px}
.bco-back{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:14px;font-weight:600;color:var(--g700)!important}
.bco-back svg{width:16px;height:16px}
.bco-back:hover{text-decoration:underline;text-underline-offset:3px}

/* summary card */
.bco-side{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 14px 34px -22px rgba(15,40,25,.35)}
.bco-sum-bar{display:none}
.bco .bco-sum-h{margin:0 0 6px;font-size:20px;font-weight:700}
.bco-review{display:block;margin:0;border:0}
.bco-items{margin:0;padding:0;list-style:none}
.bco-it{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;margin:0;padding:10px 0;border-bottom:1px solid var(--line)}
.bco-it .im{position:relative}
.bco-it img{display:block;width:56px;height:56px;object-fit:contain;border-radius:12px;background:var(--field);mix-blend-mode:multiply}
.bco-it .q{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--g900);color:#fff;font-size:11.5px;font-weight:700;line-height:20px;text-align:center}
.bco-it .nm{min-width:0}
.bco-it b{display:block;font-size:14.5px;font-weight:600;line-height:1.3}
.bco-it small{display:block;margin-top:2px;font-size:12.5px;line-height:1.35;color:var(--muted)}
.bco-it .p{font-weight:700;font-size:14.5px;font-variant-numeric:tabular-nums;white-space:nowrap}
.bco-it .p .amount{color:inherit;font-weight:inherit}
.bco-it .p del{margin-right:4px;font-weight:400;color:#8a918a}
.bco-tot{display:table!important;width:100%;margin:8px 0 0;border:0;border-collapse:collapse;background:none;table-layout:auto}
.bco-tot tbody{display:table-row-group!important}
.bco-tot tr{display:table-row!important;border:0!important;background:none!important}
.bco-tot th,.bco-tot td{display:table-cell!important}
.bco-tot th{width:50%}
.bco-tot th,.bco-tot td{padding:6px 0;border:0;background:none;font-size:15px;font-weight:400;line-height:1.4;color:var(--ink);text-transform:none;letter-spacing:0;vertical-align:baseline}
.bco-tot th{text-align:left}
.bco-tot td{text-align:right;font-variant-numeric:tabular-nums}
.bco-tot .amount{color:inherit;font-weight:inherit;font-size:inherit}
.bco-tot .free{color:var(--g600);font-weight:700}
.bco-tot .cart-discount td,.bco-tot .cart-discount th{color:var(--g600)}
.bco-tot .cart-discount td{white-space:nowrap}
/* "[Noņemt]" shown as a round ×: text kept for screen readers, hidden visually */
.bco-tot .woocommerce-remove-coupon{display:inline-grid;place-items:center;width:22px;height:22px;margin-left:6px;overflow:hidden;border-radius:50%;background:var(--field);color:var(--muted)!important;font-size:0!important;line-height:0;text-decoration:none!important}
.bco-tot .woocommerce-remove-coupon::before{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat}
.bco-tot .woocommerce-remove-coupon:hover,.bco-tot .woocommerce-remove-coupon:focus-visible{background:#fdebe1;color:#9a3412!important}
.bco-tot .order-total th,.bco-tot .order-total td{padding-top:14px;border-top:1px solid var(--line)}
.bco-tot .order-total th{font-size:17px;font-weight:700}
.bco-tot .order-total strong{display:block;font-size:28px;font-weight:700;line-height:1.1;letter-spacing:-.01em}
.bco-tot .order-total .vat{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.bco-tot .order-total .vat .amount{font-size:inherit}

.bco-place{margin-top:14px}
.bco .bco-terms{flex-direction:column;gap:4px;margin:0 0 14px!important}
.bco .bco-terms .checkout-inline-error-message{margin:0 0 0 30px;font-size:13px;line-height:1.35}
.bco .bco-terms label{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:14px;font-weight:400;line-height:1.45;cursor:pointer}
.bco .bco-terms input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--g700)}
.bco .bco-terms a{font-weight:600;color:var(--g700);text-decoration:underline;text-underline-offset:2px}
.bco .bco-terms.woocommerce-invalid label{color:var(--err)}
.bco .bco-terms.woocommerce-invalid input{outline:2px solid var(--err);outline-offset:1px;border-radius:4px}
.bco #place_order.bco-pay{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:56px;padding:0 20px;border:0;border-radius:14px;background:var(--g900);box-shadow:none;color:#fff;font-size:17px;font-weight:700;line-height:1;transition:background-color .15s}
.bco #place_order.bco-pay:hover,.bco #place_order.bco-pay:focus-visible{background:var(--g700);color:#fff}
.bco #place_order.bco-pay svg{width:18px;height:18px;stroke-width:2}
.bco #place_order.bco-pay .t{font-variant-numeric:tabular-nums}
.bco-safe{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 0 0;font-size:12.5px;color:var(--muted)}
.bco-safe svg{width:14px;height:14px}

body.birdie-checkout-page .bhb,body.birdie-checkout-page .bhb-top{display:none!important}

/* phones and tablets: summary folds into a bar on top, the pay button in a bar at the bottom */
@media (max-width:1024px){
	.bco-grid{display:flex;flex-direction:column;padding-bottom:40px}
	.bco form.bco-form > .bco-side{order:-1}
	.bco-form > .bco-side{position:static;padding:0;border:0;box-shadow:none;background:none}
	.bco-sum{margin:0 0 14px;border:1px solid var(--line);border-radius:16px;background:#fff}
	.bco-sum-bar{display:flex;align-items:center;gap:10px;padding:14px 16px;list-style:none;cursor:pointer;font-weight:600}
	.bco-sum-bar::-webkit-details-marker{display:none}
	.bco-sum-bar svg{width:18px;height:18px;color:var(--g700)}
	.bco-sum-bar b{margin-left:auto;font-size:17px;font-variant-numeric:tabular-nums}
	.bco-sum-bar b + svg{width:16px;height:16px;color:var(--muted);transition:transform .2s var(--ease)}
	.bco-sum[open] .bco-sum-bar b + svg{transform:rotate(180deg)}
	.bco .bco-sum-h{display:none}
	.bco-sum .bco-review{padding:0 16px 12px}
	.bco-place{position:fixed;left:0;right:0;bottom:0;z-index:400;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 20px -14px rgba(15,40,25,.35)}
	.bco .bco-terms{margin-bottom:10px!important}
	.bco .bco-terms label,.bco-extra label.checkbox{font-size:13px}
	.bco-extra:not(:empty){margin:-4px 0 10px}
	.bco-safe{display:none}
	body.birdie-checkout-page{padding-bottom:calc(185px + env(safe-area-inset-bottom))!important}
	body.birdie-checkout-page #bch-root.bch-root{--bch-my:calc(185px + env(safe-area-inset-bottom))!important;--bch-dy:calc(185px + env(safe-area-inset-bottom))!important}
}
@media (max-width:760px){
	.bco-steps{margin:16px 0 12px;gap:6px;font-size:12.5px}
	.bco-steps li + li::before{width:12px}
	.bco-steps .n{width:22px;height:22px;font-size:11.5px}
	.bco .bco-title{margin-bottom:12px;font-size:28px}
	.bco-blk{padding:18px}
	.bco-fields{grid-template-columns:minmax(0,1fr)}
	/* tiles: no radio dot (green border + corner tick show the choice), logo in its own square */
	.bco-opt{grid-template-columns:44px minmax(0,1fr) auto;gap:12px;padding:12px 14px 12px 12px}
	.bco-opt .rd{display:none}
	.bco-opt .lg{width:44px;height:44px}
	.bco-opt .lg img{max-width:36px;max-height:22px}
	.bco-opt b{font-size:15px;line-height:1.25}
	.bco-opt small{font-size:12.5px;line-height:1.3}
	.bco-opt .pr{font-size:14.5px}
	.bco-opt.is-on::after,.bco-opt:has(input:checked)::after{display:block}
	.bco-payment .makecommerce_country_methods .row{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
	.bco *,.bco *::before,.bco *::after{transition:none!important}
}

/* MakeCommerce bank-country picker: behind a link */
.bco-payment .makecommerce-picker > .mb-3.bco-hide{display:none!important}
.bco .bco-bankc{display:inline-block;margin:0 0 2px;padding:0;border:0;background:none;color:var(--g700);font-size:13.5px;font-weight:600;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.bco .bco-bankc:hover{color:var(--g900);background:none}

/* native selects (country): own chevron with room on the right */
.bco .form-row select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:44px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f564f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 14px center/18px no-repeat!important;cursor:pointer}
.bco .form-row select::-ms-expand{display:none}
/* select2 (country, locker list): WoodMart's arrow sits on the edge; same chevron as above instead */
.bco .select2-container .select2-selection--single{border:1.5px solid var(--line)!important;padding-right:44px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f564f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 14px center/18px no-repeat!important}
.bco .select2-container .select2-selection--single .select2-selection__arrow{display:none!important}
.bco .select2-container--open .select2-selection--single,.bco .select2-container--focus .select2-selection--single{border-color:var(--g700)!important}
/* a site-wide rule forces select#billing_country to 40px with a thin border: match our fields */
.bco .form-row select#billing_country{-webkit-appearance:none!important;appearance:none!important;height:50px!important;padding:0 44px 0 14px!important;border:1.5px solid var(--line)!important;border-radius:12px!important;font-size:16px!important;color:var(--ink)!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f564f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 14px center/18px no-repeat!important}
.bco .form-row select#billing_country:focus{border-color:var(--g700)!important;box-shadow:0 0 0 3px rgba(15,122,67,.12)!important;outline:none}
.bco .form-row.woocommerce-invalid select#billing_country{border-color:var(--err)!important}

/* checkout blocked by cart errors (birdie-checkout/cart-errors.php) */
.bco-blocked{display:flex;flex-direction:column;align-items:center;max-width:560px;margin:0 auto;padding:56px 16px 90px;text-align:center}
.bco-blocked .ic{display:grid;place-items:center;width:84px;height:84px;margin-bottom:18px;border-radius:50%;background:#fdebe1;color:#9a3412}
.bco-blocked .ic svg{width:38px;height:38px}
.bco-blocked .bco-title{margin-bottom:8px}
.bco-blocked > p{max-width:42ch;margin:0 0 20px;line-height:1.55;color:var(--muted)}
.bco-blocked .woocommerce-notices-wrapper,.bco-blocked .woocommerce-error{width:100%;text-align:left}
.bco-blocked .woocommerce-error{margin-bottom:24px}
.bco .bco-blocked-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 28px;border-radius:14px;background:var(--g900);color:#fff;font-size:16px;font-weight:700;transition:background-color .15s}
.bco .bco-blocked-btn:hover,.bco .bco-blocked-btn:focus-visible{background:var(--g700);color:#fff}
.bco-blocked-btn svg{width:18px;height:18px;stroke-width:2}
@media (max-width:768px){.bco-blocked{padding:36px 8px 60px}.bco .bco-blocked-btn{width:100%}}
