/* ============================================================
   SEPET SAYFASI - CART PAGE STYLES
   Original Tema
============================================================ */

/* ========================================
   PAGE SPECIFIC OVERRIDES
======================================== */
.top-header,
.brech-menu {
	display: none;
}

.brech-back {
	background-color: #A8A8A8;
	color: #6C6C6C;
	display: none !important;
}

body {
	background: linear-gradient(135deg, #FAF9F6 0%, #F5F3EE 100%);
	min-height: 100vh;
	overflow-x: hidden;
	max-width: 100vw;
}

/* ========================================
   CONTAINER & LAYOUT
======================================== */
.cart-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	overflow-x: hidden;
	width: 100%;
}

.cart-header {
	margin-bottom: 2.5rem;
}

.back-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--gray-600);
	background: none;
	border: none;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
	padding: 0.5rem 0;
	margin-bottom: 1rem;
}

.back-btn:hover {
	color: var(--primary);
	gap: 0.75rem;
}

.cart-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--gray-900);
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
	letter-spacing: -0.02em;
}

.cart-title i {
	color: var(--primary);
	font-size: 2.5rem;
}

.cart-item-count {
	font-family: 'DM Sans', sans-serif;
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--gray-400);
}

/* ========================================
   SUCCESS BANNER (500TL+)
======================================== */
.success-banner {
	background: linear-gradient(135deg, #06D6A0 0%, #05B589 100%);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
	color: white;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(6, 214, 160, 0.2);
}

.success-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
	border-radius: 50%;
}

.success-banner-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.success-icon {
	font-size: 2rem;
	flex-shrink: 0;
	animation: celebrate 0.6s ease-out;
}

@keyframes celebrate {
	0% {
		transform: scale(0.5) rotate(-10deg);
		opacity: 0;
	}

	50% {
		transform: scale(1.2) rotate(5deg);
	}

	100% {
		transform: scale(1) rotate(0deg);
		opacity: 1;
	}
}

.success-text h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 0.25rem 0;
	line-height: 1.3;
}

.success-text p {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.95;
	line-height: 1.4;
}

/* ========================================
   SHIPPING PROGRESS BANNER
======================================== */
.shipping-banner {
	background: white;
	border-radius: var(--radius);
	padding: 1.5rem;
	margin-bottom: 2rem;
	box-shadow: var(--shadow-md);
	border: 2px solid var(--gray-100);
}

.shipping-content {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.shipping-icon {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.shipping-text {
	flex: 1;
	font-weight: 600;
	color: var(--gray-800);
	font-size: 1rem;
}

.shipping-text .amount {
	color: var(--primary);
	font-weight: 700;
}

.shipping-text .free {
	color: var(--success);
}

.progress-container {
	position: relative;
}

.progress-bar-wrapper {
	height: 12px;
	background: var(--gray-100);
	border-radius: 999px;
	overflow: hidden;
	position: relative;
}

.progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--primary) 0%, var(--warning) 100%);
	border-radius: 999px;
	transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.progress-bar-dynamic {
	width: 0;
}

.progress-bar::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg,
			transparent 0%,
			rgba(255, 255, 255, 0.3) 50%,
			transparent 100%);
	animation: shimmer 2s infinite;
}

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

	100% {
		transform: translateX(100%);
	}
}

.progress-label {
	display: flex;
	justify-content: space-between;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--gray-600);
}

/* ========================================
   CART GRID
======================================== */
.cart-grid {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 2rem;
	align-items: start;
}

/* ========================================
   CART ITEMS
======================================== */
.cart-items {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.cart-item {
	background: white;
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--gray-100);
	transition: var(--transition);
	animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cart-item:hover {
	box-shadow: var(--shadow-md);
	border-color: var(--gray-200);
}

.item-content {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 2rem;
}

.item-image {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: var(--gray-50);
}

.item-image img {
	width: 100%;
	height: 140px;
	object-fit: contain;
	transition: transform 0.4s ease;
}

.item-image:hover img {
	transform: scale(1.05);
}

.discount-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--danger);
	color: white;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(239, 71, 111, 0.4);
}

