/**
 * Cart & Checkout — Bizto Mahoor
 * Matches theme tokens: cream bg, teal accent, navy CTA, Vazirmatn, RTL.
 */

/* Hidden WC fields (country / email) must stay in DOM for JS & order data. */
.form-row.bizto-checkout-field--hidden {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

/* Page template uses .entry-content { max-width: 72ch } for blog pages.
   That squeezes cart/checkout to the inline-start (right in RTL). */
.bizto-cart-page .entry-content,
.bizto-checkout-page .entry-content,
.bizto-order-received-page .entry-content {
	max-width: none;
	width: 100%;
}

.bizto-cart-page .site-main > .container,
.bizto-checkout-page .site-main > .container,
.bizto-order-received-page .site-main > .container {
	width: min(100% - 2rem, var(--bizto-header-container, 1280px));
}

.bizto-cart-page .page-article > .entry-header {
	display: none; /* cart hero already has the title */
}

.bizto-checkout-page .page-article > .entry-header {
	display: block;
	margin: 0 0 1.25rem;
}

.bizto-checkout-page .page-article > .entry-header .entry-title {
	margin: 0;
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	font-weight: 800;
}

.bizto-order-received-page .page-article > .entry-header {
	display: none;
}

.bizto-order-received-page .site-main {
	padding-top: 1.25rem;
	padding-bottom: 3rem;
}

.bizto-order-received-page .woocommerce {
	max-width: none;
	float: none;
	width: 100%;
}

.bizto-cart-page .site-main,
.bizto-checkout-page .site-main {
	padding-top: 2.25rem;
}

.bizto-cart-page .woocommerce,
.bizto-checkout-page .woocommerce,
.bizto-cart-page .bizto-cart,
.bizto-checkout-page .bizto-checkout,
.bizto-cart-page .bizto-cart__layout,
.bizto-checkout-page .bizto-checkout__layout {
	width: 100%;
	max-width: none;
	float: none;
}

/* --------------------------------------------------------------------------
   Shared shop hero
   -------------------------------------------------------------------------- */
.bizto-shop-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	margin: 0 0 1.75rem;
	padding: 1.5rem 1.6rem;
	border-radius: 18px;
	border: 1px solid var(--bizto-border);
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(15, 107, 92, 0.1), transparent 55%),
		radial-gradient(90% 120% at 0% 100%, rgba(30, 58, 95, 0.08), transparent 50%),
		linear-gradient(135deg, #fffefb 0%, #f7f4ef 55%, #f3f0ea 100%);
	box-shadow: var(--bizto-shadow);
	overflow: hidden;
	position: relative;
}

.bizto-shop-hero::before {
	content: "";
	position: absolute;
	inset-inline-end: -40px;
	top: -50px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(15, 107, 92, 0.06);
	pointer-events: none;
}

.bizto-shop-hero__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--bizto-accent);
}

.bizto-shop-hero__title {
	margin: 0;
	font-size: clamp(1.55rem, 2.4vw, 2rem);
	font-weight: 800;
	color: var(--bizto-ink);
	line-height: 1.25;
}

.bizto-shop-hero__desc {
	margin: 0.45rem 0 0;
	color: var(--bizto-ink-muted);
	font-size: 0.95rem;
}

.bizto-shop-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	z-index: 1;
}

.bizto-shop-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid #e2ddd4;
	color: #374151;
	font-size: 0.8rem;
	font-weight: 600;
}

.bizto-shop-hero__trust .bizto-fa {
	color: var(--bizto-accent);
	font-size: 0.85rem;
}

.bizto-checkout-steps {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	z-index: 1;
}

