/* WooCommerce cart and checkout styles. Layout-sensitive rules stay in WooCommerce defaults. */

.woocommerce-checkout-review-order,
.cart_totals,
.woocommerce-order {
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	padding: 22px;
	background: #fff;
}

.woocommerce-cart-form {
	box-shadow: 0 1px 0 rgba(19, 32, 43, 0.03);
}

.woocommerce-cart-form table.shop_table,
.woocommerce-checkout-review-order-table {
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
}

.woocommerce-cart-form table.shop_table thead th,
.woocommerce-checkout-review-order-table thead th {
	padding: 14px 16px;
	border: 0;
	background: #f8fbfb;
	color: var(--hs-muted);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
}

.woocommerce-cart-form table.shop_table td,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table tfoot th {
	padding: 16px;
	border-top: 1px solid var(--hs-line);
	color: var(--hs-ink);
	vertical-align: middle;
}

.woocommerce-cart-form .product-thumbnail img {
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
}

.woocommerce-cart-form .product-name a,
.woocommerce-checkout-review-order-table .product-name {
	color: var(--hs-ink);
	font-weight: 850;
}

.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal,
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .order-total td {
	font-weight: 850;
}

.woocommerce-cart-form .product-remove a.remove {
	border: 1px solid #fecdca;
	border-radius: var(--hs-radius);
	background: #fff1f0;
	color: #b42318 !important;
	font-size: 1.25rem;
	line-height: 1;
}

.woocommerce-cart-form .product-remove a.remove:hover {
	background: #b42318;
	color: #fff !important;
}

.woocommerce-cart-form .quantity .qty {
	text-align: center;
}

.woocommerce-cart-form td.actions {
	padding: 20px 0 0;
	border-top: 1px solid var(--hs-line);
}

.woocommerce-cart-form td.actions .coupon {
	gap: 10px;
	margin-right: 10px;
}

.woocommerce-cart-form td.actions .coupon .input-text {
	margin-right: 10px;
}

.woocommerce-cart-form td.actions .button,
.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order,
.hs-empty-cart .button {
	border: 0;
	border-radius: var(--hs-radius);
	background: var(--hs-primary);
	color: #fff;
	font-weight: 850;
	padding: 12px 18px;
}

.woocommerce-cart-form td.actions .button:hover,
.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover,
.hs-empty-cart .button:hover {
	background: var(--hs-primary-dark);
	color: #fff;
}

.woocommerce-cart-form td.actions button[name="update_cart"] {
	background: #fff;
	border: 1px solid var(--hs-line);
	color: var(--hs-ink);
}

.woocommerce-cart-form td.actions button[name="update_cart"]:hover {
	border-color: var(--hs-primary);
	background: var(--hs-soft);
	color: var(--hs-primary-dark);
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
	box-shadow: var(--hs-shadow);
}

.cart_totals h2 {
	margin: 0 0 16px;
	font-size: clamp(1.25rem, 1.7vw, 1.55rem);
	font-weight: 850;
}

.cart_totals table.shop_table {
	margin-bottom: 18px;
	border: 0;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
	padding: 13px 0;
	border-top: 1px solid var(--hs-line);
	color: var(--hs-ink);
}

.cart_totals .order-total th,
.cart_totals .order-total td,
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
	color: var(--hs-primary-dark);
	font-size: 1.12rem;
	font-weight: 900;
}

.woocommerce .cart_totals .wc-proceed-to-checkout {
	padding: 0;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
	margin: 0;
	font-size: 1rem;
}

.hs-cart-upsells {
	gap: 18px;
	margin: 24px 0;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.06)),
		#fff;
	box-shadow: 0 1px 0 rgba(19, 32, 43, 0.03);
}

.hs-cart-upsells-head {
	gap: 16px;
}

.hs-cart-upsells-head h2 {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.9rem);
	font-weight: 850;
}

.hs-cart-upsells-head p {
	margin: 0;
	color: var(--hs-muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

.hs-cart-upsell-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.hs-cart-upsell-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 16px;
	padding: 14px;
	border: 1px solid rgba(15, 118, 110, 0.16);
	border-radius: var(--hs-radius);
	background: #fff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hs-cart-upsell-card:hover {
	border-color: rgba(15, 118, 110, 0.34);
	box-shadow: var(--hs-shadow);
	transform: translateY(-2px);
}

.hs-cart-upsell-card.is-selected {
	border-color: var(--hs-primary);
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.05)),
		#fff;
	box-shadow: var(--hs-shadow);
}

