/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
	--primary-color: #1a1a1a;
	--accent-color: #ff4757;
	--text-color: #2f3542;
	--light-text: #747d8c;
	--bg-color: #ffffff;
	--card-bg: #f8f9fa;
	--success: #2ed573;
	--error: #ff4757;
	--shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
	--transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	--container-width: 1400px;
	--header-height: 90px;
	
	/* Brand Muted Palette */
	--terracotta-color: #e17055;
	--clay-color: #a29bfe;
	--clay-bg: #fdf5f2;
}

/* ============================================
   BASE
   ============================================ */
html {
	scroll-behavior: smooth;
}
body {
	font-family: "Outfit", sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* Accessibility */
.skip-link {
	position: absolute;
	top: -100px;
	left: 20px;
	background: var(--accent-color);
	color: white;
	padding: 10px 20px;
	z-index: 9999;
	border-radius: 0 0 10px 10px;
}
.skip-link:focus {
	top: 0;
}

/* ============================================
   HEADER
   ============================================ */
.header {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	height: var(--header-height);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
}
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}
.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: -1px;
	color: var(--primary-color);
}
.logo i {
	color: var(--accent-color);
	font-size: 2rem;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 40px;
}
.nav-links a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 600;
	font-size: 1rem;
	transition: var(--transition);
	position: relative;
}
.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent-color);
	transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
	color: var(--accent-color);
}
.nav-links a:hover::after,
.nav-links a.active::after {
	width: 100%;
}

.nav-icons {
	display: flex;
	align-items: center;
	gap: 24px;
}
.cart-icon {
	position: relative;
	background: var(--primary-color);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: var(--transition);
}
.cart-icon:hover {
	transform: scale(1.1);
	background: var(--accent-color);
}
.cart-icon.pulse {
	animation: pulseBtn 0.5s ease;
}
@keyframes pulseBtn {
	0% { transform: scale(1); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }
}
.cart-count {
	position: absolute;
	top: -5px;
	right: -5px;
	background: var(--accent-color);
	color: white;
	font-size: 0.75rem;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	border: 2px solid white;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.8rem;
	cursor: pointer;
}

/* ============================================
   MAIN WRAPPER & ENTRY ANIMATIONS
   ============================================ */
main {
	padding-top: var(--header-height);
	min-height: calc(100vh - var(--header-height));
	animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(15px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ============================================
   HERO
   ============================================ */
.hero {
	min-height: 70vh;
	display: flex;
	align-items: center;
	background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
		url("https://i.ibb.co/ZpFGx1gM/cf95efa6-b5db-4233-a655-ac33c8b362e8.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 0 0 40px 40px;
	margin-bottom: 40px;
}

.hero-content h1 {
	font-size: clamp(3rem, 8vw, 5.5rem);
	line-height: 1.1;
	margin-bottom: 24px;
	font-weight: 800;
	letter-spacing: -2px;
	color: whitesmoke;
	max-width: 800px;
}

.hero-content p {
	font-size: 1.25rem;
	margin-bottom: 48px;
	max-width: 600px;
	color: whitesmoke;
}
.hero-btns {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.btn {
	padding: 16px 36px;
	border-radius: 50px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	transition: var(--transition);
	cursor: pointer;
	border: none;
	font-size: 1rem;
}
.btn-primary {
	background: var(--primary-color);
	color: white;
}
.btn-primary:hover {
	background: var(--accent-color);
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(255, 71, 87, 0.3);
}
.btn-secondary {
	background: transparent;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
}
.btn-secondary:hover {
	background: var(--primary-color);
	color: white;
}
.hero .btn-secondary {
	border-color: white;
	color: white;
}
.hero .btn-secondary:hover {
	background: white;
	color: var(--primary-color);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
	padding: 60px 0 80px;
}
.section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 60px;
	flex-wrap: wrap;
	gap: 30px;
}
.section-title h2 {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 10px;
}
.section-title p {
	color: var(--light-text);
	font-size: 1.1rem;
}
.filters {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 10px;
}
.filter-btn {
	padding: 12px 28px;
	border-radius: 50px;
	border: 1px solid #eee;
	background: white;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

/* PRODUCT CARDS */
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
}
.product-card {
	background: white;
	border-radius: 32px;
	overflow: hidden;
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, 0.03);
	position: relative;
}
.product-card:hover {
	transform: translateY(-15px);
	box-shadow: var(--shadow-lg);
}

.product-image-container {
	position: relative;
	padding-top: 110%;
	background: #f1f2f6;
	overflow: hidden;
}
.product-main-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.4s ease;
}
.product-badge {
	position: absolute;
	top: 24px;
	left: 24px;
	background: white;
	color: var(--primary-color);
	padding: 8px 16px;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 800;
	z-index: 2;
	box-shadow: var(--shadow-sm);
}

.product-info {
	padding: 32px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}
.product-category {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--accent-color);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}
.product-title {
	font-size: 1.6rem;
	font-weight: 800;
	margin-bottom: 16px;
	line-height: 1.2;
}
.product-description {
	font-size: 0.95rem;
	color: var(--light-text);
	margin-bottom: 24px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 4.5em;
}

