* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: linear-gradient(135deg, #ffffff, #6B3F3F);
	color: #000000;
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

.material-symbols-outlined {
	font-variation-settings:
		'FILL' 0,
		'wght' 400,
		'GRAD' 0,
		'opsz' 24;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

/* Navbar */

.navbar {
	position: sticky;
	top: 0;
	z-index: 100;
	background: linear-gradient(135deg, #f4c2c2#9a6666,);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.nav-logo h2 {
	letter-spacing: 0.3em;
	font-weight: 700;
	font-size: 1.2rem;
	color: #4A2E2E;
}

.nav-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-link {
	font-size: 0.95rem;
	color: #ffffff;
	position: relative;
	padding-bottom: 0.25rem;
	transition: color 0.2s ease;
}

.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: #4A2E2E;
	border-radius: 999px;
	transition: width 0.2s ease;
}


.nav-link:hover {
	color: #4A2E2E;
}

.nav-link.active {
	color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

.nav-icons {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.nav-profile {
	position: relative;
}

.profile-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 160px;
	background: #0d0f16;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	padding: 0.4rem 0;
	opacity: 0;
	pointer-events: none;
	transform: translateY(0);
	transition: opacity 0.15s ease;
	z-index: 50;
}

.nav-profile:hover .profile-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.profile-dropdown a,
.profile-dropdown button {
	display: block;
	width: 100%;
	padding: 0.5rem 0.9rem;
	background: transparent;
	border: none;
	text-align: left;
	color: #f5f5f7;
	font-size: 0.9rem;
	cursor: pointer;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
	background: rgba(255, 255, 255, 0.06);
}

.nav-icon {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: #f5f5f7;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.nav-icon:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-1px);
}

.cart-icon.cart-has-items {
	background: transparent;
	color: #ff6b6b;
}

.cart-icon.cart-has-items:hover {
	background: rgba(255, 107, 107, 0.08);
	border-color: #e05454;
	color: #e05454;
}

.cart-icon {
	position: relative;
}

.cart-count {
	display: none;
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.hamburger span {
	width: 22px;
	height: 2px;
	background: #ffffff;
	border-radius: 999px;
}

/* Hero */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	min-height: calc(100vh - 72px);
	padding: 3rem 1.5rem 4rem;
	max-width: 1200px;
	margin: 0 auto;
	gap: 3rem;
}

.hero-content {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.hero-title {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: 0.02em;
}

.hero-subtitle {
	color: #443932;
	max-width: 26rem;
	font-size: 1rem;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.8rem;
	border-radius: 999px;
	border: none;
	background: #4A2E2E;
	color: #FAD0C4;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
	filter: brightness(1.03);
}

.hero-image {
	position: relative;
	isolation: isolate;
}

.hero-image::before {
	content: "";
	position: absolute;
	inset: 8%;
	border-radius: 32px;
	background: radial-gradient(circle at top left, rgba(255, 107, 203, 0.45), transparent 55%),
				radial-gradient(circle at bottom right, rgba(255, 221, 89, 0.35), transparent 55%);
	filter: blur(2px);
	z-index: -2;
}

.hero-image img {
	border-radius: 30px;
	object-fit: cover;
	width: 100%;
	height: min(520px, 70vh);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

/* Sections */

.section-title {
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
}

.featured-products,
.categories,
.newsletter {
	padding: 3rem 0;
}

/* Centered section titles for key product rows */

.featured-products .section-title {
	text-align: center;
}

/* Featured Products */

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.8rem;
}

.product-card {
	background: #0d0f16;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: #f5f5f7;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
	transform: translateY(-6px);
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.product-image {
	position: relative;
	overflow: hidden;
}

.product-image img {
	height: 260px;
	width: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
	transform: scale(1.05);
}

.product-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 6, 10, 0.9), transparent 60%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .product-overlay {
	opacity: 1;
	transform: translateY(0);
}

.add-to-cart {
	padding: 0.7rem 1.4rem;
	border-radius: 999px;
	border: none;
	background: #4A2E2E;
	color: #FAD0C4;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.add-to-cart:hover {
	background: #f1f3f5;
	transform: translateY(-1px);
}

.product-info {
	padding: 1rem 1.1rem 1.2rem;
}

.product-info h3 {
	font-size: 1rem;
	margin-bottom: 0.35rem;
}

.price {
	color: #F4C15D;
	font-weight: 600;
}

/* Categories */

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.8rem;
}

.category-card {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	cursor: pointer;
	isolation: isolate;
}

.category-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.4s ease, filter 0.4s ease;
}

.category-card:hover img {
	transform: scale(1.05);
	filter: brightness(1.05);
}

.category-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent 10%);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 1.5rem;
	gap: 0.4rem;
}

