/**
 * Wellness — Checkout page styles.
 */

/* —— Checkout —— */

.wellness-checkout-main {
	width: 100%;
	min-height: 60vh;
	overflow-x: hidden;
	background: #faf8f4;
}

.wellness-checkout-main .woocommerce {
	width: 100%;
	max-width: 100%;
	margin: 0;
	float: none;
}

.wellness-checkout-shell {
	box-sizing: border-box;
	width: 100%;
	max-width: 1270px;
	margin-inline: auto;
	padding-inline: 1rem;
	padding-top: calc(var(--header-v3-height, 6rem) + 2rem);
	padding-bottom: 2.5rem;
}

@media (min-width: 576px) {
	.wellness-checkout-shell {
		padding-inline: 1.25rem;
	}
}

@media (min-width: 992px) {
	.wellness-checkout-shell {
		padding-inline: 1.5rem;
		padding-bottom: 3.5rem;
	}
}

.wellness-checkout-shell__breadcrumb {
	margin-bottom: 1.5rem;
}

.wellness-checkout-header {
	margin-bottom: 1.5rem;
}

.wellness-checkout-title {
	margin: 0;
	font-family: inherit;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	color: #0f172a;
}

.wellness-checkout-lead {
	margin: 0.5rem 0 0;
	font-size: 1rem;
	line-height: 1.6;
	color: #64748b;
}

.wellness-checkout-shell .woocommerce-form-coupon-toggle,
.wellness-checkout-shell .woocommerce-notices-wrapper {
	margin-bottom: 1.25rem;
}

.wellness-checkout-shell .checkout_coupon {
	margin-bottom: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid #e8efe6;
	border-radius: 1rem;
	background: #fff;
}

.wellness-checkout-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.wellness-checkout-layout {
		grid-template-columns: minmax(0, 1fr) 22rem;
		gap: 2rem;
	}
}

@media (min-width: 1200px) {
	.wellness-checkout-layout {
		grid-template-columns: minmax(0, 1fr) 24rem;
	}
}

.wellness-checkout-customer {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.wellness-checkout-panel {
	overflow: hidden;
	border: 1px solid #e8efe6;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.wellness-checkout-summary .wellness-checkout-panel {
	position: sticky;
	top: calc(var(--header-v3-height, 6rem) + 1rem);
}

.wellness-checkout-panel__header {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #eef4ef;
	background: #fafcf9;
}

.wellness-checkout-panel__title {
	margin: 0;
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 600;
	color: #0f172a;
}

.wellness-checkout-panel__body {
	padding: 1.5rem;
}

.wellness-checkout-panel .woocommerce-additional-fields>h3 {
	display: none;
}

.wellness-checkout-panel--notes-only .woocommerce-additional-fields {
	margin-top: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.wellness-checkout-panel #ship-to-different-address {
	margin: 0 0 1.25rem;
	font-size: 1.0625rem;
	font-weight: 600;
	color: #0f172a;
}

.wellness-checkout-panel #ship-to-different-address label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 500;
	cursor: pointer;
}

.wellness-checkout-main .woocommerce-message,
.wellness-checkout-main .woocommerce-info,
.wellness-checkout-main .woocommerce-error {
	margin: 0 0 1rem;
	padding: 0.875rem 1rem;
	border-radius: 0.75rem;
	border: 1px solid transparent;
	list-style: none;
}

.wellness-checkout-main .woocommerce-message {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

.wellness-checkout-main .woocommerce-info {
	border-color: #bfdbfe;
	background: #eff6ff;
	color: #1d4ed8;
}

.wellness-checkout-main .woocommerce-error {
	border-color: #fecaca;
	background: #fef2f2;
	color: #b91c1c;
}

.wellness-checkout-main label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
}

.wellness-checkout-main .woocommerce-form__label-for-checkbox,
.wellness-checkout-main .woocommerce-form__label-for-checkbox span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0;
	font-weight: 500;
	cursor: pointer;
}

