/* Custom WooCommerce cart page - Elementor/Hello compatible */
.xc-cart-page {
	--xc-cart-primary: #c5a059;
	--xc-cart-primary-hover: #b38c45;
	--xc-cart-surface: #f7f6f4;
	--xc-cart-card: #fff;
	--xc-cart-on-surface: #2f2f2f;
	--xc-cart-muted: #6f675c;
	--xc-cart-border: #dedbd5;
	--xc-cart-border-light: #ece9e4;
	font-family: "Inter", sans-serif;
	color: var(--xc-cart-on-surface);
	background: var(--xc-cart-surface);
}

.xc-cart-section {
	padding: 40px 0 64px;
}

.xc-cart-container {
	width: min(100%, 1280px);
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 24px;
}

.xc-cart-column,
.xc-cart-wrap {
	width: 100%;
}

.xc-cart-wrap {
	display: block;
}

.xc-cart-header {
	margin-bottom: 40px;
}

.xc-cart-header h1 {
	margin: 0;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--xc-cart-on-surface);
}

.xc-cart-header p {
	margin: 8px 0 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: var(--xc-cart-muted);
}

.xc-cart-layout {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.xc-cart-items-column {
	flex: 1 1 auto;
	min-width: 0;
}

.xc-cart-summary-column {
	flex: 0 0 420px;
	width: 420px;
}

.xc-cart-form {
	margin: 0;
}

.xc-cart-items {
	border-top: 1px solid var(--xc-cart-border);
}

.xc-cart-item {
	display: flex;
	gap: 32px;
	padding: 32px 0;
	border-bottom: 1px solid var(--xc-cart-border);
}

.xc-cart-item-thumbnail {
	flex: 0 0 176px;
	width: 176px;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--xc-cart-border);
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
	overflow: hidden;
}

.xc-cart-item-thumbnail a,
.xc-cart-item-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
}

.xc-cart-item-thumbnail img {
	object-fit: cover;
}

.xc-cart-item-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
}

.xc-cart-item-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.xc-cart-item-details {
	min-width: 0;
}

.xc-cart-item-title {
	margin: 0;
	font-size: 24px;
	font-weight: 500;
	line-height: 32px;
	color: var(--xc-cart-on-surface);
}

.xc-cart-item-title a {
	color: inherit;
	text-decoration: none !important;
}

.xc-cart-item-title a:hover,
.xc-cart-item-title a:focus {
	color: var(--xc-cart-primary);
}

.xc-cart-item-meta,
.xc-cart-item-meta p,
.xc-cart-item-meta dl,
.xc-cart-item-meta dd,
.xc-cart-item-meta dt {
	margin: 4px 0 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: var(--xc-cart-muted);
}

.xc-cart-item-meta dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
}

.xc-cart-item-meta dl.variation dt {
	font-weight: 500;
}

.xc-cart-item-meta dl.variation dd::after {
	content: "•";
	margin-left: 8px;
}

.xc-cart-item-meta dl.variation dd:last-child::after {
	content: none;
}

.xc-cart-item-price {
	flex: 0 0 auto;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
	color: var(--xc-cart-on-surface);
	text-align: right;
	white-space: nowrap;
}

.xc-cart-item-price .amount,
.xc-cart-summary-card .amount {
	font: inherit;
	color: inherit;
}

.xc-cart-item-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin-top: 32px;
}

.xc-cart-quantity-control {
	display: inline-flex;
	align-items: center;
	border: 1px solid #c7c0b7;
	border-radius: 2px;
	background: #fff;
}

.xc-cart-quantity .quantity {
	display: flex;
	align-items: center;
}

.xc-cart-qty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #78716c;
	cursor: pointer;
	transition: color 0.2s ease;
}

.xc-cart-qty-button:hover,
.xc-cart-qty-button:focus {
	color: var(--xc-cart-on-surface);
}

.xc-cart-qty-button .material-symbols-outlined {
	font-size: 20px;
	line-height: 1;
}

.xc-cart-quantity .qty {
	width: 48px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border: 0 !important;
	background: transparent;
	font-size: 18px;
	font-weight: 600;
	line-height: 44px;
	color: #2f2f2f;
	text-align: center;
	box-shadow: none !important;
	appearance: textfield;
}

.xc-cart-quantity .qty::-webkit-outer-spin-button,
.xc-cart-quantity .qty::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
}

.xc-cart-page a.xc-cart-remove.remove,
.xc-cart-page .xc-cart-remove {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-start;
	align-self: center;
	flex: 0 0 auto;
	gap: 6px;
	width: auto !important;
	height: auto !important;
	max-width: none;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-family: "Inter", sans-serif;
	font-size: 12px !important;
	font-weight: 700;
	line-height: 18px !important;
	letter-spacing: 0.12em;
	text-align: left;
	text-indent: 0 !important;
	text-transform: uppercase;
	white-space: nowrap;
	color: #a8a29e !important;
	text-decoration: none !important;
	overflow: visible !important;
	transition: color 0.2s ease;
}

.xc-cart-page a.xc-cart-remove.remove:hover,
.xc-cart-page a.xc-cart-remove.remove:focus,
.xc-cart-page .xc-cart-remove:hover,
.xc-cart-page .xc-cart-remove:focus {
	background: transparent !important;
	color: #b91c1c !important;
}

.xc-cart-page a.xc-cart-remove.remove:hover span:last-child,
.xc-cart-page a.xc-cart-remove.remove:focus span:last-child,
.xc-cart-page .xc-cart-remove:hover span:last-child,
.xc-cart-page .xc-cart-remove:focus span:last-child {
	text-decoration: underline;
}

