/* Cart page */

.cart-main .wc-block-components-sidebar-layout {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 40px;
}

.cart-main .wc-block-components-sidebar-layout .wc-block-components-main {
	flex: 1 1 65%;
	width: auto;
	max-width: none;
	margin: 0;
	padding-right: 0;
}

.cart-main .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	flex: 0 0 35%;
	width: auto;
	max-width: none;
	margin: 0;
}
.cart-main {
	background: #FAFAFC;
}

.cart-container {
	padding-top: 20px;
	padding-bottom: 100px;
}

.cart-title {
	color: #000;
	font-family: var(--global-font-family-1);
	font-size: 36px;
	line-height: 50px;
	margin: 0;
	font-weight: 800;
}

.cart-description {
	color: #000;
	font-family: var(--global-font-family-1);
	font-size: 18px;
	line-height: 30px;
	margin: 0;
	margin-bottom: 20px;
}

/* Breadcrumbs */
.cart-main .pdp-breadcrumb-holder {
	margin-bottom: 40px;
}

.cart-main .pdp-breadcrumbs {
	margin: 0;
}

.cart-main .pdp-breadcrumbs-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.cart-main .pdp-breadcrumbs-inner a {
	display: inline-flex;
	align-items: center;
	font-family: var(--global-font-family-1);
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	color: #9ca3af;
	text-decoration: none;
	transition: color 0.2s ease;
}

.cart-main .pdp-breadcrumbs-inner a:hover,
.cart-main .pdp-breadcrumbs-inner a:focus {
	color: #519740;
}

.cart-main .pdp-breadcrumbs-inner a img {
	display: block;
}

.cart-main .pdp-breadcrumbs-inner .separator {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
}

.cart-main .pdp-breadcrumb-sep {
	display: block;
}

.cart-main .pdp-breadcrumbs-inner .last {
	font-family: var(--global-font-family-1);
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	color: #111827;
}


/* Products details */

.cart-main table.wc-block-cart-items {
	background-color: #fff !important;
    padding: 25px 20px;
    border-radius: 20px;
}

.cart-main .wc-block-cart-items__header-image,
.cart-main .wc-block-cart-items__header-total {
	color: #000;
	font-family: var(--global-font-family-1);
	font-size: 18px;
	line-height: 30px;
	margin: 0;
	font-weight: 600 !important;
}

.cart-main .wc-block-cart-item__image {
	width: auto;
	padding-right: 20px;
	vertical-align: middle;
}

.cart-main .wc-block-cart-item__image a {
	display: block;
	line-height: 0;
}

.cart-main .wc-block-cart-item__image img {
	width: auto !important;
	height: auto !important;
	max-width: 180px;
	max-height: 180px;
	object-fit: contain;
	border-radius: 12px;
}

.cart-main .wc-block-cart-item__product a.wc-block-components-product-name {
	color: #000;
	font-family: var(--global-font-family-1);
	font-size: 24px;
	line-height: 40px;
	margin: 0;
	font-weight: 800;
	text-decoration: none;
}

.cart-main .wc-block-cart-item__prices {
	display: none !important;
}

.cart-main .wc-block-components-product-metadata__description ul {
	margin: 0 0 20px;
    padding: 0;
    list-style: none;
    color: #000;
    font-family: var(--global-font-family-1);
    font-size: 13px;
    line-height: 17px;
}

.cart-main .wc-block-components-product-price {
	color: #000;
    font-family: var(--global-font-family-1);
    font-size: 22px;
    line-height: 40px;
    margin: 0;
    font-weight: 800;
}

/* Quantity column */
.cart-main .wc-block-cart-item__quantity {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: auto;
	min-width: 0;
	padding: 0;
	text-align: center;
	vertical-align: middle;
}

.cart-main .wc-block-cart-item__quantity > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.cart-main .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	display: flex;
    align-items: stretch;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
    flex-direction: row;
    gap: 0;
}

.cart-main .wc-block-cart-item__quantity .wc-block-components-quantity-selector__input {
	flex: 1 1 auto;
	min-width: 36px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--global-font-family-1);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #000000;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.cart-main .wc-block-cart-item__quantity .wc-block-components-quantity-selector__input:focus {
	outline: none;
	box-shadow: none;
}

.cart-main .wc-block-cart-item__quantity .wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.cart-main .wc-block-cart-item__quantity .wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.cart-main .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	min-width: 40px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #000000;
	font-family: var(--global-font-family-1);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease;
}

.cart-main .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button:hover,
.cart-main .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button:focus {
	color: #519740;
	background: transparent;
	box-shadow: none;
}

.cart-main .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--global-font-family-1);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #666666;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.cart-main .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover,
.cart-main .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:focus {
	color: #519740;
}

.cart-main .wc-block-cart-item__quantity .wc-block-cart-item__remove-link svg {
	flex-shrink: 0;
	width: 25px;
	height: 25px;
}


/* Sidebar */
.cart-main .wc-block-components-sidebar {
	background-color: #fff !important;
    padding: 25px 20px;
    border-radius: 20px;
}

.cart-main .wc-block-cart__totals-title {
	color: #000;
	font-family: var(--global-font-family-1);
	font-size: 18px;
	line-height: 30px;
	margin: 0;
	font-weight: 600;
	text-transform: none;
	margin-bottom: 20px;
}

.cart-main .wp-block-woocommerce-cart-order-summary-totals-block {
    border-top: none !important;
}

.cart-main .wp-block-woocommerce-cart-order-summary-subtotal-block .wc-block-components-totals-item__label,
.cart-main .wp-block-woocommerce-cart-order-summary-shipping-block .wc-block-components-totals-item__label {
	color: #A2A2A2;
	font-family: var(--global-font-family-1);
	font-size: 14px;
	line-height: 25px;
	margin: 0;
	font-weight: 600;
}