.item-details {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: 100%;
	justify-content: space-between;
}

.item-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.item-info {
	flex: 1;
	min-width: 0;
}

.item-name {
	font-weight: 700;
	color: var(--gray-900);
	font-size: 1.125rem;
	margin-bottom: 0.25rem;
	line-height: 1.4;
	transition: color 0.2s;
}

.item-name:hover {
	color: var(--primary);
}

.item-variant {
	color: var(--gray-500);
	font-size: 0.875rem;
}

.remove-btn {
	background: var(--gray-50);
	border: none;
	color: var(--gray-400);
	padding: 0.625rem;
	border-radius: 10px;
	cursor: pointer;
	transition: var(--transition);
	flex-shrink: 0;
}

.remove-btn:hover {
	color: var(--danger);
	background: #FEF2F2;
	transform: scale(1.05);
}

/* ========================================
   PHOTO UPLOAD STATUS
======================================== */
.photo-status {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: var(--gray-50);
	border-radius: 12px;
}

.progress-ring {
	position: relative;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
}

.progress-ring svg {
	transform: rotate(-90deg);
}

.progress-ring-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.5rem;
}

.progress-ring-icon.success {
	color: var(--success);
}

.progress-ring-icon.danger {
	color: var(--danger);
}

.photo-info {
	flex: 1;
	min-width: 0;
}

.photo-count {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--gray-800);
	margin-bottom: 2px;
}

.photo-label {
	font-size: 0.75rem;
	font-weight: 500;
}

.photo-label.success {
	color: var(--success);
}

.photo-label.danger {
	color: var(--danger);
}

.edit-photos-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1rem;
	background: var(--primary);
	color: white;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 10px;
	transition: var(--transition);
	flex-shrink: 0;
}

.edit-photos-btn:hover {
	background: var(--primary-dark);
	gap: 0.75rem;
}

.add-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	background: linear-gradient(135deg, #E8F5FF 0%, #F1FFF5 100%);
	color: #0D7E34;
	border: 2px dashed var(--success);
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: var(--transition);
}

.add-more-btn:hover {
	background: #D1FAE5;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(6, 214, 160, 0.2);
}

.add-more-hint {
	font-size: 0.75rem;
	color: var(--gray-500);
	margin-top: 0.5rem;
	font-style: italic;
}

/* ========================================
   QUANTITY & PRICING
======================================== */
.item-bottom {
	margin-top: auto;
}

.quantity-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--gray-100);
	min-height: 64px;
}

.quantity-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: var(--gray-50);
	padding: 0.375rem;
	border-radius: 12px;
}

.qty-btn {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: white;
	border: 1px solid var(--gray-200);
	border-radius: 10px;
	color: var(--gray-600);
	cursor: pointer;
	transition: var(--transition);
	font-size: 0.875rem;
}

.qty-btn:hover:not(:disabled) {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
	transform: scale(1.05);
}

.qty-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.qty-value {
	min-width: 52px;
	text-align: center;
	font-weight: 700;
	color: var(--gray-900);
	font-size: 1.125rem;
}

.item-pricing {
	text-align: right;
}

.original-price {
	font-size: 0.875rem;
	color: var(--gray-400);
	text-decoration: line-through;
	margin-bottom: 4px;
}

.current-price {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--primary);
	line-height: 1;
}

.savings {
	font-size: 0.75rem;
	color: var(--success);
	font-weight: 600;
	margin-top: 4px;
}

/* ========================================
   ADET ALERT (Stock Limit Warning)
======================================== */
.adet-alert {
	font-size: 0.8125rem;
	font-weight: 500;
	margin-top: 0.5rem;
	padding: 0.375rem 0.625rem;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 0.375rem;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.adet-alert.active {
	opacity: 1;
	max-height: 60px;
}

.adet-alert.warning {
	color: #92400E;
	background: #FEF3C7;
	border: 1px solid #FDE68A;
}

.adet-alert.error {
	color: #991B1B;
	background: #FEE2E2;
	border: 1px solid #FECACA;
}

/* ========================================
   SIDEBAR
======================================== */
.cart-sidebar {
	position: sticky;
	top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.summary-card {
	background: white;
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--gray-100);
}

.summary-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.summary-title i {
	color: var(--primary);
}

.summary-row {
	display: flex;
	justify-content: space-between;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--gray-100);
	color: var(--gray-700);
	font-size: 0.9375rem;
}