.product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}
.product-rating .stars {
	color: #ffa502;
}
.product-rating .review-count {
	font-size: 0.9rem;
	color: var(--light-text);
}

.product-stock {
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 20px;
}
.product-stock.stock-available {
	color: var(--success);
}
.product-stock.stock-low {
	color: #ff9f43;
}
.product-stock.stock-out {
	color: var(--error);
}

.product-variants-ui {
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.variant-group {
	display: flex;
	align-items: center;
	gap: 20px;
}
.variant-group label {
	font-size: 0.9rem;
	font-weight: 800;
	min-width: 50px;
}

.size-options {
	display: flex;
	gap: 10px;
}
.size-btn {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid #ddd;
	background: white;
	font-weight: 700;
	cursor: pointer;
	transition: var(--transition);
}
.size-btn.active {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

.color-options {
	display: flex;
	gap: 12px;
}
.color-swatch {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 3px solid white;
	box-shadow: 0 0 0 1px #ddd;
	cursor: pointer;
	transition: var(--transition);
}
.color-swatch.active {
	box-shadow: 0 0 0 2px var(--accent-color);
	transform: scale(1.2);
}

.product-footer {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid #f1f2f6;
}
.product-price {
	font-size: 1.5rem;
	font-weight: 800;
}
.add-to-cart-btn {
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 7px 7px;
	border-radius: 16px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: var(--transition);
}
.add-to-cart-btn:hover:not(:disabled) {
	background: var(--accent-color);
	transform: scale(1.05);
}
.add-to-cart-btn:disabled {
	background: #dfe4ea;
	cursor: not-allowed;
	color: #a4b0be;
}
.add-to-cart-btn.added {
	background: var(--success);
	color: black;
}

/* CTA */

/* ============================================
   ABOUT PAGE DESIGN
   ============================================ */
.about-section {
	padding: 60px 0 80px;
}
.sub-heading {
	color: var(--accent-color);
	text-transform: uppercase;
	font-weight: 800;
	font-size: 0.9rem;
	letter-spacing: 2px;
	display: block;
	margin-bottom: 12px;
}

/* ============================================
   PAGE BANNER (About & Contact hero banners)
   ============================================ */
.page-banner {
	position: relative;
	width: 100%;
	min-height: 420px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

/* Dark gradient overlay so text is always readable */
.page-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		rgba(10, 10, 10, 0.72) 0%,
		rgba(10, 10, 10, 0.45) 60%,
		rgba(10, 10, 10, 0.25) 100%
	);
	z-index: 1;
}

/* Subtle vignette on the bottom edge for smooth transition into page */
.page-banner::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9));
	z-index: 1;
}

.banner-content {
	position: relative;
	z-index: 2;
	padding-top: calc(var(--header-height) + 50px);
	padding-bottom: 70px;
	max-width: 680px;
}