.hs-cart-upsell-media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: var(--hs-soft);
}

.hs-cart-upsell-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--hs-radius);
}

.hs-cart-upsell-body {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
}

.hs-cart-upsell-body h3 {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 850;
	line-height: 1.22;
}

.hs-cart-upsell-body h3 a {
	color: var(--hs-ink);
	text-decoration: none;
}

.hs-cart-upsell-body h3 a:hover {
	color: var(--hs-primary-dark);
}

.hs-cart-upsell-body p {
	margin: 0;
	color: var(--hs-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.hs-cart-upsell-foot {
	display: grid;
	gap: 10px;
	margin-top: auto;
	padding-top: 8px;
}

.hs-cart-upsell-price {
	color: var(--hs-primary-dark);
	font-size: 1.02rem;
	font-weight: 900;
}

.hs-cart-upsell-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
	color: var(--hs-ink);
	padding: 10px 14px;
	font-size: 0.9rem;
	font-weight: 850;
	text-decoration: none;
	white-space: nowrap;
}

.hs-cart-upsell-button:hover,
.hs-cart-upsell-button.is-selected {
	border-color: var(--hs-primary);
	background: var(--hs-primary);
	color: #fff;
}

.hs-cart-upsell-check {
	display: inline-flex;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.72rem;
	line-height: 1;
	opacity: 0.42;
}

.hs-cart-upsell-button.is-selected .hs-cart-upsell-check {
	background: #fff;
	color: var(--hs-primary);
	opacity: 1;
}

.hs-cart-upsell-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding-top: 12px;
}

.hs-cart-upsell-offer {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	min-height: 72px;
	padding: 12px 14px;
	border: 1px solid rgba(245, 158, 11, 0.56);
	border-radius: var(--hs-radius);
	background:
		linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(15, 118, 110, 0.1)),
		#fffbeb;
	color: #78350f;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.35;
	box-shadow: 0 10px 24px rgba(120, 53, 15, 0.1);
}

.hs-cart-upsell-offer-copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.hs-cart-upsell-offer-copy > span {
	color: #5f2f06;
	font-size: 0.9rem;
	font-weight: 900;
	text-transform: uppercase;
}

.hs-cart-upsell-offer-copy small {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	color: #0f4f4a;
	font-size: 0.84rem;
	font-weight: 850;
}

.hs-cart-upsell-offer-copy [data-hs-cart-upsell-countdown] {
	display: inline-flex;
	min-width: 52px;
	height: 26px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #f59e0b;
	color: #fff;
	font-variant-numeric: tabular-nums;
	font-weight: 950;
}

.hs-cart-upsell-offer.is-expiring .hs-cart-upsell-offer-copy [data-hs-cart-upsell-countdown] {
	background: #dc2626;
}

.hs-cart-upsell-action-buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	min-width: 0;
}

.hs-cart-upsell-action-buttons .btn {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	text-align: center;
	line-height: 1.15;
	white-space: normal;
}

.hs-cart-upsell-add-selected:disabled {
	background: #dbe7e5;
	color: #627083;
	cursor: not-allowed;
	opacity: 1;
}

.hs-cart-upsell-modal-open {
	overflow: hidden;
}

.hs-cart-upsell-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 3vw, 30px);
}

.hs-cart-upsell-modal.is-active {
	display: flex;
}

.hs-cart-upsell-modal-backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(19, 32, 43, 0.56);
	cursor: pointer;
}

.hs-cart-upsell-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(1040px, calc(100vw - 32px));
	max-height: calc(100vh - 40px);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
	box-shadow: 0 24px 70px rgba(19, 32, 43, 0.22);
	overflow: auto;
}

.hs-cart-upsell-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
	color: var(--hs-ink);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.hs-cart-upsell-modal-close:hover {
	border-color: var(--hs-primary);
	background: var(--hs-soft);
	color: var(--hs-primary-dark);
}

.hs-cart-upsells-popup-content {
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.hs-empty-cart {
	gap: 24px;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(245, 158, 11, 0.08)),
		#fff;
	box-shadow: var(--hs-shadow);
}

.hs-empty-cart h2 {
	margin: 8px 0 10px;
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	font-weight: 850;
	line-height: 1.1;
}