.category-overlay h3 {
	font-size: 1.1rem;
}

/* Newsletter */

.newsletter {
	background: linear-gradient(135deg, #ffffff, #6B3F3F);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.newsletter-content {
	text-align: center;
	max-width: 520px;
	margin: 0 auto;
}

.newsletter-content h2 {
	margin-bottom: 0.6rem;
}

.newsletter-content p {
	color: #443932;
	margin-bottom: 1.4rem;
}

.newsletter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	justify-content: center;
}

.newsletter-form input[type] {
	max-width: 500px;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(5, 6, 10, 0.8);
	color: #ffffff;
	outline: none;
}

.newsletter-form input::placeholder {
	color: #747783;
}

.newsletter-form button {
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	border: none;
	background: #4A2E2E;
	color: #fcfcfc;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.5s ease, transform 0.15s ease;
}

.newsletter-form button:hover {
	background: #91796a;
	transform: translateY(-1px);
}

/* Auth (Login / Register) */

.auth-section {
	padding: 4rem 0 3rem;
	background: #05060a;
}

.auth-container {
	max-width: 520px;
}

.auth-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 2.5rem 2.25rem 2.3rem;
	border: 1px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.auth-title {
	font-size: 1.7rem;
	text-align: center;
	margin-bottom: 0.5rem;
	color: #111111;
}

.auth-subtitle {
	text-align: center;
	margin-bottom: 1.8rem;
	font-size: 0.95rem;
	color: #6b7280;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.auth-field-row {
	display: flex;
	gap: 1rem;
}

.auth-field {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.auth-field label {
	font-size: 0.86rem;
	color: #4b5563;
}

.auth-field input {
	padding: 0.8rem 0.9rem;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	background: #ffffff;
	color: #111827;
	font-size: 0.92rem;
}

.auth-field input::placeholder {
	color: #9ca3af;
}

.auth-checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	font-size: 0.86rem;
	color: #4b5563;
}

.auth-checkbox input[type="checkbox"] {
	width: 16px;
	height: 16px;
}

.auth-submit {
	margin-top: 1.2rem;
	width: 100%;
	padding: 0.85rem 1rem;
	border-radius: 6px;
	border: none;
	background: #4A2E2E;
	color: #FAD0C4;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}
.auth-error-field {
	margin-top: 0.25rem;
	font-size: 0.8rem;
	color: #b91c1c;
}

.auth-error-form {
	margin-bottom: 0.75rem;
	padding: 0.6rem 0.75rem;
	border-radius: 6px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.85rem;
}

.auth-submit:hover {
	background: #5B3838;
	transform: translateY(-1px);
}

.auth-footer-text {
	margin-top: 1.2rem;
	text-align: center;
	font-size: 0.9rem;
	color: #4b5563;
}

.auth-footer-text a {
	color: #111827;
}
.cart-section {
	padding: 3rem 0;
}

.cart-items {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
}

.cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #111320;
	padding: 1rem;
	border-radius: 12px;
	color: #f5f5f7;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-info img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-qty-wrapper {
	display: inline-flex;
	align-items: center;
	background: #05060a;
	border-radius: 999px;
	border: 1px solid #2b2f3b;
	overflow: hidden;
}