.banner-content .sub-heading {
	color: rgba(255, 255, 255, 0.85);
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.banner-content h2 {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 800;
	line-height: 1.1;
	color: #ffffff;
	margin-bottom: 20px;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.banner-content .about-lead,
.banner-content .contact-lead {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.7;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
	max-width: 560px;
}

/* About page — artisan pottery / hands on clay landscape */
.about-banner {
	background-image: url('https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?w=1600&q=80&auto=format&fit=crop');
	min-height: 460px;
}

/* Contact page — warm minimalist creative studio landscape */
.contact-banner {
	background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1600&q=80&auto=format&fit=crop');
	min-height: 400px;
}

/* Responsive banner adjustments */
@media (max-width: 768px) {
	.page-banner {
		min-height: 340px;
	}
	.about-banner {
		min-height: 360px;
	}
	.contact-banner {
		min-height: 320px;
	}
	.banner-content {
		padding-top: calc(var(--header-height) + 30px);
		padding-bottom: 50px;
	}
}

@media (max-width: 480px) {
	.page-banner {
		min-height: 280px;
	}
	.banner-content h2 {
		font-size: 2rem;
	}
	.banner-content .about-lead,
	.banner-content .contact-lead {
		font-size: 1rem;
	}
}

.about-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 80px;
}
.about-header h2 {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 800;
	margin-bottom: 20px;
	line-height: 1.1;
}
.about-lead {
	font-size: 1.25rem;
	color: var(--light-text);
}

.about-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 80px;
	align-items: center;
	margin-bottom: 100px;
}
.about-text-content h3 {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 20px;
}
.about-text-content p {
	color: var(--light-text);
	margin-bottom: 24px;
	font-size: 1.05rem;
}
.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 40px;
}
.stat-card {
	background: var(--card-bg);
	padding: 24px;
	border-radius: 20px;
	text-align: center;
	border: 1px solid rgba(0,0,0,0.02);
}
.stat-num {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	color: var(--primary-color);
	margin-bottom: 6px;
}
.stat-lbl {
	font-size: 0.85rem;
	color: var(--light-text);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.about-visual-content {
	position: relative;
	border-radius: 32px;
	height: 480px;
	background: linear-gradient(135deg, #e8cbc0, #636fa4);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	display: flex;
	align-items: flex-end;
	padding: 40px;
}
.about-visual-content::before {
	content: '';
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.artisan-badge {
	position: absolute;
	top: 30px;
	left: 30px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 16px 24px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	box-shadow: var(--shadow-md);
	z-index: 2;
}
.artisan-badge i {
	font-size: 1.8rem;
	color: var(--terracotta-color);
}
.artisan-badge strong {
	display: block;
	font-size: 0.95rem;
	font-weight: 800;
}
.artisan-badge span {
	font-size: 0.8rem;
	color: var(--light-text);
}

.craft-video-mock {
	position: relative;
	z-index: 2;
	color: white;
	display: flex;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	font-weight: 700;
	transition: var(--transition);
}
.craft-video-mock i {
	font-size: 3rem;
	transition: var(--transition);
}
.craft-video-mock:hover i {
	transform: scale(1.1);
	color: var(--accent-color);
}

/* Process Section */
.process-section {
	background: var(--clay-bg);
	padding: 60px;
	border-radius: 32px;
	margin-top: 40px;
}
.process-title {
	font-size: 2rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: 48px;
}
.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.process-card {
	background: white;
	padding: 30px;
	border-radius: 24px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.process-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-md);
}
.process-icon {
	width: 50px;
	height: 50px;
	border-radius: 16px;
	background: var(--clay-bg);
	color: var(--terracotta-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	margin-bottom: 24px;
}
.process-card h4 {
	font-size: 1.15rem;
	font-weight: 800;
	margin-bottom: 12px;
}
.process-card p {
	font-size: 0.9rem;
	color: var(--light-text);
	line-height: 1.5;
}

/* ============================================
   CONTACT PAGE DESIGN
   ============================================ */
.contact-section {
	padding: 60px 0 80px;
}
.contact-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 80px;
}
.contact-header h2 {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 800;
	margin-bottom: 20px;
	line-height: 1.1;
}
.contact-lead {
	font-size: 1.25rem;
	color: var(--light-text);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 80px;
	align-items: flex-start;
}
.contact-info-col h3,
.form-wrapper h3 {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 20px;
}
.contact-description {
	color: var(--light-text);
	margin-bottom: 40px;
}
.contact-details-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-bottom: 40px;
}
.contact-detail-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}
.contact-detail-item i {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--card-bg);
	color: var(--accent-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
}
.contact-detail-item strong {
	display: block;
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: 4px;
}
.contact-detail-item span,
.contact-detail-item a {
	color: var(--light-text);
	font-size: 0.95rem;
	text-decoration: none;
}
.contact-detail-item a:hover {
	color: var(--accent-color);
}

