:root {
	--lp-teal: #1db5ac;
	--lp-teal-dark: #179990;
	--lp-bg-light: #e8f9f7;
	--lp-text: #1a3344;
	--lp-muted: #666;
	--lp-border: #d0eeeb;
	--lp-radius: 8px;
}

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
	margin-left: auto;
	margin-right: auto;
}

.wc-block-cart {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 1rem;
	gap: 2rem;
}

.wc-block-components-main {
	min-width: 0;
}

.wc-block-components-sidebar-layout {
	flex-wrap: nowrap !important;
}

.wc-block-cart-item__image,
.wc-block-cart-item__product,
.wc-block-cart-item__total {
	border: none !important;
}

.wc-block-components-sidebar-layout.wc-block-cart {
	padding-top: 50px !important;
}

table caption+thead tr:first-child td, table caption+thead tr:first-child th, table colgroup+thead tr:first-child td, table colgroup+thead tr:first-child th, table thead:first-child tr:first-child td, table thead:first-child tr:first-child th {
	border: none !important;
}

.wc-block-components-totals-coupon.wc-block-components-panel {
	border: none !important;
}

.wc-block-cart-items {
	width: 100%;
	border-collapse: collapse;
}

.wc-block-cart-items__header th {
	padding: 0.75rem 1rem;
	background: var(--lp-bg-light);
	color: var(--lp-text);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 2px solid var(--lp-border);
}

.wc-block-cart-items__header-image,
.wc-block-cart-item__image {
	width: 100px;
}

.wc-block-cart-items__header-total,
.wc-block-cart-item__total {
	text-align: right;
}

.wc-block-cart-items__row {
	border-bottom: 1px solid var(--lp-border);
	border-top: 1px solid var(--lp-border);
}

.wc-block-cart-items__row td {
	padding: 1.25rem 1rem;
	vertical-align: top;
}

.wc-block-cart-item__image img {
	width: 90px;
	height: 90px;
	padding: 5px;
	object-fit: contain;
	border-radius: var(--lp-radius);
	border: 1px solid var(--lp-border);
}

.wc-block-components-product-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--lp-text);
	text-decoration: none;
	display: block;
	margin-bottom: 0.4rem;
}

.wc-block-components-product-name:hover {
	color: var(--lp-teal);
}

.wc-block-cart-item__prices {
	margin-bottom: 0.35rem;
}

.wc-block-components-product-price__regular {
	color: var(--lp-muted);
	font-size: 0.85rem;
}

.wc-block-components-product-price__value.is-discounted {
	color: var(--lp-teal);
	font-weight: 700;
}

.wc-block-components-sale-badge {
	display: inline-block;
	background: var(--lp-teal);
	color: #fff;
	font-size: 0.75rem;
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	margin-bottom: 0.4rem;
}

.wc-block-components-product-details {
	font-size: 0.82rem;
	color: var(--lp-muted);
	margin-bottom: 0.35rem;
}

.wc-block-cart-item__product .wc-block-components-product-metadata img,
.wc-block-cart-item__product .wc-block-components-product-metadata__description img,
.wc-block-cart-item__product .wc-block-components-product-details img {
	display: inline-block;
	width: auto;
	max-width: 48px;
	height: auto;
	margin: 0.15rem 0.35rem 0.15rem 0;
	vertical-align: middle;
	object-fit: contain;
}

.wc-block-components-order-summary-item__description img,
.wc-block-components-order-summary-item__full-description img,
.wc-block-components-product-metadata__description img {
	display: inline-block;
	width: auto;
	max-width: 40px;
	height: auto;
	margin: 0.1rem 0.25rem 0.1rem 0;
	vertical-align: middle;
	object-fit: contain;
}

.in_stock_color {
	color: var(--lp-teal);
	font-size: 0.8rem;
	font-weight: 600;
	margin: 0.3rem 0 0.6rem;
}

.wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius);
	overflow: hidden;
}

.wc-block-components-quantity-selector__input {
	width: 44px;
	text-align: center;
	border: none;
	border-left: 1px solid var(--lp-border);
	border-right: 1px solid var(--lp-border);
	font-size: 0.9rem;
	color: var(--lp-text);
	padding: 0.4rem 0;
	-moz-appearance: textfield;
}

