
.basket-items-list-item-clear-btn {
	position: relative;
	display: inline-block;
	margin-left: 10px;
	width: 25px;
	height: 25px;
	cursor: pointer;
}

.basket-items-list-item-clear-btn:after,
.basket-items-list-item-clear-btn:before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px;
	height: 14px;
	background: #d0021b;
	content: '';
	transition: 300ms background-color ease;
}

.basket-items-list-item-clear-btn:after {
	-webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
	transform: translate3d(-50%, -50%, 0) rotate(45deg);
}

.basket-items-list-item-clear-btn:before {
	-webkit-transform: translate3d(-50%, -50%, 0) rotate(-45deg);
	transform: translate3d(-50%, -50%, 0) rotate(-45deg);
}

.basket-items-list-item-clear-btn:hover:after,
.basket-items-list-item-clear-btn:hover:before { background-color: #7e000f; }



:root {
	--border-width: 2px;
	--black: #000000;
	--white: #ffffff;
	--light-gray: #f5f5f5;
	--medium-gray: #e6e6e6;
	--dark-gray: #a6a6a6;
	--sale-red: #EA1D2D;
}

/* === OPEN CART BUTTON === */
.open-cart-btn {
	background-color: var(--black);
	color: var(--white);
	border: none;
	border-radius: 12px;
	padding: 14px 28px;
	font-size: 17px;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: background-color 0.2s;
}

.open-cart-btn:hover {
	background-color: #333;
}

.open-cart-btn i {
	font-size: 22px;
}

/* === CART CONTAINER === */
.cart-wrapper {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 480px;
	z-index: 1050;
	display: none;
	flex-direction: column;
}

.cart-wrapper.active {
	display: flex;
	animation: fadeInCart 0.3s ease;
}

@keyframes fadeInCart {
	from { opacity: 0; transform: translateX(30px); }
	to { opacity: 1; transform: translateX(0); }
}

@media (min-width: 481px) {
	.cart-wrapper {
		border-radius: 24px 0 0 24px;
	}
}

/* FULLSCREEN on screens < 670px */
@media (max-width: 669px) {
	.cart-wrapper {
		max-width: 100%;
		border-radius: 0;
	}
	.cart-wrapper .cart-header {
		border-radius: 0 !important;
	}
	.cart-wrapper .cart-header-title {
		padding-left: 16px !important;
		padding-right: 125px !important;
	}
	.cart-wrapper .marketing-banner {
		border-radius: 0 !important;
	}
	.cart-wrapper .tab-pane,
	.cart-wrapper .tab-content {
		border-radius: 0 !important;
	}
	.checkout-fixed {
		max-width: 100% !important;
		border-radius: 0 !important;
	}
}

/* === HEADER (separated from body) === */
.cart-header {
	border-radius: 24px 0 0 24px !important;
	position: relative;
	z-index: 10;
	padding: 5px 0px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	background: transparent;
}

@media (min-width: 481px) {
	.cart-header {
		border-radius: 24px 0 0 0;
	}
}

.cart-header-title {
	border-radius: 12px !important;
	padding: 10px 250px 10px 18px;
	background-color: #FFF;
	display: flex;
	align-items: center;
	gap: 16px;
	color: #000;
	font-size: 17px;
	line-height: 20px;
	letter-spacing: -0.01em;
	width: 90%;
}

.cart-header-title i {
	font-size: 20px;
	color: #000;
}

.cart-header-title .item-count {
	color: rgba(255,255,255,0.6);
}

.cart-header .btn-close-custom {
	background: var(--white);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

.cart-header .btn-close-custom i {
	font-size: 20px;
	color: var(--black);
}

/* === NAV TABS === */
.cart-tabs {
	background: var(--white);
	padding: 8px 16px;
	border-bottom: var(--border-width) solid var(--medium-gray);
	flex-shrink: 0;
}

.cart-tabs .nav-tabs {
	display: flex;
	gap: 8px;
	border: none;
	width: 100%;
}

.cart-tabs .nav-tabs .nav-link {
	border: none;
	color: var(--dark-gray);
	font-size: 17px;
	padding: 4px 0;
	background: transparent;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.cart-tabs .nav-tabs .nav-link.active {
	color: var(--black);
	border-bottom: 2px solid var(--black);
}

/* === MARKETING BANNER (seamless infinite scroll) === */
.marketing-banner {
	border-radius: 24px 0 0 0;
	background-color: var(--black);
	color: var(--white);
	height: 32px;
	display: flex;
	align-items: center;
	overflow: hidden;
	flex-shrink: 0;
}

.marquee-wrapper {
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
}

.marquee-track {
	display: inline-flex;
	animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
	animation-play-state: paused;
}

.marquee-content {
	display: inline-flex;
	align-items: center;
	padding: 0 20px;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.marquee-separator {
	display: inline-flex;
	align-items: center;
	padding: 0 12px;
	opacity: 0.5;
}

@keyframes marqueeScroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* === CART BODY === */
.tab-pane {
	border-radius: 24px 0 0 24px;
}

.tab-content {
	border-radius: 24px 0 0 24px;
	background-color: #fff;
	min-height: 94vh;
}

.cart-body {
	flex: 1;
	overflow-y: auto;
	background: none;

	scrollbar-width: thin;
}

.cart-body::-webkit-scrollbar { width: 5px; }
.cart-body::-webkit-scrollbar-track { background: transparent; }
.cart-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 7px; }

/* === CART HEADER INFO === */
.cart-header-info {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-bottom: var(--border-width) solid var(--medium-gray);
}

.cart-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: space-between;
}

.cart-phone div:first-child { font-size: 14px; }
.cart-phone a {
	border: var(--border-width) solid var(--medium-gray);
	border-radius: 10px;
	padding: 6px 12px;
	color: var(--black);
	text-decoration: none;
	font-size: 14px;
}

.cart-phone a:hover { border-color: var(--black); }

/* === SELECT ALL === */
.cart-items-header {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
}

.select-all-btn {
	background: none;
	border: none;
	color: var(--black);
	font-size: 14px;
	cursor: pointer;
	padding: 4px 0;
	font-weight: 500;
}

.select-all-btn:hover { text-decoration: underline; }

/* === CART ITEM === */
.cart-items {
	padding: 0 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cart-item {
	display: grid;
	grid-template-columns: 95px 1fr;
	gap: 8px 16px;
	position: relative;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.01em;
}

@media (min-width: 769px) {
	.cart-item {
		font-size: 17px;
		line-height: 20px;
		gap: 24px;
	}
}

.item-image {
	position: relative;
	padding-top: 132%;
	background: var(--light-gray);
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
}

.item-image img {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}

.item-image.unavailable img { opacity: 0.4; }

.item-checkbox-wrapper {
	position: absolute;
	left: -4px;
	top: -4px;
	z-index: 3;
}

.item-checkbox {
	border-radius: 12px;
	width: 22px;
	height: 22px;
	accent-color: var(--black);
	cursor: pointer;
}

.item-info {
	display: flex;
	flex-direction: column;
	padding-top: 12px;
	border-top: var(--border-width) solid var(--medium-gray);
}

.item-title {
	padding-right: 40px;
	margin-bottom: 8px;
	text-decoration: none;
	color: var(--black);
	font-size: 14px;
	cursor: pointer;
}

@media (min-width: 769px) {
	.item-title { font-size: 17px; }
}

.item-title.unavailable {
	opacity: 0.4;
	cursor: default;
}

/* === SIZE GRID === */
.size-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.size-option {
	border: var(--border-width) solid var(--medium-gray);
	border-radius: 10px;
	padding: 4px 10px;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.15s;
	user-select: none;
	background: var(--white);
}

.size-option:hover {
	border-color: var(--black);
}

.size-option.selected {
	border-color: var(--sale-red);
	color: var(--sale-red);
}

.size-option.unavailable {
	opacity: 0.3;
	cursor: not-allowed;
	text-decoration: line-through;
}

.other-sizes {
	background-color: var(--light-gray);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	align-self: flex-start;
}

/* === DISCOUNT BADGE === */
.discount-badge {
	color: var(--sale-red);
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 4px;
}

/* === PRICE CONTROL === */
.item-price-control {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.item-quantity {
	display: flex;
	align-items: center;
	gap: 4px;
}

.quantity-btn {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: var(--border-width) solid var(--medium-gray);
	border-radius: 8px;
	background: var(--white);
	transition: border-color 0.15s;
}

.quantity-btn:hover {
	border-color: var(--black);
}

.quantity-btn i {
	font-size: 14px;
	color: var(--black);
}

.quantity-count {
	width: 24px;
	text-align: center;
	font-size: 15px;
	border: none;
	padding: 0;
	outline: none;
}

.item-price {
	white-space: nowrap;
	font-size: 17px;
}

.old-price {
	text-decoration: line-through var(--sale-red);
	margin-right: 8px;
	color: var(--dark-gray);
	font-size: 14px;
}

.sale-price { color: var(--sale-red); }

/* === UNAVAILABLE SECTION === */
.unavailable-section {
	margin-top: 8px;
	padding: 0 16px;
}

.unavailable-title {
	color: var(--dark-gray);
	font-size: 14px;
	margin-bottom: 8px;
}

/* === PROMO CODE === */
.promo-code {
	/* margin: 16px; */
	position: relative;
}

.promo-input-container {
	position: relative;
	width: 100%;
}

.promo-input {
	border: var(--border-width) solid var(--medium-gray);
	background: var(--white);
	padding: 12px 100px 12px 16px;
	width: 100%;
	font-size: 15px;
	border-radius: 12px;
	color: var(--black);
	transition: border-color 0.2s;
	font-family: inherit;
}

.promo-input:focus {
	outline: none;
	border-color: var(--black);
}

.promo-input::placeholder {
	color: var(--dark-gray);
}

.promo-apply-btn {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background-color: var(--black);
	color: var(--white);
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	opacity: 0;
	pointer-events: none;
	font-family: inherit;
}

.promo-apply-btn.visible {
	opacity: 1;
	pointer-events: auto;
}

.promo-remove {
	background: none;
	border: none;
	color: var(--dark-gray);
	font-size: 13px;
	cursor: pointer;
	margin-top: 8px;
	padding: 0;
	font-family: inherit;
}

.promo-remove:hover { color: var(--black); }

.promo-applied {
	display: none;
	align-items: center;
	justify-content: space-between;
	background: var(--light-gray);
	border-radius: 12px;
	padding: 10px 16px;
	margin-top: 8px;
}

.promo-applied.visible {
	display: flex;
}

.promo-applied-text {
	font-size: 14px;
	color: var(--black);
	font-weight: 500;
}

/* === ORDER SUMMARY === */
.order-summary {
	padding: 0 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

.summary-block {
	background-color: var(--light-gray);
	border-radius: 16px;
	padding: 14px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.summary-block.total-block {
	background-color: var(--light-gray);
	font-size: 17px;
	font-weight: 500;
}

.your-benefit { color: var(--sale-red); }

/* === CHECKOUT BUTTON (FIXED) === */
.checkout-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
	width: 100%;
	max-width: 480px;
	padding: 12px 16px 16px;
	background: var(--white);
	border-top: var(--border-width) solid var(--medium-gray);
	z-index: 1060;
}

@media (min-width: 481px) {
	.checkout-fixed {
		border-radius: 24px 0 0 0;
	}
}

.btn-checkout {
	width: 100%;
	background-color: var(--black);
	color: var(--white);
	border: none;
	border-radius: 12px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: -0.02em;
	cursor: pointer;
	font-weight: 500;
	font-family: inherit;
}

.btn-checkout .checkout-price {
	display: flex;
	align-items: center;
	gap: 8px;
}

.btn-checkout .old-price {
	margin-right: 0;
	font-size: 16px;
	color: rgba(255,255,255,0.6);
	text-decoration: line-through var(--sale-red);
}

/* === DELIVERY PROGRESS === */
.delivery-progress {
	padding: 16px;
}

.progress-bar-custom {
	height: 24px;
	background-color: var(--black);
	border-radius: 27px;
	position: relative;
	margin: 8px 0;
}

.progress-fill {
	position: absolute;
	top: 0; left: 0;
	height: 100%;
	background-color: var(--sale-red);
	border-radius: 27px;
	width: 65%;
}

.progress-marker {
	position: absolute;
	right: 8px;
	top: 4px;
	color: var(--white);
	font-size: 12px;
	z-index: 1;
}

.progress-labels {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	margin-top: 4px;
}

/* === WISHLIST === */
.item-wishlist {
	position: absolute;
	right: 8px;
	top: 8px;
	z-index: 2;
	cursor: pointer;
	color: var(--dark-gray);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: rgba(255,255,255,0.8);
	border-radius: 50%;
}

.item-wishlist i { font-size: 18px; }
.item-wishlist .bi-heart-fill { color: var(--black); }

/* === CHECKBOX SELECT ALL === */
.select-all-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.select-all-wrapper .item-checkbox {
	border-radius: 12px;
	width: 20px;
	height: 20px;
	accent-color: var(--black);
}

/* === BACKDROP === */
.cart-backdrop {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.3);
	z-index: 1049;
	display: none;
}

.cart-backdrop.active {
	display: block;
}

/* === ANIMATIONS === */
.cart-item.removing {
	animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
	to { opacity: 0; transform: translateX(100%); height: 0; padding: 0; margin: 0; overflow: hidden; }
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
	.cart-wrapper { max-width: 100%; }
	.checkout-fixed { max-width: 100%; }
}

@media (max-width: 768px) {
	.mobile-hidden { display: none; }
}

@media (min-width: 769px) {
	.desktop-hidden { display: none; }
}

.cart-item:has(.basket-items-list-item-notification) {
	grid-template-columns: 1fr;
}

div#cartWrapper {
    background-color: #FFF;
    border-radius: 0;
}