.cart-qty-btn {
	width: 28px;
	height: 28px;
	border: none;
	background: transparent;
	color: #f5f5f7;
	font-size: 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cart-qty-btn:hover {
	background: rgba(255,255,255,0.06);
}

.cart-qty-value {
	min-width: 32px;
	text-align: center;
	font-size: 0.85rem;
	padding: 0 0.4rem;
}

.cart-remove-btn {
    border: none;
    background: transparent;
	color: #FF6F61;
    cursor: pointer;
    font-size: 0.85rem;
}

.cart-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

/* Women highlights strip on products page */

.women-slider {
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.7);
	position: relative;
}

.women-slider-track {
	position: relative;
	width: 100%;
	height: 100%;
}

.women-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.women-slide img {
	width: 100%;
	max-height: 360px;
	object-fit: cover;
}

.women-slide.active {
	opacity: 1;
}

.women-slider-dots {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
}

.women-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #FF6F61;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
}

.women-dot.active {
	background: #ffffff;
	width: 16px;
}

/* New Macy's-style cart layout */

.cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: flex-start;
}

.cart-title {
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
}

.cart-empty-text {
	color: #FF6F61;
	margin-bottom: 1.5rem;
}

.cart-bonus-offers {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-bonus-offers h2 {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.cart-bonus-offers p {
	color: #714848;
	font-size: 0.9rem;
}

.cart-right {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cart-offers-box,
.cart-summary-box {
	background: #111320;
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: #f5f5f7;
}

.cart-offers-box h2 {
	font-size: 1.1rem;
	margin-bottom: 0.35rem;
}

.cart-offer-subtitle {
	font-size: 0.85rem;
	color: #a0a3b1;
	margin-bottom: 0.15rem;
}

.cart-offer-text {
	font-size: 0.9rem;
	color: #f5f5f7;
	margin-bottom: 0.25rem;
}

.cart-offer-note {
	font-size: 0.8rem;
	color: #8b8fa0;
}

.cart-summary-box {
	margin-top: 0.25rem;
}

.cart-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.95rem;
	margin-bottom: 0.45rem;
}

.cart-summary-total span:last-child {
	font-weight: 600;
}

.cart-summary-small {
	margin-top: 0.75rem;
	margin-bottom: 1rem;
	font-size: 0.8rem;
	color: #8b8fa0;
}

.cart-checkout-button {
	width: 100%;
	padding: 0.9rem 1rem;
	border-radius: 999px;
	border: none;
	background: #4A2E2E;
	color: #FAD0C4;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.cart-checkout-button:hover {
	background: #5B3838;
	transform: translateY(-1px);
}

@media (max-width: 900px) {
	.cart-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.cart-right {
		position: static;
	}
}
/* Footer */

.footer {
	background: #4A2E2E;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 2.5rem 0 2rem;
}

.footer-content {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
}

.footer-section h3 {
	font-size: 1.1rem;
	margin-bottom: 0.8rem;
	color: #baa1a1;
}

.footer-section h4 {
	font-size: 0.95rem;
	margin-bottom: 0.6rem;
		color: #baa1a1;
}

.footer-section p {
	color: #9f8585;
	font-size: 0.9rem;
}

.footer-section ul {
	list-style: none;
	padding: 0;
}

.footer-section li + li {
	margin-top: 0.25rem;
}

.footer-section a {
	font-size: 0.9rem;
	color: #cfd2dc;
	transition: color 0.15s ease;
}

.footer-section a:hover {
	color: #5f534c;;
}

.social-links {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.footer-bottom {
	margin-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1.2rem;
	text-align: center;
	color: #6c6f7b;
	font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 900px) {
	.hero {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero-content {
		align-items: center;
	}
}

@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		inset: 60px 0 auto 0;
		background: rgba(5, 6, 10, 0.98);
		flex-direction: column;
		align-items: center;
		padding: 1.5rem 0 2rem;
		gap: 1.2rem;
		transform: translateY(-120%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.nav-menu.open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.hamburger {
		display: flex;
	}

	.nav-container {
		padding-inline: 1rem;
	}

	.footer-content {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.footer-content {
		grid-template-columns: 1fr;
	}
}