.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

.wc-block-components-quantity-selector__button {
	background: var(--lp-bg-light);
	border: none;
	padding: 0.4rem 0.75rem;
	cursor: pointer;
	font-size: 1rem;
	color: var(--lp-teal);
	transition: background 0.2s;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
	background: var(--lp-teal);
	color: #fff;
}

.wc-block-components-quantity-selector__button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.wc-block-cart-item__remove-link {
	display: inline-block;
	margin-top: 0.6rem;
	font-size: 0.78rem;
	color: var(--lp-muted);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

.wc-block-cart-item__remove-link:hover {
	color: #c0392b;
}

.wc-block-cart-item__total .wc-block-components-product-price__value {
	font-weight: 700;
	font-size: 1rem;
	color: var(--lp-text);
}

.wc-block-cart__sidebar {
	background: var(--lp-bg-light);
	border-radius: var(--lp-radius);
	padding: 1.5rem;
	border: 1px solid var(--lp-border);
	align-self: start;
}

.wc-block-cart__totals-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--lp-text);
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--lp-border);
}

.wc-block-components-totals-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.6rem 0;
	font-size: 0.9rem;
	color: var(--lp-text);
}

.wc-block-components-totals-item__label {
	color: var(--lp-muted);
}

.wc-block-components-totals-footer-item {
	padding: 0.9rem 0 0.5rem;
	border-bottom: none;
	font-size: 1rem;
	font-weight: 700;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: var(--lp-text);
	font-weight: 700;
}

.wc-block-components-totals-footer-item-tax-value {
	font-size: 1.15rem;
	color: var(--lp-teal);
	font-weight: 700;
}

.wc-block-components-totals-footer-item-tax {
	font-size: 0.75rem;
	color: var(--lp-muted);
	text-align: right;
	margin: 0;
}

.wc-block-components-totals-coupon {
	border-bottom: 1px solid var(--lp-border);
}

.wc-block-components-panel__button {
	font-size: 0.85rem;
	color: var(--lp-teal);
	cursor: pointer;
	padding: 0.6rem 0;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.wc-block-components-panel__button:hover {
	color: var(--lp-teal-dark);
}

.wc-block-cart__submit-button {
	display: block;
	width: 100%;
	margin-top: 1.25rem;
	padding: 0.9rem 1rem;
	background: var(--lp-teal);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
	border-radius: var(--lp-radius);
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.wc-block-cart__submit {
	margin: 0 !important;
}

.wc-block-cart__submit-button:hover {
	background: var(--lp-teal-dark);
	color: #fff !important;
}

.wp-block-woocommerce-checkout {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 2rem;
	padding: 0 2rem;
	width: 100%;
	box-sizing: border-box;
}

.wc-block-checkout {
	padding: 0;
	gap: 2rem;
}

.wc-block-components-sidebar-layout.wc-block-checkout {
	padding-top: 50px !important;
}

.wc-block-checkout__main {
	min-width: 0;
}

.cart-item-name {
	font-size: 18px !important;
}

.wc-block-checkout__sidebar {
	background: var(--lp-bg-light);
	border-radius: var(--lp-radius);
	padding: 1.5rem;
	border: 1px solid var(--lp-border);
	align-self: start;
}

.wc-block-components-checkout-step {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--lp-border);
	margin: 0 0 20px !important;
}

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

.wc-block-components-checkout-step__heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.wc-block-components-checkout-step__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--lp-text);
	margin: 0;
}

.wc-block-components-checkout-step__heading-content {
	font-size: 0.85rem;
	color: var(--lp-muted);
}

.wc-block-components-checkout-step__index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	background: var(--lp-teal);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
}

.wc-block-components-text-input {
	position: relative;
	margin-bottom: 1rem;
}

.wc-block-components-text-input input,
.wc-block-components-text-input textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius);
	font-size: 0.9rem;
	color: var(--lp-text);
	background: #fff;
	transition: border-color 0.2s;
	outline: none;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus {
	border-color: var(--lp-teal);
}

.wc-block-components-text-input label {
	font-size: 0.82rem;
	color: var(--lp-muted);
	margin-bottom: 0.3rem;
	display: block;
}