/* Premium Map Mock */
.mock-map {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	height: 200px;
	background: #f1f2f6;
	border: 1px solid rgba(0,0,0,0.05);
	box-shadow: var(--shadow-sm);
}
.map-svg {
	width: 100%;
	height: 100%;
	display: block;
}
.map-overlay {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	z-index: 2;
	color: white;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.mock-map:hover .map-overlay {
	opacity: 1;
}
.map-overlay i {
	font-size: 1.8rem;
}
.map-overlay span {
	font-weight: 700;
	font-size: 0.95rem;
}
.btn-sm {
	padding: 8px 18px;
	font-size: 0.8rem;
}

/* Floating Form Control Styling */
.form-wrapper {
	background: var(--card-bg);
	padding: 50px;
	border-radius: 32px;
	border: 1px solid rgba(0,0,0,0.02);
}
.floating-group {
	position: relative;
	margin-bottom: 28px;
}
.floating-group .form-control {
	width: 100%;
	padding: 24px 18px 8px;
	border: 1px solid #dfe4ea;
	border-radius: 16px;
	background: white;
	font-family: inherit;
	font-size: 1rem;
	color: var(--text-color);
	outline: none;
	transition: all 0.3s ease;
}
.floating-group textarea.form-control {
	resize: vertical;
}
.floating-group .form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}
.floating-group label {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--light-text);
	pointer-events: none;
	transition: all 0.25s ease;
	font-size: 0.95rem;
}
.floating-group textarea ~ label {
	top: 24px;
	transform: none;
}
/* Trigger floating state when focused or non-empty */
.floating-group .form-control:focus ~ label,
.floating-group .form-control:not(:placeholder-shown) ~ label {
	top: 8px;
	left: 16px;
	transform: scale(0.8);
	transform-origin: left top;
	color: var(--accent-color);
	font-weight: 700;
}
.floating-group .error-msg {
	display: none;
	font-size: 0.8rem;
	color: var(--error);
	font-weight: 600;
	margin-top: 6px;
	padding-left: 8px;
}
.floating-group.invalid .form-control {
	border-color: var(--error);
}
.floating-group.invalid .error-msg {
	display: block;
}
.btn-submit {
	width: 100%;
	justify-content: center;
	padding: 18px;
	border-radius: 16px;
}
.btn-submit i {
	transition: transform 0.3s;
}
.btn-submit:hover i {
	transform: translateX(5px) translateY(-2px);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
	position: fixed;
	top: 0;
	right: -500px;
	width: 500px;
	height: 100vh;
	background: white;
	z-index: 2000;
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
}
.cart-sidebar.active {
	right: 0;
}
.cart-header {
	padding: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #f1f2f6;
}
.cart-header h2 {
	font-size: 2rem;
	font-weight: 800;
}
.close-btn {
	background: none;
	border: none;
	font-size: 2rem;
	cursor: pointer;
}

.cart-items {
	flex-grow: 1;
	overflow-y: auto;
	padding: 40px;
}
.empty-cart {
	text-align: center;
	padding: 60px 0;
}
.empty-cart i {
	font-size: 3rem;
	color: #dfe4ea;
	margin-bottom: 20px;
}
.empty-cart p {
	color: var(--light-text);
	margin-bottom: 24px;
	font-weight: 500;
}
.cart-item {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	position: relative;
	animation: slideUp 0.5s ease;
}
.cart-item img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 20px;
	background: #f1f2f6;
}
.cart-item-info {
	flex-grow: 1;
}
.cart-item-info h4 {
	font-size: 1.1rem;
	font-weight: 800;
	margin-bottom: 4px;
}
.cart-item-info small {
	color: var(--light-text);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.8rem;
}
.cart-item-qty {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 12px 0;
}
.qty-btn {
	width: 32px;
	height: 32px;
	border: 1px solid #ddd;
	background: white;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}
.qty-btn:hover {
	background: var(--primary-color);
	color: white;
}
.remove-item {
	position: absolute;
	right: 0;
	top: 0;
	background: none;
	border: none;
	color: var(--light-text);
	cursor: pointer;
	font-size: 1.1rem;
	transition: var(--transition);
}
.remove-item:hover {
	color: var(--accent-color);
}

.cart-footer {
	padding: 40px;
	background: #f8f9fa;
	border-top: 1px solid #f1f2f6;
}
.coupon-section {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}
.coupon-section input {
	flex-grow: 1;
	padding: 14px;
	border-radius: 12px;
	border: 1px solid #ddd;
	font-family: inherit;
	font-size: 0.95rem;
	outline: none;
}
.btn-apply {
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 0 24px;
	border-radius: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: var(--transition);
}
.btn-apply:hover:not(:disabled) {
	background: var(--accent-color);
}
.btn-apply:disabled {
	background: #dfe4ea;
	color: #a4b0be;
}