.summary-row:last-of-type {
	border-bottom: none;
}

.summary-row.total {
	padding-top: 1.25rem;
	margin-top: 0.5rem;
	border-top: 2px solid var(--gray-200);
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--gray-900);
}

.summary-row.total .amount {
	color: var(--primary);
}

.summary-row .amount.free {
	color: var(--success);
	font-weight: 600;
}

.summary-label {
	font-size: 0.9375rem;
	color: var(--gray-700);
	margin-bottom: 0.5rem;
}

.summary-value {
	font-size: 0.9375rem;
	color: var(--gray-700);
	font-weight: 600;
}

.savings-highlight {
	background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
	color: #065F46;
	padding: 0.875rem 1rem;
	border-radius: 12px;
	margin: 0.75rem 0;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.9375rem;
}

.checkout-btn {
	width: 100%;
	padding: 1.125rem 1.5rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.125rem;
	font-weight: 700;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	position: relative;
	overflow: hidden;
}

.checkout-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg,
			transparent,
			rgba(255, 255, 255, 0.2),
			transparent);
	transition: left 0.5s;
}

.checkout-btn:hover::before {
	left: 100%;
}

.checkout-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.trust-badges {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gray-100);
}

.trust-badge {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--gray-600);
}

.trust-badge i {
	font-size: 1rem;
	width: 20px;
	text-align: center;
}

.trust-badge.green i {
	color: var(--success);
}

.trust-badge.blue i {
	color: var(--secondary);
}

.trust-badge.purple i {
	color: #8B5CF6;
}

/* ========================================
   SAVINGS BANNER (Desktop Sidebar)
======================================== */
.savings-banner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
	color: #065F46;
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	margin-top: 0.75rem;
	animation: savingsFadeIn 0.4s ease;
}

.savings-banner i {
	font-size: 1rem;
	flex-shrink: 0;
}

@keyframes savingsFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   RECOMMENDATIONS
======================================== */
.recommendations {
	margin-top: 4rem;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.recommendations-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.recommendations-title {
	font-size: 2rem;
	font-weight: 800;
	color: var(--gray-900);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}

.recommendations-title i {
	color: var(--primary);
}

.swiper-navigation {
	display: flex;
	gap: 0.5rem;
}

.swiper-button-custom {
	width: 44px;
	height: 44px;
	background: white;
	border: 2px solid var(--gray-200);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--transition);
	color: var(--gray-600);
}

.swiper-button-custom:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: white;
}

.swiper-button-custom.swiper-button-disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.recommendations-swiper {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	padding-bottom: 1rem;
}

.recommendations-swiper .swiper-wrapper {
	width: 100%;
}

.recommendations-swiper .swiper-slide {
	width: auto;
	flex-shrink: 0;
}

.rec-card {
	background: white;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--gray-100);
	transition: var(--transition);
	height: auto;
}

.rec-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-8px);
}

.rec-image {
	position: relative;
	overflow: hidden;
	background: var(--gray-50);
	aspect-ratio: 4/3;
}

.rec-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rec-card:hover .rec-image img {
	transform: scale(1.15);
}

.like-btn {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 42px;
	height: 42px;
	background: white;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: var(--transition);
	z-index: 2;
}

.like-btn:hover {
	transform: scale(1.1);
	background: #FEF2F2;
}

.like-btn i {
	color: var(--gray-400);
	font-size: 1.25rem;
	transition: var(--transition);
}

.like-btn i.liked {
	color: var(--danger);
}

.rec-content {
	padding: 1.25rem;
}