.wc-block-components-select select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius);
	font-size: 0.9rem;
	color: var(--lp-text);
	background: #fff;
	outline: none;
	appearance: none;
	cursor: pointer;
}

.wc-block-components-select select:focus {
	border-color: var(--lp-teal);
}

.wc-block-components-checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.wc-block-components-checkbox input[type="checkbox"] {
	accent-color: var(--lp-teal);
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.wc-block-components-checkbox label {
	font-size: 0.88rem;
	color: var(--lp-text);
	cursor: pointer;
}

.wc-block-components-radio-control-accordion-option {
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius);
	margin-bottom: 0.5rem;
	overflow: hidden;
}

.wc-block-components-radio-control-accordion-option input[type="radio"] {
	accent-color: var(--lp-teal);
}

.wc-block-components-radio-control__option-layout {
	display: flex;
	gap: 0.75rem;
	cursor: pointer;
}

.wc-block-components-radio-control-accordion-option:has(input:checked) {
	border-color: var(--lp-teal);
	background: var(--lp-bg-light);
}

.wc-block-components-shipping-rates-control__package {
	margin-bottom: 1rem;
}

.wc-block-components-payment-method-label {
	font-size: 0.9rem;
	color: var(--lp-text);
	font-weight: 500;
}

.wc-block-components-payment-method-label__secondary {
	font-size: 0.78rem;
	color: var(--lp-muted);
}

.wc-block-components-checkout-place-order-button {
	display: block !important;
	width: auto !important;
	margin-top: 1.25rem !important;
	padding: 0.9rem 2rem !important;
	background: var(--lp-teal) !important;
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	text-align: center !important;
	border-radius: var(--lp-radius) !important;
	border: none !important;
	cursor: pointer !important;
	transition: background 0.2s !important;
	text-decoration: none !important;
}

.wc-block-components-checkout-place-order-button:hover {
	background: var(--lp-teal-dark) !important;
	color: #fff !important;
}

.wc-block-components-order-summary {
	margin-bottom: 1rem;
}

.wc-block-components-order-summary__button {
	font-size: 0.9rem;
	color: var(--lp-teal);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: none;
	padding: 0.6rem 0;
	font-weight: 600;
	border-bottom: 2px solid var(--lp-border);
	margin-bottom: 0.75rem;
}

.wc-block-components-order-summary-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--lp-border);
	font-size: 0.88rem;
	color: var(--lp-text);
	text-align: left;
}

.wc-block-components-order-summary-item__image {
	flex: 0 0 48px;
	width: 48px;
}

.wc-block-components-order-summary-item__image img {
	width: 48px;
	max-width: 48px;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	border: 1px solid var(--lp-border);
	padding: 0.25rem;
	box-sizing: border-box;
}

.wc-block-components-order-summary-item__description {
	flex: 1 1 auto;
	min-width: 0;
}

.wc-block-components-order-summary-item__name {
	font-weight: 600;
	margin-bottom: 0.2rem;
}

.wc-block-components-order-summary-item__variation {
	font-size: 0.78rem;
	color: var(--lp-muted);
}

.wc-block-components-order-summary-item__quantity {
	background: var(--lp-bg-light);
	border: 1px solid var(--lp-border);
	border-radius: 50%;
	width: 22px;
	height: 22px;
	min-width: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--lp-text);
}

.wc-block-components-order-summary-item__total-price {
	font-weight: 700;
	white-space: nowrap;
	color: var(--lp-text);
}

.wc-block-components-totals-discount .wc-block-components-totals-item__value {
	color: var(--lp-teal);
	font-weight: 700;
}

@media (max-width: 768px) {
	.wc-block-components-sidebar-layout {
		flex-direction: column;
	}

	.wc-block-cart-items__header-image,
	.wc-block-cart-items__header-total {
		display: none;
	}

	.wc-block-cart-item__image {
		display: none;
	}

	.wc-block-cart-items__row td {
		padding: 1rem 0.5rem;
	}

	.wc-block-cart__sidebar {
		padding: 1rem;
	}

	.wc-block-cart-item__total {
		white-space: nowrap;
	}

	.wc-block-checkout {
		padding: 0 0.75rem;
	}

	.wc-block-checkout__sidebar {
		padding: 1rem;
	}

	.wc-block-components-checkout-step {
		padding: 1rem 0;
	}
}