.cart-main .wp-block-woocommerce-cart-order-summary-subtotal-block .wc-block-components-totals-item__value,
.cart-main .wp-block-woocommerce-cart-order-summary-shipping-block .wc-block-components-totals-item__value {
	color: #519740;
	font-family: var(--global-font-family-1);
	font-size: 14px;
	line-height: 25px;
	margin: 0;
	font-weight: 600;
}

.cart-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: #000;
	font-family: var(--global-font-family-1);
	font-size: 16px;
	line-height: 30px;
	margin: 0;
	font-weight: 700;
}

.cart-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: #000;
	font-family: var(--global-font-family-1);
	font-size: 22px;
	line-height: 35px;
	margin: 0;
	font-weight: 800;
}

.cart-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__description {
	color: #A2A2A2;
	font-family: var(--global-font-family-1);
	font-size: 14px;
	line-height: 25px;
	margin: 0;
	font-weight: 600;
}

.cart-main .wp-block-woocommerce-cart-order-summary-shipping-block {
	padding: 0;
}

.cart-main .wc-block-cart__submit-button {
	background-color: #519740;
	padding: 15px;
	border-radius: 20px;
	color: #fff;
	font-family: var(--global-font-family-1);
	font-size: 18px;
	line-height: 30px;
	margin: 0;
}

.cart-main .wc-block-cart__submit-button:hover {
    background-color: #35632A;
}

.cart-main .wc-block-components-panel__button {
	color: #000;
	font-family: var(--global-font-family-1);
	font-size: 16px;
	line-height: 35px;
	margin: 0;
	font-weight: 600;
}

/* Coupon — pill input + apply button */
.cart-main .wc-block-components-totals-coupon {
	margin: 0;
	padding: 0;
	border: 0;
}

.cart-main .wc-block-components-totals-coupon .wc-block-components-panel__content {
	padding: 0;
}

.cart-main .wc-block-components-totals-coupon__content {
	display: flex;
	align-items: stretch;
	width: 100%;
	padding: 0;
	border: 1px solid #e1e1e1;
	border-radius: 10px;
	background: #ffffff;
	box-sizing: border-box;
}

.cart-main .wc-block-components-totals-shipping .wc-block-components-totals-item strong {
    text-transform: none;
}

.cart-main .wc-block-components-totals-coupon__form {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input,
.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input {
	line-height: normal;
	margin-top: 0;
	position: relative;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input__wrapper {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input input[type="text"] {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 16px 12px 20px;
	border: 0 !important;
	border-radius: 20px 0 0 20px;
	background: transparent !important;
	box-shadow: none !important;
	font-family: var(--global-font-family-1);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #000000;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input input[type="text"]:focus {
	outline: none;
	box-shadow: none !important;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input label {
	left: 20px;
	top: 50%;
	max-width: calc(100% - 40px);
	font-family: var(--global-font-family-1);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #9ca3af;
	transform: translateY(-50%);
	transform-origin: center left;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0.15s ease;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input:focus-within label,
.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input.is-active label,
.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input.has-value label {
	opacity: 0 !important;
	visibility: hidden !important;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input input#wc-block-components-totals-coupon__input-coupon,
.cart-main .wc-block-components-totals-coupon__form .wc-block-components-text-input input.wc-block-components-totals-coupon__input-coupon {
	position: relative;
	z-index: 1;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.cart-main .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:disabled {
	flex: 0 0 auto;
	align-self: center;
	min-height: 48px;
	margin: 0;
	padding: 12px 24px;
	border: 0 !important;
	border-radius: 10px !important;
	background: #000000 !important;
	color: #ffffff !important;
	font-family: var(--global-font-family-1);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	white-space: nowrap;
	box-shadow: none !important;
	transition: background-color 0.2s ease;
}

.cart-main .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover,
.cart-main .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:focus {
	background: #333333 !important;
	color: #ffffff !important;
}

.cart-main .wc-block-components-button:not(.is-link):disabled .wc-block-components-button__text {
    opacity: unset;
}

.cart-main .wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
    border-bottom: none;
}

.cart-main .wp-block-woocommerce-cart-order-summary-coupon-form-block {
    border-top: 1px dotted 
color-mix(in srgb, currentColor 20%, transparent) !important;
}

.cart-main .wc-block-components-totals-wrapper {
    border-top: none;
}

.cart-main .cart-title-counter {
    color: #A2A2A2;
}


@media (max-width: 1024px) {
	.cart-main .wc-block-components-sidebar-layout {
		flex-direction: column;
		gap: 30px;
	}

	.cart-main .wc-block-components-sidebar-layout .wc-block-components-main {
		padding-right: 0;
		width: 100%;
	}

	.cart-main .wc-block-components-sidebar {
		width: 100% !important;
	}

	.cart-main .wc-block-cart-items__row {
		display: flex !important;
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		border-bottom: 1px solid #CECECE;
	}

	.cart-main .wc-block-cart-items__header {
		display: none;
	}

	.cart-main .wc-block-cart-item__image,
	.cart-main .wc-block-cart-item__product,
	.cart-main .wc-block-cart-item__total {
		width: 100% !important;
	}

	.cart-main .wc-block-cart-item__total {
		justify-content: flex-start;
	}

	.cart-main .cart-title {
		font-size: 24px;
		line-height: 40px;
		text-align: center;
	}

	.cart-main .cart-description {
		font-size: 15px;
		line-height: 30px;
		text-align: center;
	}

}
