/* ==========================================================================
   MarketNova — theme styles (loads after Storefront + WooCommerce)
   ========================================================================== */

:root {
	--mn-ink: #0C1A3A;
	--mn-ink-2: #1B2B55;
	--mn-blue: #0B5BFF;
	--mn-blue-dark: #0848CC;
	--mn-sky: #16B8FF;
	--mn-mist: #F3F7FD;
	--mn-line: #E1E8F4;
	--mn-text: #3B4763;
	--mn-muted: #6A7590;
	--mn-sale: #D92D45;
	--mn-radius: 14px;
	--mn-radius-lg: 22px;
	--mn-shadow: 0 10px 30px -12px rgba(12, 26, 58, .22);
	--mn-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mn-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mn-wrap: 1280px;
}

/* ---------- Base ---------- */
body.mn {
	font-family: var(--mn-body);
	color: var(--mn-text);
	background: #fff;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.mn h1, body.mn h2, body.mn h3, body.mn h4, body.mn h5, body.mn h6 {
	font-family: var(--mn-head);
	color: var(--mn-ink);
	letter-spacing: -0.01em;
}
body.mn a { color: var(--mn-blue); }
body.mn a:hover { color: var(--mn-blue-dark); }
body.mn a.button,
body.mn a.button:hover,
body.mn a.button:focus,
body.mn a.button:visited { color: #fff; text-decoration: none; }

body.mn a:focus-visible,
body.mn button:focus-visible,
body.mn input:focus-visible,
body.mn select:focus-visible,
body.mn textarea:focus-visible,
body.mn summary:focus-visible {
	outline: 2px solid var(--mn-blue);
	outline-offset: 2px;
}

body.mn .col-full { max-width: var(--mn-wrap); }

.mn-wrap {
	max-width: var(--mn-wrap);
	margin: 0 auto;
	padding: 0 20px;
}
@media (min-width: 768px) {
	.mn-wrap { padding: 0 2.617924em; }
}

/* Buttons */
body.mn button,
body.mn input[type="button"],
body.mn input[type="reset"],
body.mn input[type="submit"],
body.mn .button,
body.mn .added_to_cart,
body.mn .wc-block-components-button {
	font-family: var(--mn-body);
	font-weight: 700;
	border-radius: 10px;
	padding: .8em 1.4em;
	line-height: 1.3;
	text-shadow: none;
	transition: background-color .15s ease, border-color .15s ease;
}
body.mn .button:hover,
body.mn button:hover,
body.mn input[type="submit"]:hover { background-color: var(--mn-blue-dark); border-color: var(--mn-blue-dark); color: #fff; }
body.mn .button.alt:hover,
body.mn button.alt:hover { background-color: var(--mn-ink-2); border-color: var(--mn-ink-2); }

body.mn input[type="text"],
body.mn input[type="email"],
body.mn input[type="search"],
body.mn input[type="tel"],
body.mn input[type="number"],
body.mn input[type="password"],
body.mn input[type="url"],
body.mn select,
body.mn textarea {
	border: 1px solid var(--mn-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: var(--mn-ink);
	font-family: var(--mn-body);
}
body.mn input:focus,
body.mn textarea:focus,
body.mn select:focus { border-color: var(--mn-blue); background: #fff; }

.mn-btn-lg { padding: 1em 1.8em !important; font-size: 1rem; }
.mn-btn-ghost {
	display: inline-block;
	font-weight: 700;
	border-radius: 10px;
	border: 1.5px solid var(--mn-line);
	color: var(--mn-ink) !important;
	background: #fff;
	text-decoration: none;
	transition: border-color .15s ease;
}
.mn-btn-ghost:hover { border-color: var(--mn-ink); }

/* ---------- Announcement bar ---------- */
.mn-announce {
	background: var(--mn-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}
.mn-announce__inner {
	max-width: var(--mn-wrap);
	margin: 0 auto;
	padding: 9px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
}
.mn-announce .mn-icon { color: var(--mn-sky); flex: none; }

/* ---------- Header ---------- */
body.mn .site-header {
	background: #fff;
	border-bottom: 1px solid var(--mn-line);
	padding-top: 16px;
	margin-bottom: 2.4em;
}
body.mn.mn-home .site-header { margin-bottom: 0; }

body.mn .site-header .custom-logo-link img,
body.mn .site-header .site-logo-anchor img {
	max-width: none;
	width: auto;
	max-height: 46px;
	height: auto;
}
body.mn .site-header .site-branding { margin-bottom: 0; }

.site-header > .col-full {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding-bottom: 14px;
}
.site-header > .col-full::before,
.site-header > .col-full::after { display: none !important; }
body.mn .site-header .site-branding { flex: 1 1 auto; width: auto; float: none; margin: 0; }
body.mn .site-header .site-search {
	display: block !important;
	order: 3;
	flex: 1 1 100%;
	width: auto;
	float: none;
	margin: 0;
	font-size: 15px;
}
body.mn .site-header .site-search .widget_product_search form { margin: 0; }
body.mn .site-header .site-search input[type="search"] {
	height: 48px;
	border-radius: 999px;
	background: var(--mn-mist);
	border: 1px solid var(--mn-line);
	padding-left: 3em;
	font-size: 15px;
}
body.mn .site-header .site-search input[type="search"]:focus { background: #fff; border-color: var(--mn-blue); }
body.mn .site-header .widget_product_search form::before { top: 50%; transform: translateY(-50%); left: 1.2em; color: var(--mn-muted); }

.mn-header-actions { display: flex; align-items: center; gap: 6px; }
.mn-header-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--mn-ink) !important;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
.mn-header-link:hover { background: var(--mn-mist); }
.mn-header-link span { display: none; }
.mn-count {
	position: absolute;
	top: 2px;
	left: 26px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--mn-blue);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}
.mn-count[hidden] { display: none; }

@media (min-width: 768px) {
	.site-header > .col-full { flex-wrap: nowrap; gap: 28px; padding-bottom: 16px; }
	body.mn .site-header .site-branding { flex: 0 0 auto; }
	body.mn .site-header .site-search { order: 0; flex: 1 1 auto; max-width: 640px; margin: 0 auto; }
	body.mn .site-header .custom-logo-link img { max-height: 52px; }
	.mn-header-link span { display: inline; }
}

/* Primary navigation row */
body.mn .storefront-primary-navigation { border-top: 1px solid var(--mn-line); background: #fff; }
@media (min-width: 768px) {
	body.mn .storefront-primary-navigation > .col-full { display: flex; align-items: center; }
	body.mn .storefront-primary-navigation > .col-full::before,
	body.mn .storefront-primary-navigation > .col-full::after { display: none; }
	body.mn .main-navigation { flex: 1 1 auto; width: auto; float: none; margin-right: 0; }
	body.mn .site-header-cart { flex: 0 0 auto; width: auto; float: none; margin: 0 0 0 auto; }

	body.mn .main-navigation ul.menu > li > a,
	body.mn .main-navigation ul.nav-menu > li > a {
		padding: 15px 16px;
		font-weight: 600;
		font-size: 15px;
		color: var(--mn-ink);
	}
	body.mn .main-navigation ul.menu > li:first-child > a { padding-left: 0; }
	body.mn .main-navigation ul.menu > li > a:hover,
	body.mn .main-navigation ul.menu > li.current-menu-item > a { color: var(--mn-blue); }

	body.mn .main-navigation ul.menu ul.sub-menu,
	body.mn .main-navigation ul.nav-menu ul.children {
		background: #fff;
		border: 1px solid var(--mn-line);
		border-radius: 12px;
		box-shadow: var(--mn-shadow);
		padding: 8px;
	}
	body.mn .main-navigation ul.menu ul li a,
	body.mn .main-navigation ul.nav-menu ul li a {
		width: 220px;
		padding: 9px 12px;
		border-radius: 8px;
		color: var(--mn-ink);
		font-weight: 500;
		font-size: 14.5px;
		background: transparent;
	}
	body.mn .main-navigation ul.menu ul li a:hover { background: var(--mn-mist); color: var(--mn-blue); }

	body.mn .main-navigation ul.menu li.mn-mega > ul.sub-menu {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 690px;
	}
	body.mn .main-navigation ul.menu li.mn-mega > ul.sub-menu li a { width: auto; }

	/* Header cart */
	body.mn .site-header-cart .cart-contents {
		padding: 10px 14px;
		border-radius: 10px;
		color: var(--mn-ink);
		font-weight: 700;
		font-size: 14px;
	}
	body.mn .site-header-cart .cart-contents:hover { background: var(--mn-mist); }
	body.mn .site-header-cart .cart-contents .count {
		opacity: 1;
		background: var(--mn-mist);
		color: var(--mn-ink);
		font-weight: 600;
		border-radius: 999px;
		padding: 2px 8px;
		margin-left: 6px;
	}
	body.mn .site-header-cart .widget_shopping_cart {
		border: 1px solid var(--mn-line);
		border-radius: 12px;
		box-shadow: var(--mn-shadow);
		background: #fff;
	}
}

/* Mobile menu */
body.mn .menu-toggle {
	border-radius: 10px;
	border: 1px solid var(--mn-line);
	color: var(--mn-ink);
	background: #fff;
	margin: 10px 0;
}
body.mn .handheld-navigation { background: #fff; }
body.mn .handheld-navigation ul.menu li a { color: var(--mn-ink); font-weight: 600; }

/* Handheld bottom bar */
body.mn .storefront-handheld-footer-bar ul li > a { background: #fff; border-top: 1px solid var(--mn-line); color: var(--mn-ink); }
body.mn .storefront-handheld-footer-bar ul li.cart .count { background: var(--mn-blue); color: #fff; border-color: #fff; }

/* ---------- Layout ---------- */
body.mn-full .content-area,
body.mn.mn-full .content-area { width: 100%; float: none; margin-left: 0; margin-right: 0; }

body.mn-home .site-content > .col-full { max-width: none; padding: 0; }
body.mn-home .site-main { margin-bottom: 0; }

/* Breadcrumb */
body.mn .storefront-breadcrumb { background: transparent; margin: -1em 0 1.5em; padding: 0; }
body.mn .woocommerce-breadcrumb { font-size: 13.5px; color: var(--mn-muted); padding: 0; }
body.mn .woocommerce-breadcrumb a { color: var(--mn-muted); }
body.mn .woocommerce-breadcrumb .breadcrumb-separator { padding: 0 .5em; }

/* Page titles */
body.mn .entry-header .entry-title,
body.mn .woocommerce-products-header__title {
	font-family: var(--mn-head);
	font-weight: 700;
	font-size: clamp(1.9rem, 3.4vw, 2.6rem);
	line-height: 1.1;
	color: var(--mn-ink);
	letter-spacing: -0.02em;
}
body.mn .hentry { margin-bottom: 2em; }
body.mn .hentry .entry-header { border-bottom: 0; margin-bottom: 1.2em; padding-bottom: 0; }

/* Policy & info pages */
body.mn-doc .hentry { max-width: 760px; margin-left: auto; margin-right: auto; }
body.mn-doc .entry-content h2 { font-size: 1.35rem; font-weight: 700; margin: 1.8em 0 .5em; }
body.mn-doc .entry-content p,
body.mn-doc .entry-content li { color: var(--mn-text); }
body.mn-doc .entry-content details {
	border-bottom: 1px solid var(--mn-line);
	padding: 4px 0;
}
body.mn-doc .entry-content summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	font-weight: 700;
	color: var(--mn-ink);
}
body.mn-doc .entry-content summary::-webkit-details-marker { display: none; }
body.mn-doc .entry-content summary::after {
	content: "+";
	flex: none;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--mn-blue);
}
body.mn-doc .entry-content details[open] summary::after { content: "\2212"; }
body.mn-doc .entry-content details p { margin: 0 0 14px; }

/* ---------- Product grid ---------- */
body.mn ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 2em;
	padding: 0;
}
body.mn ul.products::before,
body.mn ul.products::after { display: none !important; }

@media (min-width: 768px) {
	body.mn ul.products { gap: 22px; }
	body.mn ul.products.columns-3,
	body.mn ul.products.columns-4,
	body.mn ul.products.columns-5,
	body.mn ul.products.columns-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	body.mn ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body.mn ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	body.mn ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

body.mn ul.products li.product,
body.mn .site-main ul.products li.product,
body.mn .site-main ul.products[class*="columns-"] li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
	text-align: left;
	background: #fff;
	border: 1px solid var(--mn-line);
	border-radius: var(--mn-radius);
	padding: 10px 10px 14px;
	transition: border-color .15s ease;
}
body.mn ul.products li.product:hover { border-color: #C5D4EC; }

body.mn ul.products li.product .woocommerce-LoopProduct-link { display: block; color: inherit; text-decoration: none; }
body.mn ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	background: var(--mn-mist);
	margin: 0 0 12px;
}
.mn-card-cat {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--mn-muted);
	margin: 0 2px 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.mn ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--mn-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--mn-ink);
	margin: 0 2px 6px;
	padding: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
body.mn ul.products li.product .star-rating { margin: 0 2px 6px; font-size: .8em; }
body.mn ul.products li.product .price {
	display: block;
	margin: 0 2px 12px;
	font-size: 17px;
	font-weight: 800;
	color: var(--mn-ink);
}
body.mn ul.products li.product .price del { color: var(--mn-muted); font-weight: 500; font-size: 14px; opacity: 1; margin-right: 4px; }
body.mn ul.products li.product .price ins { font-weight: 800; text-decoration: none; color: var(--mn-sale); }
body.mn ul.products li.product .button {
	display: block;
	width: 100%;
	margin-top: auto;
	text-align: center;
	font-size: 14px;
	padding: .75em 1em;
}
body.mn ul.products li.product .added_to_cart {
	display: block;
	text-align: center;
	margin-top: 8px;
	padding: 0;
	background: none;
	color: var(--mn-blue);
	font-size: 13.5px;
}

/* Sale badge */
body.mn .onsale {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	margin: 0;
	padding: 4px 10px;
	border: 0;
	border-radius: 999px;
	background: var(--mn-sale);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	min-height: 0;
	min-width: 0;
	text-transform: none;
}
body.mn.single-product div.product .onsale { top: 14px; left: 14px; }

/* Card icon buttons */
.mn-card-actions {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.mn .mn-icon-btn {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid var(--mn-line);
	background: #fff;
	color: var(--mn-ink);
	box-shadow: 0 4px 12px -6px rgba(12, 26, 58, .35);
}
body.mn .mn-icon-btn:hover { background: #fff; color: var(--mn-blue); border-color: var(--mn-blue); }
body.mn [data-mn-wishlist][aria-pressed="true"] { color: var(--mn-sale); border-color: var(--mn-sale); }
body.mn [data-mn-wishlist][aria-pressed="true"] svg { fill: currentColor; }

/* Shop toolbar */
body.mn .woocommerce-result-count { color: var(--mn-muted); font-size: 14px; }
body.mn .woocommerce-ordering select { border-radius: 10px; padding: .55em 2.2em .55em .9em; }
body.mn .storefront-sorting { margin-bottom: 1.6em; }
body.mn .woocommerce-pagination .page-numbers li .page-numbers {
	border-radius: 8px;
	min-width: 2.4em;
	background: var(--mn-mist);
	color: var(--mn-ink);
}
body.mn .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--mn-blue); color: #fff; }

/* Filters sidebar */
.mn-filters__panel {
	border: 1px solid var(--mn-line);
	border-radius: var(--mn-radius);
	background: #fff;
	margin-bottom: 1.6em;
}
.mn-filters__panel > summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	font-weight: 700;
	color: var(--mn-ink);
	cursor: pointer;
	list-style: none;
}
.mn-filters__panel > summary::-webkit-details-marker { display: none; }
.mn-filters__body { padding: 4px 18px 8px; }
body.mn .mn-filters .widget { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--mn-line); }
body.mn .mn-filters .widget:last-child { border-bottom: 0; }
body.mn .mn-filters .widget-title,
body.mn .mn-filters .widgettitle {
	font-family: var(--mn-body);
	font-size: 14px;
	font-weight: 800;
	color: var(--mn-ink);
	border: 0;
	margin: 0 0 10px;
	padding: 0;
}
body.mn .mn-filters .product-categories { margin: 0; }
body.mn .mn-filters .product-categories li { padding: 0; margin: 0; list-style: none; }
body.mn .mn-filters .product-categories li::before { display: none; }
body.mn .mn-filters .product-categories a {
	display: block;
	padding: 5px 0;
	color: var(--mn-text);
	font-size: 14.5px;
	text-decoration: none;
}
body.mn .mn-filters .product-categories a:hover,
body.mn .mn-filters .product-categories .current-cat > a { color: var(--mn-blue); font-weight: 700; }
body.mn .mn-filters .product-categories ul.children { margin: 0 0 0 12px; }
body.mn .widget_price_filter .ui-slider .ui-slider-range,
body.mn .widget_price_filter .ui-slider .ui-slider-handle { background: var(--mn-blue); }
body.mn .widget_price_filter .price_slider_wrapper .ui-widget-content { background: var(--mn-line); }
body.mn .widget_price_filter .price_slider_amount .button { font-size: 13px; padding: .55em 1em; }
body.mn .widget_price_filter .price_label { color: var(--mn-muted); font-size: 13.5px; }

@media (min-width: 768px) {
	.mn-filters__panel { border: 0; }
	.mn-filters__panel > summary { display: none; }
	.mn-filters__body { padding: 0; }
	body.mn .mn-filters .widget:first-child { padding-top: 0; }
}

/* Empty states */
.mn-empty {
	text-align: center;
	padding: 56px 24px;
	border: 1.5px dashed var(--mn-line);
	border-radius: var(--mn-radius-lg);
	background: var(--mn-mist);
	margin-bottom: 2em;
}
.mn-empty .mn-icon { color: var(--mn-blue); }
.mn-empty h2 { font-size: 1.5rem; margin: 12px 0 6px; }
.mn-empty p { color: var(--mn-muted); max-width: 440px; margin: 0 auto 20px; }

.mn-admin-note {
	border: 1.5px dashed #9DBBF5;
	background: var(--mn-mist);
	border-radius: var(--mn-radius);
	padding: 18px 20px;
	color: var(--mn-text);
	font-size: 14.5px;
}
.mn-admin-note strong { color: var(--mn-ink); margin-right: 6px; }

/* ---------- Single product ---------- */
body.mn.single-product div.product { position: relative; }
body.mn.single-product div.product .woocommerce-product-gallery .flex-viewport,
body.mn.single-product div.product .woocommerce-product-gallery__image img { border-radius: var(--mn-radius); }
body.mn.single-product div.product .woocommerce-product-gallery { background: transparent; }
body.mn.single-product div.product .product_title {
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: .4em;
}
body.mn.single-product div.product p.price,
body.mn.single-product div.product span.price {
	font-size: 1.7rem;
	font-weight: 800;
	color: var(--mn-ink);
}
body.mn.single-product div.product p.price ins { color: var(--mn-sale); text-decoration: none; }
body.mn.single-product div.product p.price del { color: var(--mn-muted); font-size: .7em; font-weight: 500; opacity: 1; }
body.mn.single-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding: 1.2em 0;
	border-top: 1px solid var(--mn-line);
	border-bottom: 1px solid var(--mn-line);
}
body.mn.single-product div.product form.cart::before,
body.mn.single-product div.product form.cart::after { display: none; }
body.mn.single-product div.product form.cart.variations_form { display: block; }
body.mn.single-product div.product form.cart .quantity { margin: 0; float: none; }
body.mn.single-product div.product form.cart .quantity .qty { height: 50px; width: 5em; text-align: center; }
body.mn.single-product div.product form.cart .single_add_to_cart_button { float: none; flex: 1 1 200px; height: 50px; padding: 0 1.6em; font-size: 1rem; }
body.mn.single-product div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.mn-wish-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 50px;
	background: #fff !important;
	color: var(--mn-ink) !important;
	border: 1.5px solid var(--mn-line) !important;
}
.mn-wish-btn:hover { border-color: var(--mn-ink) !important; }
.mn-wish-btn[aria-pressed="true"] { color: var(--mn-sale) !important; border-color: var(--mn-sale) !important; }

.mn-assurance {
	list-style: none;
	margin: 1.2em 0 1.6em;
	padding: 16px 18px;
	background: var(--mn-mist);
	border-radius: var(--mn-radius);
	display: grid;
	gap: 10px;
}
.mn-assurance li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--mn-ink); font-weight: 600; }
.mn-assurance .mn-icon { color: var(--mn-blue); flex: none; }
.mn-assurance a { color: var(--mn-ink); }

