/* ════════════════════════════════════════════════════════════════
   BALLTIC — cart, cart drawer, checkout, order confirmation
   Source: Claude Design project "Balltic UI site rebuild" (11 Nov 2026):
   Balltic Cart / CartDrawer / Checkout / Confirmation screens.
   Tokens come from balltic-global.css.
   ════════════════════════════════════════════════════════════════ */

/* ── 0. Page chrome: WoodMart's title band + its own steps are replaced by .bt-shop-head ── */
.woocommerce-cart .wd-page-title,
.woocommerce-checkout .wd-page-title,
.woocommerce-cart .wd-checkout-steps,
.woocommerce-checkout .wd-checkout-steps { display: none !important; }

.woocommerce-cart .main-page-wrapper,
.woocommerce-checkout .main-page-wrapper { padding-top: 0; }

.bt-red { color: var(--red); display: inline-flex; flex-shrink: 0; }
.bt-ico { display: block; flex-shrink: 0; }

/* ── 1. Buttons ── */
.bt-btn,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 30px;
	background: var(--red); color: var(--white) !important;
	border: 0; border-radius: var(--r-sm);
	font-family: var(--font-disp); font-weight: 700; font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
	line-height: 1; text-decoration: none; cursor: pointer;
	transition: background .2s, transform .2s, box-shadow .2s;
}
.bt-btn:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-checkout #place_order:hover { background: var(--red-dk); transform: translateY(-2px); color: var(--white); }
.bt-btn-dark { background: var(--black); }
.bt-btn-dark:hover { background: var(--g800); }
.bt-btn-ghost { background: transparent; border: 2px solid #333; }
.bt-btn-ghost:hover { background: transparent; border-color: var(--white); }

.bt-linkall {
	display: inline-block; margin-top: 24px; padding-bottom: 3px;
	font-family: var(--font-disp); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--black); border-bottom: 2px solid var(--black); text-decoration: none;
}
.bt-linkall:hover { color: var(--red); border-color: var(--red); }

.bt-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--red);
}
.bt-sec-title {
	font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; line-height: .95;
	font-size: clamp(28px, 3.6vw, 56px); margin: 10px 0 28px;
}

/* ── 2. Shop header: breadcrumb, H1, steps ── */
.bt-shop-head { padding-top: 4px; }
.bt-crumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0;
	font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g400);
}
.bt-crumb a { color: var(--g600); text-decoration: none; }
.bt-crumb a:hover { color: var(--red); }
.bt-crumb [aria-current] { color: var(--black); }
.bt-crumb--dark a { color: var(--g400); }
.bt-crumb--dark [aria-current] { color: var(--white); }
.bt-shop-head-row {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px;
	padding: 4px 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--g200);
}
.bt-shop-title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.bt-shop-title h1 {
	font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; line-height: .95;
	font-size: clamp(44px, 6vw, 88px); margin: 0; color: var(--black);
}
.bt-shop-count { font-family: var(--font-disp); font-weight: 700; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--g600); }
.bt-steps {
	list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0 0 8px;
	font-family: var(--font-disp); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
}
.bt-step { display: flex; align-items: center; gap: 10px; color: var(--g400); margin: 0; }
.bt-step a { color: inherit; text-decoration: none; }
.bt-step-n {
	width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--g200); background: var(--white); color: var(--g400);
	display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: 0;
}
.bt-step.is-on, .bt-step.is-done { color: var(--black); }
.bt-step.is-on .bt-step-n { background: var(--black); border-color: var(--black); color: var(--white); }
.bt-step.is-done .bt-step-n { border-color: var(--black); color: var(--black); }

/* ── 3. Notices on these pages ── */
.woocommerce-cart .woocommerce-notices-wrapper:not(:empty),
.woocommerce-checkout .woocommerce-notices-wrapper:not(:empty) { margin-top: 24px; }
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error {
	border-radius: var(--r-lg); font-family: var(--font-body); font-size: 15px;
}
.woocommerce-checkout .woocommerce-error,
.woocommerce-cart .woocommerce-error { background: var(--red-lt); color: var(--red-dk); }

/* checkout error banner: one line, red tint, × icon (design) */
.woocommerce-checkout .woocommerce-NoticeGroup-checkout { margin-top: 28px; }
.woocommerce-checkout .woocommerce-error.bt-co-alert {
	display: flex; flex-direction: column; gap: 4px; margin: 0 0 8px; padding: 16px 20px 16px 50px !important; position: relative;
	background: var(--red-lt) !important; color: var(--red-dk) !important; border: 0 !important; border-radius: var(--r-lg);
	font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1.45; list-style: none;
}
.woocommerce-checkout .woocommerce-error.bt-co-alert::before {
	content: "" !important; position: absolute; left: 20px; top: 18px; width: 18px; height: 18px; margin: 0; background: currentColor; font-size: 0;
	-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.5' 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.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat;
}
.woocommerce-checkout .woocommerce-error.bt-co-alert li { margin: 0; padding: 0; }
.woocommerce-checkout .woocommerce-error.bt-co-alert li::before { content: none !important; }

/* inline field messages: 13px red, no field name */
.bt-co-details .checkout-inline-error-message { margin: 0; font-size: 13px; line-height: 1.4; color: var(--red); }

/* ── 4. Cart layout ── */
.bt-cart-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); padding: clamp(28px, 3vw, 40px) 0 var(--sec-y); }
.bt-cart-main { flex: 999 1 560px; min-width: 0; }
.bt-cart-aside { flex: 1 1 340px; align-self: flex-start; position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; min-width: 0; width: auto !important; float: none !important; }

/* free delivery strip */
.bt-free { background: var(--g50); border-radius: var(--r-lg); padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.bt-free-row { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--g800); }
.bt-free-row b { font-weight: 600; color: var(--black); }
.bt-free-bar { height: 6px; background: var(--g200); border-radius: var(--r-pill); overflow: hidden; }
.bt-free-bar span { display: block; height: 100%; background: var(--red); border-radius: var(--r-pill); }