.wellness-checkout-main .woocommerce-Input,
.wellness-checkout-main .input-text,
.wellness-checkout-main input[type="text"],
.wellness-checkout-main input[type="email"],
.wellness-checkout-main input[type="password"],
.wellness-checkout-main input[type="tel"],
.wellness-checkout-main input[type="number"],
.wellness-checkout-main select,
.wellness-checkout-main textarea {
	width: 100%;
	padding: 0.6875rem 0.875rem;
	border: 1px solid #dbe7de;
	border-radius: 0.75rem;
	background: #fff;
	font-size: 0.9375rem;
	color: #0f172a;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wellness-checkout-main .woocommerce-Input:focus,
.wellness-checkout-main .input-text:focus,
.wellness-checkout-main input:focus,
.wellness-checkout-main select:focus,
.wellness-checkout-main textarea:focus {
	outline: none;
	border-color: #5a7d66;
	box-shadow: 0 0 0 3px rgba(90, 125, 102, 0.15);
}

.wellness-checkout-main .form-row {
	margin-bottom: 1rem;
}

.wellness-checkout-main .form-row-first,
.wellness-checkout-main .form-row-last {
	width: 100%;
	float: none;
}

@media (min-width: 640px) {

	.wellness-checkout-main .form-row-first,
	.wellness-checkout-main .form-row-last {
		width: 48%;
		float: left;
	}

	.wellness-checkout-main .form-row-last {
		float: right;
	}
}

.wellness-checkout-main .form-row-wide {
	clear: both;
}

.wellness-checkout-main .clear {
	clear: both;
}

.wellness-checkout-main .select2-container .select2-selection--single {
	height: auto;
	min-height: 2.75rem;
	padding: 0.4375rem 0.875rem;
	border: 1px solid #dbe7de;
	border-radius: 0.75rem;
}

.wellness-checkout-main .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.5;
	padding-left: 0;
	color: #0f172a;
}

.wellness-checkout-main .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	right: 0.5rem;
}

.wellness-checkout-main .select2-container--default.select2-container--open .select2-selection--single,
.wellness-checkout-main .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #5a7d66;
	box-shadow: 0 0 0 3px rgba(90, 125, 102, 0.15);
}

.wellness-checkout-main table.shop_table,
.wellness-checkout-main .woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: none;
	border-radius: 0;
	overflow: visible;
}

.wellness-checkout-main table.shop_table thead th {
	padding: 0 0 0.75rem;
	border-bottom: 1px solid #e8efe6;
	background: transparent;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
}

.wellness-checkout-main table.shop_table tbody td,
.wellness-checkout-main table.shop_table tbody th {
	padding: 0.875rem 0;
	border-bottom: 1px solid #eef4ef;
	font-size: 0.875rem;
	color: #334155;
	vertical-align: top;
}

.wellness-checkout-main table.shop_table tfoot th,
.wellness-checkout-main table.shop_table tfoot td {
	padding: 0.625rem 0;
	border-top: 1px solid #eef4ef;
	font-size: 0.875rem;
	color: #475569;
}

.wellness-checkout-main table.shop_table tfoot tr:first-child th,
.wellness-checkout-main table.shop_table tfoot tr:first-child td {
	border-top: 1px solid #e8efe6;
	padding-top: 1rem;
}

.wellness-checkout-main table.shop_table .order-total th,
.wellness-checkout-main table.shop_table .order-total td {
	padding-top: 0.875rem;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.wellness-checkout-main .woocommerce-checkout-payment {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e8efe6;
}

.wellness-checkout-main .wc_payment_methods {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.wellness-checkout-main .wc_payment_method {
	margin: 0 0 0.625rem;
	padding: 0.875rem 1rem;
	border: 1px solid #e8efe6;
	border-radius: 0.75rem;
	background: #fafcf9;
}

.wellness-checkout-main .wc_payment_method label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.625rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
}

.wellness-payment-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	padding: 0.4375rem 0.875rem;
	border: 1px solid #bbf7d0;
	border-radius: 9999px;
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #3d6b4f;
	text-align: center;
	white-space: normal;
}

.wellness-thankyou-overview .payment-method strong {
	font-weight: 600;
}

.wellness-thankyou-overview .payment-method .wellness-payment-badge {
	margin-left: auto;
}

.wellness-checkout-main .wc_payment_method input[type="radio"]:checked+label .wellness-payment-badge {
	border-color: #5a7d66;
	background: #5a7d66;
	color: #fff;
}

.wellness-checkout-main .payment_box {
	margin: 0.75rem 0 0;
	padding: 0.875rem 1rem;
	border-radius: 0.625rem;
	background: #fff;
	font-size: 0.875rem;
	color: #475569;
}

.wellness-checkout-main .form-row.place-order {
	margin: 1rem 0 0;
	padding: 0;
}

.wellness-checkout-main #place_order,
.wellness-checkout-main .woocommerce-Button,
.wellness-checkout-main .woocommerce-button,
.wellness-checkout-main button.button,
.wellness-checkout-main a.button,
.wellness-checkout-main input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.8125rem 1.25rem;
	border: none;
	border-radius: 9999px;
	background: #5a7d66;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff !important;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wellness-checkout-main #place_order:hover,