.rec-name {
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.4;
	min-height: 2.8em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rec-pricing {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.rec-price {
	font-size: 1.375rem;
	font-weight: 800;
	color: var(--primary);
}

.rec-delivery {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	color: var(--success);
	font-weight: 600;
}

.add-to-cart {
	width: 100%;
	padding: 0.75rem;
	background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	transition: var(--transition);
}

.add-to-cart:hover {
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
	transform: translateY(-2px);
}

/* ========================================
   EMPTY CART
======================================== */
.empty-cart {
	max-width: 600px;
	margin: 4rem auto;
	text-align: center;
	background: white;
	border: 2px dashed var(--gray-300);
	border-radius: var(--radius);
	padding: 4rem 2.5rem;
}

.empty-cart i {
	font-size: 5rem;
	color: var(--primary);
	margin-bottom: 2rem;
	opacity: 0.8;
}

.empty-cart h1 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 1rem;
}

.empty-cart p {
	color: var(--gray-600);
	font-size: 1.125rem;
	margin-bottom: 2rem;
}

.continue-shopping {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
	text-decoration: none;
}

.continue-shopping:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ========================================
   MOBILE STICKY BOTTOM
======================================== */
.mobile-sticky {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white;
	border-top: 1px solid var(--gray-200);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	padding: 1rem 1.5rem;
	animation: slideUpMobile 0.4s ease-out;
}

@keyframes slideUpMobile {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0);
	}
}

.mobile-trust-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--gray-100);
	margin-bottom: 0.75rem;
}

.mobile-trust-icon {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	color: var(--gray-600);
	font-weight: 500;
}

.mobile-trust-icon i {
	font-size: 0.875rem;
}

.mobile-checkout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.mobile-total {
	flex: 1;
}

.mobile-total-label {
	font-size: 0.75rem;
	color: var(--gray-500);
	margin-bottom: 2px;
}

.mobile-total-amount {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--primary);
}

.mobile-btn {
	padding: 0.875rem 2rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	transition: var(--transition);
}

.mobile-btn:active {
	transform: scale(0.95);
}

.mobile-savings {
	text-align: center;
	font-size: 0.75rem;
	color: #065F46;
	font-weight: 600;
	background: #D1FAE5;
	padding: 0.625rem;
	border-radius: 8px;
	margin-top: 0.75rem;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
	.cart-grid {
		grid-template-columns: 1fr;
	}

	.cart-sidebar {
		position: static;
	}

	.mobile-sticky {
		display: block;
	}

	body {
		padding-bottom: 180px;
	}

	.recommendations-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
}