/* items */
.bt-cart-items.shop_table { border: 0; margin: 0; display: block; }
.bt-cart-item {
	display: grid; grid-template-columns: clamp(96px, 12vw, 148px) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px);
	padding: 28px 0; border-bottom: 1px solid var(--g200);
}
.bt-ci-img { aspect-ratio: 1; background: var(--g100); border-radius: var(--r-md); overflow: hidden; }
.bt-ci-img a, .bt-ci-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bt-ci-body { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; }
.bt-ci-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.bt-ci-info { min-width: 0; }
.bt-ci-brand { font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--g600); }
.bt-ci-name {
	display: block; margin-top: 4px; color: var(--black); text-decoration: none;
	font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.08;
}
a.bt-ci-name:hover { color: var(--red); }
.bt-ci-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--g600); margin-top: 10px; }
.bt-ci-meta b { font-weight: 600; color: var(--black); }
.bt-ci-price { text-align: right; flex-shrink: 0; }
.bt-ci-total { font-family: var(--font-disp); font-weight: 900; font-size: 24px; line-height: 1; color: var(--black); }
.bt-ci-total del, .bt-ci-unit del { display: none; }
.bt-ci-unit { font-size: 13px; color: var(--g600); margin-top: 4px; }
.bt-ci-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bt-ci-remove {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; background: none !important; border: 0;
	width: auto !important; height: auto !important; text-indent: 0 !important;
	font-family: var(--font-disp); font-weight: 700; font-size: 13px !important; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--g600) !important; text-decoration: none;
}
.bt-ci-remove:hover { color: var(--red) !important; }
.bt-ci-remove::before, .bt-ci-remove::after { content: none !important; }

/* quantity stepper (WoodMart .quantity with − / + buttons) — 56px, outlined */
.bt-cart-item .quantity,
.cart-widget-side div.quantity {
	display: inline-flex !important; align-items: stretch; height: 56px; margin: 0;
	border: 1.5px solid var(--g200); border-radius: var(--r-sm); overflow: hidden; background: var(--white);
}
.bt-cart-item .quantity input,
.cart-widget-side .quantity input {
	height: 100% !important; min-height: 0; border: 0 !important; background: transparent !important; box-shadow: none !important;
	font-family: var(--font-disp); font-weight: 800; font-size: 18px; color: var(--black); border-radius: 0 !important;
}
.bt-cart-item .quantity .qty,
.cart-widget-side .quantity .qty { width: 44px !important; text-align: center; padding: 0; -moz-appearance: textfield; }
.bt-cart-item .quantity .minus, .bt-cart-item .quantity .plus,
.cart-widget-side .quantity .minus, .cart-widget-side .quantity .plus {
	width: 44px !important; min-width: 0; height: 100% !important; min-height: 0; padding: 0; margin: 0;
	border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
	cursor: pointer; font-family: var(--font-disp); font-weight: 700; font-size: 20px; line-height: 1; color: var(--black);
}
.bt-cart-item .quantity .minus:hover, .bt-cart-item .quantity .plus:hover { color: var(--red); }

/* quantity changes update the cart automatically, so the update button is hidden */
.bt-cart-actions { display: none !important; }

/* coupon — inside the order summary, between the rows and the total (design: "Turi nuolaidos kodą?") */
.bt-sum .bt-coupon { border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); margin: 14px 0 0; }
.bt-coupon summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
	font-family: var(--font-disp); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--black);
}
.bt-coupon summary::-webkit-details-marker { display: none; }
.bt-coupon summary .bt-ico { transition: transform .2s; }
.bt-coupon[open] summary .bt-ico { transform: rotate(45deg); color: var(--red); }
.bt-coupon-form { display: flex; gap: 8px; padding-bottom: 14px; margin: 0; }
.bt-sum .bt-coupon-form .input-text {
	flex: 1; min-width: 0; width: auto !important; height: 48px !important; min-height: 0; padding: 0 14px !important; margin: 0;
	border: 1.5px solid var(--g200) !important; border-radius: var(--r-sm) !important; background: var(--white) !important; box-shadow: none !important;
	font-family: var(--font-body); font-size: 15px; font-weight: 400; line-height: normal; letter-spacing: 0; color: var(--black); text-transform: uppercase;
}
.bt-sum .bt-coupon-form .input-text::placeholder { color: #757575; opacity: 1; text-transform: none; }
.bt-sum .bt-coupon-form .input-text:focus { border-color: var(--black) !important; outline: none; }
.bt-sum .bt-coupon-form .button {
	min-height: 48px; height: 48px; padding: 0 22px; flex: 0 0 auto; opacity: 1 !important;
	background: var(--black) !important; color: var(--white) !important; border: 0 !important; border-radius: var(--r-sm) !important; box-shadow: none !important;
	font-family: var(--font-disp); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
}
.bt-sum .bt-coupon-form .button:hover { background: var(--g800) !important; transform: none; }
.bt-ship td { white-space: nowrap; }
/* checkout: same coupon block inside the review table */
.bt-review .bt-co-coupon-row td { padding: 0 !important; border: 0 !important; }
.bt-review .bt-coupon { border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); margin: 10px 0 4px; }
.bt-review .bt-coupon-form .input-text { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 14px; border: 1.5px solid var(--g200) !important; border-radius: var(--r-sm); font-size: 15px; background: var(--white); }
.bt-review .bt-coupon-form .input-text:focus { border-color: var(--black) !important; outline: none; }
.bt-review .bt-coupon-form .button { height: 48px; padding: 0 18px !important; flex-shrink: 0; }
.bt-co-coupon-msg { margin: -6px 0 14px; font-size: 13px; color: var(--red); }
.bt-review .bt-co-coupon-row + tr.order-total, .bt-review .bt-co-coupon-row + tr.order-total th, .bt-review .bt-co-coupon-row + tr.order-total td { border-top: 0 !important; }
.bt-review .bt-co-coupon-row .bt-coupon { margin-bottom: 0; }
/* one hairline only: the coupon row's bottom border; the total row below has none */
.bt-sum .bt-sum-total.bt-sum-total--after-coupon { border-top: 0 !important; margin-top: 0; }

