/* =========================================================================
   Sabeny — Product Loop Item styles (full, verified)
   ========================================================================= */

:root {
	--sbn-teal:        #0E6B6B;
	--sbn-teal-dark:   #0A5454;
	--sbn-green:       #10B981;
	--sbn-orange:      #F59E0B;
	--sbn-red:         #EF4444;
	--sbn-ink:         #0F172A;
	--sbn-mute:        #6B7280;
	--sbn-line:        #E5E7EB;
	--sbn-soft:        #F3F4F6;
	--sbn-radius:      16px;
	--sbn-radius-sm:   10px;
	--sbn-media-h:     260px;
}

/* ----- Card --------------------------------------------------------- */
.elementor-loop-container .e-loop-item,
.elementor-loop-container > .elementor-element { height: 100%; }

.sbncard {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.sbncard:hover { box-shadow: 0 10px 30px rgba(15,23,42,.08); }

/* ----- Media box ---------------------------------------------------- */
.sbncard > .sbncard__media,
.elementor .sbncard__media {
	position: relative !important;
	width: 100% !important;
	height: var(--sbn-media-h) !important;
	min-height: var(--sbn-media-h) !important;
	max-height: var(--sbn-media-h) !important;
	flex: 0 0 var(--sbn-media-h) !important;
	padding: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
	background: #fff !important;
}
.sbncard__media .elementor-widget-image,
.sbncard__media .elementor-widget-image > .elementor-widget-container,
.sbncard__media .elementor-widget-image a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sbncard__media img,
.sbncard__media .woocommerce-product-gallery__image img,
.sbncard__media a img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

@media (max-width: 1024px) { :root { --sbn-media-h: 220px; } }
@media (max-width: 600px)  { :root { --sbn-media-h: 200px; } }

/* ----- Body --------------------------------------------------------- */
.sbncard__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
/* Push the qty + Add row to the bottom of the card body so cards with
 * 1-line titles align with cards that have 2-line titles. Targets:
 *   - The .sbn-actions shortcode output if it ends up a direct child
 *   - Any Elementor widget tagged .sbncard__actions
 *   - The LAST direct child of the body — this is the safety net for
 *     templates rebuilt without adding the .sbncard__actions class
 *     manually in Elementor's "CSS Classes" field. The actions row is
 *     always the last item, so margin-top:auto here pushes it to the
 *     bottom of the flex column regardless of how many widgets sit
 *     above it. */
.sbncard__body > .sbn-actions,
.sbncard__actions,
.sbncard__body > *:last-child { margin-top: auto !important; }

.sbn-brand,
.sbncard__brand,
.sbncard__brand a {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--sbn-teal);
	text-decoration: none;
}
.sbn-brand:hover { color: var(--sbn-teal-dark); text-decoration: underline; }