.cart-summary div {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
	font-weight: 600;
}
.cart-summary div span:last-child {
	color: var(--primary-color);
	font-weight: 700;
}
#discount-row span:last-child {
	color: var(--success);
}
.total {
	font-size: 1.5rem;
	font-weight: 800;
	margin-top: 20px;
	border-top: 2px solid #ddd;
	padding-top: 20px;
}
.btn-checkout {
	width: 100%;
	justify-content: center;
	margin-top: 24px;
	padding: 18px;
	border-radius: 16px;
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */
.cart-flyer {
	position: fixed;
	width: 60px;
	height: 60px;
	z-index: 3000;
	pointer-events: none;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	animation: cartFly 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
@keyframes cartFly {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(var(--tx), var(--ty)) scale(0.2);
		opacity: 0;
	}
}
@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ============================================
   RESPONSIVE (320px, 375px, 768px, 1440px)
   ============================================ */
@media (max-width: 1440px) {
	.container {
		max-width: 1200px;
	}
}

@media (max-width: 1024px) {
	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.about-grid, .contact-grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}
	.about-visual-content {
		height: 380px;
	}
	.cart-sidebar {
		width: 400px;
	}
	.process-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: absolute;
		top: var(--header-height);
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(20px);
		border-bottom: 1px solid rgba(0,0,0,0.05);
		padding: 24px;
		flex-direction: column;
		gap: 20px;
		z-index: 999;
	}
	.nav-links.active {
		display: flex;
	}
	.nav-links a::after {
		display: none;
	}
	.mobile-menu-toggle {
		display: block;
	}
	.hero {
		min-height: 55vh;
	}
	.hero-content h1 {
		font-size: 3.5rem;
	}
	.section-title h2 {
		font-size: 2.5rem;
	}
	.cart-sidebar {
		width: 100%;
		right: -100%;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 2.8rem;
	}
	.product-grid, .process-grid {
		grid-template-columns: 1fr;
	}
	.section-header {
		flex-direction: column;
		align-items: flex-start;
	}
	.nav-icons {
		gap: 12px;
	}
	.form-wrapper {
		padding: 24px;
	}
	.process-section {
		padding: 30px;
	}
}

@media (max-width: 375px) {
	.hero-content h1 {
		font-size: 2.4rem;
	}
	.container {
		padding: 0 16px;
	}
	.product-info {
		padding: 24px;
	}
	.product-price {
		font-size: 1.4rem;
	}
	.add-to-cart-btn {
		padding: 12px 16px;
		font-size: 0.9rem;
	}
}

@media (max-width: 320px) {
	.hero-content h1 {
		font-size: 2.2rem;
	}
	.logo {
		font-size: 1.5rem;
	}
	.section-title h2 {
		font-size: 2rem;
	}
	.variant-group {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
	background: #f8f9fa;
	padding: 80px 0 40px;
	margin-top: 100px;
	border-top: 1px solid #f1f2f6;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.5fr;
	gap: 60px;
	margin-bottom: 60px;
}

.footer-info p {
	color: var(--light-text);
	margin: 24px 0;
	max-width: 350px;
	font-size: 0.95rem;
}

.social-icons {
	display: flex;
	gap: 15px;
}

.social-icons a {
	width: 44px;
	height: 44px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	font-size: 1.1rem;
}

.social-icons a:hover {
	background: var(--accent-color);
	color: white;
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(255, 71, 87, 0.2);
}

.footer-links h3,
.footer-contact h3 {
	font-size: 1.25rem;
	font-weight: 800;
	margin-bottom: 30px;
	color: var(--primary-color);
}

.footer-links li {
	margin-bottom: 15px;
}

.footer-links a {
	text-decoration: none;
	color: var(--light-text);
	transition: var(--transition);
	font-weight: 500;
}

.footer-links a:hover {
	color: var(--accent-color);
	padding-left: 8px;
}

.footer-contact p {
	display: flex;
	align-items: center;
	gap: 15px;
	color: var(--light-text);
	margin-bottom: 20px;
	font-size: 0.95rem;
}

.footer-contact i {
	color: var(--accent-color);
	font-size: 1.1rem;
}

.footer-bottom {
	text-align: center;
	padding-top: 40px;
	border-top: 1px solid #eee;
	color: var(--light-text);
	font-size: 0.9rem;
	font-weight: 500;
}

@media (max-width: 992px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}
	.footer {
		padding: 60px 0 30px;
	}
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: #111;
	color: #fff;
	padding: 14px 22px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 500;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.toast.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.toast.success {
	border-left: 4px solid var(--success);
}
.toast.error {
	border-left: 4px solid var(--error);
}