/* summary card (cart + checkout + confirmation) */
.bt-sum {
	border: 1.5px solid var(--g200); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); background: var(--white);
	width: 100% !important; float: none !important; margin: 0 !important;
}
.bt-sum-h {
	font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: -.5px; line-height: 1;
	font-size: 30px; margin: 0 0 22px; color: var(--black);
}
.bt-sum-headrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.bt-sum-headrow .bt-sum-h { margin: 0; }
.bt-sum-edit {
	font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--g600); text-decoration: underline; text-underline-offset: 3px;
}
.bt-sum-table, .bt-review { width: 100%; border: 0 !important; margin: 0 !important; border-collapse: collapse; }
.bt-sum-table tr, .bt-review tfoot tr { border: 0; }
.bt-sum-table th, .bt-sum-table td,
.bt-review tfoot th, .bt-review tfoot td {
	padding: 9px 0 !important; border: 0 !important; background: none !important;
	font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--g800); text-transform: none; letter-spacing: 0; vertical-align: top;
}
.bt-sum-table th, .bt-review tfoot th { white-space: nowrap; text-align: left; padding-right: 16px !important; }
.bt-sum-table td, .bt-review tfoot td { text-align: right; font-weight: 600; color: var(--black); width: 100%; }
.bt-sum-table td::before { display: none !important; }
.bt-row-red td, .bt-row-red td .amount, .bt-sum-row.bt-row-red span:last-child { color: var(--red) !important; }
.bt-sum-table .woocommerce-remove-coupon { font-weight: 400; font-size: 13px; color: var(--g600); margin-left: 6px; }
.cart-discount th a.bt-coupon-x::before, .cart-discount th a.bt-coupon-x::after { display: none !important; content: none !important; }
.bt-review .cart-discount th .bt-coupon-x, .bt-sum-table .cart-discount th .bt-coupon-x { display: flex !important; align-items: center; gap: 4px; width: max-content !important; height: auto !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important; background: none !important; margin: 2px 0 0; font-size: 12px; color: var(--g600) !important; text-decoration: none !important; font-weight: 400; }
.cart-discount th .bt-coupon-x:hover { color: var(--red) !important; }
.cart-discount th .bt-coupon-x span { text-decoration: none; }
.cart-discount th { line-height: 1.3; }
.bt-sum-table .cart-discount td, .bt-review .cart-discount td { vertical-align: top; white-space: nowrap; text-align: right; }

/* shipping rows */
.bt-sum #shipping_method, .bt-review #shipping_method { list-style: none; margin: 0; padding: 0; }
.bt-sum #shipping_method li, .bt-review #shipping_method li { margin: 0 0 6px; display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.bt-sum #shipping_method label, .bt-review #shipping_method label { font-weight: 600; color: var(--black); margin: 0; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13px; font-weight: 400; color: var(--g600); }