.hs-empty-cart p {
	margin: 0 0 18px;
	color: var(--hs-muted);
	font-size: 1.05rem;
}

.hs-empty-cart-steps {
	gap: 10px;
}

.hs-empty-cart-steps div {
	gap: 8px;
	padding: 16px;
	border: 1px solid rgba(15, 118, 110, 0.16);
	border-radius: var(--hs-radius);
	background: rgba(255, 255, 255, 0.72);
}

.hs-empty-cart-steps strong {
	border-radius: var(--hs-radius);
	background: var(--hs-primary);
	color: #fff;
	font-size: 0.9rem;
}

.hs-empty-cart-steps span {
	color: var(--hs-ink);
	font-weight: 850;
	line-height: 1.35;
}

.hs-checkout {
	border: 0;
	padding: 0;
	background: transparent;
}

.hs-checkout-intro {
	gap: 20px;
	margin-bottom: 22px;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(245, 158, 11, 0.07)),
		#fff;
	box-shadow: 0 1px 0 rgba(19, 32, 43, 0.03);
}

.hs-checkout-intro h2 {
	margin: 8px 0 10px;
	font-size: clamp(1.55rem, 2.6vw, 2.35rem);
	font-weight: 850;
	line-height: 1.1;
}

.hs-checkout-intro p,
.hs-checkout-card-head p {
	margin: 0;
	color: var(--hs-muted);
}

.hs-checkout-steps {
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hs-checkout-steps li {
	gap: 8px;
	padding: 8px 11px;
	border: 1px solid rgba(15, 118, 110, 0.18);
	border-radius: var(--hs-radius);
	background: #fff;
	color: var(--hs-ink);
	font-size: 0.88rem;
	font-weight: 850;
}

.hs-checkout-steps span,
.hs-checkout-card-head > span {
	border-radius: var(--hs-radius);
	background: var(--hs-primary);
	color: #fff;
	font-size: 0.86rem;
	font-weight: 900;
}

.hs-checkout-layout {
	margin-top: 22px;
}

.hs-checkout-sidebar {
	margin-top: 22px;
}

.hs-checkout-card {
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
	box-shadow: 0 1px 0 rgba(19, 32, 43, 0.03);
}

.hs-checkout-card-head {
	gap: 12px;
	padding: 20px;
	border-bottom: 1px solid var(--hs-line);
	background: #f8fbfb;
}

.hs-checkout-card-head h3 {
	margin: 0 0 5px;
	font-size: clamp(1.15rem, 1.5vw, 1.38rem);
	font-weight: 850;
}

.hs-checkout-customer .col2-set {
	padding: 20px;
}

.woocommerce-checkout h3 {
	color: var(--hs-ink);
	font-weight: 850;
}

.woocommerce-checkout .form-row label {
	color: var(--hs-ink);
	font-size: 0.92rem;
	font-weight: 760;
}

.woocommerce-checkout .form-row .required {
	color: #b42318;
}

.woocommerce-checkout .select2-container .select2-selection--single {
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--hs-ink);
}

.woocommerce-checkout-review-order {
	border: 0;
	border-radius: 0;
	padding: 20px;
	box-shadow: none;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	border-color: var(--hs-line);
}

.woocommerce-checkout #payment {
	border-radius: var(--hs-radius);
	background: var(--hs-soft);
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid var(--hs-line);
	padding: 16px;
}

.woocommerce-checkout #payment div.payment_box {
	border-radius: var(--hs-radius);
	background: #fff;
	color: var(--hs-muted);
}

.woocommerce-checkout #payment div.form-row {
	padding: 16px;
}

.woocommerce-checkout #payment #place_order {
	padding: 12px 18px;
}