body.mn.single-product div.product .product_meta { font-size: 14px; color: var(--mn-muted); border-top: 0; }
body.mn .woocommerce-tabs ul.tabs li a { font-weight: 700; color: var(--mn-ink); }
body.mn .woocommerce-tabs ul.tabs li.active a { color: var(--mn-blue); }
body.mn .related > h2,
body.mn .upsells > h2 { font-size: 1.6rem; font-weight: 700; }

/* ---------- Cart / checkout touches ---------- */
body.mn table.shop_table { border-radius: var(--mn-radius); overflow: hidden; }
body.mn .cart-collaterals .cart_totals,
body.mn #order_review { border-radius: var(--mn-radius); }
body.mn .woocommerce-message,
body.mn .woocommerce-info,
body.mn .woocommerce-error,
body.mn .woocommerce-noreviews,
body.mn p.no-comments { border-radius: 12px; }
body.mn .woocommerce-message { background-color: var(--mn-ink); }
body.mn .woocommerce-info { background-color: var(--mn-blue); }

/* ==========================================================================
   Homepage
   ========================================================================== */
.mn-section { padding: 56px 0; }
.mn-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 24px;
}
.mn-section__head h2 {
	margin: 0;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}
.mn-section__link { font-weight: 700; font-size: 15px; text-decoration: none; }
.mn-section__link:hover { text-decoration: underline; }
.mn-products-row + .mn-products-row { padding-top: 0; }