.bizto-checkout-steps li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid #e2ddd4;
	color: var(--bizto-ink-muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.bizto-checkout-steps li span {
	display: inline-grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #eef1f4;
	font-size: 0.72rem;
	font-weight: 800;
}

.bizto-checkout-steps li.is-done {
	color: var(--bizto-accent);
	border-color: #cfe5df;
	background: #f2faf7;
}

.bizto-checkout-steps li.is-done span {
	background: var(--bizto-accent);
	color: #fff;
}

.bizto-checkout-steps li.is-current {
	color: #fff;
	border-color: transparent;
	background: var(--bizto-cart-bg, #1e3a5f);
}

.bizto-checkout-steps li.is-current span {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Buttons / fields
   -------------------------------------------------------------------------- */
.bizto-cart-page .button,
.bizto-checkout-page .button,
.bizto-btn-primary,
.bizto-cart-checkout-btn,
.bizto-checkout-page #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.7rem 1.25rem;
	border: 0;
	border-radius: 14px;
	font-family: var(--bizto-font);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.bizto-btn-primary,
.bizto-cart-checkout-btn,
.bizto-checkout-page #place_order,
.bizto-cart-page a.checkout-button {
	width: 100%;
	background: var(--bizto-cart-bg, #1e3a5f) !important;
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(30, 58, 95, 0.22);
}

.bizto-btn-primary:hover,
.bizto-cart-checkout-btn:hover,
.bizto-checkout-page #place_order:hover,
.bizto-cart-page a.checkout-button:hover {
	background: #274a73 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.bizto-btn-ghost {
	background: #fff !important;
	color: var(--bizto-ink) !important;
	border: 1px solid #e2ddd4 !important;
	box-shadow: none !important;
	font-weight: 700 !important;
}

.bizto-btn-ghost:hover {
	border-color: var(--bizto-accent) !important;
	color: var(--bizto-accent) !important;
	background: #f4faf8 !important;
}

.bizto-field__control,
.bizto-cart-page input.input-text,
.bizto-cart-page select,
.bizto-cart-page textarea,
.bizto-checkout-page .woocommerce form .form-row input.input-text,
.bizto-checkout-page .woocommerce form .form-row textarea,
.bizto-checkout-page .woocommerce form .form-row select,
.bizto-checkout-page .select2-container .select2-selection--single {
	width: 100%;
	min-height: 3.05rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid #e2ddd4;
	border-radius: 12px;
	background: #fff;
	color: var(--bizto-ink);
	font-family: var(--bizto-font);
	font-size: 0.95rem;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bizto-checkout-page .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	padding: 0 0.5rem;
}

.bizto-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.4;
	color: var(--bizto-ink);
}

.bizto-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow {
	left: 8px;
	right: auto;
	height: 100%;
}

.bizto-field__control:focus,
.bizto-cart-page input.input-text:focus,
.bizto-cart-page select:focus,
.bizto-cart-page textarea:focus,
.bizto-checkout-page .woocommerce form .form-row input.input-text:focus,
.bizto-checkout-page .woocommerce form .form-row textarea:focus,
.bizto-checkout-page .woocommerce form .form-row select:focus,
.bizto-checkout-page .select2-container--default.select2-container--focus .select2-selection--single {
	outline: none;
	border-color: var(--bizto-accent);
	box-shadow: 0 0 0 3px rgba(15, 107, 92, 0.14);
}

.bizto-checkout-page .woocommerce form .form-row label,
.bizto-field__label {
	display: block;
	margin: 0 0 0.4rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: #374151;
}

.bizto-checkout-page .woocommerce form .form-row {
	margin: 0 0 1rem;
	padding: 0;
}

.bizto-checkout-page .woocommerce form .form-row-first,
.bizto-checkout-page .woocommerce form .form-row-last {
	width: 48%;
}

/* --------------------------------------------------------------------------
   Cart layout
   -------------------------------------------------------------------------- */
.bizto-cart__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
	gap: 1.35rem;
	align-items: start;
}

.bizto-cart__aside .cart-collaterals {
	display: block;
}

.bizto-cart-page .cross-sells {
	margin-top: 1.35rem;
	padding: 1.2rem;
	background: var(--bizto-bg-elevated);
	border: 1px solid var(--bizto-border);
	border-radius: 18px;
	box-shadow: var(--bizto-shadow);
}

.bizto-cart-panel,
.bizto-cart-totals,
.bizto-coupon,
.bizto-checkout-card {
	background: var(--bizto-bg-elevated);
	border: 1px solid var(--bizto-border);
	border-radius: 18px;
	box-shadow: var(--bizto-shadow);
}

.bizto-cart-panel__head,
.bizto-cart-totals__head,
.bizto-checkout-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.2rem;
	border-bottom: 1px solid #efeae2;
	background: linear-gradient(180deg, #fffcf8 0%, #fff 100%);
	border-radius: 18px 18px 0 0;
}

.bizto-cart-panel__title,
.bizto-cart-totals__title,
.bizto-checkout-card__title {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--bizto-ink);
}

.bizto-cart-panel__title .bizto-fa,
.bizto-cart-totals__title .bizto-fa,
.bizto-checkout-card__title .bizto-fa {
	color: var(--bizto-accent);
}

.bizto-cart-panel__shop {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--bizto-accent);
}

