/* ==========================================================================
   VEYASKIN - WooCommerce Cart Drawer + Cart Page
   ========================================================================== */

.veyaskin-cart-locked {
	overflow: hidden !important;
}

.veyaskin-cart-drawer,
.veyaskin-cart-drawer * {
	box-sizing: border-box;
}

.veyaskin-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 99999;
	pointer-events: none;
	font-family: inherit;
	color: #111111;
}

.veyaskin-cart-overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0);
	opacity: 0;
	transition: opacity 0.24s ease, background 0.24s ease;
}

.veyaskin-cart-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(100%, 430px);
	height: 100%;
	background: #ffffff;
	border-left: 1px solid rgba(17, 17, 17, 0.10);
	box-shadow: -22px 0 60px rgba(17, 17, 17, 0.16);
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	transform: translateX(104%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.veyaskin-cart-drawer.is-open {
	pointer-events: auto;
}

.veyaskin-cart-drawer.is-open .veyaskin-cart-overlay {
	background: rgba(17, 17, 17, 0.42);
	opacity: 1;
}

.veyaskin-cart-drawer.is-open .veyaskin-cart-panel {
	transform: translateX(0);
}

.veyaskin-cart-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 22px 18px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	background:
		radial-gradient(320px 160px at 0% 0%, rgba(217, 166, 90, 0.12), transparent 66%),
		linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
}

.veyaskin-cart-kicker {
	margin: 0 0 5px;
	color: #7a6758;
	font-size: 11px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.veyaskin-cart-panel-header h2 {
	margin: 0;
	color: #111111;
	font-size: 26px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0;
}

.veyaskin-cart-close {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(17, 17, 17, 0.12);
	border-radius: 999px;
	background: #ffffff;
	color: #111111;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 3px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.veyaskin-cart-close:hover,
.veyaskin-cart-close:focus-visible {
	background: #f7f2ec;
	transform: translateY(-1px);
	outline: none;
}

.veyaskin-cart-panel-body {
	min-height: 0;
	overflow-y: auto;
	padding: 18px;
	background: #ffffff;
}

.veyaskin-cart-items {
	display: grid;
	gap: 12px;
}

.veyaskin-cart-item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 13px;
	padding: 12px;
	border: 1px solid rgba(17, 17, 17, 0.10);
	border-radius: 18px;
	background: #fffaf4;
}

.veyaskin-cart-item-thumb {
	width: 76px;
	height: 76px;
	border-radius: 14px;
	background: #ffffff;
	overflow: hidden;
	display: grid;
	place-items: center;
}

.veyaskin-cart-item-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	box-shadow: none !important;
}

.veyaskin-cart-item-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.veyaskin-cart-item-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: start;
}

.veyaskin-cart-item-title {
	min-width: 0;
	margin: 0;
	color: #111111;
	font-size: 14.5px;
	line-height: 1.28;
	font-weight: 900;
	letter-spacing: 0;
}

.veyaskin-cart-item-title-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
}

.veyaskin-cart-item-title a {
	color: inherit !important;
	text-decoration: none !important;
}