/* Hero */
.mn-hero {
	position: relative;
	overflow: hidden;
	padding: 40px 0 24px;
	background:
		radial-gradient(60% 70% at 85% 45%, #EAF2FF 0%, rgba(234, 242, 255, 0) 70%),
		#fff;
}
.mn-hero__grid { display: grid; gap: 28px; align-items: center; }
.mn-hero h1 {
	font-size: clamp(2.5rem, 6.2vw, 4.4rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin: 0 0 20px;
	max-width: 13ch;
	color: var(--mn-ink);
}
.mn-hero__text {
	font-size: 1.12rem;
	line-height: 1.6;
	color: var(--mn-text);
	max-width: 52ch;
	margin: 0 0 28px;
}
.mn-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.mn-hero__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mn-ink);
}
.mn-hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.mn-hero__points .mn-icon { color: var(--mn-blue); }
.mn-hero__img { width: 100%; height: auto; border-radius: var(--mn-radius-lg); }

@media (min-width: 900px) {
	.mn-hero { padding: 64px 0 48px; }
	.mn-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
}

/* The orbit: echoes the swoosh in the MarketNova logo */
.mn-orbit {
	position: relative;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}
.mn-orbit__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mn-orbit__ring ellipse:first-of-type {
	stroke-dashoffset: 0;
	animation: mn-orbit-draw 1.4s cubic-bezier(.3, .7, .2, 1) both;
}
@keyframes mn-orbit-draw {
	from { stroke-dashoffset: 1440; opacity: .2; }
	to   { stroke-dashoffset: 0; opacity: 1; }
}
.mn-orbit__core {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40%;
	transform: translate(-50%, -50%);
	padding: 6%;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(11, 91, 255, .45), 0 0 0 1px var(--mn-line);
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
}
.mn-orbit__core img { width: 100%; height: auto; display: block; }