.bizto-cart-panel__shop:hover {
	color: var(--bizto-accent-hover);
}

.bizto-cart-items {
	padding: 0.85rem 1rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.bizto-cart-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 1rem;
	padding: 0.95rem;
	border: 1px solid #ebe5db;
	border-radius: 16px;
	background:
		linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bizto-cart-item:hover {
	border-color: #d9d0c2;
	box-shadow: 0 8px 20px rgba(26, 26, 26, 0.05);
}

.bizto-cart-item__thumb,
.bizto-cart-item__media img,
.bizto-cart-item__media a {
	display: block;
	border-radius: 12px;
	overflow: hidden;
}

.bizto-cart-item__media img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	background: #f3f0ea;
}

.bizto-cart-item__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.bizto-cart-item__name {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.45;
}

.bizto-cart-item__name a {
	color: var(--bizto-ink);
}

.bizto-cart-item__name a:hover {
	color: var(--bizto-accent);
}

.bizto-cart-item .variation {
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.bizto-cart-item .variation dt,
.bizto-cart-item .variation dd {
	display: inline;
	margin: 0;
	font-size: 0.78rem;
}

.bizto-cart-item .variation dt {
	color: var(--bizto-ink-muted);
	font-weight: 600;
}

.bizto-cart-item .variation dd {
	margin-left: 0;
	margin-inline-end: 0.45rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #f3f4f6;
	color: #374151;
	font-weight: 700;
}

.bizto-cart-item .variation dd p {
	display: inline;
	margin: 0;
}

.bizto-cart-item__remove-btn {
	display: inline-grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	color: #9ca3af !important;
	text-decoration: none !important;
	font-size: 0.9rem;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bizto-cart-item__remove-btn:hover {
	background: #fef2f2;
	border-color: #fecaca;
	color: #dc2626 !important;
}

.bizto-cart-item__meta {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 0.75rem;
	align-items: end;
	margin-top: 0.85rem;
}

.bizto-cart-item__meta-label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: #9ca3af;
}

.bizto-cart-item__price,
.bizto-cart-item__subtotal {
	font-weight: 800;
	color: var(--bizto-cart-bg, #1e3a5f);
	font-size: 0.95rem;
}

.bizto-cart-item__subtotal {
	text-align: left;
}

.bizto-cart-page .bizto-cart-item .bizto-qty__label {
	display: none;
}

.bizto-cart-page .bizto-cart-item .bizto-qty {
	margin: 0;
}

.bizto-cart-page .bizto-cart-item .bizto-qty__control {
	min-height: 2.6rem;
}

.bizto-cart-actions {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) auto;
	gap: 0.9rem;
	margin-top: 1rem;
	align-items: stretch;
}

.bizto-coupon {
	padding: 1rem 1.1rem;
}

.bizto-coupon__head {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.7rem;
	font-size: 0.9rem;
	font-weight: 800;
	color: var(--bizto-ink);
}

.bizto-coupon__head .bizto-fa {
	color: var(--bizto-accent);
}

.bizto-coupon__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.55rem;
}

.bizto-coupon__btn {
	min-width: 5.5rem;
	background: #f3f4f6 !important;
	color: #111827 !important;
	border: 1px solid #e5e7eb !important;
	box-shadow: none !important;
	font-weight: 800 !important;
}

