:root {
	--pink: #db2777;
	--bg: #fffcfd;
	--text: #1a1a1a;
	--dark: #0f172a;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	background: var(--bg);
	color: var(--text);
	scroll-behavior: smooth;
	overflow-x: hidden;
}

.serif {
	font-family: 'Cormorant Garamond', serif;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 90px;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(20px);
	z-index: 1000;
	padding: 0 5%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: 0.3s;
}

.logo {
	height: 50px;
	cursor: pointer;
}

nav ul {
	display: flex;
	gap: 40px;
	list-style: none;
}

nav ul a {
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

.icon-btn {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	position: relative;
}

.icon-btn svg {
	width: 22px;
	height: 22px;
	fill: var(--dark);
}

.account-img {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	border: 2px solid var(--pink);
}

.cart-badge {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--pink);
	color: white;
	font-size: 9px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	border: 2px solid white;
}

.owner-btns {
	display: flex;
	gap: 8px;
}

.owner-btns a {
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	color: var(--pink);
	border: 1px solid var(--pink);
	padding: 5px 12px;
	border-radius: 20px;
	text-transform: uppercase;
}

section {
	padding: 100px 8%;
	position: relative;
}

.hero {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 50px;
}

.hero h1 {
	font-size: clamp(3rem, 8vw, 8rem);
	line-height: 0.9;
	margin-bottom: 30px;
	font-style: italic;
	text-transform: capitalize;
}

.hero h3 {
	font-size: clamp(1rem, 1.2vw, 1.2rem);
	line-height: 0.9;
	margin-bottom: 20px;
}

.cta-pill {
	background: var(--dark);
	color: white;
	padding: 20px 50px !important;
	border-radius: 50px;
	font-weight: bold;
	text-decoration: none;
	display: inline-block;
	font-size: 15px;
	transition: 0.3s;
	cursor: pointer;
	border: none;
}

.hero-img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	border-radius: 50% 50% 50px 50px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 50px;
}

.product-card {
	background: white;
	border-radius: 40px;
	overflow: hidden;
	border: 1px solid #f8fafc;
}

.product-img-box {
	position: relative;
	width: 100%;
	aspect-ratio: 1/1;
	overflow: hidden;
}

.product-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-details {
	padding: 25px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.gallery-section {
	padding: 120px 5%;
	background: #fff;
}

.gallery-header {
	text-align: center;
	margin-bottom: 60px;
}

.gallery-header h2 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}


.bento-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/* 4 equal columns */
	grid-auto-rows: 250px;
	/* Each row unit is 250px */
	gap: 20px;
	max-width: 1400px;
	margin: 0 auto;
}

.bento-item {
	position: relative;
	overflow: hidden;
	border-radius: 32px;
	background: #f8fafc;
	display: block;
}

.bento-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

/* Sizing Logic */
.bento-item.big {
	grid-column: span 2;
	grid-row: span 2;
}

.bento-item.tall {
	grid-row: span 2;
}

/* Edit mode indicator */
body.edit-mode .gal-item img {
	border: 2px dashed rgba(219, 39, 119, 0.3);
}

/* --- Story Section Styles --- */
.story-section {
	padding: 120px 8%;
	background: #fff;
}

.story-container {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 80px;
	align-items: center;
}

.sub-label {
	display: block;
	color: var(--pink);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 2px;
	margin-bottom: 20px;
}

.story-text h2 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 1.1;
	margin-bottom: 30px;
}

.story-text p {
	font-size: 18px;
	line-height: 1.8;
	color: #4b5563;
	margin-bottom: 20px;
}

.story-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid #f1f5f9;
}

.feat-item h4 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 22px;
	margin-bottom: 8px;
}

.feat-item p {
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 0;
}

.story-image-wrapper {
	position: relative;
}

.story-img {
	width: 100%;
	height: 600px;
	object-fit: cover;
	border-radius: 20px;
	cursor: pointer;
}