.bt-sum-total {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	padding: 20px 0 4px; margin-top: 14px; border-top: 1px solid var(--g200);
}
.bt-sum-total-l { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: 20px; color: var(--black); }
.bt-sum-total-v, .bt-sum-total-v .amount { font-family: var(--font-disp); font-weight: 900; font-size: 36px; line-height: 1; color: var(--black); }
.bt-sum-vat { display: block; font-size: 13px; color: var(--g600); margin: 0 0 22px; text-align: right; font-weight: 400; }
.wc-proceed-to-checkout { padding: 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; margin: 0 !important; font-size: 15px; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button::after {
	content: ""; width: 18px; height: 18px; 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.bt-paymarks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.bt-paymarks span {
	font-family: var(--font-disp); font-weight: 700; font-size: 11px; letter-spacing: 1px; color: var(--g600);
	border: 1px solid var(--g200); border-radius: var(--r-sm); padding: 5px 8px; background: var(--white);
}
.bt-promises { background: var(--g50); border-radius: var(--r-lg); padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.bt-promises .bt-paymarks { margin-top: 4px; }
.bt-promise { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--g800); }
.bt-promise b { font-weight: 600; color: var(--black); }

.bt-cart-cross { padding-bottom: var(--sec-y); }
.bt-cart-cross .cross-sells > h2 {
	font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; line-height: .95;
	font-size: clamp(28px, 3.6vw, 48px); margin: 0 0 24px;
}

/* empty states */
.bt-empty { padding: clamp(56px, 8vw, 120px) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 560px; }
.bt-empty h2 { font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; line-height: .95; font-size: clamp(32px, 4vw, 52px); margin: 0; }
.bt-empty p { font-size: 17px; line-height: 1.6; color: var(--g600); margin: 0; }
.bt-empty-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── 5. Cart drawer — design "CartDrawer" (markup: woocommerce/cart/mini-cart.php) ──
   .drawer: width min(420px,100vw), white, flex column · scrim rgba(10,10,10,.5)
   .drawer-head: 20px padding, hairline, H3 condensed 900 20px +1px, close 38×38 grey-100 tile
   items: 88px image | brand 11px · name 17px/800 · meta 13px · price 19px/900 · .qty 46×56 · Pašalinti 12px
   footer: Tarpinė suma 18/800 + 28/900, note 13px, red block button, underlined link                    */
.cart-widget-side {
	width: min(420px, 100vw) !important; max-width: 100vw; padding: 0 !important;
	display: flex !important; flex-direction: column; background: var(--white);
}
.wd-close-side.wd-close-side-opened { background: rgba(10, 10, 10, .5) !important; }

/* head */
.cart-widget-side .wd-heading {
	display: flex !important; align-items: center; justify-content: space-between; flex: 0 0 auto;
	margin: 0 !important; padding: 20px !important; border-bottom: 1px solid var(--g200) !important; background: var(--white);
}
.cart-widget-side .wd-heading .title {
	font-family: var(--font-disp); font-weight: 900; font-size: 20px; line-height: 1.1; letter-spacing: 1px; text-transform: uppercase; color: var(--black);
}
.cart-widget-side .wd-heading .bt-drawer-count { color: var(--g400); }
.cart-widget-side .close-side-widget { margin: 0 !important; height: auto !important; flex: 0 0 auto; }
.cart-widget-side .close-side-widget > a {
	width: 38px !important; height: 38px !important; min-height: 38px; flex: 0 0 38px; line-height: 1;
	padding: 0 !important; display: flex !important; align-items: center; justify-content: center;
	background: var(--g100); border-radius: var(--r-sm); color: var(--black) !important;
}
.cart-widget-side .close-side-widget > a:hover { background: var(--g200); }
.cart-widget-side .close-side-widget .wd-action-text { display: none !important; }
.cart-widget-side .close-side-widget .wd-action-icon { display: none !important; }
.cart-widget-side .close-side-widget .wd-action-icon::before,
.cart-widget-side .close-side-widget .wd-action-icon::after { content: none !important; }
.cart-widget-side .close-side-widget > a::before {
	content: ""; width: 18px; height: 18px; flex: 0 0 18px; 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'%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' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* body: strip + scrolling list + pinned footer */
.cart-widget-side .widget_shopping_cart { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin: 0 !important; padding: 0 !important; }
.cart-widget-side .widget_shopping_cart_content { flex: 1 1 auto; min-height: 0; display: flex !important; flex-direction: column; height: 100%; }
.cart-widget-side .bt-free--drawer {
	flex: 0 0 auto; border-radius: 0; padding: 16px 20px; gap: 10px; background: var(--g50); border-bottom: 1px solid var(--g200);
}
.cart-widget-side .bt-free--drawer .bt-free-row { font-size: 14px; line-height: 1.4; gap: 10px; }
.bt-mc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 20px; }
.bt-mc-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.cart-widget-side .bt-mc-item {
	display: grid !important; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start;
	margin: 0 !important; padding: 20px 0 !important; border-bottom: 1px solid var(--g200); position: static; background: none;
}
.cart-widget-side .bt-mc-item::before, .cart-widget-side .bt-mc-item::after { content: none !important; }
/* WoodMart greys mini-cart rows on hover; the design has no row hover */
.cart-widget-side .bt-mc-item:hover,
.cart-widget-side .bt-mc-item:focus-within { background: none !important; background-color: transparent !important; }
.bt-mc-img { position: relative; display: block; width: 88px; height: 88px; background: var(--g100); border-radius: var(--r-md); overflow: hidden; }
.bt-mc-img img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; margin: 0 !important; display: block; }
.bt-mc-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bt-mc-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.bt-mc-info { min-width: 0; }
.bt-mc-brand { font-family: var(--font-disp); font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--g600); line-height: 1.2; }
.bt-mc-name {
	display: block; margin-top: 3px; font-family: var(--font-disp); font-weight: 800; font-size: 17px; line-height: 1.1; text-transform: uppercase;
	color: var(--black) !important; text-decoration: none;
}
a.bt-mc-name:hover { color: var(--red) !important; }
.bt-mc-meta { font-family: var(--font-body); font-size: 13px; line-height: 1.3; color: var(--g600); margin-top: 6px; }
.bt-mc-price { text-align: right; flex-shrink: 0; }
.bt-mc-price, .bt-mc-price .amount { font-family: var(--font-disp); font-weight: 900; font-size: 19px; line-height: 1; color: var(--black); white-space: nowrap; }
.bt-mc-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* .qty — 46×56 buttons, 38px value, 1.5px grey-200 outline */
.bt-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--g200); border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; background: var(--white); }
.bt-qty-btn {
	width: 46px !important; height: 56px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
	border: 0 !important; border-radius: 0 !important; background: var(--white) !important; box-shadow: none !important;
	font-family: var(--font-body); font-weight: 400; font-size: 20px; line-height: 1; color: var(--g800) !important; cursor: pointer;
}
.bt-qty-btn:hover:not(:disabled) { background: var(--g100) !important; }
.bt-qty-btn:disabled { color: var(--g400) !important; cursor: default; }
.bt-qty-val { width: 38px; text-align: center; font-family: var(--font-disp); font-weight: 700; font-size: 18px; color: var(--black); }
.bt-qty.is-busy { opacity: .6; }

/* Pašalinti */
.cart-widget-side .bt-mc-remove {
	position: static !important; display: inline-flex !important; align-items: center; gap: 6px;
	width: auto !important; height: auto !important; padding: 8px 0 !important; margin: 0 !important;
	background: none !important; border: 0 !important; border-radius: 0 !important; text-indent: 0 !important;
	font-family: var(--font-disp) !important; font-weight: 700; font-size: 12px !important; line-height: 1 !important; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--g600) !important; text-decoration: none; opacity: 1 !important;
}
.cart-widget-side .bt-mc-remove::before, .cart-widget-side .bt-mc-remove::after { content: none !important; }
.cart-widget-side .bt-mc-remove:hover,
.cart-widget-side .bt-mc-remove:focus { color: var(--red) !important; background: none !important; box-shadow: none !important; }
.cart-widget-side .bt-mc-remove:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

/* footer */
.bt-mc-foot { flex: 0 0 auto; display: flex; flex-direction: column; padding: 20px; background: var(--white); border-top: 1px solid var(--g200); }
.bt-mc-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bt-mc-sub-l { font-family: var(--font-disp); font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--black); }
.bt-mc-sub-v, .bt-mc-sub-v .amount { font-family: var(--font-disp); font-weight: 900; font-size: 28px; line-height: 1; color: var(--black); }
.bt-mc-note { font-size: 13px; line-height: 1.4; color: var(--g600); margin: 4px 0 16px !important; }
.bt-mc-checkout {
	display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 17px 30px !important; margin: 0 !important;
	background: var(--red) !important; color: var(--white) !important; border: 0; border-radius: var(--r-sm);
	font-family: var(--font-disp); font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
	transition: transform .12s ease, background .15s;
}
.bt-mc-checkout:hover { background: var(--red-dk) !important; transform: translateY(-2px); }
.bt-mc-checkout .bt-ico { width: 16px; height: 16px; }
.bt-mc-checkout--inline { width: auto; display: inline-flex !important; }
.bt-mc-viewcart {
	align-self: center; margin-top: 14px; font-family: var(--font-disp); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--black) !important; text-decoration: underline !important; text-underline-offset: 4px;
}
.bt-mc-viewcart:hover { color: var(--red) !important; }