.wellness-checkout-main .woocommerce-Button:hover,
.wellness-checkout-main .woocommerce-button:hover,
.wellness-checkout-main button.button:hover,
.wellness-checkout-main a.button:hover,
.wellness-checkout-main input.button:hover {
	background: #4a6b54;
}

.wellness-checkout-main .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 1rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #64748b;
}

.wellness-checkout-main .woocommerce-privacy-policy-text {
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #64748b;
}

.wellness-checkout-main .woocommerce-privacy-policy-text a,
.wellness-checkout-main .woocommerce-terms-and-conditions-link {
	color: #5a7d66;
	font-weight: 600;
	text-decoration: none;
}

.wellness-checkout-main .woocommerce-additional-fields {
	margin-top: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid #eef4ef;
	border-radius: 0.875rem;
	background: #fafcf9;
}

.wellness-checkout-panel--shipping .woocommerce-additional-fields,
.wellness-checkout-panel--notes-only .woocommerce-additional-fields {
	margin-top: 1.25rem;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
}

.wellness-checkout-main .woocommerce-account-fields {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #eef4ef;
}

.wellness-checkout-main .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0;
}

.wellness-checkout-main .checkout_coupon .form-row-last {
	float: none;
	width: 100%;
}

@media (min-width: 640px) {
	.wellness-checkout-main .checkout_coupon {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0.75rem;
		align-items: end;
	}

	.wellness-checkout-main .checkout_coupon .form-row-first,
	.wellness-checkout-main .checkout_coupon .form-row-last {
		width: auto;
		float: none;
		margin: 0;
	}

	.wellness-checkout-main .checkout_coupon .form-row-last button {
		width: auto;
		min-width: 8rem;
	}
}

.wellness-checkout-main .col2-set {
	width: 100%;
}

.wellness-checkout-main .col2-set::before,
.wellness-checkout-main .col2-set::after {
	display: none;
}

.wellness-checkout-main .col-1,
.wellness-checkout-main .col-2 {
	width: 100%;
	float: none;
}

.wellness-checkout-main .blockUI.blockOverlay {
	background: rgba(255, 255, 255, 0.72) !important;
}

.wellness-checkout-main .blockUI.blockMsg {
	border: none !important;
	border-radius: 9999px !important;
	background: #5a7d66 !important;
	color: #fff !important;
}

/* —— Thank you / order received —— */

.wellness-thankyou__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.wellness-thankyou__layout {
		grid-template-columns: minmax(0, 1fr) 22rem;
		gap: 2rem;
	}
}

.wellness-thankyou-notice {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin: 0;
	padding: 1.25rem 1.5rem;
	border: 1px solid #bbf7d0;
	border-radius: 1rem;
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.wellness-thankyou-notice__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background: #5a7d66;
	color: #fff;
}

.wellness-thankyou-notice__title {
	margin: 0 0 0.25rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f172a;
}

.wellness-thankyou-notice__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #475569;
}

.wellness-thankyou-overview {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wellness-thankyou-overview li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.875rem 0;
	border-bottom: 1px solid #eef4ef;
	font-size: 0.875rem;
	color: #475569;
}

.wellness-thankyou-overview li:last-child {
	border-bottom: none;
}

.wellness-thankyou-overview__label {
	font-weight: 500;
	color: #64748b;
}

.wellness-thankyou-overview li strong {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #0f172a;
	text-align: right;
}

.wellness-thankyou-overview .total strong {
	font-size: 1.0625rem;
	color: #5a7d66;
}

.wellness-thankyou__cta {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #eef4ef;
}