.woocommerce-terms-and-conditions-wrapper {
	color: var(--hs-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.wp-block-woocommerce-cart.is-loading,
.wp-block-woocommerce-checkout.is-loading {
	opacity: 1;
}

.wp-block-woocommerce-cart-items-block,
.wp-block-woocommerce-checkout-fields-block,
.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-checkout-step,
.wc-block-components-order-summary,
.wc-block-cart__empty-cart__title {
	border-radius: var(--hs-radius);
}

.wp-block-woocommerce-cart-items-block,
.wp-block-woocommerce-checkout-fields-block,
.wc-block-components-sidebar,
.wp-block-woocommerce-empty-cart-block {
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
	box-shadow: 0 1px 0 rgba(19, 32, 43, 0.03);
}

.wc-block-cart-items,
.wc-block-components-order-summary,
.wc-block-components-totals-wrapper,
.wc-block-components-checkout-step {
	border-color: var(--hs-line);
}

.wc-block-cart-items th,
.wc-block-components-totals-wrapper,
.wc-block-components-checkout-step__heading {
	color: var(--hs-ink);
}

.wc-block-cart-items th {
	padding: 14px 16px;
	background: #f8fbfb;
	color: var(--hs-muted);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
}

.wc-block-cart-items td {
	border-top: 1px solid var(--hs-line);
	padding: 16px;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
}

.wc-block-cart-item__product,
.wc-block-cart-item__total,
.wc-block-components-product-name,
.wc-block-components-totals-item__value {
	color: var(--hs-ink);
	font-weight: 850;
}

.wc-block-cart-item__prices,
.wc-block-cart-item__quantity,
.wc-block-components-product-metadata,
.wc-block-components-totals-item__description,
.wc-block-components-checkout-step__description {
	color: var(--hs-muted);
}

.wc-block-components-quantity-selector {
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
}

.wc-block-cart-item__remove-link {
	color: #b42318;
	font-weight: 800;
	text-decoration: none;
}

.wc-block-cart-item__remove-link:hover {
	color: #8a1f15;
	text-decoration: underline;
}

.wc-block-components-sidebar {
	padding: 0;
	box-shadow: var(--hs-shadow);
}

.wc-block-components-sidebar-layout .wc-block-components-main {
	margin-right: 30px !important;
	width: 60% !important;
}

.wp-block-woocommerce-cart-order-summary-heading-block,
.wc-block-components-title.wc-block-components-title {
	margin: 0;
	padding: 18px 20px;
	border-bottom: 1px solid var(--hs-line);
	background: #f8fbfb;
	color: var(--hs-ink);
	font-size: 1.18rem;
	font-weight: 850;
}

.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wp-block-woocommerce-proceed-to-checkout-block,
.wp-block-woocommerce-cart-accepted-payment-methods-block {
	padding: 16px 20px;
	border-top: 1px solid var(--hs-line);
}

.wc-block-components-totals-item {
	color: var(--hs-ink);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--hs-primary-dark);
	font-size: 1.08rem;
	font-weight: 900;
}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	border: 0;
	border-radius: var(--hs-radius);
	background: var(--hs-primary);
	color: #fff;
	font-weight: 850;
	box-shadow: none;
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background: var(--hs-primary-dark);
	color: #fff;
}