/* empty */
.bt-mc-empty { padding: 56px 0 !important; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; text-align: left !important; }
.bt-mc-empty-ico { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--g100); display: flex; align-items: center; justify-content: center; color: var(--g600); }
.bt-mc-empty h4 { font-family: var(--font-disp); font-weight: 900; font-size: 32px; line-height: .95; letter-spacing: -.5px; text-transform: uppercase; margin: 0; color: var(--black); }
.bt-mc-empty p { font-size: 15px; line-height: 1.6; color: var(--g600); margin: 0; }
.bt-mc-empty::before { content: none !important; }

/* ── 6. Checkout ── */
.bt-co-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 72px); padding-bottom: var(--sec-y); }
form.woocommerce-checkout.bt-co-grid > .bt-co-main { order: 0; flex: 999 1 560px; width: auto; min-width: 0; max-width: none; }
form.woocommerce-checkout.bt-co-grid > .bt-co-aside { order: 0; flex: 1 1 340px; width: auto; max-width: none; }
.bt-co-aside { align-self: flex-start; position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding-top: 32px; }

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle { margin-top: 24px; }
.woocommerce-checkout .checkout_coupon,
.woocommerce-checkout .woocommerce-form-login { border: 1.5px solid var(--g200) !important; border-radius: var(--r-lg); padding: 20px !important; }

.bt-co-details { display: block; }
.bt-co-details .woocommerce-billing-fields > h3,
.bt-co-details .woocommerce-additional-fields > h3 { display: none; }
.bt-co-details .woocommerce-billing-fields__field-wrapper,
.bt-co-details .shipping_address .woocommerce-shipping-fields__field-wrapper {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--g200);
}
.bt-co-details .form-row.bt-co-sec-head {
	grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	padding-top: 32px !important; margin-bottom: 8px !important;
}
.bt-co-details .form-row.bt-co-sec-head--gap { margin-top: 16px !important; border-top: 1px solid var(--g200); }
.bt-co-h {
	display: flex; align-items: center; gap: 14px; margin: 0;
	font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: -.5px; line-height: 1; font-size: 28px; color: var(--black);
}
.bt-co-n {
	width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--black); color: var(--white);
	display: inline-flex; align-items: center; justify-content: center; font-size: 18px; letter-spacing: 0; flex-shrink: 0;
}
.bt-co-login { font-size: 14px; color: var(--g600); }
.bt-co-login a { color: var(--black); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.bt-co-details .form-row { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bt-co-details .form-row-wide { grid-column: 1 / -1; }
/* pairs by field (Woo's address script rewrites the width classes) */
.bt-co-details :is(#billing_email_field, #billing_phone_field, #billing_first_name_field, #billing_last_name_field,
	#billing_address_1_field, #billing_address_2_field, #billing_city_field, #billing_postcode_field,
	#shipping_first_name_field, #shipping_last_name_field, #shipping_address_1_field, #shipping_address_2_field,
	#shipping_city_field, #shipping_postcode_field) { grid-column: auto !important; }
.bt-co-details :is(#billing_country_field, #shipping_country_field, #billing_state_field, #shipping_state_field) { grid-column: 1 / -1 !important; }
.bt-co-details .form-row label {
	font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g600); margin: 0; line-height: 1.2;
}
.bt-co-details .form-row label .required { display: none; } /* design shows no asterisks; inputs keep aria-required */
.bt-co-details .form-row label .optional { display: none; }
.bt-co-details .form-row input.input-text,
.bt-co-details .form-row select,
.bt-co-details .form-row .select2-container .select2-selection--single {
	height: 52px !important; padding: 0 16px; border: 1.5px solid var(--g200) !important; border-radius: var(--r-sm) !important;
	font-family: var(--font-body); font-size: 16px; color: var(--black); background: var(--white); width: 100%; box-shadow: none;
}
.bt-co-details .select2-container .select2-selection--single .select2-selection__rendered { line-height: 49px; padding: 0; }
.bt-co-details .select2-container .select2-selection__arrow { height: 50px !important; right: 10px; }
.bt-co-details .form-row input.input-text:focus { border-color: var(--black) !important; outline: none; }
/* placeholders: the browser's default grey, as in the design (WoodMart makes them as dark as the text) */
.bt-co-details .form-row input.input-text::placeholder { color: #757575; opacity: 1; }
.bt-co-details .form-row.woocommerce-invalid input.input-text,
.bt-co-details .form-row.woocommerce-invalid .select2-selection { border-color: var(--red) !important; }
.bt-co-details .form-row.woocommerce-invalid label { color: var(--red); }

.bt-co-details .woocommerce-shipping-fields { padding-top: 20px; }
.bt-co-details #ship-to-different-address { margin: 0; font-size: 14px; }
.bt-co-details #ship-to-different-address label {
	display: flex; align-items: center; gap: 12px; cursor: pointer;
	font-family: var(--font-body); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--g800);
}
.bt-co-details .shipping_address { padding-top: 20px; }

/* section 1: newsletter checkbox (22px box, black when ticked) */
.bt-co-details .form-row.bt-co-news { grid-column: 1 / -1 !important; margin-top: 2px !important; }
.bt-co-details .bt-co-news label.checkbox {
	display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer; margin: 0;
	font-family: var(--font-body) !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important;
	letter-spacing: 0 !important; text-transform: none !important; color: var(--g800) !important;
}
.bt-co-details .bt-co-news .optional { display: none; }
.bt-co-details .bt-co-news input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 0 !important; padding: 0;
	border: 1.5px solid var(--g400); border-radius: var(--r-sm); background: var(--white) center/14px no-repeat; cursor: pointer;
}
.bt-co-details .bt-co-news input[type="checkbox"]:checked {
	border-color: var(--black); background-color: var(--black);
	background-image: 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.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.bt-co-details .bt-co-news input[type="checkbox"]:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

/* section 2 note under the heading */
.bt-co-addr-note { flex: 0 0 calc(100% - 50px); max-width: calc(100% - 50px); margin: -2px 0 0 50px !important; font-size: 14px; line-height: 1.5; color: var(--g600); }

/* ── section 3: delivery method (design "Pristatymo būdas") ── */
.bt-co-ship { padding: 32px 0; border-bottom: 1px solid var(--g200); }
.bt-co-ship .bt-co-h { margin-bottom: 24px; }
.bt-co-ship-note { font-size: 15px; color: var(--g600); margin: 0; }
.bt-ship-methods { display: flex; flex-direction: column; gap: 12px; }
.bt-ship-opt {
	display: grid !important; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 16px; align-items: center;
	width: 100%; margin: 0 !important; padding: 18px 20px; cursor: pointer; position: relative;
	border: 1.5px solid var(--g200); border-radius: var(--r-lg); background: var(--white); color: var(--black);
	font-family: var(--font-body); text-transform: none; letter-spacing: 0;
}
.bt-ship-opt.is-on { border-color: var(--black); }
.bt-ship-opt input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.bt-ship-dot {
	width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--g200); background: var(--white);
	box-shadow: inset 0 0 0 4px var(--white); box-sizing: border-box;
}
.bt-ship-opt.is-on .bt-ship-dot { border-color: var(--black); background: var(--black); }
.bt-ship-opt input:focus-visible ~ .bt-ship-dot { outline: 2px solid var(--black); outline-offset: 2px; }
.bt-ship-txt { min-width: 0; }
.bt-ship-t { display: block; font-family: var(--font-disp); font-weight: 800; font-size: 19px; line-height: 1.1; text-transform: uppercase; color: var(--black); }
.bt-ship-s { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--g600); }
.bt-ship-p, .bt-ship-p .amount { font-family: var(--font-disp); font-weight: 900; font-size: 20px; color: var(--black); white-space: nowrap; }
.bt-ship-p.is-free { color: var(--red); }

