/* =========================================================
   CART DRAWER
   ========================================================= */

.cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 1100000;
	visibility: hidden;
	pointer-events: none;
}

.cart-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.42);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.cart-drawer.is-open .cart-drawer__overlay {
	opacity: 1;
}

.cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(720px, 100vw);
	height: 100%;
	background: #ffffff;
	box-shadow: -20px 0 60px rgba(17, 17, 17, 0.1);
	transform: translateX(100%);
	overflow: hidden;
}
.cart-drawer.is-open .cart-drawer__panel {
	transform: translateX(0);
}
body.cart-drawer-lock {
	overflow: hidden;
}

/* =========================================================
   HEADER
   ========================================================= */

.cart-drawer__header {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex: 0 0 auto;
	min-height: 92px;
	padding: 0 32px;
	background: #ffffff;
}

.cart-drawer__heading {
	display: flex;
	align-items: baseline;
	gap: 9px;
	min-width: 0;
}

.cart-drawer__title {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.cart-drawer__count {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: #666666;
}

.cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #111111;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.cart-drawer__close:hover {
	background: #f4f4f4;
}

.cart-drawer__close:active {
	transform: scale(0.96);
}

/* =========================================================
   BODY
   ========================================================= */

.cart-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: #d4d4d4 transparent;
}

.cart-drawer__body::-webkit-scrollbar {
	width: 6px;
}

.cart-drawer__body::-webkit-scrollbar-track {
	background: transparent;
}

.cart-drawer__body::-webkit-scrollbar-thumb {
	background: #d4d4d4;
	border-radius: 999px;
}

.cart-drawer-content {
	padding: 0 28px 42px;
}

/* sticky */

