/*
Theme Name: My Custom Store
Author: Your Name
Description: Custom fragrance e-commerce theme
Version: 1.0.0
Requires PHP: 8.0
Text Domain: my-custom-store
*/

/* ================================
   RESET — MUST BE FIRST
================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #1a1a1a;
	background: #fff;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: 'Playfair Display', Georgia, serif;
	margin: 0 0 16px;
	line-height: 1.2;
}

p {
	margin: 0 0 16px;
}

/* NAVBAR LIST RESET — SAFETY */
.mcs-menu,
.mcs-footer-menu,
ul.mcs-menu,
ul.mcs-footer-menu {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mcs-menu li,
.mcs-footer-menu li {
	list-style: none !important;
}

/* ================================
   CONTAINER
================================ */
.mcs-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}
/* ================================
   ANNOUNCEMENT BAR
================================ */
.mcs-announce {
	background: #16140f;
	color: #b8935c;
	overflow: hidden;
	padding: 12px 0;
	position: relative;
	z-index: 101;
}

.mcs-announce__track {
	display: inline-flex;
	align-items: center;
	gap: 48px;
	white-space: nowrap;
	animation: mcsAnnounce 40s linear infinite;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	padding-left: 48px;
}

@keyframes mcsAnnounce {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ================================
   HEADER
================================ */
.mcs-header {
	background: #fff;
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow 0.3s ease;
}

.mcs-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.mcs-header__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

/* Logo */
.mcs-header__logo {
	font-family: 'Playfair Display', serif;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.01em;
	flex-shrink: 0;
}

.mcs-header__logo a {
	color: #1a1a1a;
	text-decoration: none;
}

.mcs-header__logo img {
	max-height: 44px;
	width: auto;
}

/* Navigation (desktop) */
.mcs-header__nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.mcs-menu {
	display: flex;
	gap: 40px;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mcs-menu > li {
	position: relative;
	list-style: none;
}

.mcs-menu > li > a {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1a1a1a;
	text-decoration: none;
	padding: 8px 0;
	transition: color 0.3s;
	position: relative;
}

.mcs-menu > li > a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	right: 50%;
	height: 1px;
	background: #b8935c;
	transition: left 0.3s ease, right 0.3s ease;
}

.mcs-menu > li > a:hover,
.mcs-menu > li.current-menu-item > a {
	color: #b8935c;
}

.mcs-menu > li > a:hover::after,
.mcs-menu > li.current-menu-item > a::after {
	left: 0;
	right: 0;
}

/* Dropdown */
.mcs-menu .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 220px;
	list-style: none;
	margin: 0;
	padding: 12px 0;
	background: #fff;
	border: 1px solid #e8e1d2;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 50;
}

.mcs-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	top: 100%;
}

.mcs-menu .sub-menu li {
	list-style: none;
}

.mcs-menu .sub-menu a {
	display: block;
	padding: 10px 24px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	color: #1a1a1a;
	text-decoration: none;
	transition: all 0.3s;
}

.mcs-menu .sub-menu a::after {
	display: none;
}

.mcs-menu .sub-menu a:hover {
	background: #faf7f0;
	color: #b8935c;
	padding-left: 28px;
}

/* Right actions */
.mcs-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.mcs-header__icon-btn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: #1a1a1a;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.3s;
	padding: 0;
	text-decoration: none;
}

.mcs-header__icon-btn:hover {
	background: #faf7f0;
	color: #b8935c;
}

.mcs-header__cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	color: #1a1a1a;
	cursor: pointer;
	transition: color 0.3s;
	padding: 0;
	border-radius: 50%;
}

.mcs-header__cart-btn:hover {
	background: #faf7f0;
	color: #b8935c;
}

.mcs-header__cart-count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: #b8935c;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: transform 0.3s ease;
}

.mcs-header__cart-count.is-bumped {
	animation: mcsBump 0.5s ease;
}

@keyframes mcsBump {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.4); }
	100% { transform: scale(1); }
}

/* Hamburger (hidden on desktop) */
.mcs-header__hamburger {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: #1a1a1a;
	cursor: pointer;
	padding: 0;
	border-radius: 50%;
	transition: all 0.3s;
}

.mcs-header__hamburger:hover {
	background: #faf7f0;
	color: #b8935c;
}