.bt-lockers { margin-top: 16px; border: 1.5px solid var(--g200); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.bt-lockers.is-error { border-color: var(--red); }
.bt-lockers-sel { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--g200); background: var(--white); font-size: 14px; line-height: 1.4; color: var(--g600); }
.bt-lockers-sel[hidden] { display: none; }
.bt-lockers-sel-ico { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; }
.bt-lockers-sel-txt { min-width: 0; }
.bt-lockers-sel-k { display: block; font-family: var(--font-disp); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g600); margin-bottom: 2px; }
.bt-lockers-sel b { color: var(--black); font-weight: 600; }
.bt-lockers-search { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--g200); background: var(--g50); color: var(--g600); }
.bt-lockers-search .bt-lockers-q {
	flex: 1; min-width: 0; height: 52px !important; padding: 0 !important; margin: 0; border: 0 !important; background: transparent !important; box-shadow: none !important;
	font-family: var(--font-body); font-size: 15px; color: var(--black); outline: none;
}
.bt-lockers-search .bt-lockers-q::placeholder { color: #757575; opacity: 1; }
.bt-lockers-list { max-height: 300px; overflow: auto; }
.bt-locker {
	display: grid !important; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 14px 20px !important; align-items: center;
	width: 100%; margin: 0 !important; padding: 14px 18px !important; min-height: 0 !important; text-align: left;
	border: 0 !important; border-bottom: 1px solid var(--g100) !important; border-radius: 0 !important;
	background: var(--white) !important; box-shadow: none !important; cursor: pointer;
	font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--black) !important; line-height: 1.3;
}
.bt-locker:hover { background: var(--g50) !important; }
.bt-lockers .bt-locker, .bt-lockers .bt-locker span { text-align: left !important; justify-content: initial; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--font-body) !important; }
.bt-lockers .bt-locker .bt-locker-h { text-align: right !important; font-family: var(--font-disp) !important; text-transform: uppercase !important; letter-spacing: 1px !important; }
.bt-locker.is-on { background: var(--g50) !important; }
.bt-locker-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--g400); background: var(--white); box-shadow: inset 0 0 0 3px var(--white); box-sizing: border-box; }
.bt-locker.is-on .bt-locker-dot { border-color: var(--black); background: var(--black); box-shadow: inset 0 0 0 3px var(--g50); }
.bt-locker-txt { min-width: 0; }
.bt-locker-n { display: block; font-weight: 600; font-size: 15px; }
.bt-locker-a { display: block; margin-top: 2px; font-size: 13px; color: var(--g600); }
.bt-locker-h { font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--g600); white-space: nowrap; }
.bt-lockers-msg { margin: 0; padding: 18px; font-size: 14px; color: var(--g600); }
.bt-lockers-err { margin: 8px 0 0; font-size: 13px; color: var(--red); }
.bt-dpd-hooks { display: none !important; }

/* payment (section 4) */
.bt-co-pay { padding: 32px 0 0; }
.bt-co-pay .bt-co-h { margin-bottom: 24px; }
.woocommerce-checkout #payment { background: none !important; border-radius: 0; padding: 0 !important; }
.woocommerce-checkout #payment .wc_payment_methods { list-style: none; margin: 0 !important; padding: 0 !important; border: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.woocommerce-checkout #payment .wc_payment_method {
	border: 0 !important; border-radius: 0; padding: 0 !important; margin: 0 !important; background: none;
}
/* single payment method (Neopay): no method radio/label, no country switch, no repeated prompt */
.woocommerce-checkout #payment .wc_payment_method > input[type="radio"],
.woocommerce-checkout #payment .wc_payment_method > label { display: none !important; }
.woocommerce-checkout #payment .neopay-payment-country-select,
.woocommerce-checkout #payment .neopay-payment-country-select + .select2,
.woocommerce-checkout #payment .payment_box > .neopay-extra-info { display: none !important; }
/* Neopay's legal line under the tiles stays (required) */
.woocommerce-checkout #payment .country_bank_list .neopay-extra-info { display: block !important; margin: 0 !important; font-size: 13px; line-height: 1.5; color: var(--g600); }
.woocommerce-checkout #payment .country_bank_list .neopay-extra-info p { margin: 0; }
.woocommerce-checkout #payment .country_bank_list .neopay-extra-info a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-checkout #payment .wc_payment_method > label {
	font-family: var(--font-disp); font-weight: 800; font-size: 19px; text-transform: uppercase; line-height: 1.1; color: var(--black); margin: 0;
}
.woocommerce-checkout #payment .wc_payment_method > label img { max-height: 22px; margin-left: 10px; vertical-align: middle; }
.woocommerce-checkout #payment .payment_box {
	background: none !important; padding: 0 !important; margin: 0 !important; font-size: 13px; color: var(--g600); line-height: 1.5;
}
.woocommerce-checkout #payment .payment_box::before { display: none !important; }