.mn-orbit__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--mn-line);
	box-shadow: 0 12px 28px -14px rgba(12, 26, 58, .35);
	color: var(--mn-ink) !important;
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
	text-decoration: none;
	transition: border-color .15s ease;
}
.mn-orbit__chip:hover { border-color: var(--mn-blue); }
.mn-orbit__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--mn-blue), var(--mn-sky));
	color: #fff;
	flex: none;
}
.mn-orbit__icon .mn-icon { width: 17px; height: 17px; }
.mn-orbit__chip--1 { top: 12%; left: 0; }
.mn-orbit__chip--2 { top: 2%;  right: 12%; }
.mn-orbit__chip--3 { top: 22%; right: -2%; }
.mn-orbit__chip--4 { bottom: 16%; left: -2%; }
.mn-orbit__chip--5 { bottom: 1%; left: 22%; }
.mn-orbit__chip--6 { bottom: 10%; right: 0; }

@media (max-width: 480px) {
	.mn-orbit__chip { font-size: 11.5px; padding: 4px 10px 4px 4px; gap: 6px; }
	.mn-orbit__icon { width: 26px; height: 26px; }
	.mn-orbit__chip--3 { right: 0; }
	.mn-orbit__chip--4 { left: 0; }
}
@media (min-width: 900px) {
	.mn-orbit__chip { font-size: 14px; }
}