.veyaskin-cart-item-title a:hover {
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.veyaskin-cart-item-variant {
	margin: 5px 0 0;
	color: #66584e;
	font-size: 12px;
	line-height: 1.25;
	font-weight: 700;
}

.veyaskin-cart-item-remove {
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 999px;
	background: #ffffff;
	color: #8c2f2f;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 3px;
	box-shadow: inset 0 0 0 1px rgba(140, 47, 47, 0.16);
}

.veyaskin-cart-item-bottom {
	display: block;
}

.veyaskin-cart-package {
	flex: 1 1 auto;
	min-width: 0;
	display: grid;
	gap: 7px;
}

.veyaskin-cart-package-label {
	color: #7a6758;
	font-size: 10px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.veyaskin-cart-package-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 5px;
}

.veyaskin-cart-package-option {
	min-width: 0;
	min-height: 32px;
	border: 1px solid rgba(17, 17, 17, 0.12);
	border-radius: 999px;
	background: #ffffff;
	color: #111111;
	font-size: 11px;
	line-height: 1;
	font-weight: 900;
	white-space: nowrap;
	cursor: pointer;
	padding: 0 8px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.veyaskin-cart-package-option:hover,
.veyaskin-cart-package-option:focus-visible {
	border-color: rgba(17, 17, 17, 0.30);
	transform: translateY(-1px);
	outline: none;
}

.veyaskin-cart-package-option.is-active {
	background: #111111;
	border-color: #111111;
	color: #ffffff;
	box-shadow: 0 8px 18px rgba(17, 17, 17, 0.14);
}

.veyaskin-cart-item-price {
	color: #111111;
	font-size: 14px;
	line-height: 1;
	font-weight: 900;
	white-space: nowrap;
	flex: 0 0 auto;
}

.veyaskin-cart-item-price del {
	color: #ff6b6b;
	opacity: 0.8;
}

.veyaskin-cart-item-price ins {
	color: #28c76f;
	text-decoration: none;
}

.veyaskin-cart-panel-footer {
	background: #ffffff;
	border-top: 1px solid rgba(17, 17, 17, 0.08);
	padding: 18px;
	box-shadow: 0 -12px 30px rgba(17, 17, 17, 0.05);
}

.veyaskin-cart-summary {
	display: grid;
	gap: 12px;
}

.veyaskin-cart-summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: #111111;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 800;
}

.veyaskin-cart-summary-row strong {
	color: #111111;
	font-size: 22px;
	line-height: 1;
	font-weight: 950;
}

.veyaskin-cart-checkout-btn {
	width: 100%;
	min-height: 58px;
	border-radius: 999px;
	background: linear-gradient(135deg, #38f27b 0%, #12d861 50%, #05b94f 100%);
	color: #061e16 !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 16px;
	line-height: 1;
	font-weight: 950;
	text-transform: uppercase;
	box-shadow: 0 16px 34px rgba(18, 216, 97, 0.34);
	transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.veyaskin-cart-checkout-btn:hover,
.veyaskin-cart-checkout-btn:focus-visible {
	transform: translateY(-1px);
	filter: brightness(1.03);
	box-shadow: 0 18px 38px rgba(18, 216, 97, 0.44);
	outline: none;
}

.veyaskin-cart-delivery-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 34px;
	border-radius: 999px;
	background: #ecfff4;
	border: 1px solid rgba(18, 216, 97, 0.22);
	color: #061e16;
	font-size: 12px;
	line-height: 1;
	font-weight: 950;
	letter-spacing: 0.25px;
	text-transform: uppercase;
	text-align: center;
	padding: 8px 12px;
}

.veyaskin-cart-delivery-note svg {
	width: 18px;
	height: 18px;
	display: block;
	fill: currentColor;
	flex: 0 0 18px;
}

.veyaskin-cart-empty {
	min-height: 55vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 36px 18px;
}

.veyaskin-cart-empty-icon {
	width: 74px;
	height: 74px;
	border-radius: 999px;
	background: #fffaf4;
	color: #111111;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
}

.veyaskin-cart-empty-icon svg {
	width: 34px;
	height: 34px;
	fill: currentColor;
	display: block;
}

.veyaskin-cart-empty h2 {
	margin: 0 0 9px;
	color: #111111;
	font-size: 25px;
	line-height: 1.15;
	font-weight: 950;
}

.veyaskin-cart-empty p {
	max-width: 290px;
	margin: 0 0 18px;
	color: #5f514b;
	font-size: 14px;
	line-height: 1.55;
	font-weight: 500;
}

.veyaskin-cart-empty-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff !important;
	text-decoration: none !important;
	font-size: 13px;
	line-height: 1;
	font-weight: 900;
	padding: 0 20px;
}

.veyaskin-cart-drawer.is-loading .veyaskin-cart-panel-body,
.veyaskin-cart-drawer.is-loading .veyaskin-cart-panel-footer {
	opacity: 0.55;
	pointer-events: none;
}

/* WooCommerce cart page */

body.woocommerce-cart {
	background: var(--ast-global-color-5, #fbf7f2);
}

body.woocommerce-cart .site-content {
	background: var(--ast-global-color-5, #fbf7f2);
}

body.woocommerce-cart .entry-header,
body.woocommerce-cart .cross-sells {
	display: none !important;
}

body.woocommerce-cart .woocommerce {
	width: min(100% - 32px, 1120px);
	margin: 0 auto;
	padding: 34px 0 74px;
	color: var(--ast-global-color-2, #222222);
	font-family: inherit;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
	background: #ffffff;
	border: 1px solid rgba(17, 17, 17, 0.10);
	border-radius: 24px;
	box-shadow: 0 18px 42px rgba(17, 17, 17, 0.07);
	overflow: hidden;
}

body.woocommerce-cart .shop_table {
	border: none !important;
	margin: 0 !important;
}

body.woocommerce-cart .shop_table th,
body.woocommerce-cart .shop_table td {
	border-color: rgba(17, 17, 17, 0.08) !important;
}

body.woocommerce-cart .shop_table th {
	color: #111111;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

body.woocommerce-cart .shop_table td {
	color: #111111;
	font-size: 14px;
	font-weight: 700;
}

body.woocommerce-cart .product-thumbnail img {
	width: 72px !important;
	height: 72px !important;
	object-fit: contain;
	border-radius: 14px;
	background: #fffaf4;
	box-shadow: none !important;
}

body.woocommerce-cart .product-name a {
	color: #111111 !important;
	font-weight: 900;
	text-decoration: none !important;
}

body.woocommerce-cart .product-name .veyaskin-cart-package {
	max-width: 330px;
	margin-top: 12px;
}

body.woocommerce-cart .product-name .veyaskin-cart-package-label {
	display: none;
}

body.woocommerce-cart .product-quantity {
	display: none !important;
}

body.woocommerce-cart .product-remove a {
	color: #8c2f2f !important;
	font-weight: 900;
}

body.woocommerce-cart .quantity .qty {
	min-height: 42px;
	border-radius: 999px !important;
	border: 1px solid rgba(17, 17, 17, 0.14) !important;
	font-weight: 900;
}

body.woocommerce-cart .actions {
	padding: 18px !important;
}

body.woocommerce-cart .coupon {
	display: none !important;
}

body.woocommerce-cart button[name="update_cart"] {
	border-radius: 999px !important;
	background: #111111 !important;
	color: #ffffff !important;
	font-weight: 900 !important;
	padding: 13px 20px !important;
}

body.woocommerce-cart .cart-collaterals {
	margin-top: 22px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	float: none !important;
	width: min(100%, 440px) !important;
	margin-left: auto;
	padding: 22px;
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 16px;
	color: #111111;
	font-size: 24px;
	line-height: 1.15;
	font-weight: 950;
}

body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 18px 0 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 56px !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #38f27b 0%, #12d861 50%, #05b94f 100%) !important;
	color: #061e16 !important;
	font-size: 16px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	text-transform: uppercase;
	box-shadow: 0 14px 30px rgba(18, 216, 97, 0.30);
}

@media (max-width: 768px) {
	.veyaskin-cart-panel {
		width: min(100%, 390px);
	}

	.veyaskin-cart-panel-header {
		padding: 18px 16px 15px;
	}

	.veyaskin-cart-panel-body,
	.veyaskin-cart-panel-footer {
		padding: 14px;
	}

	.veyaskin-cart-item {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 11px;
		border-radius: 16px;
	}

	.veyaskin-cart-item-thumb {
		width: 64px;
		height: 64px;
	}

	.veyaskin-cart-item-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
	}

	.veyaskin-cart-item-price {
		font-size: 13.5px;
	}

	.veyaskin-cart-item-title-row {
		gap: 8px;
	}

	.veyaskin-cart-package-options {
		gap: 6px;
	}

	.veyaskin-cart-package-option {
		min-height: 38px;
		padding: 0 9px;
		font-size: 11.8px;
	}

	body.woocommerce-cart .woocommerce {
		width: min(100% - 24px, 1120px);
		padding: 20px 0 60px;
	}

	body.woocommerce-cart .woocommerce-cart-form,
	body.woocommerce-cart .cart-collaterals .cart_totals {
		border-radius: 18px;
	}
}

@media (max-width: 420px) {
	.veyaskin-cart-panel {
		width: 100%;
	}

	.veyaskin-cart-package-option {
		min-height: 40px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.veyaskin-cart-overlay,
	.veyaskin-cart-panel,
	.veyaskin-cart-close,
	.veyaskin-cart-checkout-btn,
	.veyaskin-cart-empty-link {
		transition: none !important;
	}
}