/* Neopay: country select + bank tiles */
.woocommerce-checkout #payment .neopay-payment-country-select {
	height: 48px; padding: 0 14px; border: 1.5px solid var(--g200); border-radius: var(--r-sm); font-size: 15px; margin-bottom: 14px; max-width: 280px;
}
.woocommerce-checkout #payment .banks_grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 0 0 16px; }
.woocommerce-checkout #payment .bank_item { margin: 0 !important; padding: 0 !important; width: auto !important; border: 0 !important; background: none !important; }
.woocommerce-checkout #payment .wc_payment_methods,
.woocommerce-checkout #payment .wc_payment_method,
.woocommerce-checkout #payment .payment_box { box-shadow: none !important; outline: 0; }
.woocommerce-checkout #payment .bank_item label { display: block; width: 100%; margin: 0; padding: 0 !important; cursor: pointer; position: relative; }
.woocommerce-checkout #payment .bank_item input.radio {
	position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.woocommerce-checkout #payment .bank_item .neopay-bank-img {
	width: 100% !important; box-sizing: border-box; height: 68px; display: flex; align-items: center; justify-content: center; padding: 10px 14px;
	border: 1.5px solid var(--g200); border-radius: var(--r-sm); background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.woocommerce-checkout #payment .bank_item .neopay-bank-img img {
	display: block; margin: 0 !important; /* Neopay adds a 10px top margin that pushes logos off-centre */
	width: auto !important; height: auto !important; max-width: 100px !important; max-height: 26px !important; object-fit: contain;
}
.woocommerce-checkout #payment .bank_item label:hover .neopay-bank-img { border-color: var(--g400); }
.woocommerce-checkout #payment .bank_item input.radio:checked + .neopay-bank-img { border-color: var(--black); }
.woocommerce-checkout #payment .bank_item input.radio:focus-visible + .neopay-bank-img { outline: 2px solid var(--black); outline-offset: 2px; }

/* terms + place order */
.woocommerce-checkout #payment .place-order { padding: 32px 0 0 !important; margin: 0 !important; } /* 32px above the agreement line */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 13px; line-height: 1.5; color: var(--g600); }
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text { font-size: 14px; color: var(--g800); }
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text a,
.woocommerce-checkout .woocommerce-privacy-policy-text a { color: var(--black); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-checkout #place_order { width: 100%; min-height: 60px; margin-top: 24px; font-size: 16px; float: none; }
.woocommerce-checkout .bt-secure {
	display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--g600);
}
.woocommerce-checkout .bt-secure .bt-ico { flex: 0 0 15px; }