.bizto-coupon__btn:hover {
	background: #eef6f3 !important;
	border-color: #cfe5df !important;
	color: var(--bizto-accent) !important;
}

.bizto-cart-actions__update {
	display: flex;
	align-items: stretch;
}

.bizto-cart-actions__update .button {
	width: 100%;
	white-space: nowrap;
}

/* Totals */
.bizto-cart-totals {
	position: sticky;
	top: 1rem;
	overflow: hidden;
}

.bizto-cart-totals__table {
	width: 100%;
	margin: 0;
	border: 0;
	padding: 0.4rem 1.1rem;
}

.bizto-cart-totals__table th,
.bizto-cart-totals__table td {
	padding: 0.7rem 0.15rem;
	border: 0;
	border-bottom: 1px dashed #ebe5db;
	font-size: 0.92rem;
	vertical-align: middle;
}

.bizto-cart-totals__table th {
	font-weight: 600;
	color: var(--bizto-ink-muted);
	text-align: right;
}

.bizto-cart-totals__table td {
	text-align: left;
	font-weight: 700;
	color: var(--bizto-ink);
}

.bizto-cart-totals__table tr.order-total th,
.bizto-cart-totals__table tr.order-total td {
	border-bottom: 0;
	padding-top: 1rem;
	font-size: 1.05rem;
	color: var(--bizto-ink);
}

.bizto-cart-totals__table tr.order-total td {
	color: var(--bizto-accent);
	font-weight: 800;
	font-size: 1.15rem;
}

.bizto-cart-totals__cta {
	padding: 0.35rem 1.1rem 0.85rem;
}

.bizto-cart-totals__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0 1.1rem 1.1rem;
	color: var(--bizto-ink-muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.bizto-cart-totals__note .bizto-fa {
	color: var(--bizto-accent);
}

/* Empty cart */
.bizto-cart-page .cart-empty,
.bizto-cart-empty {
	text-align: center;
	padding: 2.5rem 1.5rem 1rem;
}

.bizto-cart-empty__icon {
	display: inline-grid;
	place-items: center;
	width: 5rem;
	height: 5rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #eef6f3, #f7f4ef);
	border: 1px solid #d7ebe3;
	color: var(--bizto-accent);
	font-size: 1.8rem;
}

.bizto-cart-empty__title {
	margin: 0 0 0.5rem;
	font-size: 1.45rem;
	font-weight: 800;
}

.bizto-cart-empty__text {
	margin: 0 auto;
	max-width: 28rem;
	color: var(--bizto-ink-muted);
}

.bizto-cart-empty__cta {
	display: flex;
	justify-content: center;
	margin: 1.25rem 0 2rem;
}

.bizto-cart-empty__cta .button {
	width: auto;
	min-width: 14rem;
}

/* Cross-sells */
.bizto-cart-page .cross-sells > h2 {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	font-weight: 800;
}

/* Notices */
.bizto-cart-page .woocommerce-notices-wrapper .woocommerce-message,
.bizto-cart-page .woocommerce-notices-wrapper .woocommerce-info,
.bizto-cart-page .woocommerce-notices-wrapper .woocommerce-error,
.bizto-checkout-page .woocommerce-notices-wrapper .woocommerce-message,
.bizto-checkout-page .woocommerce-notices-wrapper .woocommerce-info,
.bizto-checkout-page .woocommerce-notices-wrapper .woocommerce-error,
.bizto-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info {
	border-radius: 14px;
	border: 1px solid #e2ddd4;
	background: #fff;
	box-shadow: var(--bizto-shadow);
	padding: 0.95rem 1.15rem !important;
	margin: 0 0 1.25rem !important;
	position: relative;
}

.bizto-checkout-coupon-toggle {
	margin-top: 0.35rem;
}

.bizto-checkout-coupon-toggle .woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.55rem;
}

.bizto-checkout-coupon-toggle .woocommerce-info::before {
	display: none !important;
	content: none !important;
}

