/* PRO Cà Phê: WooCommerce Cart Block empty state. */

body.woocommerce-cart.pc-cart-empty-state {
	background: var(--pc-bg, #fbf9f4);
	color: var(--pc-ink, #1b1c19);
}

body.woocommerce-cart.pc-cart-empty-state #content,
body.woocommerce-cart.pc-cart-empty-state .page-wrapper {
	padding: 0;
	background: var(--pc-bg, #fbf9f4);
}

body.woocommerce-cart.pc-cart-empty-state .row-main {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.woocommerce-cart.pc-cart-empty-state .row-main > .col,
body.woocommerce-cart.pc-cart-empty-state .row-main > .large-12,
body.woocommerce-cart.pc-cart-empty-state .row-main > .col > .col-inner {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
	flex-basis: 100%;
}

body.woocommerce-cart.pc-cart-empty-state .entry-header {
	display: none;
}

body.woocommerce-cart.pc-cart-empty-state .wp-block-woocommerce-cart.alignwide,
body.woocommerce-cart.pc-cart-empty-state .wp-block-woocommerce-empty-cart-block {
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 0;
}

.pc-cart-empty,
.pc-cart-empty *,
.pc-cart-empty *::before,
.pc-cart-empty *::after {
	box-sizing: border-box;
}

.pc-cart-empty {
	width: 100%;
	padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 96px);
	background: var(--pc-bg, #fbf9f4);
	color: var(--pc-ink, #1b1c19);
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0;
	text-align: left;
}

.pc-cart-empty a {
	color: inherit;
	text-decoration: none;
}

.pc-cart-empty__hero {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: stretch;
	height: clamp(420px, 34vw, 480px);
	min-height: 0;
	overflow: hidden;
	border: 1px solid rgba(225, 191, 179, 0.62);
	border-radius: 12px;
	background: var(--pc-surface, #fff);
	box-shadow: 0 6px 8px rgba(62, 39, 35, 0.06);
}

.pc-cart-empty__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	padding: clamp(36px, 5vw, 64px);
}

.pc-cart-empty__copy h1 {
	max-width: 13ch;
	margin: 0;
	padding: 0;
	color: var(--pc-brown, #3e2723);
	font-family: "Manrope", sans-serif;
	font-size: clamp(2.75rem, 3.8vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.02;
	text-transform: none;
	text-wrap: balance;
}

.pc-cart-empty__copy p {
	max-width: 42ch;
	margin: 24px 0 0;
	color: var(--pc-muted, #594138);
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.65;
	text-wrap: pretty;
}

.pc-cart-empty__primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 30px;
	padding: 12px 24px;
	border: 1px solid var(--pc-orange-dark, #a63b00);
	border-radius: var(--pc-action-radius, 6px);
	background: var(--pc-orange-dark, #a63b00);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pc-cart-empty__primary:hover,
.pc-cart-empty__primary:focus-visible {
	border-color: var(--pc-action-hover, #8e3200);
	background: var(--pc-action-hover, #8e3200);
	color: #fff !important;
}

.pc-cart-empty__primary:active {
	transform: translateY(1px);
}

.pc-cart-empty__primary:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--pc-focus, #1b1c19);
}

.pc-cart-empty__visual {
	position: relative;
	min-width: 0;
	min-height: 0;
	height: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--pc-bg-soft, #f5f3ee);
}

.pc-cart-empty__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(62, 39, 35, 0.08), transparent 28%);
}

.pc-cart-empty__visual-image {
	width: 100%;
	height: 100%;
	min-height: 0;
	display: block;
	object-fit: cover;
	object-position: 50% 57%;
	border-radius: 0;
}

.pc-cart-empty__recommendations {
	padding-top: clamp(52px, 6vw, 76px);
}

.pc-cart-empty__recommendations h2 {
	max-width: 16ch;
	margin: 0 0 clamp(28px, 3.5vw, 40px);
	padding: 0;
	color: var(--pc-brown, #3e2723);
	font-family: "Manrope", sans-serif;
	font-size: clamp(2.25rem, 4.4vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.03;
	text-transform: none;
	text-wrap: balance;
}

.pc-cart-empty__products {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pc-cart-empty__products--1 {
	grid-template-columns: minmax(0, 800px);
	justify-content: center;
}

.pc-cart-empty__products--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-cart-empty__products--3 {
	grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
}

.pc-cart-empty__products--3 > .pc-cart-empty__product-item:first-child {
	grid-row: 1 / span 2;
}

.pc-cart-empty__products--3 > .pc-cart-empty__product-item:not(:first-child) {
	grid-column: 2;
}

.pc-cart-empty__product-item {
	min-width: 0;
	margin: 0 !important;
}

.pc-cart-empty-product {
	display: flex;
	min-width: 0;
	min-height: 100%;
	overflow: hidden;
	border: 1px solid rgba(225, 191, 179, 0.72);
	border-radius: 10px;
	background: var(--pc-surface, #fff);
	box-shadow: 0 4px 8px rgba(62, 39, 35, 0.05);
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.pc-cart-empty__products--3 .pc-cart-empty-product--featured .pc-cart-empty-product,
.pc-cart-empty__products--1 .pc-cart-empty-product {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(220px, 0.82fr);
}

.pc-cart-empty__products--1 .pc-cart-empty-product {
	min-height: 420px;
}

.pc-cart-empty__products--3 .pc-cart-empty-product--compact .pc-cart-empty-product {
	display: grid;
	grid-template-columns: minmax(148px, 42%) minmax(0, 1fr);
}

.pc-cart-empty-product__media {
	display: grid;
	place-items: center;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #f0eee9;
}

.pc-cart-empty__products--2 .pc-cart-empty-product,
.pc-cart-empty__products--2 .pc-cart-empty-product__media {
	flex-direction: column;
}

.pc-cart-empty__products--2 .pc-cart-empty-product__media {
	width: calc(100% - 28px);
	margin: 14px 14px 0;
	aspect-ratio: 4 / 5;
	border-radius: 8px;
}

.pc-cart-empty-product__image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	transition: transform 260ms ease;
}

.pc-cart-empty-product__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	padding: clamp(22px, 3vw, 38px);
}

.pc-cart-empty-product h3 {
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--pc-ink, #1b1c19);
	font-family: "Manrope", sans-serif;
	font-size: clamp(1.125rem, 1.6vw, 1.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	text-wrap: pretty;
}

.pc-cart-empty-product h3 a {
	color: inherit;
	overflow-wrap: anywhere;
	transition: color 180ms ease;
}

.pc-cart-empty-product h3 a:hover,
.pc-cart-empty-product h3 a:focus-visible {
	color: var(--pc-orange-dark, #a63b00);
}

.pc-cart-empty-product h3 a:focus-visible,
.pc-cart-empty-product__media:focus-visible {
	outline: 2px solid var(--pc-orange-dark, #a63b00);
	outline-offset: 3px;
}

.pc-cart-empty-product__footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	gap: 18px;
	margin-top: 24px;
}

.pc-cart-empty-product__price {
	min-width: 0;
	color: var(--pc-orange-dark, #a63b00);
	/* Use one treatment whether WooCommerce returns a price or "Liên hệ". */
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	font-variant-numeric: tabular-nums;
}

.pc-cart-empty-product__price--sale {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.1;
}

.pc-cart-empty-product__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	margin: 0 !important;
	padding: 10px 16px;
	border: 1px solid rgba(141, 113, 102, 0.72);
	border-radius: var(--pc-action-radius, 6px);
	background: transparent;
	color: var(--pc-ink, #1b1c19) !important;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	white-space: nowrap;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pc-cart-empty-product__action svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 180ms ease;
}

.pc-cart-empty-product__action:hover,
.pc-cart-empty-product__action:focus-visible,
.pc-cart-empty-product__action--buy {
	border-color: var(--pc-orange-dark, #a63b00);
	background: var(--pc-orange-dark, #a63b00);
	color: #fff !important;
}

.pc-cart-empty-product__action--buy:hover,
.pc-cart-empty-product__action--buy:focus-visible {
	border-color: var(--pc-action-hover, #8e3200);
	background: var(--pc-action-hover, #8e3200);
}

.pc-cart-empty-product__action:hover svg,
.pc-cart-empty-product__action:focus-visible svg {
	transform: translateX(1px);
}

.pc-cart-empty-product__action:active {
	transform: translateY(1px);
}

.pc-cart-empty-product__action:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--pc-focus, #1b1c19);
}

@media (hover: hover) and (pointer: fine) {
	.pc-cart-empty-product:hover,
	.pc-cart-empty-product:focus-within {
		transform: translateY(-4px);
		border-color: rgba(166, 59, 0, 0.32);
		box-shadow: 0 6px 8px rgba(62, 39, 35, 0.08);
	}

	.pc-cart-empty-product:hover .pc-cart-empty-product__image {
		transform: scale(1.015);
	}
}

@media (max-width: 1024px) {
	.pc-cart-empty__hero {
		grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
		height: clamp(360px, 44vw, 420px);
		min-height: 0;
	}

	.pc-cart-empty__copy {
		padding: 36px;
	}

	.pc-cart-empty__visual,
	.pc-cart-empty__visual-image {
		min-height: 0;
	}

	.pc-cart-empty__products--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
		gap: 20px;
	}

	.pc-cart-empty__products--3 > .pc-cart-empty__product-item:first-child,
	.pc-cart-empty__products--3 > .pc-cart-empty__product-item:not(:first-child) {
		grid-column: auto;
		grid-row: auto;
	}

	.pc-cart-empty__products--3 > .pc-cart-empty__product-item:last-child {
		grid-column: 1 / -1;
		width: calc((100% - 20px) / 2);
		justify-self: center;
	}

	.pc-cart-empty__products--3 .pc-cart-empty-product--featured .pc-cart-empty-product,
	.pc-cart-empty__products--3 .pc-cart-empty-product--compact .pc-cart-empty-product,
	.pc-cart-empty__products--1 .pc-cart-empty-product {
		display: flex;
		flex-direction: column;
	}

	.pc-cart-empty__products--3 .pc-cart-empty-product__media,
	.pc-cart-empty__products--1 .pc-cart-empty-product__media {
		width: calc(100% - 28px);
		margin: 14px 14px 0;
		aspect-ratio: 4 / 5;
		border-radius: 8px;
	}

	.pc-cart-empty-product__body {
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	body.woocommerce-cart.pc-cart-empty-state .row-main > .col {
		padding-inline: 0;
	}

	.pc-cart-empty {
		padding-block: 24px 48px;
	}

	.pc-cart-empty__hero {
		grid-template-columns: minmax(0, 1fr);
		height: auto;
		min-height: 0;
		border-radius: 10px;
		box-shadow: none;
	}

	.pc-cart-empty__copy {
		padding: 22px 20px 24px;
	}

	.pc-cart-empty__copy h1 {
		max-width: 13ch;
		font-size: clamp(2rem, 8.5vw, 2.125rem);
		letter-spacing: -0.035em;
		line-height: 1.06;
	}

	.pc-cart-empty__copy p {
		margin-top: 14px;
		font-size: 0.9375rem;
		line-height: 1.55;
	}

	.pc-cart-empty__primary {
		min-height: 44px;
		margin-top: 18px;
		padding-block: 10px;
	}

	.pc-cart-empty__visual,
	.pc-cart-empty__visual-image {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.pc-cart-empty__visual-image {
		object-position: 50% 56%;
	}

	.pc-cart-empty__visual::after {
		background: linear-gradient(180deg, rgba(62, 39, 35, 0.08), transparent 28%);
	}

	.pc-cart-empty__recommendations {
		padding-top: 38px;
	}

	.pc-cart-empty__recommendations h2 {
		margin-bottom: 20px;
		font-size: clamp(1.875rem, 8vw, 2rem);
		letter-spacing: -0.03em;
		line-height: 1.1;
	}

	.pc-cart-empty__products,
	.pc-cart-empty__products--1,
	.pc-cart-empty__products--2,
	.pc-cart-empty__products--3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		overflow: hidden;
		border: 1px solid rgba(225, 191, 179, 0.72);
		border-radius: 10px;
		background: var(--pc-surface, #fff);
	}

	.pc-cart-empty__products--3 > .pc-cart-empty__product-item:last-child {
		grid-column: auto;
		width: 100%;
	}

	.pc-cart-empty__product-item + .pc-cart-empty__product-item {
		border-top: 1px solid rgba(225, 191, 179, 0.58);
	}

	body.woocommerce-cart.pc-cart-empty-state .pc-cart-empty__products .pc-cart-empty-product {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 14px;
		min-height: 0;
		padding: 10px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	body.woocommerce-cart.pc-cart-empty-state .pc-cart-empty__products .pc-cart-empty-product__media {
		width: 96px;
		height: auto;
		min-height: 0;
		margin: 0;
		aspect-ratio: 4 / 5;
		border-radius: 6px;
	}

	.pc-cart-empty-product__body {
		justify-content: flex-start;
		padding: 0;
	}

	.pc-cart-empty-product h3 {
		font-size: 0.9375rem;
		letter-spacing: -0.01em;
		line-height: 1.32;
	}

	.pc-cart-empty-product__footer {
		gap: 8px;
		margin-top: 8px;
	}

	.pc-cart-empty-product__price {
		font-size: 0.875rem;
	}

	.pc-cart-empty-product__action {
		min-height: 44px;
		padding: 9px 12px;
		font-size: 0.8125rem;
	}
}

@media (max-width: 479px) {
	.pc-cart-empty__primary {
		width: 100%;
	}
}

@media (max-width: 359px) {
	.pc-cart-empty__copy {
		padding-inline: 18px;
	}

	body.woocommerce-cart.pc-cart-empty-state .pc-cart-empty__products .pc-cart-empty-product {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 12px;
	}

	body.woocommerce-cart.pc-cart-empty-state .pc-cart-empty__products .pc-cart-empty-product__media {
		width: 84px;
	}

	.pc-cart-empty-product__body {
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pc-cart-empty :where(a, article, img, svg) {
		animation: none !important;
		transition: none !important;
	}

	.pc-cart-empty-product:hover,
	.pc-cart-empty-product:focus-within,
	.pc-cart-empty-product:hover .pc-cart-empty-product__image,
	.pc-cart-empty-product__action:hover svg,
	.pc-cart-empty-product__action:focus-visible svg {
		transform: none !important;
	}
}