/* ================================
   SEARCH OVERLAY
================================ */
.mcs-search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(22, 20, 15, 0.92);
	backdrop-filter: blur(10px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mcs-search-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.mcs-search-overlay__inner {
	width: 100%;
	max-width: 720px;
	position: relative;
	transform: translateY(20px);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mcs-search-overlay.is-open .mcs-search-overlay__inner {
	transform: translateY(0);
}

.mcs-search-overlay__close {
	position: absolute;
	top: -60px;
	right: 0;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s;
	padding: 0;
}

.mcs-search-overlay__close:hover {
	background: #fff;
	color: #16140f;
	border-color: #fff;
	transform: rotate(90deg);
}

.mcs-search-overlay__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mcs-search-overlay__label {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	font-weight: 500;
	color: #fff;
	letter-spacing: -0.02em;
	text-align: center;
}

.mcs-search-overlay__input {
	width: 100%;
	padding: 20px 0;
	background: transparent;
	border: none;
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	font-size: clamp(1.25rem, 1rem + 1vw, 2rem);
	font-family: 'Playfair Display', Georgia, serif;
	outline: none;
	text-align: center;
	transition: border-color 0.3s;
}

.mcs-search-overlay__input::placeholder {
	color: rgba(255, 255, 255, 0.4);
	font-style: italic;
}

.mcs-search-overlay__input:focus {
	border-bottom-color: #b8935c;
}

.mcs-search-overlay__submit {
	align-self: center;
	padding: 16px 40px;
	background: #b8935c;
	color: #16140f;
	border: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s;
	font-family: inherit;
}

.mcs-search-overlay__submit:hover {
	background: #fff;
	color: #16140f;
}

/* ================================
   MOBILE MENU DRAWER
================================ */
.mcs-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(22, 20, 15, 0.5);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	z-index: 9998;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mcs-menu-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.mcs-mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 380px;
	max-width: 90%;
	height: 100vh;
	background: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 9999;
	box-shadow: 10px 0 40px rgba(22, 20, 15, 0.15);
	visibility: hidden;
}

.mcs-mobile-menu.is-open {
	transform: translateX(0);
	visibility: visible;
}

.mcs-mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 28px;
	border-bottom: 1px solid #e8e1d2;
	flex-shrink: 0;
}

.mcs-mobile-menu__logo {
	font-family: 'Playfair Display', serif;
	font-size: 20px;
	font-weight: 600;
	color: #1a1a1a;
}

.mcs-mobile-menu__close {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #faf7f0;
	border: none;
	border-radius: 50%;
	color: #1a1a1a;
	cursor: pointer;
	transition: all 0.3s;
	padding: 0;
}

.mcs-mobile-menu__close:hover {
	background: #1a1a1a;
	color: #fff;
	transform: rotate(90deg);
}

.mcs-mobile-menu__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 12px 0;
}

.mcs-mobile-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mcs-mobile-menu__list li {
	list-style: none;
	margin: 0;
}

.mcs-mobile-menu__list a {
	display: block;
	padding: 18px 28px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1a1a1a;
	text-decoration: none;
	border-bottom: 1px solid #f0ece3;
	transition: all 0.3s;
}

.mcs-mobile-menu__list a:hover {
	color: #b8935c;
	background: #faf7f0;
	padding-left: 34px;
}

.mcs-mobile-menu__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #faf7f0;
}

.mcs-mobile-menu__list .sub-menu a {
	padding-left: 44px;
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0.02em;
}

.mcs-mobile-menu__footer {
	padding: 20px 28px;
	border-top: 1px solid #e8e1d2;
	flex-shrink: 0;
}

.mcs-mobile-menu__account {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.3s;
}

.mcs-mobile-menu__account:hover {
	color: #b8935c;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
	.mcs-header__inner {
		padding: 16px 20px;
		gap: 16px;
	}

	.mcs-header__nav {
		display: none;
	}

	.mcs-header__hamburger {
		display: inline-flex;
	}

	.mcs-header__logo {
		font-size: 22px;
		flex: 1;
		text-align: center;
	}

	.mcs-menu {
		gap: 24px;
	}
}