.cart-drawer-sticky {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;

	display: grid;
	grid-template-columns: auto minmax(220px, 280px);
	align-items: center;
	gap: 24px;

	padding: 16px 28px;

	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid #e8e8e8;

	box-shadow: 0 -14px 34px rgba(17, 17, 17, 0.06);

	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.cart-drawer-sticky[hidden] {
	display: none;
}

.cart-drawer-sticky__totals {
	display: flex;
	align-items: flex-end;
	gap: 22px;
}

.cart-drawer-sticky__discount {
	margin-bottom: 4px;
}

.cart-drawer-sticky__discount,
.cart-drawer-sticky__total {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cart-drawer-sticky__discount span,
.cart-drawer-sticky__total span {
	color: #777;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cart-drawer-sticky__discount strong {
	color: #9f775f;
	font-size: 17px;
	font-weight: 500;
}

.cart-drawer-sticky__total strong {
	color: #111;
	font-size: 22px;
	font-weight: 500;
	white-space: nowrap;
}

.cart-drawer-summary__row--discount span {
	color: #9f775f;
}

.cart-drawer-sticky__checkout {
	display: flex;
	align-items: center;
	justify-content: center;

	min-height: 52px;
	padding: 12px 22px;

	background: #111;
	color: #fff;

	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 999px;
}

/* =========================================================
   FREE SHIPPING
   ========================================================= */

.cart-drawer-shipping {
	padding: 0px 0 22px;
	border-bottom: 1px solid #eeeeee;
}

.cart-drawer-shipping__text {
	margin: 0 0 11px;
	color: #4f4f4f;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.cart-drawer-shipping__text strong {
	color: #111111;
	font-weight: 500;
}

.cart-drawer-shipping__track {
	position: relative;
	width: 100%;
	height: 3px;
	background: #ececec;
	overflow: hidden;
}

.cart-drawer-shipping__progress {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	height: 100%;
	background: #111111;
}

.cart-drawer-shipping__labels,
.cart-drawer-shipping__values {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.cart-drawer-shipping__labels {
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 500;
}

.cart-drawer-shipping__values {
	margin-top: 8px;
	color: #999;
	font-size: 12px;
}

.cart-drawer-shipping__track {
	position: relative;
	height: 2px;
	background: #e5e5e5;
}

.cart-drawer-shipping__progress {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: #111;
}

.cart-drawer-shipping__success {
	display: inline-flex;
	align-items: center;

	min-height: 32px;
	padding: 6px 14px;

	border-radius: 999px;
	background: rgb(23, 193, 243);

	color: #fff;
	font-size: 13px;
	font-weight: 500;
}
.cart-drawer.has-sticky .cart-drawer-content {
	padding-bottom: 120px;
}

.vn-remove-modal__image img {
	mix-blend-mode: multiply;
}

.cart-drawer-shipping__progress-state,
.cart-drawer-shipping__success-state {
	width: 100%;
}

.cart-drawer-shipping__progress-state[hidden],
.cart-drawer-shipping__success-state[hidden] {
	display: none;
}

.cart-drawer-shipping__progress {
	will-change: width;
}

.cart-drawer-shipping__success {
	transform-origin: left center;
}
/* =========================================================
   PRODUCTS
   ========================================================= */

.cart-drawer-products {
	display: flex;
	flex-direction: column;
}

.cart-drawer-item {
	position: relative;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	min-height: 154px;
	padding: 16px 0;
	border-bottom: 1px solid #eeeeee;
	overflow: hidden;
}

.cart-drawer-item.is-updating {
	pointer-events: none;
}

.cart-drawer-item.is-updating::after {
	content: none;
}

.cart-drawer-item__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 96px;
	background: #f7f7f7;
	overflow: hidden;
}

.cart-drawer-item__image img {
	display: block;
	max-width: 90%;
	max-height: 90%;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.cart-drawer-item__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
}

.cart-drawer-item__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.cart-drawer-item__top > div {
	min-width: 0;
}

.cart-drawer-item__brand {
	margin: 0 0 5px;
	color: #777777;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cart-drawer-item__name {
	display: block;
	max-width: 380px;
	margin: 0;

	color: #111;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cart-drawer-item__name:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cart-drawer-item__variant {
	margin: 6px 0 0;
	color: #777777;
	font-size: 12px;
	line-height: 1.35;
}

.cart-drawer-item__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	margin: -3px -3px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f7f7f7;
	color: #111111;
	cursor: pointer;
	margin-right: 2px;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.cart-drawer-item__remove:hover {
	background: #eeeeee;
}

/* .cart-drawer-item__remove:active {
	transform: scale(0.94);
} */

.cart-drawer-item__remove svg {
	width: 14px;
	height: 14px;
}

.cart-drawer-item__more {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 3px;

	width: 30px;
	height: 30px;

	padding: 0;
	border: 0;
	border-radius: 50%;

	/* background: #f7f7f7; */
	background: transparent;
	cursor: pointer;
}

.cart-drawer-item__more span {
	display: block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #777;
}

/* =========================================================
   PRODUCT BOTTOM
   ========================================================= */

.cart-drawer-item__bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-top: 12px;
}
/* =========================================================
   bottom sheet
   ========================================================= */

.cart-drawer-action-sheet {
	position: absolute;
	inset: 0;
	z-index: 40;

	visibility: hidden;
	pointer-events: none;
}

.cart-drawer-action-sheet.is-open {
	visibility: visible;
	pointer-events: auto;
}

.cart-drawer-action-sheet__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.35);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.cart-drawer-action-sheet.is-open .cart-drawer-action-sheet__overlay {
	opacity: 1;
}

.cart-drawer-action-sheet__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;

	padding: 14px 20px max(20px, env(safe-area-inset-bottom));

	background: #fff;

	transform: translateY(100%);
	border-radius: 18px 18px 0 0;
}

.cart-drawer-action-sheet.is-open .cart-drawer-action-sheet__panel {
	transform: translateY(0);
}

.cart-drawer-action-sheet__handle {
	width: 42px;
	height: 4px;
	margin: 0 auto 28px;

	border-radius: 999px;
	background: #dedede;
}

.cart-drawer-action-sheet__content {
	display: flex;
	flex-direction: column;
}

.cart-drawer-action-sheet__quantity-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;

	padding-bottom: 24px;
	border-bottom: 1px solid #e8e8e8;
}

.cart-drawer-action-sheet__quantity-row strong {
	max-width: 150px;

	font-size: 19px;
	font-weight: 600;
	line-height: 1.15;
}