.bizto-checkout-coupon-toggle__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 8px;
	background: #eef6f3;
	border: 1px solid #d7ebe3;
	color: var(--bizto-accent);
	flex: 0 0 auto;
	font-size: 0.85rem;
}

.bizto-checkout-coupon-toggle .showcoupon {
	font-weight: 800;
	color: var(--bizto-accent);
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */
.bizto-checkout__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
	gap: 1.35rem;
	align-items: start;
}

.bizto-checkout__customer {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	width: 100%;
	float: none;
}

.bizto-checkout-page .col2-set::after,
.bizto-checkout-page .col2-set::before {
	display: none;
}

.bizto-checkout-page .col2-set .col-1,
.bizto-checkout-page .col2-set .col-2,
.bizto-checkout-page .woocommerce-checkout .col2-set .col-1,
.bizto-checkout-page .woocommerce-checkout .col2-set .col-2,
.bizto-cart-page .woocommerce .cart-collaterals .cart_totals {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

.bizto-checkout-card__body {
	padding: 1.1rem 1.2rem 1.25rem;
}

.bizto-checkout-card--order {
	position: sticky;
	top: 1rem;
}

.bizto-checkout-page .woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0 0 1rem;
	border: 0;
}

.bizto-checkout-page .woocommerce-checkout-review-order-table th,
.bizto-checkout-page .woocommerce-checkout-review-order-table td {
	padding: 0.7rem 0.1rem;
	border: 0;
	border-bottom: 1px dashed #ebe5db;
	font-size: 0.9rem;
}

.bizto-checkout-page .woocommerce-checkout-review-order-table thead th {
	font-size: 0.78rem;
	color: #9ca3af;
	font-weight: 700;
}

.bizto-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.bizto-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	border-bottom: 0;
	padding-top: 0.95rem;
	font-size: 1.05rem;
	font-weight: 800;
}

.bizto-checkout-page .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	color: var(--bizto-accent);
}

.bizto-checkout-page #payment {
	background: #faf9f7;
	border: 1px solid #ebe5db;
	border-radius: 12px;
	padding: 0.65rem 0.7rem;
}

.bizto-checkout-page #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.bizto-checkout-page #payment ul.payment_methods li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.55rem;
	margin: 0 0 0.4rem;
	padding: 0.5rem 0.65rem;
	border: 1px solid #e2ddd4;
	border-radius: 10px;
	background: #fff;
	line-height: 1.35;
}

.bizto-checkout-page #payment ul.payment_methods li:last-child {
	margin-bottom: 0;
}

.bizto-checkout-page #payment ul.payment_methods li input.input-radio {
	margin: 0;
	flex: 0 0 auto;
}

.bizto-checkout-page #payment ul.payment_methods li label {
	display: inline-flex;
	align-items: center;
	flex: 1 1 auto;
	gap: 0.35rem;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.35;
}

.bizto-checkout-page #payment ul.payment_methods li label img {
	max-height: 1.5rem;
	width: auto;
}

.bizto-checkout-page #payment div.payment_box {
	flex: 1 1 100%;
	margin: 0.15rem 0 0;
	padding: 0.45rem 0.55rem;
	border-radius: 8px;
	background: #f3f4f6;
	border: 0;
	color: var(--bizto-ink-muted);
	font-size: 0.8rem;
	line-height: 1.45;
}

.bizto-checkout-page #payment div.payment_box p {
	margin: 0;
}

.bizto-checkout-page #payment div.payment_box::before {
	display: none;
}

.bizto-checkout-page #payment .place-order {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0.75rem 0 0;
	padding: 0;
	width: 100%;
}

.bizto-checkout-page #payment .woocommerce-privacy-policy-text,
.bizto-checkout-page #payment .woocommerce-terms-and-conditions-wrapper {
	width: 100%;
	margin-bottom: 0.65rem;
	text-align: center;
}

.bizto-checkout-page #payment #place_order {
	width: auto;
	min-width: min(100%, 14rem);
	max-width: 100%;
	margin-inline: auto;
	padding-inline: 1.75rem;
}