/* agreement checkbox (design: 22px box, black when ticked, red when missing) */
.woocommerce-checkout .bt-terms { margin: 0; padding: 32px 0 0 !important; border-top: 1px solid var(--g200) !important; } /* line between section 4 and the agreement, 32px each side */
.woocommerce-checkout .bt-terms-row { margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; }
.woocommerce-checkout .bt-terms-label {
	display: flex !important; align-items: flex-start; gap: 12px; margin: 0; cursor: pointer;
	font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--g800);
}
.woocommerce-checkout .bt-terms-label a { color: var(--black); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-checkout .bt-terms-label input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 0 !important; padding: 0;
	border: 1.5px solid var(--g400); border-radius: var(--r-sm); background: var(--white) center/14px no-repeat; cursor: pointer;
}
.woocommerce-checkout .bt-terms-label input[type="checkbox"]:checked {
	border-color: var(--black); background-color: var(--black);
	background-image: 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.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.woocommerce-checkout .bt-terms-label input[type="checkbox"]:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.woocommerce-checkout .bt-terms-row.woocommerce-invalid input[type="checkbox"] { border-color: var(--red); }
.woocommerce-checkout .bt-terms-err { display: block; margin: 8px 0 0 34px; font-size: 13px; color: var(--red); }
.woocommerce-checkout .bt-terms-err[hidden] { display: none; }
.woocommerce-checkout .bt-terms-row .checkout-inline-error-message { display: none; }

/* order review (aside) — WoodMart turns these rows into flex lines, so every hairline is drawn once on the row */
.bt-review, .bt-review tbody, .bt-review tfoot { display: block; width: 100%; border: 0 !important; }
.bt-review tr { display: flex !important; justify-content: space-between; align-items: baseline; gap: 16px; border: 0 !important; margin: 0; }
.bt-review th, .bt-review td,
.bt-review tfoot th, .bt-review tfoot td { border: 0 !important; padding: 0 !important; background: none !important; line-height: 1.4; } /* rows carry the 8px spacing (design) */
.bt-review .bt-review-items tr { padding: 0 0 18px; }
.bt-review .bt-review-items tr td { flex: 1 1 auto; text-align: left !important; }
.bt-review .bt-review-items tr:last-child { padding-bottom: 20px; border-bottom: 1px solid var(--g200) !important; }
.bt-review tfoot tr { padding: 8px 0; }
.bt-review tfoot tr:first-child { padding-top: 20px; }
.bt-review tfoot th { flex: 0 0 auto; white-space: nowrap; text-align: left; }
.bt-review tfoot td { flex: 1 1 auto; text-align: right; }
.bt-review tfoot .order-total { margin-top: 10px; padding: 18px 0 0; border-top: 1px solid var(--g200) !important; }
.bt-review tfoot .order-total th { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: 20px; color: var(--black); }
.bt-review tfoot .order-total td strong,
.bt-review tfoot .order-total td strong .amount { font-family: var(--font-disp); font-weight: 900; font-size: 36px; line-height: 1; color: var(--black); }
.bt-review tfoot .order-total .bt-sum-vat { margin: 4px 0 0; }

.bt-rv-list { display: flex; flex-direction: column; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--g200); }
.bt-rv-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.bt-rv-img { position: relative; width: 64px; height: 64px; background: var(--g100); border-radius: var(--r-md); }
.bt-rv-img img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: var(--r-md); display: block; margin: 0 !important; }
.bt-rv-qty {
	position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box;
	border-radius: var(--r-pill); background: var(--black); color: var(--white);
	font-family: var(--font-disp); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.bt-rv-info { min-width: 0; text-align: left; }
.bt-rv-name { font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; font-size: 15px; line-height: 1.15; color: var(--black); }
.bt-rv-meta { font-size: 13px; color: var(--g600); margin-top: 3px; }
.bt-rv-total, .bt-rv-total .amount, .bt-rv-total bdi { font-family: var(--font-disp); font-weight: 800; font-size: 17px; color: var(--black) !important; white-space: nowrap; }

/* ── 7. Order received ── */
.woocommerce-order-received .bt-shop-head { display: none; }
.bt-ty-hero {
	position: relative; overflow: hidden; background: var(--black); color: var(--white);
	margin: 0 calc(50% - 50vw); padding: 0 calc(50vw - 50%);
}
.woocommerce .woocommerce-order.bt-ty { max-width: none !important; width: 100%; }
.bt-ty-slash { position: absolute; top: -25%; right: 12%; width: 20px; height: 150%; background: var(--red); transform: rotate(-13deg); opacity: .9; pointer-events: none; }
.bt-ty-slash::after { content: ""; position: absolute; top: 0; left: 46px; width: 20px; height: 100%; background: var(--red-dk); }
.bt-ty-in { position: relative; padding: 0 0 clamp(48px, 6vw, 88px); max-width: 860px; }
.bt-ty-badge { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 12px 0 24px; }
.bt-ty-badge--fail { background: var(--g800); }
.bt-ty-title {
	font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: -2px; line-height: .92;
	font-size: clamp(44px, 7vw, 104px); margin: 0; color: var(--white);
}
.bt-ty-title em { display: block; font-style: normal; color: var(--red); }
.bt-ty-sub { font-size: 17px; line-height: 1.6; color: var(--g400); margin: 22px 0 0; max-width: 620px; }
.bt-ty-sub b { color: var(--white); font-weight: 600; }
.bt-ty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.bt-ty-body { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 72px); padding: clamp(40px, 5vw, 72px) 0 var(--sec-y); }
.bt-ty-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }
.bt-ty-aside { flex: 1 1 340px; align-self: flex-start; position: sticky; top: 92px; min-width: 0; }
.bt-ty-next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.bt-ty-next li { border: 1.5px solid var(--g200); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.bt-ty-next li.is-on { border-color: var(--black); }
.bt-ty-next .n { font-family: var(--font-disp); font-weight: 900; font-size: 40px; line-height: 1; color: var(--g400); }
.bt-ty-next li.is-on .n { color: var(--red); }
.bt-ty-next .t { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: 20px; line-height: 1.05; color: var(--black); }
.bt-ty-next .d { font-size: 14px; line-height: 1.55; color: var(--g600); }
.bt-ty-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.bt-ty-fact .v b { font-weight: 600; }
.bt-ty-fact { background: var(--g50); border-radius: var(--r-lg); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.bt-ty-fact .bt-red { margin-top: 2px; }
.bt-ty-fact .l { font-family: var(--font-disp); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g600); }
.bt-ty-fact .v { font-size: 15px; line-height: 1.5; color: var(--black); font-weight: 500; margin-top: 4px; }
.bt-ty-btns { display: flex; flex-wrap: wrap; gap: 12px; }
/* Narrow screens: one column, steps as compact rows (number left), so no orphan card */
@media (max-width: 700px) {
	.bt-ty-next, .bt-ty-facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.bt-ty-next li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px; }
	.bt-ty-next .n { grid-row: span 2; font-size: 32px; }
	.bt-ty-next .t { font-size: 18px; }
	.bt-ty-fact { padding: 18px; }
	.bt-ty-btns .bt-btn { flex: 1 1 100%; justify-content: center; }
}
.bt-sum-rows { padding-top: 12px; }
.bt-sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 15px; color: var(--g800); }
.bt-sum-row span:last-child { font-weight: 600; color: var(--black); }

/* ── 8. Small screens ── */
@media (max-width: 1024px) {
	.bt-cart-aside, .bt-co-aside, .bt-ty-aside { position: static; }
}
@media (max-width: 600px) {
	.bt-co-details .woocommerce-billing-fields__field-wrapper,
	.bt-co-details .shipping_address .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.bt-ci-top { flex-direction: column; gap: 10px; }
	.bt-ci-price { text-align: left; }
	.bt-co-h { font-size: 24px; }
	.bt-steps { gap: 8px 16px; font-size: 12px; }
	.bt-shop-head-row { align-items: flex-start; }
}

/* ── Focused checkout (body.bt-co-focus): no site header/menus/breadcrumbs/footer ── */
.bt-co-focus .whb-header, .bt-co-focus .wd-prefooter, .bt-co-focus .wd-footer, .bt-co-focus .wd-toolbar,
.bt-co-focus .scrollToTop, .bt-co-focus .bt-shop-head .bt-crumb { display: none !important; }
.bt-co-focus .bt-shop-head { padding-top: clamp(28px, 4vw, 52px); }
.bt-fhead { background: #fff; color: var(--black); border-bottom: 1px solid var(--g200); }
.bt-fhead-in { max-width: 1440px; margin: 0 auto; padding: 14px clamp(16px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.bt-fhead-logo img { display: block; height: 28px; width: auto; }
.bt-fhead-back { justify-self: start; color: var(--black) !important; text-decoration: none; font-family: var(--font-disp); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; opacity: .85; }
.bt-fhead-back:hover { opacity: 1; }
.bt-fhead-safe { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--g600); }
.bt-ffoot { border-top: 1px solid var(--g200); }
.bt-ffoot-in { max-width: 1440px; margin: 0 auto; padding: 18px clamp(16px, 3vw, 40px) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--g600); }
.bt-ffoot a { color: var(--g600); text-decoration: underline; text-underline-offset: 3px; }
.bt-ffoot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 560px) {
	.bt-fhead-in { padding: 12px 16px; }
	.bt-fhead-logo img { height: 22px; }
	.bt-fhead-safe { font-size: 0; gap: 0; }
	.bt-fhead-back { font-size: 12px; }
}