.est-badge {
	position: absolute;
	bottom: -20px;
	right: -20px;
	background: var(--dark);
	color: white;
	padding: 30px;
	border-radius: 50%;
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-size: 1.2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.add-overlay {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: white;
	padding: 15px;
	border-radius: 20px;
	text-align: center;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(5px);
	z-index: 4000;
	display: none;
}

.drawer {
	position: fixed;
	right: -100px;
	top: 0;
	height: 100%;
	width: 100%;
	max-width: 450px;
	background: white;
	z-index: 4100;
	transform: translateX(100%);
	transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	padding: 40px;
	display: flex;
	flex-direction: column;
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
}

.drawer.active {
	transform: translateX(-100px);

}

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

.drawer-header h3 {
	font-size: 2rem;
}

.drawer-header button {
	font-size: 2.5rem;
	background: transparent;
	border: none;
	cursor: pointer;
}

.cart-item {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-bottom: 25px;
}

.cart-item img {
	width: 80px;
	height: 80px;
	border-radius: 20px;
	object-fit: cover;
}

.qty-ctrl {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 5px;
}

.qty-ctrl button {
	border: none;
	background: #f1f5f9;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	cursor: pointer;
	font-weight: bold;
}

.order-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.order-form input,
.order-form textarea {
	width: 100%;
	padding: 18px;
	border-radius: 15px;
	border: none;
	background: #f8fafc;
	outline: none;
	font-size: 13px;
	font-weight: 600;
	border: 1px solid transparent;
}

footer {
	background: var(--dark);
	color: white;
	padding: 100px 5% 50px;
	text-align: center;
	border-radius: 80px 80px 0 0;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-bottom: 50px;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
}

.social-links svg {
	width: 24px;
	height: 24px;
	fill: white;
	opacity: 0.4;
}

.social-links a:hover svg {
	opacity: 1;
}

/* --- Professional Editor Sidebar --- */
.editor-bar {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 320px;
	background: #1e1e1e;
	/* WordPress Dark Sidebar Color */
	color: #e0e0e0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
	font-family: 'Inter', sans-serif;
	border-right: 1px solid #333;
}

.editor-header {
	padding: 24px 20px;
	border-bottom: 1px solid #333;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.editor-header h2 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 700;
	margin: 0;
	color: #fff;
}

.editor-content {
	flex-grow: 1;
	padding: 20px;
	overflow-y: auto;
}

.editor-section-title {
	font-size: 11px;
	text-transform: uppercase;
	color: #888;
	margin: 20px 0 12px 0;
	letter-spacing: 1px;
	font-weight: 600;
}

.editor-group {
	margin-bottom: 15px;
}

.editor-group label {
	display: block;
	font-size: 12px;
	margin-bottom: 6px;
	color: #bbb;
}

.editor-bar input {
	width: 100%;
	background: #2c2c2c;
	border: 1px solid #444;
	color: #fff;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 13px;
	transition: all 0.2s;
}

.editor-bar input:focus {
	outline: none;
	border-color: var(--pink);
	background: #333;
}

.editor-footer {
	padding: 20px;
	background: #181818;
	border-top: 1px solid #333;
	display: flex;
	gap: 10px;
	align-items: center;
}

.save-btn {
	flex-grow: 1;
	background: var(--pink);
	color: white;
	padding: 12px;
	border-radius: 8px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	text-align: center;
	transition: transform 0.1s, filter 0.2s;
}

.save-btn:hover {
	filter: brightness(1.1);
}

.save-btn:active {
	transform: scale(0.98);
}

.exit-link {
	color: #888;
	text-decoration: none;
	font-size: 12px;
	padding: 5px;
	transition: color 0.2s;
}

.exit-link:hover {
	color: #ff4d4d;
}

/* Adjust the rest of the site when editor is active */
body.edit-mode {
	padding-left: 320px;
}

.edit-mode-wrapper {
	margin-left: 0;
	/* Handled by body padding now */
}

body.edit-mode header {
	position: relative !important;
}

/*
================================================
MOBILE RESPONSIVENESS (MISSING CSS ADDED HERE)
================================================
*/

@media (max-width: 1024px) {

	/* Bento Gallery Logic */
	.bento-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		grid-auto-rows: auto !important;
		gap: 15px !important;
	}

	.bento-item {
		grid-column: span 1 !important;
		grid-row: span 1 !important;
		aspect-ratio: 1 / 1 !important;
		border-radius: 20px !important;
		height: auto !important;
	}

	/* Adjusting site for editor bar hide */
	body.edit-mode {
		padding-left: 0;
	}

	.editor-bar {
		transform: translateX(-100%);
	}
}

@media (max-width: 992px) {
	.editor-bar {
		position: relative;
		width: 100%;
		transform: inherit;
	}
	/* Story Section Stacking */
	.story-container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 40px;
	}

	.story-features {
		text-align: left;
		grid-template-columns: 1fr;
	}

	.story-img {
		height: 400px;
	}

	/* Hero Section Stacking */
	.hero {
		grid-template-columns: 1fr;
		text-align: center;
		padding-top: 140px;
		gap: 40px;
	}

	.hero-img {
		max-width: 500px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {

	/* Header optimization */
	nav {
		display: none;
		/* Hide main nav on mobile to make room for logo/cart */
	}

	header {
		height: 70px;
		padding: 0 4%;
	}

	.logo {
		height: 35px;
	}

	.hero-img,
	.story-image-wrapper {
		order: -1;
	}

	/* Force 2 columns for Products */
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
		padding: 0 4%;
	}

	.product-card {
		border-radius: 25px;
	}

	.product-card h3 {
		font-size: 16px;
	}

	.product-details {
		padding: 10px 0px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-direction: column;
	}

	.add-overlay {
		padding: 10px;
		bottom: 10px;
		left: 10px;
		right: 10px;
		font-size: 8px;
	}

	/* Hero Typography */
	.hero h1 {
		font-size: 3.5rem;
	}

	/* Drawer Logic (Full Width Mobile) */
	.drawer {
		width: 100%;
		max-width: 100%;
		padding: 25px;
		right: -100%;
		/* Initial state for animation */
	}

	.drawer.active {
		transform: translateX(0px);
		right: 0;
	}

	/* Story Section Padding */
	section {
		padding: 60px 5%;
	}

	.est-badge {
		padding: 20px;
		font-size: 0.9rem;
		bottom: -10px;
		right: 10px;
	}

	/* Footer adjustments */
	footer {
		border-radius: 40px 40px 0 0;
		padding: 60px 5% 40px;
	}
}
.category-container { margin-bottom: 50px; text-align: center; }
.category-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px 20px; }
.sub-category-bar { margin-top: 15px; border-top: 1px solid #f1f5f9; padding-top: 15px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cat-pill { background: #f8fafc; border: 1px solid #e2e8f0; padding: 8px 20px; border-radius: 50px; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 14px; transition: all 0.3s ease; border: none; color: #64748b; }
.cat-pill.active { background: #db2777; color: white; border-color: #db2777; box-shadow: 0 4px 12px rgba(219, 39, 119, 0.3); }
#product-area { transition: opacity 0.3s ease; }