.bizto-checkout-page .woocommerce-privacy-policy-text,
.bizto-checkout-page .woocommerce-terms-and-conditions-wrapper {
	font-size: 0.84rem;
	color: var(--bizto-ink-muted);
	margin-bottom: 0.85rem;
}

.bizto-checkout-page .woocommerce-billing-fields > h3,
.bizto-checkout-page .woocommerce-shipping-fields > h3,
.bizto-checkout-page .woocommerce-additional-fields > h3 {
	display: none;
}

.bizto-coupon--checkout {
	margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
	.bizto-cart__layout,
	.bizto-checkout__layout {
		grid-template-columns: 1fr;
	}

	.bizto-cart-totals,
	.bizto-checkout-card--order {
		position: static;
	}

	.bizto-cart-actions {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.bizto-shop-hero {
		padding: 1.2rem;
	}

	.bizto-cart-item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 0.75rem;
		padding: 0.8rem;
	}

	.bizto-cart-item__media img {
		width: 72px;
		height: 72px;
	}

	.bizto-cart-item__meta {
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}

	.bizto-cart-item__subtotal,
	.bizto-cart-item__price {
		text-align: right;
	}

	.bizto-checkout-page .woocommerce form .form-row-first,
	.bizto-checkout-page .woocommerce form .form-row-last {
		width: 100%;
	}

	.bizto-coupon__row {
		grid-template-columns: 1fr;
	}

	.bizto-checkout-steps {
		width: 100%;
		justify-content: flex-start;
	}
}

/* Soften default WC float layouts on these pages */
.bizto-cart-page .woocommerce .cart-collaterals .cart_totals,
.bizto-checkout-page .woocommerce-checkout .col2-set .col-1,
.bizto-checkout-page .woocommerce-checkout .col2-set .col-2 {
	float: none;
	width: 100%;
}

/* --------------------------------------------------------------------------
   Order received / thank-you (payment return)
   -------------------------------------------------------------------------- */
.bizto-thankyou {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0.25rem 0 1rem;
}

.bizto-thankyou__hero {
	position: relative;
	margin: 0 0 1.35rem;
	padding: 1.85rem 1.75rem 1.65rem;
	border-radius: 22px;
	border: 1px solid var(--bizto-border);
	background:
		linear-gradient(165deg, rgba(255, 254, 251, 0.98) 0%, #f7f4ef 100%);
	box-shadow: var(--bizto-shadow);
	overflow: hidden;
	text-align: center;
}

.bizto-thankyou__hero-glow {
	position: absolute;
	inset: -20% 0 auto;
	left: 50%;
	right: auto;
	width: min(100%, 560px);
	height: 220px;
	transform: translateX(-50%);
	filter: blur(10px);
	pointer-events: none;
}

.bizto-thankyou.is-success .bizto-thankyou__hero-glow {
	background:
		radial-gradient(closest-side, rgba(15, 107, 92, 0.18), transparent 70%),
		radial-gradient(closest-side, rgba(30, 58, 95, 0.1), transparent 72%);
}

.bizto-thankyou.is-failed .bizto-thankyou__hero-glow,
.bizto-order-failed-page .bizto-thankyou__hero-glow {
	background:
		radial-gradient(closest-side, rgba(185, 28, 28, 0.14), transparent 70%),
		radial-gradient(closest-side, rgba(30, 58, 95, 0.08), transparent 72%);
}

.bizto-thankyou.is-missing .bizto-thankyou__hero-glow {
	background:
		radial-gradient(closest-side, rgba(30, 58, 95, 0.12), transparent 70%);
}

.bizto-thankyou__hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
}

.bizto-thankyou__badge {
	display: inline-grid;
	place-items: center;
	width: 3.85rem;
	height: 3.85rem;
	border-radius: 50%;
	font-size: 1.55rem;
	margin-bottom: 0.15rem;
}

.bizto-thankyou.is-success .bizto-thankyou__badge {
	background: rgba(15, 107, 92, 0.12);
	color: var(--bizto-accent);
	border: 1px solid rgba(15, 107, 92, 0.22);
}