.xc-cart-page a.xc-cart-remove.remove .material-symbols-outlined,
.xc-cart-page .xc-cart-remove .material-symbols-outlined {
	width: auto !important;
	height: auto !important;
	font-size: 20px !important;
	line-height: 1 !important;
	color: currentColor !important;
}

.xc-cart-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
}

.xc-cart-coupon {
	display: flex;
	align-items: center;
	gap: 8px;
}

.xc-cart-coupon .input-text {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--xc-cart-border);
	border-radius: 2px;
	background: #fff;
	font-size: 14px;
	line-height: 20px;
}

.xc-cart-form-footer .button,
.xc-cart-update {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 18px !important;
	border: 0 !important;
	border-radius: 2px !important;
	background: var(--xc-cart-on-surface) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 16px !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
}

.xc-cart-summary-card {
	position: sticky;
	top: 112px;
	padding: 32px;
	border: 1px solid var(--xc-cart-border);
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
}

.xc-cart-summary-card h2 {
	margin: 0 0 32px;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: var(--xc-cart-on-surface);
}

.xc-cart-summary-lines {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--xc-cart-border-light);
}

.xc-cart-summary-line,
.xc-cart-summary-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: var(--xc-cart-muted);
}

.xc-cart-summary-line span {
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
}

.xc-cart-summary-line strong {
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--xc-cart-on-surface);
	text-align: right;
}

.xc-cart-summary-total {
	margin-bottom: 40px;
	color: var(--xc-cart-on-surface);
}

.xc-cart-summary-total span {
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
}

.xc-cart-summary-total strong {
	font-size: 30px;
	font-weight: 700;
	line-height: 36px;
	text-align: right;
}

.xc-cart-summary-total strong .amount,
.xc-cart-summary-total strong .woocommerce-Price-currencySymbol {
	font: inherit;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
}

.xc-cart-summary-total strong small {
	display: block;
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	color: var(--xc-cart-muted);
}

.xc-cart-checkout-wrap {
	margin: 0;
	padding: 0;
}

.xc-cart-checkout-wrap .checkout-button,
.xc-cart-checkout-wrap .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	margin: 0 !important;
	padding: 18px 24px !important;
	border: 0 !important;
	border-radius: 2px !important;
	background: var(--xc-cart-primary) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 18px !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.xc-cart-checkout-wrap .checkout-button::before {
	content: "lock";
	margin-right: 12px;
	font-family: "Material Symbols Outlined";
	font-size: 22px;
	font-weight: 400;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
	-webkit-font-feature-settings: "liga";
	font-feature-settings: "liga";
	-webkit-font-smoothing: antialiased;
}

.xc-cart-checkout-wrap .checkout-button:hover,
.xc-cart-checkout-wrap .checkout-button:focus {
	background: var(--xc-cart-primary-hover) !important;
	opacity: 0.92;
}

.xc-cart-trust-badges {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-top: 32px;
}

.xc-cart-payment-icons {
	display: flex;
	gap: 24px;
	color: #81786d;
}

.xc-cart-page .material-symbols-outlined {
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	font-feature-settings: "liga";
	-webkit-font-feature-settings: "liga";
	-webkit-font-smoothing: antialiased;
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.xc-cart-payment-icons .material-symbols-outlined {
	font-size: 30px;
	line-height: 1;
}

.xc-cart-trust-badges p {
	max-width: 300px;
	margin: 0;
	font-size: 10px;
	font-weight: 700;
	line-height: 18px;
	letter-spacing: 0.18em;
	text-align: center;
	text-transform: uppercase;
	color: #8b847a;
}

.xc-cart-empty {
	padding: 40px;
	border: 1px solid var(--xc-cart-border);
	border-radius: 2px;
	background: #fff;
}

.xc-cart-empty .return-to-shop .button {
	background: var(--xc-cart-primary) !important;
	color: #fff !important;
}

@media (max-width: 1024px) {
	.xc-cart-layout {
		flex-direction: column;
	}

	.xc-cart-summary-column {
		flex-basis: auto;
		width: 100%;
	}

	.xc-cart-summary-card {
		position: static;
	}
}

@media (max-width: 767px) {
	.xc-cart-section {
		padding: 32px 0 48px;
	}

	.xc-cart-container {
		padding-inline: 16px;
	}

	.xc-cart-header {
		margin-bottom: 28px;
	}

	.xc-cart-header h1 {
		font-size: 32px;
	}

	.xc-cart-header p {
		font-size: 16px;
		line-height: 24px;
	}

	.xc-cart-item {
		flex-direction: column;
		gap: 20px;
		padding: 28px 0;
	}

	.xc-cart-item-thumbnail {
		width: 100%;
		flex-basis: auto;
	}

	.xc-cart-item-top,
	.xc-cart-form-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.xc-cart-item-actions {
		align-items: center;
		justify-content: space-between;
		flex-direction: row;
		flex-wrap: nowrap;
		width: 100%;
	}

	.xc-cart-item-price {
		text-align: left;
	}

	.xc-cart-coupon {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.xc-cart-form-footer .button,
	.xc-cart-update {
		width: 100%;
	}

	.xc-cart-summary-card {
		padding: 24px;
	}

	.xc-cart-summary-line,
	.xc-cart-summary-total {
		align-items: flex-start;
	}

	.xc-cart-summary-line span {
		font-size: 16px;
		line-height: 24px;
	}
}