.cart-drawer-action-sheet__quantity {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cart-drawer-action-sheet__quantity button {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 38px;
	height: 38px;

	padding: 0;
	border: 0;
	border-radius: 50%;

	background: #f7f7f7;
	color: #111;

	font-size: 20px;
	cursor: pointer;
}

.cart-drawer-action-sheet__quantity span {
	min-width: 20px;

	text-align: center;
	font-size: 17px;
	font-weight: 500;
}

.cart-drawer-action-sheet__remove {
	width: 100%;
	margin-top: 10px;
	padding: 18px 0;

	border: 0;
	background: transparent;

	color: #111;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

@media (min-width: 768px) {
	.cart-drawer-action-sheet {
		display: none;
	}
}

/* =========================================================
   QUANTITY
   ========================================================= */

.cart-drawer-quantity {
	display: flex;
	align-items: center;
	gap: 10px;
	width: auto;
	height: auto;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
	flex: 0 0 auto;
}

.cart-drawer-quantity__button {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f7f7f7;
	color: #111111;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		opacity 0.2s ease,
		transform 0.2s ease;
}

.cart-drawer-quantity__button:hover:not(:disabled) {
	background: #eeeeee;
}

.cart-drawer-quantity__button:active:not(:disabled) {
	transform: scale(0.94);
}

.cart-drawer-quantity__button:disabled {
	color: #c9c9c9;
	background: #fafafa;
	cursor: default;
}

.cart-drawer-quantity__value {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 32px;
	color: #111111;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}

/* =========================================================
   PRICE
   ========================================================= */

.cart-drawer-item__price {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 3px;
	min-width: 0;
	text-align: right;
}

.cart-drawer-item__discount {
	color: #a47c66;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}

.cart-drawer-item__price-row {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 9px;
}

.cart-drawer-item__old-price {
	color: #999;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: line-through;
}

.cart-drawer-item__current-price {
	color: #111;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

/* =========================================================
   PROMO
   ========================================================= */

.cart-drawer-promo {
	padding: 26px 0;
	border-bottom: 1px dashed #eeeeee;
}

.cart-drawer-promo__form {
	margin: 0;
}

.cart-drawer-promo__field {
	display: flex;
	align-items: center;

	min-height: 52px;

	border: 1px dashed #dcdcdc;
	border-radius: 8px;

	background: #ffffff;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.cart-drawer-promo__field:focus-within {
	border: 1px solid #111111;
	box-shadow: 0 0 0 1px #111111;
}

.cart-drawer-promo__input {
	flex: 1 1 auto;
	min-width: 0;

	height: 50px;

	padding: 0 14px;

	border: 0;
	outline: 0;

	background: transparent;
	color: #111111;

	font: inherit;
	font-size: 14px;
}

.cart-drawer-promo__input::placeholder {
	color: #8c8c8c;
}

.cart-drawer-promo__submit {
	display: flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 50px;
	width: 50px;
	height: 50px;

	padding: 0;

	border: 0;
	background: transparent;

	color: #111111;
	font-size: 20px;

	cursor: pointer;

	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

.cart-drawer-promo__submit:hover {
	transform: translateX(2px);
}

.cart-drawer-promo__submit:disabled {
	opacity: 0.4;
	cursor: default;
	transform: none;
}

.cart-drawer-promo__error {
	margin: 8px 2px 0;

	color: #c33b3b;

	font-size: 12px;
	line-height: 1.4;
}

.cart-drawer-promo__error[hidden] {
	display: none;
}

.cart-drawer-promo__applied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	min-height: 58px;

	padding: 11px 12px 11px 15px;

	border: 1px dashed #dcdcdc;
	border-radius: 8px;

	background: #fafafa;
}

.cart-drawer-promo__applied-info {
	display: flex;
	flex-direction: column;
	gap: 3px;

	min-width: 0;
}

.cart-drawer-promo__label {
	color: #777777;

	font-size: 11px;
	line-height: 1.3;
}

.cart-drawer-promo__applied-info strong {
	overflow: hidden;

	color: #111111;

	font-size: 15px;
	font-weight: 600;

	text-overflow: ellipsis;
	white-space: nowrap;
}

.cart-drawer-promo__applied-side {
	display: flex;
	align-items: center;
	gap: 12px;

	flex: 0 0 auto;
}

.cart-drawer-promo__discount {
	color: #9f775f;

	font-size: 14px;
	font-weight: 500;

	white-space: nowrap;
}

.cart-drawer-promo__remove {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 32px;
	height: 32px;

	padding: 0;

	border: 0;
	border-radius: 50%;

	background: #eeeeee;
	color: #111111;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.cart-drawer-promo__remove:hover {
	background: #e4e4e4;
	border: 1px;
}

.cart-drawer-promo__remove:active {
	transform: scale(0.95);
}

.cart-drawer-summary__row--promo span {
	color: #9f775f;
}

/* =========================================================
   SUMMARY
   ========================================================= */

.cart-drawer-summary {
	padding: 28px 0 0;
}

.cart-drawer-summary__title {
	margin: 0 0 23px;
	color: #111111;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.cart-drawer-summary__rows {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.cart-drawer-summary__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	color: #555555;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.cart-drawer-summary__row > span:last-child {
	flex: 0 0 auto;
	color: #111111;
	text-align: right;
}
.cart-drawer-summary__row--discount > span:last-child {
	color: #9f775f;
}
.cart-drawer-summary__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #dfdfdf;
	color: #111111;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

.cart-drawer-summary__total strong {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.02em;
	text-align: right;
}

.cart-drawer-summary__bonus {
	margin: 14px 0 0;
	color: #5f5f5f;
	font-size: 13px;
	line-height: 1.45;
}

.cart-drawer-summary__login {
	margin: 15px 0 0;
	color: #6f6f6f;
	font-size: 13px;
	line-height: 1.45;
}

/* =========================================================
   CHECKOUT CTA
   ========================================================= */

.cart-drawer-summary__checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	margin-top: 24px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.cart-drawer-summary__checkout:hover {
	background: #292929;
}

.cart-drawer-summary__checkout:active {
	transform: scale(0.99);
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.cart-drawer-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 78px);
	padding: 60px 32px 90px;
	text-align: center;
}

.cart-drawer-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin-bottom: 24px;
	border-radius: 50%;
	background: #f6f6f6;
	color: #111111;
}

.cart-drawer-empty__title {
	margin: 0;
	color: #111111;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.cart-drawer-empty__text {
	max-width: 330px;
	margin: 11px 0 0;
	color: #777777;
	font-size: 14px;
	line-height: 1.55;
}

.cart-drawer-empty__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 310px);
	min-height: 52px;
	margin-top: 26px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.cart-drawer-empty__button:hover {
	background: #292929;
}

.cart-drawer-empty__button:active {
	transform: scale(0.99);
}

/* =========================================================
   LOADING / SKELETON
   ========================================================= */

.cart-drawer__loading {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 18px 28px;
}

.cart-drawer-skeleton {
	display: grid;
	grid-template-columns: 106px minmax(0, 1fr);
	gap: 18px;
	padding: 24px 0;
	border-bottom: 1px solid #eeeeee;
}

.cart-drawer-skeleton__image {
	width: 106px;
	height: 128px;
	background: #f1f1f1;
	animation: cart-drawer-skeleton 1.2s ease-in-out infinite;
}

.cart-drawer-skeleton__content {
	display: flex;
	flex-direction: column;
	gap: 11px;
	padding-top: 3px;
}

.cart-drawer-skeleton__content span {
	display: block;
	height: 12px;
	border-radius: 2px;
	background: #f1f1f1;
	animation: cart-drawer-skeleton 1.2s ease-in-out infinite;
}

.cart-drawer-skeleton__content span:nth-child(1) {
	width: 30%;
}

.cart-drawer-skeleton__content span:nth-child(2) {
	width: 84%;
}

.cart-drawer-skeleton__content span:nth-child(3) {
	width: 52%;
}

@keyframes cart-drawer-skeleton {
	0%,
	100% {
		opacity: 0.6;
	}

	50% {
		opacity: 1;
	}
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {
	.cart-drawer__panel {
		width: min(560px, 100vw);
	}

	.cart-drawer__header {
		padding-right: 24px;
		padding-left: 24px;
	}

	.cart-drawer-content {
		padding-right: 24px;
		padding-left: 24px;
	}

	.cart-drawer__loading {
		padding-right: 24px;
		padding-left: 24px;
	}
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
	.cart-drawer__overlay {
		background: rgba(17, 17, 17, 0.32);
	}

	.cart-drawer__panel {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100dvh;
		max-width: none;
		box-shadow: none;
		transform: translateY(100%);
	}
	.cart-drawer.is-open .cart-drawer__panel {
		transform: translateY(0);
	}
	.cart-drawer__header {
		position: sticky;
		top: 0;
		min-height: 66px;
		padding: max(6px, env(safe-area-inset-top)) 18px 0;
		background: rgba(255, 255, 255, 0.96);
		border-bottom: 1px solid #eeeeee;
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
	}

	.cart-drawer__title {
		font-size: 21px;
	}

	.cart-drawer__count {
		font-size: 13px;
	}

	.cart-drawer__close {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}

	.cart-drawer__body {
		padding-bottom: max(18px, env(safe-area-inset-bottom));
	}

	.cart-drawer-content {
		padding: 0 16px 26px;
	}

	/* Shipping */

	.cart-drawer-shipping {
		padding: 17px 0 19px;
	}

	.cart-drawer-shipping__text {
		margin-bottom: 10px;
		font-size: 12px;
	}

	/* Product */

	.cart-drawer-item {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 18px;
		min-height: 0;
		padding: 18px 0;
	}

	.cart-drawer-item__image {
		width: 96px;
		height: 99px;
	}

	.cart-drawer-item__brand {
		margin-bottom: 5px;
		font-size: 10px;
	}

	.cart-drawer-item__name {
		font-size: 14px;
		line-height: 1.35;
		max-width: 200px;
	}

	.cart-drawer-item__variant {
		margin-top: 6px;
		font-size: 12px;
	}

	.cart-drawer-item__remove {
		flex-basis: 30px;
		width: 30px;
		height: 30px;
	}

	.cart-drawer-item__bottom {
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		width: 100%;
		gap: 0;
		margin-top: 10px;
	}
	.cart-drawer-item__price {
		margin-left: auto;
		align-items: flex-end;
		text-align: right;
		margin-right: 16px;
	}
	.cart-drawer-quantity {
		grid-template-columns: 31px 34px 31px;
		width: 96px;
		height: 36px;
		border-radius: 8px;
	}

	.cart-drawer-quantity__button {
		width: 31px;
		font-size: 18px;
	}
	.cart-drawer-quantity__button span {
		padding-bottom: 3px;
	}
	.cart-drawer-quantity__value {
		font-size: 13px;
	}

	.cart-drawer-item__old-price {
		font-size: 11px;
	}

	.cart-drawer-item__current-price {
		font-size: 15px;
	}

	/* Promo */

	.cart-drawer-promo {
		padding: 22px 0;
	}

	.cart-drawer-promo__placeholder {
		min-height: 50px;
		padding: 0 14px;
		font-size: 13px;
	}

	/* Summary */

	.cart-drawer-summary {
		padding-top: 23px;
	}

	.cart-drawer-summary__title {
		margin-bottom: 20px;
		font-size: 18px;
	}

	.cart-drawer-summary__rows {
		gap: 13px;
	}

	.cart-drawer-summary__row {
		font-size: 13px;
	}

	.cart-drawer-summary__total {
		margin-top: 19px;
		padding-top: 18px;
		font-size: 16px;
	}

	.cart-drawer-summary__total strong {
		font-size: 20px;
	}

	.cart-drawer-summary__bonus,
	.cart-drawer-summary__login {
		font-size: 12px;
	}

	.cart-drawer-summary__checkout {
		position: static;
		bottom: 0;
		z-index: 4;
		min-height: 54px;
		margin-top: 22px;
		box-shadow: 0 -12px 24px rgba(255, 255, 255, 0.96);
	}

	/* Empty */

	.cart-drawer-empty {
		min-height: calc(100dvh - 66px - env(safe-area-inset-top));
		padding: 54px 22px 80px;
	}

	.cart-drawer-empty__icon {
		width: 68px;
		height: 68px;
		margin-bottom: 20px;
	}

	.cart-drawer-empty__title {
		font-size: 20px;
	}

	.cart-drawer-empty__text {
		max-width: 290px;
		font-size: 13px;
	}

	.cart-drawer-empty__button {
		width: min(100%, 290px);
		min-height: 50px;
		margin-top: 23px;
	}

	/* Skeleton */

	.cart-drawer__loading {
		padding: 12px 16px;
	}

	.cart-drawer-skeleton {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 14px;
		padding: 20px 0;
	}

	.cart-drawer-skeleton__image {
		width: 92px;
		height: 116px;
	}

	.cart-drawer-sticky {
		grid-template-columns: 1fr auto;
		gap: 14px;

		padding: 12px 16px max(12px, env(safe-area-inset-bottom));
	}

	.cart-drawer-sticky__discount {
		display: none;
	}

	.cart-drawer-sticky__total strong {
		font-size: 19px;
	}

	.cart-drawer-sticky__checkout {
		min-width: 190px;
		min-height: 50px;
	}

	.cart-drawer-item__remove {
		display: none;
	}

	.cart-drawer-item__more {
		display: inline-flex;
	}

	.cart-drawer-item__bottom .cart-drawer-quantity {
		display: none;
	}
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
	.cart-drawer__header {
		padding-right: 14px;
		padding-left: 14px;
	}

	.cart-drawer-content {
		padding-right: 14px;
		padding-left: 14px;
	}

	.cart-drawer-item {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 12px;
	}

	.cart-drawer-item__image {
		width: 84px;
		height: 108px;
	}

	.cart-drawer-item__bottom {
		gap: 8px;
	}

	.cart-drawer-quantity {
		grid-template-columns: 29px 32px 29px;
		width: 90px;
		height: 34px;
	}

	.cart-drawer-quantity__button {
		width: 29px;
	}

	.cart-drawer-item__current-price {
		font-size: 14px;
	}

	.cart-drawer__loading {
		padding-right: 14px;
		padding-left: 14px;
	}

	.cart-drawer-skeleton {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 12px;
	}

	.cart-drawer-skeleton__image {
		width: 84px;
		height: 108px;
	}
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	.cart-drawer__overlay,
	.cart-drawer__close,
	.cart-drawer-item__remove,
	.cart-drawer-quantity__button,
	.cart-drawer-summary__checkout,
	.cart-drawer-empty__button {
		transition: none;
	}

	.cart-drawer-skeleton__image,
	.cart-drawer-skeleton__content span {
		animation: none;
	}
}

/* Login or Register screen */

.cart-checkout-gate {
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 40px 72px;
}

.cart-checkout-gate__content {
	width: 100%;
	max-width: 430px;
}

.cart-checkout-gate__title {
	margin: 0 0 16px;

	font-size: 32px;
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.03em;

	color: #111;
}

.cart-checkout-gate__text {
	margin: 0;

	max-width: 390px;

	font-size: 15px;
	line-height: 1.55;
	font-weight: 400;

	color: #666;
}

.cart-checkout-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;

	margin-top: 32px;
}

.cart-checkout-gate__primary,
.cart-checkout-gate__secondary {
	width: 100%;
	min-height: 54px;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 14px 24px;

	font-family: inherit;
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.04em;

	text-align: center;
	text-decoration: none;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		opacity 0.2s ease;
}

.cart-checkout-gate__primary {
	border: 1px solid #111;
	background: #111;
	color: #fff;
}

.cart-checkout-gate__primary:hover {
	background: #2a2a2a;
	border-color: #2a2a2a;
}

.cart-checkout-gate__secondary {
	border: 1px solid #111;
	background: #fff;
	color: #111;
}

.cart-checkout-gate__secondary:hover {
	background: #f6f6f6;
}

.cart-checkout-gate__primary:focus-visible,
.cart-checkout-gate__secondary:focus-visible {
	outline: 2px solid #111;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.cart-checkout-gate {
		align-items: flex-start;

		padding: 40px 20px calc(40px + env(safe-area-inset-bottom));
	}

	.cart-checkout-gate__content {
		max-width: none;
	}

	.cart-checkout-gate__title {
		font-size: 28px;
	}

	.cart-checkout-gate__text {
		font-size: 14px;
	}

	.cart-checkout-gate__actions {
		margin-top: 28px;
	}

	.cart-checkout-gate__primary,
	.cart-checkout-gate__secondary {
		min-height: 52px;
	}
}