.bizto-thankyou.is-failed .bizto-thankyou__badge,
.bizto-order-failed-page .bizto-thankyou__badge {
	background: rgba(185, 28, 28, 0.1);
	color: #b91c1c;
	border: 1px solid rgba(185, 28, 28, 0.2);
}

.bizto-thankyou.is-missing .bizto-thankyou__badge {
	background: rgba(30, 58, 95, 0.08);
	color: var(--bizto-cart-bg, #1e3a5f);
	border: 1px solid rgba(30, 58, 95, 0.15);
}

.bizto-thankyou__eyebrow {
	margin: 0;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--bizto-ink-muted);
}

.bizto-thankyou__title {
	margin: 0;
	font-size: clamp(1.45rem, 3vw, 1.95rem);
	font-weight: 900;
	line-height: 1.35;
	color: var(--bizto-ink);
}

.bizto-thankyou__desc {
	margin: 0;
	max-width: 40rem;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--bizto-ink-muted);
}

.bizto-thankyou__panel {
	margin: 0 0 1.25rem;
	padding: 1.35rem 1.4rem;
	border-radius: 18px;
	border: 1px solid var(--bizto-border);
	background: var(--bizto-bg-elevated);
	box-shadow: var(--bizto-shadow);
}

.bizto-thankyou__panel--failed {
	border-color: rgba(185, 28, 28, 0.18);
	background: linear-gradient(180deg, #fffbfb 0%, #fff 100%);
}

.bizto-thankyou__notice.woocommerce-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	border: 1px solid rgba(185, 28, 28, 0.18);
	background: rgba(185, 28, 28, 0.06);
	color: #991b1b;
	font-size: 0.9rem;
	line-height: 1.6;
}

.bizto-thankyou__notice.woocommerce-notice::before {
	display: none;
}

.bizto-thankyou .woocommerce-thankyou-order-received {
	margin: 0 0 1.15rem;
	padding: 0.8rem 1rem;
	border-radius: 12px;
	border: 1px solid rgba(15, 107, 92, 0.2);
	background: rgba(15, 107, 92, 0.07);
	color: var(--bizto-accent-hover);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.55;
	text-align: center;
}

.bizto-thankyou .woocommerce-thankyou-order-received::before {
	display: none;
}

.bizto-thankyou__overview.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bizto-thankyou__overview li {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
	margin: 0;
	padding: 1rem 1.05rem;
	border: 1px solid #ebe5db;
	border-radius: 14px;
	background: linear-gradient(180deg, #fffcf8 0%, #faf9f7 100%);
	min-width: 0;
}

.bizto-thankyou__overview-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 12px;
	background: rgba(15, 107, 92, 0.1);
	color: var(--bizto-accent);
	font-size: 1.05rem;
}

.bizto-thankyou__overview li.total .bizto-thankyou__overview-icon {
	background: rgba(15, 107, 92, 0.16);
	color: var(--bizto-accent-hover);
}

.bizto-thankyou__overview li.method .bizto-thankyou__overview-icon {
	background: rgba(30, 58, 95, 0.1);
	color: var(--bizto-cart-bg, #1e3a5f);
}

.bizto-thankyou__overview-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	min-width: 0;
	flex: 1 1 auto;
}

.bizto-thankyou__overview li.total {
	background: linear-gradient(180deg, #f2faf7 0%, #fff 100%);
	border-color: rgba(15, 107, 92, 0.22);
}

.bizto-thankyou__overview-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--bizto-ink-muted);
}

.bizto-thankyou__overview-value {
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--bizto-ink);
	line-height: 1.35;
	word-break: break-word;
}

.bizto-thankyou__overview li.total .bizto-thankyou__overview-value {
	color: var(--bizto-accent);
	font-size: 1.12rem;
}

.bizto-thankyou__hooks > * + * {
	margin-top: 1rem;
}

.bizto-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	margin: 0;
}

.bizto-thankyou__actions--footer {
	margin-top: 0.25rem;
	padding-top: 0.25rem;
}