@media (max-width: 640px) {
	.mcs-announce__track {
		font-size: 10px;
		letter-spacing: 0.18em;
		gap: 32px;
	}

	.mcs-header__icon-btn {
		width: 40px;
		height: 40px;
	}

	.mcs-header__cart-btn {
		width: 40px;
		height: 40px;
	}

	.mcs-header__logo {
		font-size: 18px;
	}

	.mcs-mobile-menu {
		width: 100%;
		max-width: 100%;
	}
}
/* ================================
   MAIN
================================ */
.mcs-main {
	min-height: 60vh;
}

/* ================================
   FOOTER
================================ */
.mcs-footer {
	background: #16140f;
	color: #ebe6dc;
	margin-top: 0;
}

/* ---- TOP: Brand + About ---- */
.mcs-footer__top {
	padding: 64px 0 48px;
	border-bottom: 1px solid rgba(235, 230, 220, 0.08);
}

.mcs-footer__top-inner {
	display: flex;
	justify-content: center;
	text-align: center;
}

.mcs-footer__brand {
	max-width: 520px;
}

.mcs-footer__logo img {
	max-height: 60px;
	width: auto;
	margin: 0 auto 24px;
	display: block;
	filter: brightness(0) invert(1);
	opacity: 0.9;
}

.mcs-footer__site-name {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: #fff;
	margin: 0 0 16px;
}

.mcs-footer__about {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(235, 230, 220, 0.6);
	margin: 0 0 28px;
}

.mcs-footer__social {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.mcs-footer__social a {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(235, 230, 220, 0.6);
	border: 1px solid rgba(235, 230, 220, 0.15);
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.3s ease;
}

.mcs-footer__social a:hover {
	color: #16140f;
	background: #b8935c;
	border-color: #b8935c;
	transform: translateY(-3px);
}

/* ---- MIDDLE: Links Grid ---- */
.mcs-footer__middle {
	padding: 56px 0;
	border-bottom: 1px solid rgba(235, 230, 220, 0.08);
}

.mcs-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
}

.mcs-footer__heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #fff;
	margin: 0 0 22px;
	position: relative;
	padding-bottom: 14px;
}

.mcs-footer__heading::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 32px;
	height: 2px;
	background: #b8935c;
}

.mcs-footer__menu,
.mcs-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mcs-footer__menu li {
	margin: 0;
}

.mcs-footer__menu a {
	display: inline-block;
	padding: 6px 0;
	font-size: 14px;
	color: rgba(235, 230, 220, 0.65);
	text-decoration: none;
	transition: all 0.3s ease;
}

.mcs-footer__menu a:hover {
	color: #b8935c;
	transform: translateX(4px);
}

.mcs-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 14px;
	color: rgba(235, 230, 220, 0.65);
	line-height: 1.5;
}

.mcs-footer__contact li svg {
	flex-shrink: 0;
	color: #b8935c;
	margin-top: 2px;
}

.mcs-footer__contact li a {
	color: rgba(235, 230, 220, 0.65);
	text-decoration: none;
	transition: color 0.3s ease;
}

.mcs-footer__contact li a:hover {
	color: #b8935c;
}

/* ---- BOTTOM: Copyright + Payments ---- */
.mcs-footer__bottom {
	padding: 24px 0;
	background: #0e0d0b;
}

.mcs-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	text-align: center;
}

.mcs-footer__copy {
	margin: 0;
	font-size: 13px;
	color: rgba(235, 230, 220, 0.5);
}



/* ---- Responsive ---- */
@media (max-width: 992px) {
	.mcs-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.mcs-footer__top {
		padding: 48px 0 36px;
	}

	.mcs-footer__site-name {
		font-size: 24px;
	}

	.mcs-footer__middle {
		padding: 40px 0;
	}

	.mcs-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.mcs-footer__bottom-inner {
		text-align: center;
	}
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
	.mcs-header__inner {
		flex-wrap: wrap;
		padding: 16px 20px;
	}

	.mcs-header__nav {
		order: 3;
		width: 100%;
		justify-content: flex-start;
		padding-top: 12px;
		border-top: 1px solid #eee;
		margin-top: 4px;
	}

	.mcs-menu {
		gap: 20px;
		flex-wrap: wrap;
	}

	.mcs-menu a {
		font-size: 12px;
	}

	.mcs-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

body.mcs-no-scroll {
	overflow: hidden;
}