.sbncard__title a,
.sbncard__title {
	color: var(--sbn-ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3.9em;   /* 3 lines × 1.3 line-height */
	line-height: 1.3;
}

/*
 * Card row-equalisation safety net.
 *
 * Cards in the loop have variable content — some categories wrap to two
 * lines ("Luxury Chocolates & Gift Boxes"), some products are missing a
 * price, etc. Without minimum heights on each row, the action strips
 * end up at different y-positions across the grid.
 *
 * Reserve 2 lines for the brand (longest cases wrap), 1 line for the
 * price (so empty-price products still take the same space), and 1 line
 * for the rating. Combined with margin-top:auto on the last child the
 * Add buttons line up across every card.
 */
.sbn-brand,
.sbncard__brand,
.sbncard__brand a,
.sbncard .sbn-brand {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.4em;
	line-height: 1.2;
}
.sbncard__price,
.sbn-price,
.sbncard .sbn-price { min-height: 1.5em; }
.sbncard__rating,
.sbn-rating { min-height: 1.4em; }
.sbncard__title a:hover { color: var(--sbn-teal); }

.sbncard__rating .star-rating,
.sbn-rating .star-rating { font-size: 14px; color: #F59E0B; }
.sbncard__rating .woocommerce-review-link,
.sbn-rating__count { color: var(--sbn-mute); font-size: 13px; margin-left: 4px; }
.sbn-rating { display: flex; align-items: center; gap: 4px; }
.sbn-rating--empty { min-height: 18px; }

.sbncard__price,
.sbn-price {
	color: var(--sbn-ink);
	font-size: 20px;
	font-weight: 700;
}
.sbn-price del { color: var(--sbn-mute); font-weight: 500; margin-right: 6px; font-size: 16px; }
.sbn-price ins { text-decoration: none; }

/* ----- Badge pill --------------------------------------------------- */
.sbncard__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}
.sbn-pill {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	line-height: 1;
}
.sbn-pill--bestseller    { background: var(--sbn-teal); }
.sbn-pill--fresh         { background: var(--sbn-green); }
.sbn-pill--popular       { background: var(--sbn-orange); }
.sbn-pill--new           { background: var(--sbn-red); }
.sbn-pill--sale          { background: var(--sbn-ink); }
/* Special Offer — amber/cream, eye-catching but distinct from Sale */
.sbn-pill--special-offer { background: #C68413; }
/* Gluten Free — health/info green, distinct from the Fresh pill */
.sbn-pill--gluten-free   { background: #2E7D32; }
/* Discount Rules for WC integration — bg + colour come from the rule's
 * own settings (inline style), so we only own the shape here. The pill
 * is `display: inline-block` from the base `.sbn-pill` rule, so removing
 * any max-width lets the background expand to match the full text width.
 * `width: max-content` makes that explicit on browsers that need it. */
.sbn-pill--discount {
	white-space: nowrap;
	width: max-content;
	max-width: none;
	line-height: 1;
	padding: 6px 12px;
	font-size: 12px;
    font-weight: 600;
}

/* =========================================================================
 * Header & sub-nav layering
 *
 * Homepage shortcodes (hero, category grid, etc) create their own stacking
 * contexts via `position: relative`. When the header sits higher in the
 * DOM but doesn't have an explicit z-index, sibling content below it can
 * paint over the dropdowns.
 *
 * Fix: pin the Elementor header location AND its dropdown sub-menus to a
 * very high z-index so they always sit above page content regardless of
 * the stacking contexts created by shortcodes below.
 * ========================================================================= */
/* Header z-index — DON'T force position:relative here, because that
 * creates a new positioned-ancestor for descendants like the WC menu cart
 * container (which uses position:absolute and was being thrown out of
 * place, killing its hover-stay behaviour). z-index applies if the header
 * already has a position from its own theme/Elementor (sticky/fixed).
 * For non-positioned headers, z-index won't actually take effect — but
 * the lack of any position is also why dropdowns weren't getting clipped
 * in the first place. */
.elementor-location-header {
	z-index: 1000;
}
/* If the header is sticky / fixed via Elementor Pro, give the sticky
 * wrapper the same high z-index. These DO have position:fixed/sticky from
 * Pro so z-index applies cleanly. */
.elementor-sticky--effects.elementor-section,
.elementor-sticky--active {
	z-index: 1000 !important;
}
/* Sub-menu dropdowns from every common Elementor Pro nav widget. Cover
 * the variants Pro has shipped over the years (classic Nav Menu, Mega
 * Menu, the newer experimental n-menu, plain WP sub-menus, and the EE
 * mega-menu add-on if installed). */
.elementor-location-header .elementor-nav-menu--dropdown,
.elementor-location-header .elementor-nav-menu__container .sub-menu,
.elementor-location-header .e-n-menu-content,
.elementor-location-header ul.sub-menu,
.elementor-location-header .menu-item .sub-menu,
.elementor-location-header .megamenu,
.elementor-location-header .ee-megamenu__wrapper {
	z-index: 1001 !important;
}

/* Side cart hover-bridge — keep the cart panel visible whenever it OR
 * its trigger is hovered. Most cart plugins drop the panel the instant
 * the cursor leaves the trigger because the panel is a sibling node, not
 * a descendant. This rule ensures the cart panel stays open whenever
 * the user is hovering inside it directly. */
.elementor-menu-cart__toggle-wrapper:hover .elementor-menu-cart__main,
.elementor-menu-cart__main:hover,
.elementor-menu-cart__main.elementor-active,
.widget_shopping_cart:hover,
.xoo-wsc-modal:hover {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: none !important;
}

/* ----- Action row: qty + Add (magnifier is now absolute) ------------ */
.sbn-actions {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px;
	align-items: center;
	margin-top: 12px;
}

.sbn-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--sbn-line);
	border-radius: var(--sbn-radius-sm);
	overflow: hidden;
	background: #fff;
}
/*
 * Qty stepper button.
 *
 * Important: explicit colour on every interactive state. Mobile Safari and
 * Elementor's button overrides both like to colour buttons white on :active
 * / :focus — without these guards the − / + symbols become invisible the
 * instant the user taps them. !important is justified here because the
 * overrides come from rules outside this stylesheet that we can't reach.
 */
.sbn-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 40px;
	border: 0;
	background: transparent !important;
	font-size: 18px;
	font-weight: 600;
	color: var(--sbn-ink) !important;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}