@media (min-width: 480px) {
	.wellness-thankyou__cta {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

.wellness-thankyou__cta .button {
	width: 100%;
}

@media (min-width: 480px) {
	.wellness-thankyou__cta .button {
		width: auto;
		flex: 1 1 auto;
	}
}

.wellness-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1rem 0 0;
}

.wellness-thankyou__panel--failed .woocommerce-notice--error {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: #b91c1c;
}

.wellness-checkout-main .woocommerce-order-details,
.wellness-checkout-main .woocommerce-customer-details {
	margin-top: 1.5rem;
}

.wellness-checkout-main .woocommerce-order-details__title,
.wellness-checkout-main .woocommerce-column__title,
.wellness-checkout-main .woocommerce-customer-details h2 {
	margin: 0 0 1rem;
	font-size: 1.0625rem;
	font-weight: 600;
	color: #0f172a;
}

.wellness-checkout-main .woocommerce-order-details,
.wellness-checkout-main .woocommerce-customer-details {
	padding: 1.5rem;
	border: 1px solid #e8efe6;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.wellness-checkout-main .woocommerce-customer-details address {
	margin: 0;
	padding: 1rem 1.125rem;
	border: 1px solid #eef4ef;
	border-radius: 0.875rem;
	background: #fafcf9;
	font-style: normal;
	line-height: 1.6;
	color: #475569;
}

.wellness-checkout-main .woocommerce-table--order-details {
	margin-top: 0;
}

.wellness-checkout-main .woocommerce-table--order-details tfoot tr:last-child th,
.wellness-checkout-main .woocommerce-table--order-details tfoot tr:last-child td {
	font-weight: 700;
	color: #0f172a;
}

/* —— Cart —— */

.woocommerce-cart .wellness-checkout-main .woocommerce {
	display: block;
}

.woocommerce-cart .wellness-checkout-main .woocommerce::before,
.woocommerce-cart .wellness-checkout-main .woocommerce::after,
.wellness-checkout-main .woocommerce-cart-form::before,
.wellness-checkout-main .woocommerce-cart-form::after,
.wellness-checkout-main .cart-collaterals::before,
.wellness-checkout-main .cart-collaterals::after {
	display: none !important;
	content: none !important;
}

.wellness-checkout-main .woocommerce-cart-form,
.wellness-checkout-main .cart-collaterals,
.wellness-checkout-main .cart_totals {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

.wellness-checkout-main .woocommerce-cart-form {
	min-width: 0;
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	border: 1px solid #e8efe6;
	border-radius: 1.25rem;
	background:
		radial-gradient(circle at top right, rgba(236, 253, 243, 0.75), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #fcfdfb 100%);
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.wellness-checkout-main .woocommerce-cart-form table.shop_table {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0 1rem;
	border: none;
	table-layout: fixed;
}

.wellness-checkout-main .woocommerce-cart-form table.shop_table thead th {
	padding: 0 1rem 0.75rem;
	border-bottom: 1px solid #e8efe6;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.wellness-checkout-main .woocommerce-cart-form .cart_item td {
	padding: 1rem;
	border-top: 1px solid #eef4ef;
	border-bottom: 1px solid #eef4ef;
	background: #fff;
	vertical-align: middle;
}

.wellness-checkout-main .woocommerce-cart-form .cart_item td::before {
	display: none;
}

.wellness-checkout-main .woocommerce-cart-form .cart_item td:first-child {
	border-left: 1px solid #eef4ef;
	border-radius: 1rem 0 0 1rem;
}

.wellness-checkout-main .woocommerce-cart-form .cart_item td:last-child {
	border-right: 1px solid #eef4ef;
	border-radius: 0 1rem 1rem 0;
}

.wellness-checkout-main .woocommerce-cart-form .cart_item:hover td {
	box-shadow: inset 0 0 0 9999px rgba(248, 251, 248, 0.75);
}

.wellness-checkout-main .woocommerce-cart-form .product-remove {
	width: 3rem;
	text-align: center;
}

.wellness-checkout-main .woocommerce-cart-form .product-remove a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	background: #fff7ed;
	color: #c2410c !important;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wellness-checkout-main .woocommerce-cart-form .product-remove a:hover {
	background: #fed7aa;
	color: #9a3412 !important;
	transform: scale(1.05);
}

.wellness-checkout-main .woocommerce-cart-form .product-thumbnail {
	width: 3.75rem;
}

.wellness-checkout-main .product-thumbnail a {
	display: inline-flex;
}

.wellness-checkout-main .product-thumbnail img {
	width: 3rem;
	height: 3rem;
	object-fit: cover;
	border-radius: 0.85rem;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.wellness-checkout-main .woocommerce-cart-form .product-name {
	min-width: 16rem;
}

.wellness-checkout-main .woocommerce-cart-form .product-name a {
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.45;
	color: #0f172a;
	text-decoration: none;
}

.wellness-checkout-main .woocommerce-cart-form .product-name a:hover {
	color: #3d6b4f;
}

.wellness-checkout-main .woocommerce-cart-form .product-price,
.wellness-checkout-main .woocommerce-cart-form .product-subtotal {
	font-size: 0.95rem;
	font-weight: 600;
	color: #0f172a;
	text-align: right;
}

.wellness-checkout-main .woocommerce-cart-form .product-price .amount,
.wellness-checkout-main .woocommerce-cart-form .product-subtotal .amount {
	color: #3d6b4f;
}

.wellness-checkout-main .woocommerce-cart-form .product-quantity .quantity {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem;
	border: 1px solid #dbe7de;
	border-radius: 9999px;
	background: #f8fbf8;
}

.wellness-checkout-main .woocommerce-cart-form .product-quantity input.qty {
	width: 4.75rem;
	min-height: 2.75rem;
	border: none;
	background: transparent;
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	color: #0f172a;
}

.wellness-checkout-main .woocommerce-cart-form .product-quantity input.qty:focus {
	outline: none;
}

.wellness-checkout-main .woocommerce-cart-form .actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: end;
	justify-content: space-between;
	padding: 1.25rem 0 0;
	border: none;
	background: transparent;
}

.shop_table.woocommerce-cart-form__contents td.actions {
	display: table-cell;
}

.wellness-checkout-main .woocommerce-cart-form .coupon {
	width: 60%;
	float: left;
}

.wellness-checkout-main .woocommerce-cart-form .actions>button[name="update_cart"] {
	margin: 15px 30px;
}

.wellness-checkout-main .shipping-calculator-button {
	text-decoration: underline;
	text-transform: uppercase;
	margin-top: 15px;
	display: block;
}

.wellness-checkout-main .woocommerce-cart-form .coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	flex: 1 1 26rem;
	margin: 0;
	padding: 1rem 1rem 1.05rem;
	border: 1px solid #dbe7de;
	border-radius: 1rem;
	background: linear-gradient(135deg, #f8fbf8 0%, #ffffff 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.wellness-checkout-main .woocommerce-cart-form .coupon label {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5a7d66;
}

.wellness-checkout-main .woocommerce-cart-form .coupon .input-text {
	min-height: 3rem;
	border: 1px solid #dbe7de;
	border-radius: 9999px;
	padding-inline: 1rem;
	background: #fff;
}

.wellness-checkout-main .woocommerce-cart-form .actions .button,
.wellness-checkout-main .woocommerce-cart-form .coupon .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 3rem;
	padding: 0.9rem 1.35rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.wellness-checkout-main .woocommerce-cart-form .coupon .button[name="apply_coupon"] {
	background: linear-gradient(135deg, #ffffff 0%, #f4faf6 100%);
	border: 1px solid #b8cdbd;
	color: #3d6b4f !important;
	box-shadow: 0 10px 22px rgba(90, 125, 102, 0.08);
}

.wellness-checkout-main .woocommerce-cart-form .coupon .button[name="apply_coupon"]:hover {
	background: #f0f7f2;
	border-color: #9fbaa6;
	transform: translateY(-1px);
}

.wellness-checkout-main .woocommerce-cart-form .actions>button[name="update_cart"] {
	flex: 0 0 auto;
	align-self: end;
	background: linear-gradient(135deg, #5a7d66 0%, #3d6b4f 100%);
	border: 1px solid transparent;
	color: #fff !important;
	box-shadow: 0 14px 28px rgba(61, 107, 79, 0.18);
}

.wellness-checkout-main .woocommerce-cart-form .actions>button[name="update_cart"]:hover {
	background: #4a6b54;
	transform: translateY(-1px);
	box-shadow: 0 18px 32px rgba(61, 107, 79, 0.22);
}

.wellness-checkout-main .cart-collaterals {
	display: block;
	width: 100%;
	margin-top: 0;
}

.wellness-checkout-main .cart_totals {
	padding: 1.5rem;
	border: 1px solid #dfeae2;
	border-radius: 1.25rem;
	background:
		radial-gradient(circle at top left, rgba(240, 247, 242, 0.95), transparent 40%),
		linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
	box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

@media (min-width: 1100px) {
	.woocommerce-cart .wellness-checkout-main .cart-collaterals {
		max-width: 24rem;
		margin-left: auto;
	}

	.woocommerce-cart .wellness-checkout-main .cart_totals {
		position: sticky;
		top: calc(var(--header-v3-height, 6rem) + 1rem);
	}
}

.wellness-checkout-main .cart_totals>h2 {
	margin: 0 0 1rem;
	font-size: 1.2rem;
	font-weight: 700;
	color: #0f172a;
}

.wellness-checkout-main .cart_totals table.shop_table {
	margin: 0;
	border-collapse: collapse;
}

.wellness-checkout-main .cart_totals table.shop_table tbody th,
.wellness-checkout-main .cart_totals table.shop_table tbody td {
	padding: 0.875rem 0;
	border-bottom: 1px solid #eef4ef;
	font-size: 0.9375rem;
	color: #475569;
}

.wellness-checkout-main .cart_totals table.shop_table tr:last-child th,
.wellness-checkout-main .cart_totals table.shop_table tr:last-child td {
	border-bottom: none;
}

.wellness-checkout-main .cart_totals table.shop_table th {
	text-align: left;
}

.wellness-checkout-main .cart_totals table.shop_table td {
	text-align: right;
}

.wellness-checkout-main .cart_totals .order-total th,
.wellness-checkout-main .cart_totals .order-total td {
	padding-top: 1rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.wellness-checkout-main .cart_totals .order-total .amount {
	color: #3d6b4f;
}

.wellness-checkout-main .wc-proceed-to-checkout {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e8efe6;
}

.wellness-checkout-main .wc-proceed-to-checkout .checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.95rem 1.25rem;
	border: none;
	border-radius: 9999px;
	background: linear-gradient(135deg, #5a7d66 0%, #3d6b4f 100%);
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none;
	box-shadow: 0 14px 30px rgba(61, 107, 79, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wellness-checkout-main .wc-proceed-to-checkout .checkout-button:hover {
	filter: brightness(0.98);
	transform: translateY(-1px);
	box-shadow: 0 18px 36px rgba(61, 107, 79, 0.26);
}

.wellness-checkout-main .return-to-shop .button {
	display: inline-flex;
	margin-top: 1rem;
}

.wellness-checkout-main .cart-empty.woocommerce-info {
	margin: 0;
	padding: 2rem 1.5rem;
	border: 1px solid #e8efe6;
	border-radius: 1rem;
	background: #fff;
	text-align: center;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
	.wellness-checkout-main .woocommerce-cart-form .coupon {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}
}

@media (max-width: 767px) {
	.wellness-checkout-main .woocommerce-cart-form {
		padding: 1rem;
	}

	.wellness-checkout-main .woocommerce-cart-form table.shop_table {
		border-spacing: 0;
	}

	.wellness-checkout-main .woocommerce-cart-form table.shop_table thead {
		display: none;
	}

	.wellness-checkout-main .woocommerce-cart-form table.shop_table tbody,
	.wellness-checkout-main .woocommerce-cart-form table.shop_table tr,
	.wellness-checkout-main .woocommerce-cart-form table.shop_table td {
		display: block;
		width: 100%;
	}

	.wellness-checkout-main .woocommerce-cart-form .cart_item {
		margin-bottom: 1rem;
		padding: 1rem;
		border: 1px solid #eef4ef;
		border-radius: 1rem;
		background: #fff;
		box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
	}

	.wellness-checkout-main .woocommerce-cart-form .cart_item td {
		padding: 0.5rem 0;
		border: none;
		border-radius: 0 !important;
		background: transparent;
		box-shadow: none !important;
	}

	.wellness-checkout-main .woocommerce-cart-form .cart_item td[data-title]::before {
		content: attr(data-title);
		display: block;
		margin-bottom: 0.35rem;
		font-size: 0.7rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: #64748b;
	}

	.wellness-checkout-main .woocommerce-cart-form .product-remove {
		padding-top: 0;
		text-align: right;
	}

	.wellness-checkout-main .woocommerce-cart-form .product-remove::before {
		display: none;
	}

	.wellness-checkout-main .woocommerce-cart-form .product-thumbnail::before,
	.wellness-checkout-main .woocommerce-cart-form .product-name::before {
		display: none;
	}

	.wellness-checkout-main .woocommerce-cart-form .product-thumbnail {
		padding-top: 0;
	}

	.wellness-checkout-main .woocommerce-cart-form .product-thumbnail img {
		width: 3rem;
		height: 3rem;
	}

	.wellness-checkout-main .woocommerce-cart-form .product-name {
		min-width: 0;
		padding-top: 0.125rem;
	}

	.wellness-checkout-main .woocommerce-cart-form .actions {
		display: block;
		padding-top: 1rem;
	}

	.wellness-checkout-main .woocommerce-cart-form .coupon {
		margin-bottom: 1rem;
		padding: 0.875rem;
	}

	.wellness-checkout-main .woocommerce-cart-form .actions .button,
	.wellness-checkout-main .woocommerce-cart-form .coupon .button {
		width: 100%;
	}

	.wellness-checkout-main .woocommerce-cart-form .actions>button[name="update_cart"] {
		align-self: auto;
	}
}