@media (max-width: 768px) {
	.cart-container {
		padding: 1.5rem 1rem;
	}

	.cart-title {
		font-size: 2rem;
	}

	.cart-title i {
		font-size: 1.75rem;
	}

	.cart-item-count {
		font-size: 1rem;
	}

	.success-banner {
		padding: 1rem 1.25rem;
		margin-bottom: 1.25rem;
	}

	.success-banner-content {
		gap: 0.75rem;
	}

	.success-icon {
		font-size: 1.5rem;
	}

	.success-text h3 {
		font-size: 1rem;
	}

	.success-text p {
		font-size: 0.8125rem;
	}

	.shipping-banner {
		padding: 1.25rem;
	}

	.shipping-content {
		flex-direction: column;
		align-items: flex-start;
	}

	.item-content {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.item-image {
		width: 100%;
	}

	.item-image img {
		height: 200px;
	}

	.quantity-price-row {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}

	.item-pricing {
		text-align: left;
	}

	.recommendations-title {
		font-size: 1.5rem;
	}

	.swiper-navigation {
		display: none;
	}

	.recommendations {
		margin-top: 2rem;
		overflow: hidden;
	}

	.cart-container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* ========================================
   COUPON SECTION
======================================== */
.coupon-section {
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--gray-100);
}

.coupon-input-wrapper {
	display: flex;
	gap: 0.625rem;
	align-items: stretch;
}

.coupon-input {
	flex: 1;
	padding: 0.75rem 1rem;
	border: 2px solid var(--gray-200);
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.2s ease;
	background: var(--gray-50);
	color: var(--gray-800);
}

.coupon-input:focus {
	outline: none;
	border-color: var(--primary);
	background: white;
	box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.coupon-input::placeholder {
	color: var(--gray-400);
	text-transform: none;
	letter-spacing: normal;
	font-weight: 500;
}

.coupon-apply-btn {
	padding: 0.75rem 1.25rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
}

.coupon-apply-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

.coupon-apply-btn:active {
	transform: translateY(0);
}

.coupon-result {
	margin-top: 0.625rem;
	font-size: 0.8125rem;
	font-weight: 600;
	display: none;
	padding: 0.625rem 0.875rem;
	border-radius: 8px;
	animation: slideDown 0.3s ease;
}

.coupon-result.success {
	display: block;
	background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
	color: #065F46;
	border: 1px solid #A7F3D0;
}

.coupon-result.error {
	display: block;
	background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
	color: #991B1B;
	border: 1px solid #FECACA;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.coupon-discount-row {
	display: none;
	color: var(--success);
	font-weight: 600;
}

.coupon-discount-row.active {
	display: flex;
}

.coupon-discount-row .amount {
	color: var(--success);
	font-weight: 700;
}

.coupon-info-banner {
	display: none;
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	border: 1px solid #6ee7b7;
	border-radius: 10px;
	padding: 10px 14px;
	margin-top: 8px;
	margin-bottom: 4px;
	font-size: 0.82rem;
	color: #065f46;
	align-items: center;
	gap: 8px;
}

.coupon-info-banner.active {
	display: flex;
}

.coupon-info-banner.warning {
	display: flex;
	background: linear-gradient(135deg, #fffbeb, #fef3c7);
	border-color: #fbbf24;
	color: #92400e;
}

.coupon-info-banner i {
	font-size: 1rem;
	flex-shrink: 0;
}

.coupon-info-banner .coupon-info-code {
	font-weight: 700;
	letter-spacing: 0.5px;
}

.coupon-info-banner .coupon-info-value {
	font-weight: 600;
	margin-left: auto;
	white-space: nowrap;
}

/* ========================================
   SWAL2 CUSTOM STYLES (Theme Compatible)
======================================== */
.swal2-coupon-alert .swal2-icon-circle {
	width: 80px;
	height: 80px;
	margin: 0 auto 16px;
	background: linear-gradient(135deg, #FEF3C7, #FDE68A);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swal2-coupon-alert .swal2-icon-circle i {
	font-size: 2rem;
	color: #D97706;
}

.swal2-coupon-title {
	margin: 0 0 6px;
	color: #1e293b;
	font-size: 1.15rem;
	font-weight: 700;
}

.swal2-coupon-text {
	margin: 0 0 16px;
	color: #64748b;
	font-size: 0.85rem;
}

.swal2-coupon-code-box {
	background: #f8fafc;
	border: 2px dashed #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 14px;
}

.swal2-coupon-code {
	font-size: 1.5rem;
	font-weight: 800;
	color: #D97706;
	letter-spacing: 2px;
	margin-bottom: 6px;
}

.swal2-coupon-discount {
	font-size: 0.9rem;
	color: #059669;
	font-weight: 600;
}

.swal2-coupon-info-box {
	background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 10px;
	text-align: left;
}

.swal2-coupon-info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.swal2-coupon-info-row:last-child {
	margin-bottom: 0;
}

.swal2-coupon-info-label {
	font-size: 0.8rem;
	color: #64748b;
}

.swal2-coupon-info-value {
	font-size: 0.85rem;
	font-weight: 700;
}

.swal2-coupon-info-value.primary {
	color: #1e40af;
}

.swal2-coupon-info-value.danger {
	color: #DC2626;
}

.swal2-coupon-timer {
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: center;
	margin-top: 10px;
	padding: 8px 14px;
	background: linear-gradient(135deg, #FEF3C7, #FDE68A);
	border-radius: 10px;
	font-size: 0.8rem;
	color: #92400E;
	font-weight: 600;
}

.swal2-stock-limit-popup .swal2-icon-circle {
	width: 72px;
	height: 72px;
	margin: 0 auto 14px;
	background: linear-gradient(135deg, #FEF3C7, #FDE68A);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swal2-stock-limit-popup .swal2-icon-circle i {
	font-size: 1.75rem;
	color: #D97706;
}

.swal2-remove-confirm .swal2-icon-circle {
	width: 64px;
	height: 64px;
	margin: 0 auto 12px;
	background: linear-gradient(135deg, #FEE2E2, #FECACA);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swal2-remove-confirm .swal2-icon-circle i {
	font-size: 1.5rem;
	color: #DC2626;
}

.swal2-alert-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #1E293B;
	margin-bottom: 6px;
}

.swal2-alert-text {
	font-size: 0.82rem;
	color: #64748B;
}

/* ========================================
   ADDITIONAL INLINE CSS CLEANUP
======================================== */

/* Upload Form Spacing */
.upload-form-container {
	margin-top: 1rem;
}

/* Shipping Row States */
.shipping-strikethrough {
	text-decoration: line-through;
	color: var(--gray-400);
	font-size: 0.8rem;
	margin-right: 0.25rem;
}

.shipping-free {
	color: var(--success);
	font-weight: 600;
}

/* Savings Banner Visibility */
.savings-banner.hidden,
.mobile-savings.hidden {
	display: none !important;
}

/* Mobile Trust Icon Colors */
.mobile-trust-icon.secure i {
	color: var(--success);
}

.mobile-trust-icon.shipping i {
	color: var(--secondary);
}

.mobile-trust-icon.returns i {
	color: var(--primary);
}

/* Coupon Result Warning State */
.coupon-result.warning {
	display: block;
	color: #b45309;
	background: #FEF3C7;
	border: 1px solid #FDE68A;
	border-radius: 8px;
	padding: 0.625rem 0.75rem;
}

.coupon-result-title {
	font-weight: 600;
	margin-bottom: 4px;
}

.coupon-result-detail {
	font-size: 0.78rem;
	color: #92400E;
}

.coupon-remove-link {
	margin-top: 6px;
}

.coupon-remove-link a {
	color: #dc2626;
	font-weight: 600;
	text-decoration: underline;
	font-size: 0.8125rem;
}

.coupon-remove-link-inline {
	margin-left: 0.5rem;
}

.coupon-min-note {
	opacity: 0.7;
}

/* Coupon Discount Row Warning State */
.coupon-discount-row.warning {
	display: flex;
	color: #b45309;
}

.coupon-discount-row.warning .amount {
	color: #b45309;
}

/* Login Required Alert */
.swal2-login-alert .swal2-icon-circle {
	width: 72px;
	height: 72px;
	margin: 0 auto 14px;
	background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swal2-login-alert .swal2-icon-circle i {
	font-size: 1.75rem;
	color: #2563EB;
}

.swal2-login-code-box {
	background: #f8fafc;
	border: 2px dashed #e2e8f0;
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 14px;
}

.swal2-login-code {
	font-size: 1.3rem;
	font-weight: 800;
	color: #2563EB;
	letter-spacing: 2px;
	margin-bottom: 4px;
}

.swal2-login-discount {
	font-size: 0.9rem;
	color: #059669;
	font-weight: 600;
}

.swal2-login-note {
	margin: 0;
	color: #94a3b8;
	font-size: 0.78rem;
}

.swal2-center-wrap {
	text-align: center;
}

/* Sidebar Preloader */
.sidebar-preloader-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.75);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: inherit;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.sidebar-preloader-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.sidebar-preloader-spinner {
	width: 28px;
	height: 28px;
	border: 3px solid #e5e7eb;
	border-top-color: var(--primary, #f97316);
	border-radius: 50%;
	animation: sidebarSpin 0.7s linear infinite;
}

@keyframes sidebarSpin {
	to {
		transform: rotate(360deg);
	}
}

/* Progress Ring Dynamic */
.progress-ring circle {
	transition: stroke-dashoffset 0.5s ease;
}

@media (max-width: 480px) {
	.cart-title {
		font-size: 1.75rem;
		flex-wrap: wrap;
	}

	.cart-item-count {
		font-size: 1rem;
	}

	.current-price {
		font-size: 1.5rem;
	}

	.summary-title {
		font-size: 1.25rem;
	}
	
	.coupon-input-wrapper {
		flex-direction: column;
	}
	
	.coupon-apply-btn {
		width: 100%;
		justify-content: center;
	}
}