/* Categories */
.mn-cats { padding-top: 40px; }
.mn-cats__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
@media (min-width: 600px) { .mn-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mn-cats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }

.mn-cat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--mn-line);
	border-radius: var(--mn-radius);
	background: #fff;
	text-decoration: none;
	transition: border-color .15s ease;
}
.mn-cat:hover { border-color: var(--mn-blue); }
.mn-cat__media {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--mn-mist);
	color: var(--mn-blue);
	margin-bottom: 14px;
	overflow: hidden;
}
.mn-cat__media img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.mn-cat__name { font-family: var(--mn-head); font-weight: 600; font-size: 1.02rem; line-height: 1.25; color: var(--mn-ink); }
.mn-cat__count { font-size: 13px; color: var(--mn-muted); margin-top: 4px; }

/* Promos */
.mn-promos__grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .mn-promos__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.mn-promo {
	position: relative;
	overflow: hidden;
	display: block;
	padding: 34px 32px;
	border-radius: var(--mn-radius-lg);
	color: #fff !important;
	text-decoration: none;
	isolation: isolate;
}
.mn-promo::after {
	content: "";
	position: absolute;
	right: -18%;
	bottom: -55%;
	width: 80%;
	height: 120%;
	border: 10px solid rgba(255, 255, 255, .14);
	border-radius: 50%;
	transform: rotate(-24deg);
	z-index: -1;
}
.mn-promo--navy { background: var(--mn-ink); }
.mn-promo--blue { background: linear-gradient(125deg, var(--mn-blue) 0%, var(--mn-sky) 100%); }
.mn-promo .mn-icon { color: var(--mn-sky); margin-bottom: 18px; }
.mn-promo--blue .mn-icon { color: #fff; }
.mn-promo h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 700; margin: 0 0 8px; max-width: 18ch; }
.mn-promo p { color: rgba(255, 255, 255, .85); margin: 0 0 22px; max-width: 40ch; }
.mn-promo__cta {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 10px;
	background: #fff;
	color: var(--mn-ink);
	font-weight: 700;
	font-size: 14.5px;
}
.mn-promo:hover .mn-promo__cta { background: var(--mn-mist); }