.sbn-qty__btn:hover,
.sbn-qty__btn:focus,
.sbn-qty__btn:focus-visible,
.sbn-qty__btn:active {
	background: var(--sbn-soft) !important;
	color: var(--sbn-ink) !important;
	outline: 0;
	box-shadow: none;
}
.sbn-qty__btn[disabled] { opacity: .4; cursor: not-allowed; }

/* Triple-locked colour. Hello Elementor + Elementor Pro both ship
 * `button:hover` rules with global background/colour. We out-specify them
 * with a chained class selector and !important on every property they
 * might try to mutate. Tested on Safari iOS where the tap-highlight was
 * the visible "white flash" the client reported. */
body .sbn-qty button.sbn-qty__btn,
body .sbn-qty button.sbn-qty__btn:hover,
body .sbn-qty button.sbn-qty__btn:focus,
body .sbn-qty button.sbn-qty__btn:focus-visible,
body .sbn-qty button.sbn-qty__btn:active,
body .sbn-qty button.sbn-qty__btn:focus-within {
	color: #0F172A !important;
	-webkit-text-fill-color: #0F172A !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: 0 !important;
	-webkit-tap-highlight-color: transparent !important;
	text-shadow: none !important;
}
body .sbn-qty button.sbn-qty__btn:hover { background-color: #F8FAFC !important; }

/* Mobile: bigger tap targets. iOS HIG / Material both recommend 44px+ so
 * fingers can hit the buttons reliably. Also bump the input width so the
 * count digit isn't squashed. */
@media (max-width: 768px) {
	.sbn-qty__btn       { width: 44px !important; height: 44px !important; font-size: 20px !important; }
	.sbn-qty__input     { width: 44px !important; height: 44px !important; font-size: 15px; }
	.sbn-qty            { border-radius: 10px; }
}
.sbn-qty__input {
	width: 34px;
	height: 40px;
	border: 0;
	padding: 0 2px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	background: transparent;
	-moz-appearance: textfield;
}
.sbn-qty__input::-webkit-outer-spin-button,
.sbn-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sbn-add {
	height: 40px;
	border: 0;
	border-radius: var(--sbn-radius-sm);
	background: var(--sbn-teal);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background .15s ease;
	position: relative;
}
.sbn-add:hover { background: var(--sbn-teal-dark); }
.sbn-add[aria-busy="true"] .sbn-add__label { opacity: 0; }
.sbn-add__spinner {
	display: none;
	position: absolute;
	inset: 0;
	margin: auto;
	width: 16px; height: 16px;
	border: 2px solid rgba(255,255,255,.5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: sbnspin .8s linear infinite;
}
.sbn-add[aria-busy="true"] .sbn-add__spinner { display: block; }
@keyframes sbnspin { to { transform: rotate(360deg); } }
.sbn-add--added { background: var(--sbn-green); }

/* ----- Magnifier (now floats top-right of image) -------------------- */
.sbn-quick {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: 36px;
	height: 36px;
	border: 1px solid var(--sbn-line);
	border-radius: var(--sbn-radius-sm);
	background: rgba(255,255,255,.95);
	color: var(--sbn-teal);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(15,23,42,.08);
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.sbn-quick svg {
	width: 20px;
	height: 20px;
	stroke-width: 2.4;
	display: block;
}
.sbn-quick:hover { border-color: var(--sbn-teal); background: var(--sbn-teal); color: #fff; }

.sbncard__body { padding: 16px !important; }

/* ----- Modal shell -------------------------------------------------- */
.sbn-modal {
	position: fixed; inset: 0; z-index: 9999;
	display: flex; align-items: center; justify-content: center;
}
.sbn-modal[hidden] { display: none; }
.sbn-modal__backdrop {
	position: absolute; inset: 0;
	background: rgba(15,23,42,.55);
	animation: sbnfade .2s ease;
}
.sbn-modal__panel {
	position: relative;
	background: #fff;
	border-radius: var(--sbn-radius);
	width: min(880px, calc(100% - 32px));
	max-height: calc(100vh - 64px);
	overflow: auto;
	box-shadow: 0 25px 60px rgba(0,0,0,.25);
	animation: sbnpop .2s ease;
}
.sbn-modal__close {
	position: absolute; top: 12px; right: 12px;
	width: 36px; height: 36px;
	border: 0; background: transparent;
	font-size: 24px; cursor: pointer; color: var(--sbn-ink);
}
.sbn-modal__body { padding: 32px; }
@keyframes sbnfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sbnpop  { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ----- Quick-look layout -------------------------------------------- */
.sbn-quicklook { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .sbn-quicklook { grid-template-columns: 1fr; } }
.sbn-quicklook__media img { width: 100%; height: auto; border-radius: var(--sbn-radius-sm); }
.sbn-quicklook__title { margin: 8px 0 12px; font-size: 24px; color: var(--sbn-ink); }
.sbn-quicklook__price { font-size: 22px; font-weight: 700; color: var(--sbn-ink); margin-bottom: 16px; }
.sbn-quicklook__desc  { color: var(--sbn-mute); margin-bottom: 24px; }
.sbn-quicklook__more {
	display: inline-block;
	color: var(--sbn-teal);
	font-weight: 600;
	text-decoration: none;
}
.sbn-quicklook__more:hover { color: var(--sbn-teal-dark); }

/* Quick-look's qty + Add button row — same controls as the loop card,
   but with more breathing room because we're not constrained by card width. */
.sbn-quicklook__actions {
	margin: 24px 0 20px !important;
	gap: 10px !important;
}
.sbn-quicklook__actions .sbn-qty__btn {
	width: 36px !important;
	height: 48px !important;
	font-size: 18px !important;
}
.sbn-quicklook__actions .sbn-qty__input {
	width: 44px !important;
	height: 48px !important;
	font-size: 15px !important;
}
.sbn-quicklook__actions .sbn-add {
	height: 48px !important;
	font-size: 15px !important;
	padding: 0 24px !important;
}

/* ----- Mobile refinements -------------------------------------------
   On phone screens, stack the qty stepper above a full-width Add button
   for thumb-friendly tapping. Magnifier hides — touch users tap the
   image / title to open the product page.
   IMPORTANT: keep this in the file. It was getting lost on theme
   reuploads when only edited via WP Admin's Theme File Editor. */
@media (max-width: 600px) {
	.sbn-quick { display: none; }

	.sbn-actions {
		grid-template-columns: 1fr !important;
		gap: 8px;
	}
	.sbn-qty {
		width: 100%;
		justify-content: space-between;
	}
	.sbn-qty__input {
		flex: 1 1 auto;
	}
	.sbn-add {
		width: 100%;
	}
}
/* ============================================================
   Magnifier escape — force it to position relative to the card,
   not Elementor's shortcode widget wrapper.
   ============================================================ */
.sbncard { position: relative !important; }

/* Strip position:relative off every wrapper between the card and
   the .sbn-quick button, so absolute positioning resolves to .sbncard */
.sbncard .sbncard__body,
.sbncard .sbncard__body .elementor-widget,
.sbncard .sbncard__body .elementor-widget-shortcode,
.sbncard .sbncard__body .elementor-widget-container,
.sbncard .sbn-actions {
	position: static !important;
}

/* Now the magnifier can escape to the card's top-right */
.sbncard .sbn-quick {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 5;
	width: 40px !important;
	height: 40px !important;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.sbncard .sbn-quick svg {
	width: 22px !important;
	height: 22px !important;
}
/* Magnifier — bigger icon + working hover.
   Higher specificity needed because the earlier .sbncard .sbn-quick rule
   was beating .sbn-quick:hover on its own. */
.sbncard .sbn-quick {
	width: 44px !important;
	height: 44px !important;
	color: var(--sbn-teal) !important;
}
.sbncard .sbn-quick svg {
	width: 26px !important;
	height: 26px !important;
}
.sbncard .sbn-quick:hover {
	background: var(--sbn-teal) !important;
	border-color: var(--sbn-teal) !important;
	color: #fff !important;
}
.sbncard .sbn-quick:hover svg {
	color: #fff !important;
}
/* ============================================================
   Sabeny — Checkout: Stripe card fields (flat / edge-to-edge)
   ============================================================ */

/* Outer payment method panel — keep clean, no double border */
.woocommerce-checkout #payment,
.woocommerce-checkout .wc_payment_methods,
.wc-block-checkout__payment-method {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout .wc_payment_method,
.woocommerce-checkout li.payment_method_stripe {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin-bottom: 12px;
	list-style: none;
}

/* "Credit / Debit Card" row */
.woocommerce-checkout .wc_payment_method label {
	font-weight: 700 !important;
	font-size: 15px !important;
	color: var(--sbn-ink, #0F172A) !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	cursor: pointer;
	padding: 4px 0;
}

/* The container that wraps the card fields — strip ALL its decoration
   so only the individual field borders show. */
.woocommerce-checkout .payment_box,
.woocommerce-checkout .wc-stripe-payment-element,
.woocommerce-checkout .wc-stripe-upe-form,
.wc-block-card-elements,
.wc-block-card-elements__container {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 8px 0 0 0 !important;
	box-shadow: none !important;
}
.woocommerce-checkout .payment_box::before,
.woocommerce-checkout .payment_box::after { display: none !important; }

/* Field labels */
.woocommerce-checkout .form-row label,
.woocommerce-checkout .wc-block-components-text-input label {
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sbn-mute, #6B7280) !important;
	margin-bottom: 6px !important;
	display: block;
}

/* The Stripe Element wrappers (these contain the iframes) — these are
   the ONLY borders we want visible. Full-width edge-to-edge. */
.wc-stripe-elements-field,
.StripeElement,
.wc-block-card-elements__field .StripeElement {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	background: #fff !important;
	border: 1.5px solid var(--sbn-line, #E5E7EB) !important;
	border-radius: 10px !important;
	padding: 14px 16px !important;
	min-height: 50px;
	margin: 0 0 12px 0 !important;
	transition: border-color .15s ease, box-shadow .15s ease;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Focus glow */
.wc-stripe-elements-field--focused,
.StripeElement--focus {
	border-color: var(--sbn-teal, #0E6B6B) !important;
	box-shadow: 0 0 0 3px rgba(14, 107, 107, 0.12), 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

/* Error state */
.wc-stripe-elements-field--invalid,
.StripeElement--invalid {
	border-color: #EF4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10) !important;
}

/* Expiry + CVC on one row */
.wc-stripe-elements-field-row,
.wc-block-card-elements__row {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 12px !important;
	margin: 0 !important;
}
.wc-stripe-elements-field-row .StripeElement,
.wc-block-card-elements__row .StripeElement {
	margin-bottom: 0 !important;
}
@media (max-width: 480px) {
	.wc-stripe-elements-field-row,
	.wc-block-card-elements__row {
		grid-template-columns: 1fr !important;
	}
}

/* Save payment info row — sits flush, no surrounding box */
.wc-stripe-save-source-checkbox,
.woocommerce-SavedPaymentMethods-saveNew,
p.wc-stripe-save-source-checkbox {
	background: transparent !important;
	border: 0 !important;
	padding: 12px 4px 0 4px !important;
	margin: 0 !important;
}

#wc-stripe-new-payment-method,
.wc-block-components-checkbox__input {
	width: 18px !important;
	height: 18px !important;
	margin-right: 10px !important;
	accent-color: var(--sbn-teal, #0E6B6B);
	cursor: pointer;
	vertical-align: middle;
}
.wc-block-components-checkbox__label,
label[for="wc-stripe-new-payment-method"] {
	font-size: 13px !important;
	color: var(--sbn-mute, #6B7280) !important;
	font-weight: 500 !important;
	cursor: pointer;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

/* Privacy / terms */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .wc-terms-and-conditions {
	font-size: 13px;
	color: var(--sbn-mute, #6B7280);
	line-height: 1.5;
	margin: 16px 0;
	padding: 0;
}

/* Place order button */
.woocommerce-checkout #place_order,
.wc-block-components-checkout-place-order-button {
	width: 100% !important;
	background: var(--sbn-teal, #0E6B6B) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 12px !important;
	padding: 18px 24px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
	box-shadow: 0 2px 8px rgba(14, 107, 107, 0.15);
	margin-top: 20px !important;
}
.woocommerce-checkout #place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
	background: var(--sbn-teal-dark, #0A5454) !important;
	box-shadow: 0 4px 12px rgba(14, 107, 107, 0.25);
	transform: translateY(-1px);
}
/* ============================================================
   Sabeny — kill any leftover Stripe wrapper borders
   Aggressive sweep of every class/ID Stripe might use as a
   container around the fields. Whitelist the actual field
   element so its border survives.
   ============================================================ */
.woocommerce-checkout .payment_box > *:not(.StripeElement):not(.wc-stripe-elements-field),
.woocommerce-checkout .payment_box > * > *:not(.StripeElement):not(.wc-stripe-elements-field),
.woocommerce-checkout .payment_box fieldset,
.woocommerce-checkout .payment_box section,
.woocommerce-checkout .payment_box [id*="payment-element"],
.woocommerce-checkout .payment_box [id*="payment_element"],
.woocommerce-checkout .payment_box [class*="payment-element"],
.woocommerce-checkout .payment_box [class*="payment_element"],
.woocommerce-checkout .payment_box [class*="upe"],
.woocommerce-checkout .payment_box [class*="stripe-payment"],
.woocommerce-checkout .payment_box [class*="wc-stripe"]:not(.wc-stripe-elements-field),
.woocommerce-checkout #wc-stripe-payment-element,
.woocommerce-checkout #wc-stripe-cc-form,
.woocommerce-checkout .wc-stripe-cc-form,
.woocommerce-checkout .wc-stripe-saved-cards,
.woocommerce-checkout .wc-payment-form {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}

/* The horizontal divider line above "Save payment information" — gone */
.woocommerce-checkout .payment_box hr,
.woocommerce-checkout .payment_box [class*="divider"],
.woocommerce-checkout .payment_box [class*="separator"] {
	display: none !important;
}

/* Re-confirm the only borders we DO want — the field outlines */
.woocommerce-checkout .StripeElement,
.woocommerce-checkout .wc-stripe-elements-field {
	background: #fff !important;
	border: 1.5px solid var(--sbn-line, #E5E7EB) !important;
	border-radius: 10px !important;
	padding: 14px 16px !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
/* ============================================================
   Sabeny — Checkout: restore panel + fix checkbox alignment
   ============================================================ */

/* Outer panel — match the look of Billing Details / Your Order panels */
.woocommerce-checkout-payment,
.woocommerce-checkout #payment,
.woocommerce-checkout .woocommerce-checkout-payment {
	background: #fff !important;
	border: 1px solid var(--sbn-line, #E5E7EB) !important;
	border-radius: 14px !important;
	padding: 24px 28px !important;
	margin-bottom: 16px !important;
	box-shadow: none !important;
}

/* Inner wrappers stay borderless (we already stripped them earlier;
   this just confirms it in case anything resurfaces) */
.woocommerce-checkout .payment_box,
.woocommerce-checkout .wc_payment_method,
.woocommerce-checkout li.payment_method_stripe {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

/* "Save payment information" — checkbox inline with its label */
.woocommerce-checkout .wc-stripe-save-source-checkbox,
.woocommerce-checkout p.wc-stripe-save-source-checkbox,
.woocommerce-checkout .woocommerce-SavedPaymentMethods-saveNew,
.woocommerce-checkout .form-row.wc-stripe-save-payment-method,
.woocommerce-checkout label[for="wc-stripe-new-payment-method"] {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	flex-wrap: nowrap !important;
	margin: 14px 0 0 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--sbn-mute, #6B7280) !important;
	line-height: 1.4;
	cursor: pointer;
}

/* If the label wraps the input (common Woo pattern), the .checkbox class
   is what we need to flex */
.woocommerce-checkout .payment_box label.checkbox,
.woocommerce-checkout label.checkbox {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin: 14px 0 0 0 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--sbn-mute, #6B7280) !important;
	cursor: pointer;
}

/* The checkbox itself — fixed size, no extra margins */
#wc-stripe-new-payment-method,
input[name="wc-stripe-new-payment-method"] {
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-shrink: 0 !important;
	accent-color: var(--sbn-teal, #0E6B6B);
	cursor: pointer;
	vertical-align: middle;
}