.wc-block-components-button.is-link {
	color: var(--hs-primary-dark);
	font-weight: 800;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"],
.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-form .wc-block-components-textarea {
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	background: #fff;
	color: var(--hs-ink);
	box-shadow: none;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.wc-block-components-form .wc-block-components-textarea:focus {
	border-color: var(--hs-primary);
	box-shadow: none;
	outline: 3px solid rgba(15, 118, 110, 0.16);
}

.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label.components-base-control__label,
.wc-block-components-checkbox .wc-block-components-checkbox__label,
.wc-block-components-radio-control__label {
	color: var(--hs-ink);
	font-weight: 760;
}

.wc-block-checkout__form,
.wc-block-components-checkout-step__content,
.wc-block-components-address-form,
.wc-block-components-address-form-wrapper,
.wc-block-components-address-address-wrapper,
.wc-block-components-address-card-wrapper,
.wc-block-components-text-input,
.wc-block-components-country-input,
.wc-block-components-state-input,
.wc-blocks-components-select,
.wc-blocks-components-select__container {
	min-width: 0;
	max-width: 100%;
}

.wc-block-components-address-form,
.wc-block-components-address-form .wc-block-components-text-input,
.wc-block-components-address-form .wc-block-components-country-input,
.wc-block-components-address-form .wc-block-components-state-input,
.wc-blocks-components-select,
.wc-blocks-components-select__container,
.wc-blocks-components-select__select {
	width: 100%;
}

.wc-block-components-checkout-step {
	margin: 0;
	padding: 20px 22px;
	border-bottom: 1px solid var(--hs-line);
}

.wc-block-components-checkout-step:last-child {
	border-bottom: 0;
}

.wc-block-components-checkout-step__heading {
	margin-bottom: 14px;
}

.wc-block-components-checkout-step__title {
	color: var(--hs-ink);
	font-size: clamp(1.08rem, 1.4vw, 1.28rem);
	font-weight: 850;
}

.wc-block-components-checkout-step__container {
	margin: 0;
}

.wc-block-components-radio-control,
.wc-block-components-radio-control__option {
	border-color: var(--hs-line);
}

.wc-block-components-radio-control__option {
	border-radius: var(--hs-radius);
}

.wc-block-components-radio-control__option-checked {
	background: var(--hs-soft);
	box-shadow: inset 0 0 0 1px var(--hs-primary);
}

.wp-block-woocommerce-empty-cart-block {
	padding: clamp(26px, 5vw, 54px);
	text-align: center;
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(245, 158, 11, 0.08)),
		#fff;
	box-shadow: var(--hs-shadow);
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	margin: 0 0 14px;
	color: var(--hs-ink);
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	font-weight: 850;
	line-height: 1.1;
}

.wp-block-woocommerce-empty-cart-block p {
	margin: 0;
}

.wp-block-woocommerce-empty-cart-block a {
	padding: 12px 18px;
	border-radius: var(--hs-radius);
	background: var(--hs-primary);
	color: #fff;
	font-weight: 850;
	text-decoration: none;
}

.wp-block-woocommerce-empty-cart-block a:hover {
	background: var(--hs-primary-dark);
	color: #fff;
}

.wc-block-components-notice-banner {
	border-radius: var(--hs-radius);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	border-top-color: var(--hs-primary);
	border-radius: var(--hs-radius);
	background: var(--hs-soft);
	color: var(--hs-ink);
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
	color: var(--hs-primary);
}

@media (max-width: 767.98px) {
	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr {
		border: 1px solid var(--hs-line);
		border-radius: var(--hs-radius);
		margin-bottom: 12px;
	}

	.woocommerce-cart-form table.shop_table_responsive tr td,
	.woocommerce-page .woocommerce-cart-form table.shop_table_responsive tr td {
		padding: 12px 0;
		border-top: 1px solid var(--hs-line);
	}

	.woocommerce-cart-form table.shop_table_responsive tr td::before,
	.woocommerce-page .woocommerce-cart-form table.shop_table_responsive tr td::before {
		color: var(--hs-muted);
		font-size: 0.78rem;
		font-weight: 850;
		text-transform: uppercase;
	}

	.woocommerce-cart-form .product-thumbnail {
		text-align: left !important;
	}

	.wc-block-components-sidebar-layout,
	.wc-block-components-sidebar-layout .wc-block-components-main,
	.wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.is-medium table.wc-block-cart-items .wc-block-cart-items__row,
	.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
	.is-small table.wc-block-cart-items .wc-block-cart-items__row {
		display: grid;
		grid-template-columns: minmax(56px, 64px) minmax(0, 1fr) minmax(70px, max-content);
		column-gap: 10px;
		row-gap: 8px;
		align-items: start;
		padding: 14px 0;
	}

	.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
	.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
	.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
		grid-column: 1;
		grid-row: 1;
		padding-right: 0;
	}

	.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img,
	.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img,
	.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
		width: 56px;
		height: 56px;
		object-fit: cover;
	}

	.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
	.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
	.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
		grid-column: 2;
		grid-row: 1 / span 2;
		min-width: 0;
		padding: 0;
	}

	.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
	.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
	.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
		grid-column: 3;
		grid-row: 1;
		min-width: 0;
		padding: 0;
		text-align: right;
	}

	.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
	.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
	.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
		grid-column: 1 / span 3;
		grid-row: 3;
		padding: 0;
	}

	.is-medium table.wc-block-cart-items .wc-block-components-product-name,
	.is-mobile table.wc-block-cart-items .wc-block-components-product-name,
	.is-small table.wc-block-cart-items .wc-block-components-product-name,
	.is-medium table.wc-block-cart-items .wc-block-components-product-metadata,
	.is-mobile table.wc-block-cart-items .wc-block-components-product-metadata,
	.is-small table.wc-block-cart-items .wc-block-components-product-metadata {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.wc-block-components-address-form {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.wc-block-components-address-form > *,
	.wc-block-checkout__contact-fields .wc-block-components-address-form > * {
		grid-column: 1 / -1 !important;
	}

	.wc-block-components-checkout-step {
		padding: 16px;
	}

	.hs-cart-upsells {
		padding: 16px;
	}

	.hs-cart-upsells-head p {
		display: none;
	}

	.hs-cart-upsell-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.hs-cart-upsell-card {
		gap: 10px;
		padding: 10px;
	}

	.hs-cart-upsell-media {
		aspect-ratio: 1 / 1;
	}

	.hs-cart-upsell-body h3 {
		font-size: 0.92rem;
		line-height: 1.2;
	}

	.hs-cart-upsell-body p {
		display: none;
	}

	.hs-cart-upsell-price {
		font-size: 0.92rem;
	}

	.hs-cart-upsell-button {
		padding: 8px 9px;
		font-size: 0.82rem;
		white-space: normal;
	}

	.hs-cart-upsell-check {
		width: 16px;
		height: 16px;
	}

	.hs-cart-upsell-modal {
		align-items: center;
		padding: 8px;
	}

	.hs-cart-upsell-modal-dialog {
		width: min(390px, calc(100vw - 16px));
		max-height: calc(100dvh - 16px);
		overflow: hidden;
	}

	.hs-cart-upsells-popup-content {
		display: flex;
		max-height: calc(100dvh - 16px);
		flex-direction: column;
		gap: 12px;
		padding: 12px;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsells-head {
		flex: 0 0 auto;
		padding-right: 38px;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsells-head h2 {
		font-size: 1.08rem;
		line-height: 1.18;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-grid {
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-right: 2px;
		grid-template-columns: 1fr;
	}

	.hs-cart-upsell-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-card {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		align-items: stretch;
		gap: 10px;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-media {
		aspect-ratio: 1 / 1;
		min-height: 96px;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-body {
		gap: 5px;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-body p {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		font-size: 0.78rem;
		line-height: 1.35;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-foot {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 8px;
		padding-top: 2px;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-button {
		width: auto;
		min-height: 34px;
		padding: 7px 9px;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-actions {
		position: sticky;
		bottom: 0;
		z-index: 1;
		flex: 0 0 auto;
		gap: 8px;
		margin: 0 -12px -12px;
		padding: 10px 12px 12px;
		border-top: 1px solid var(--hs-line);
		background: #fff;
		box-shadow: 0 -14px 24px rgba(19, 32, 43, 0.08);
	}

	.hs-cart-upsell-offer {
		display: flex;
		min-width: 0;
		margin-right: 0;
		font-size: 0.82rem;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-offer {
		min-height: 0;
		padding: 9px 10px;
	}

	.hs-cart-upsell-offer-copy > span {
		font-size: 0.8rem;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-offer-copy {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 5px 8px;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-offer-copy small {
		font-size: 0.78rem;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-offer-copy [data-hs-cart-upsell-countdown] {
		min-width: 48px;
		height: 24px;
	}

	.hs-cart-upsell-action-buttons {
		grid-template-columns: 1fr;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-action-buttons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.hs-cart-upsell-action-buttons .btn {
		width: 100%;
	}

	.hs-cart-upsells-popup-content .hs-cart-upsell-action-buttons .btn {
		min-height: 42px;
		padding: 8px 10px;
		font-size: 0.82rem;
	}

	.woocommerce-cart-form td.actions .coupon,
	.woocommerce-cart-form td.actions .button,
	.woocommerce-cart-form td.actions .coupon .input-text {
		margin-right: 0;
	}

	.wp-block-woocommerce-cart-order-summary-heading-block,
	.wc-block-components-title.wc-block-components-title,
	.wc-block-components-checkout-step,
	.wc-block-components-sidebar .wc-block-components-totals-wrapper,
	.wp-block-woocommerce-cart-order-summary-coupon-form-block,
	.wp-block-woocommerce-checkout-order-summary-coupon-form-block,
	.wp-block-woocommerce-proceed-to-checkout-block,
	.wp-block-woocommerce-cart-accepted-payment-methods-block {
		padding-left: 16px;
		padding-right: 16px;
	}

	.wc-block-cart-items td {
		padding: 14px 0;
	}

	.hs-checkout-customer .col2-set,
	.woocommerce-checkout-review-order {
		padding: 16px;
	}

	.hs-checkout-card-head {
		padding: 16px;
	}
}

.wp-block-woocommerce-checkout-order-summary-fee-block:empty,
.wp-block-woocommerce-checkout-order-summary-discount-block:empty {
	padding: 0;
	border: 0;
	margin: 0;
}