.bizto-thankyou__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.85rem;
	padding: 0.65rem 1.15rem !important;
	border-radius: 14px !important;
	font-family: var(--bizto-font) !important;
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	width: auto !important;
}

.bizto-thankyou__btn--primary {
	background: var(--bizto-cart-bg, #1e3a5f) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: 0 10px 22px rgba(30, 58, 95, 0.22);
}

.bizto-thankyou__btn--primary:hover {
	background: #274a73 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.bizto-thankyou__btn--ghost {
	background: #fff !important;
	color: var(--bizto-ink) !important;
	border: 1px solid #e2ddd4 !important;
	box-shadow: none !important;
}

.bizto-thankyou__btn--ghost:hover {
	border-color: var(--bizto-accent) !important;
	color: var(--bizto-accent) !important;
	background: #f4faf8 !important;
}

/* Order details + customer blocks injected by WC hooks */
.bizto-thankyou .woocommerce-order-details,
.bizto-thankyou .woocommerce-customer-details {
	margin: 0;
	padding: 1.1rem 1.15rem;
	border-radius: 16px;
	border: 1px solid var(--bizto-border);
	background: #fffefb;
}

.bizto-thankyou .woocommerce-order-details__title,
.bizto-thankyou .woocommerce-column__title {
	margin: 0 0 0.85rem;
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--bizto-ink);
}

.bizto-thankyou .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.bizto-thankyou .woocommerce-table--order-details th,
.bizto-thankyou .woocommerce-table--order-details td {
	padding: 0.65rem 0.5rem;
	border-bottom: 1px solid #efeae2;
	text-align: right;
	vertical-align: top;
}

.bizto-thankyou .woocommerce-table--order-details thead th {
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--bizto-ink-muted);
	background: #faf9f7;
}

.bizto-thankyou .woocommerce-table--order-details tfoot th,
.bizto-thankyou .woocommerce-table--order-details tfoot td {
	font-weight: 700;
}

.bizto-thankyou .woocommerce-table--order-details tfoot tr:last-child th,
.bizto-thankyou .woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: 0;
	font-size: 1rem;
	font-weight: 800;
	color: var(--bizto-accent);
}

.bizto-thankyou .woocommerce-customer-details address {
	margin: 0;
	font-style: normal;
	line-height: 1.75;
	color: var(--bizto-ink);
}

.bizto-thankyou .woocommerce-columns.addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.bizto-thankyou .woocommerce-columns.addresses::before,
.bizto-thankyou .woocommerce-columns.addresses::after {
	display: none;
}

.bizto-thankyou .woocommerce-columns.addresses .col-1,
.bizto-thankyou .woocommerce-columns.addresses .col-2 {
	float: none;
	width: 100%;
	padding: 0;
}

@media (max-width: 900px) {
	.bizto-thankyou__overview.woocommerce-order-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bizto-order-received-page .site-main > .container {
		width: min(100% - 1.25rem, var(--bizto-header-container, 1280px));
	}

	.bizto-thankyou__hero {
		padding: 1.35rem 1rem 1.2rem;
		border-radius: 18px;
	}

	.bizto-thankyou__panel {
		padding: 1rem 0.85rem;
	}

	.bizto-thankyou__overview.woocommerce-order-overview {
		grid-template-columns: 1fr;
	}

	.bizto-thankyou__overview li {
		padding: 0.9rem 0.95rem;
	}

	.bizto-thankyou__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.bizto-thankyou__btn {
		width: 100% !important;
	}

	.bizto-thankyou .woocommerce-columns.addresses {
		grid-template-columns: 1fr;
	}

	.bizto-thankyou .woocommerce-table--order-details thead {
		display: none;
	}

	.bizto-thankyou .woocommerce-table--order-details tr {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 0.35rem 0.75rem;
		padding: 0.65rem 0;
		border-bottom: 1px solid #efeae2;
	}

	.bizto-thankyou .woocommerce-table--order-details tbody td {
		border: 0;
		padding: 0;
	}

	.bizto-thankyou .woocommerce-table--order-details tbody td.product-total {
		text-align: left;
		font-weight: 800;
	}
}