/* Trust band */
.mn-trust { background: var(--mn-mist); border-top: 1px solid var(--mn-line); border-bottom: 1px solid var(--mn-line); padding: 40px 0; }
.mn-trust__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 22px;
}
@media (min-width: 600px) { .mn-trust__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mn-trust__grid { grid-template-columns: repeat(4, 1fr); } }
.mn-trust__grid li { display: flex; gap: 14px; align-items: flex-start; }
.mn-trust__grid .mn-icon { color: var(--mn-blue); flex: none; margin-top: 2px; }
.mn-trust__grid h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 2px; }
.mn-trust__grid p { font-size: 14px; color: var(--mn-muted); margin: 0; line-height: 1.5; }

/* Newsletter */
.mn-news__box {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 22px;
	align-items: center;
	padding: 36px 28px;
	border-radius: var(--mn-radius-lg);
	background: var(--mn-ink);
	color: #fff;
	isolation: isolate;
}
.mn-news__box::before {
	content: "";
	position: absolute;
	left: -10%;
	top: -80%;
	width: 70%;
	height: 200%;
	border: 12px solid rgba(22, 184, 255, .18);
	border-radius: 50%;
	transform: rotate(-24deg);
	z-index: -1;
}
@media (min-width: 900px) {
	.mn-news__box { grid-template-columns: 1fr 1fr; padding: 48px 52px; gap: 40px; }
}
.mn-news__copy h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; margin: 0 0 8px; }
.mn-news__copy p { color: rgba(255, 255, 255, .78); margin: 0; }
.mn-news__form { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
body.mn .mn-news__form input[type="email"] {
	flex: 1 1 220px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	padding: 0 18px;
}
body.mn .mn-news__form input[type="email"]::placeholder { color: rgba(255, 255, 255, .6); }
body.mn .mn-news__form input[type="email"]:focus { background: rgba(255, 255, 255, .14); border-color: var(--mn-sky); }
body.mn .mn-news__form .button { height: 52px; padding: 0 26px; flex: 0 0 auto; }
.mn-news__msg { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.mn-news__msg--success { color: #7CE0A9; }
.mn-news__msg--error { color: #FFB3BD; }
.mn-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
body.mn .site-footer {
	background: var(--mn-mist);
	border-top: 1px solid var(--mn-line);
	padding: 52px 0 0;
	color: var(--mn-text);
}
body.mn.mn-home .site-footer { margin-top: 56px; }
.mn-footer { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 768px) { .mn-footer { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.mn-footer__logo img { max-height: 44px; width: auto; margin-bottom: 14px; }
.mn-footer__brand p { font-size: 14.5px; color: var(--mn-muted); max-width: 36ch; margin: 0 0 12px; }
.mn-footer__secure { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--mn-ink) !important; }
.mn-footer__secure .mn-icon { color: var(--mn-blue); }
.mn-footer__col h3 { font-family: var(--mn-body); font-size: 14px; font-weight: 800; color: var(--mn-ink); margin: 0 0 12px; }
.mn-footer__col ul { list-style: none; margin: 0; padding: 0; }
.mn-footer__col li { margin: 0 0 8px; }
.mn-footer__col a { color: var(--mn-text); text-decoration: none; font-size: 14.5px; }
.mn-footer__col a:hover { color: var(--mn-blue); text-decoration: underline; }
.mn-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 18px 0 22px;
	border-top: 1px solid var(--mn-line);
	font-size: 13px;
	color: var(--mn-muted);
}

/* ==========================================================================
   Quick view, wishlist page, toast
   ========================================================================== */
.mn-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 16px;
	background: rgba(12, 26, 58, .55);
}
.mn-modal[hidden] { display: none; }
.mn-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 920px;
	max-height: calc(100vh - 32px);
	overflow: auto;
	background: #fff;
	border-radius: var(--mn-radius-lg);
	padding: 24px;
	box-shadow: 0 40px 80px -30px rgba(12, 26, 58, .5);
}
body.mn .mn-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	padding: 0;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--mn-mist);
	color: var(--mn-ink);
	border: 0;
}
body.mn .mn-modal__close:hover { background: var(--mn-line); color: var(--mn-ink); }
.mn-modal__loading { padding: 60px 0; text-align: center; color: var(--mn-muted); }
.mn-qv { display: grid; gap: 24px; }
@media (min-width: 720px) { .mn-qv { grid-template-columns: 1fr 1fr; gap: 32px; } }
.mn-qv__media img { width: 100%; height: auto; border-radius: var(--mn-radius); background: var(--mn-mist); }
.mn-qv__title { font-size: 1.5rem; font-weight: 700; line-height: 1.2; margin: 0 40px 10px 0; }
.mn-qv__rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mn-muted); margin-bottom: 8px; }
.mn-qv__rating .star-rating { margin: 0; }
.mn-qv .price { font-size: 1.5rem; font-weight: 800; color: var(--mn-ink); margin: 0 0 12px; }
.mn-qv .price ins { color: var(--mn-sale); text-decoration: none; }
.mn-qv .price del { color: var(--mn-muted); font-size: .7em; font-weight: 500; }
.mn-qv__desc { font-size: 15px; color: var(--mn-text); margin-bottom: 18px; }
.mn-qv__cart { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.mn-qv__cart .quantity .qty { height: 48px; width: 5em; text-align: center; }
.mn-qv__cart .button { flex: 1 1 180px; height: 48px; }
.mn-qv__more { font-weight: 700; font-size: 14.5px; }

.mn-wishlist__status { color: var(--mn-muted); }

.mn-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 100000;
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	padding: 12px 20px;
	border-radius: 12px;
	background: var(--mn-ink);
	color: #fff;
	font-weight: 600;
	font-size: 14.5px;
	box-shadow: var(--mn-shadow);
	transition: opacity .2s ease, transform .2s ease;
}
.mn-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .mn-toast { bottom: 84px; } }

body.mn-modal-open { overflow: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.mn-orbit__ring ellipse:first-of-type { animation: none; }
	*, *::before, *::after { transition: none !important; }
}

/* ---------- Refinements ---------- */
body.mn .menu-toggle { padding: .65em 1em .65em 2.7em; font-size: 15px; }
body.mn .menu-toggle::before,
body.mn .menu-toggle::after,
body.mn .menu-toggle span::before { left: 1em; }
.mn-orbit { max-width: 500px; }
@media (max-width: 599px) {
	.mn-hero { padding: 28px 0 8px; }
	.mn-hero__visual { display: none; }
	.mn-announce { font-size: 12px; }
	.mn-hero__ctas .mn-btn-lg { flex: 1 1 100%; text-align: center; }
}
body.mn .site-header { padding-bottom: 0 !important; }
body.mn.mn-home .site-header { margin-bottom: 0 !important; }
body.mn .mn-empty h2 { font-weight: 700; }
