/*!
Theme Name: RegalWear Child
Theme URI: https://regalwear.eu
Description: Child theme of Blocksy — Quiet Luxury homepage, hero slider from products, WooCommerce cards.
Author: RegalWear
Template: blocksy
Version: 1.6.55
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: regalwear-child
*/

/* Base overrides live in assets/css/product-card-emag.css */

/**
 * Summer 2026 Navigation — luxury tokens (scoped). Complements assets/js/mega-menu/style.css.
 * Breakpoint: 768px (tablet/phone = hamburger + accordion).
 */
body.regal-has-mega-menu,
body.regal-summer-2026-nav {
	--rw-cream: #faf8f5;
	--rw-mocha: #4b3621;
	--rw-matte-black: #111111;
	--rw-charcoal: #555555;
	--rw-line: rgba(75, 54, 33, 0.1);
	--rw-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--rw-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rw-ease-nav: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Map onto mega menu bundle variables (inherited by .regal-mega-menu-*) */
body.regal-has-mega-menu {
	--regal-mm-cream: var(--rw-cream);
	--regal-mm-white: #ffffff;
	--regal-mm-charcoal: var(--rw-mocha);
	--regal-mm-charcoal-soft: var(--rw-charcoal);
	--regal-mm-gold: #6b5a4a;
	--regal-mm-line: var(--rw-line);
	--regal-mm-serif: var(--rw-serif);
	--regal-mm-sans: var(--rw-sans);
}

/* ==========================================================================
   Primary header navigation wrapper — single-row Summer 2026 (WP menus)
   Hierarchy: Resort Edit | Men (2) | Women (3) | Iconic Pieces | The Journal
   React mount: #regal-mega-menu-root → .regal-mega-menu-header → .regal-mega-menu-bar
   ========================================================================== */

body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-mount,
body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root {
	display: block;
	width: 100%;
	max-width: 100%;
	position: relative;
	z-index: 100000;
	overflow: visible;
}

body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header {
	width: 100%;
	background: var(--rw-cream);
	border-bottom: 1px solid var(--rw-line);
}

/* Primary row: logo | top-level nav | utilities */
body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-bar {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	box-sizing: border-box;
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0.75rem clamp(1rem, 2.5vw, 2rem);
	padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
	gap: clamp(0.5rem, 1.5vw, 1.25rem);
}

body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-bar__brand {
	flex: 0 1 auto;
	min-width: 0;
	max-width: min(220px, 28vw);
}

body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-brand__img {
	height: 42px;
	width: auto;
	max-width: 100%;
}

body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-bar__actions {
	display: flex !important;
	flex: 0 0 auto;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	margin-left: auto;
}

body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-bar__utilities {
	display: flex;
	align-items: center;
}

body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 0.35rem 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Desktop: five top-level pillars in one centered band */
@media (min-width: 768px) {
	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main {
		display: block !important;
		flex: 1 1 auto;
		min-width: 0;
		max-width: 46rem;
		margin: 0 auto;
		visibility: visible !important;
		opacity: 1 !important;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main ul[role="menubar"] {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: center !important;
		gap: clamp(0.35rem, 1.1vw, 1.15rem);
		list-style: none;
		margin: 0;
		padding: 0;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main ul[role="menubar"] > li {
		flex: 0 0 auto;
		margin: 0;
		padding: 0;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main .regal-nav-item,
	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main button[role="menuitem"],
	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main a[role="menuitem"] {
		display: inline-flex !important;
		align-items: center;
		white-space: nowrap;
		padding: 0.35rem 0.15rem;
		font-family: var(--rw-sans);
		font-size: clamp(0.6875rem, 0.75vw, 0.8125rem);
		font-weight: 400;
		letter-spacing: 0.1em;
		text-transform: lowercase;
		color: var(--rw-mocha) !important;
		background: transparent;
		border: none;
		text-decoration: none;
		transition: color 0.3s var(--rw-ease-nav);
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main a[href*="the-journal"],
	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main [data-regal-nav-id="the-journal"] {
		letter-spacing: 0.06em;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-burger {
		display: none !important;
	}

	/* Hide duplicate Blocksy header chrome — React bar is canonical */
	body.regal-summer-2026-nav.regal-has-mega-menu #header [data-id="menu"],
	body.regal-summer-2026-nav.regal-has-mega-menu #header [data-id="mobile-menu"],
	body.regal-summer-2026-nav.regal-has-mega-menu #header [data-id="logo"],
	body.regal-summer-2026-nav.regal-has-mega-menu #header .site-branding,
	body.regal-summer-2026-nav.regal-has-mega-menu #header [data-id="search"],
	body.regal-summer-2026-nav.regal-has-mega-menu #header [data-id="cart"],
	body.regal-summer-2026-nav.regal-has-mega-menu #header [data-id="account"],
	body.regal-summer-2026-nav.regal-has-mega-menu #header [data-id="woo-cart"],
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-header-search,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-header-cart,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-header-account {
		display: none !important;
		pointer-events: none !important;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu #header,
	body.regal-summer-2026-nav.regal-has-mega-menu #header.ct-header,
	body.regal-summer-2026-nav.regal-has-mega-menu .ct-header-mobile {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		max-height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	/* Text-only mega panels — no imagery or Woo product tiles */
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap img,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown img,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured-wrap,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured__media,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .product,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap ul.products,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .entry-card,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .ct-image-container,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-mega-menu-popup img,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-mega-menu-popup .product,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-mega-menu-popup ul.products,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-mega-menu-popup .entry-card {
		display: none !important;
	}

	/* Men: Linen Atelier + Tailored Shorts — two minimalist columns */
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--men .regal-mega-menu-dropdown__grid.sub-menu,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--men > .regal-mega-menu-dropdown__inner > .sub-menu {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 2.5rem 3rem !important;
		align-items: start !important;
		max-width: 36rem;
		margin: 0 auto;
	}

	/* Women: Fluid Dresses + Tailored Separates + Lightweight Layers — three columns */
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--women .regal-mega-menu-dropdown__grid.sub-menu,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--women > .regal-mega-menu-dropdown__inner > .sub-menu {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 2.5rem !important;
		align-items: start !important;
	}

	/* Resort Edit & Iconic Pieces: direct links — suppress empty panels */
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--the-resort-edit,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--resort,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--the-iconic-pieces {
		display: none !important;
	}

	/* Sub-navigation: typographic hierarchy only */
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__title,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown a.regal-mega-menu-col__title {
		display: block;
		margin: 0 0 0.85rem;
		padding: 0 0 0.65rem;
		border-bottom: 1px solid var(--rw-line);
		font-family: var(--rw-serif);
		font-size: 0.9375rem;
		font-weight: 500;
		letter-spacing: 0.04em;
		text-transform: none;
		color: var(--rw-mocha) !important;
		text-decoration: none;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__list,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__list.sub-menu {
		display: flex !important;
		flex-direction: column !important;
		gap: 0.4rem;
		list-style: none;
		margin: 0;
		padding: 0;
		opacity: 1 !important;
		visibility: visible !important;
		max-height: none !important;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__list a,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-col__link {
		font-family: var(--rw-sans);
		font-size: 0.875rem;
		font-weight: 400;
		letter-spacing: 0.03em;
		line-height: 1.45;
		color: var(--rw-charcoal) !important;
		text-decoration: none;
		transition: color 0.3s var(--rw-ease-nav);
	}

	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__list a:hover,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-col__link:hover,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown a.regal-mega-menu-col__title:hover {
		color: var(--rw-matte-black) !important;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-col__rule {
		display: block;
		width: 1.5rem;
		height: 1px;
		margin-bottom: 0.75rem;
		background: rgba(75, 54, 33, 0.28);
	}
}

/* Tablet / phone: logo + utilities + burger; nav in drawer */
@media (max-width: 767px) {
	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main {
		display: none !important;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-burger {
		display: flex !important;
	}
}

body.regal-has-mega-menu .regal-mega-menu-header.regal-mega-menu-header--sticky {
	background: rgba(250, 248, 245, 0.97);
	border-bottom-color: var(--rw-line);
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-brand {
	font-family: var(--rw-serif);
	color: var(--rw-mocha);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main button,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main a[role="menuitem"] {
	font-family: var(--rw-sans);
	color: var(--rw-mocha);
	font-weight: 400;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: lowercase;
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main button:hover,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main a[role="menuitem"]:hover,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main button[aria-expanded="true"] {
	color: var(--rw-matte-black);
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils a {
	font-family: var(--rw-sans);
	color: var(--rw-charcoal);
	font-weight: 400;
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils a:hover,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils a:focus-visible {
	color: var(--rw-matte-black);
}

/* Laptop / desktop: text-only mega columns (Men = 2, Women = 3) — see primary wrapper block above */
@media (min-width: 768px) {
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--women .regal-mega-menu-dropdown__grid.sub-menu {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 2.5rem !important;
		align-items: start !important;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown img,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap img,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .product,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap ul.products,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured-wrap,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-mega-menu-popup img,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-mega-menu-popup .entry-card,
	body.regal-summer-2026-nav.regal-has-mega-menu #header .ct-mega-menu-popup ul.products {
		display: none !important;
	}
}

/* Desktop: soft fade-in for full-width panel (ease-in-out) */
@media (min-width: 768px) {
	body.regal-has-mega-menu .regal-mega-menu-panel-wrap .regal-mega-menu-dropdown {
		background: var(--rw-cream);
		animation: rw-summer-nav-fade 0.3s var(--rw-ease-nav) both;
	}

	@keyframes rw-summer-nav-fade {
		from {
			opacity: 0;
			transform: translateX(-50%) translateY(-8px);
		}
		to {
			opacity: 1;
			transform: translateX(-50%) translateY(0);
		}
	}
}

/* Resort Edit / Iconic Pieces: flat links only — no mega panel surface */
body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--resort,
body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--the-iconic-pieces {
	display: none !important;
}

/* Mobile / tablet <768: generous touch targets */
@media (max-width: 767px) {
	body.regal-has-mega-menu .regal-mega-mobile__trigger,
	body.regal-has-mega-menu .regal-drawer-content .regal-mega-mobile__trigger {
		padding: 1.15rem 0;
		min-height: 3.25rem;
		font-size: 0.8125rem;
		letter-spacing: 0.08em;
		text-transform: lowercase;
		color: #4b3621 !important;
	}

	body.regal-has-mega-menu .regal-mega-mobile__group .sub-menu a,
	body.regal-has-mega-menu .regal-drawer-content .regal-mega-col__link {
		padding: 0.65rem 0;
		font-size: 0.9375rem;
		color: #6b5a4a !important;
	}

	body.regal-has-mega-menu .regal-mega-mobile__link-top,
	body.regal-has-mega-menu .regal-drawer-content .regal-mega-mobile__link-top {
		padding: 1.15rem 0;
		min-height: 3.25rem;
		color: #4b3621 !important;
		text-decoration: none !important;
	}

	body.regal-has-mega-menu .regal-drawer-content .regal-mega-mobile__head {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 0.75rem !important;
	}

	body.regal-has-mega-menu .regal-drawer-content .regal-mega-mobile__close {
		flex-shrink: 0 !important;
		position: relative !important;
		z-index: 2 !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils a {
		padding: 0.5rem 0.25rem;
	}
}

/* Reinforce desktop dropdown: mocha links, matte black hover, ease-in-out */
@media (min-width: 768px) {
	body.regal-has-mega-menu .regal-mega-menu-dropdown .regal-mega-menu-col__list a {
		color: #4b3621 !important;
		transition: color 0.3s ease-in-out !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-dropdown .regal-mega-menu-col__list a:hover,
	body.regal-has-mega-menu .regal-mega-menu-dropdown .regal-mega-menu-col__list a:focus-visible {
		color: #111111 !important;
	}
}

/* Mobile drawer: hide promo image block for parity with desktop text-first nav */
@media (max-width: 767px) {
	body.regal-has-mega-menu .regal-mega-mobile__featured {
		display: none;
	}
}

/**
 * Summer 2026 — defensive overrides vs parent theme nav rules (cached bundles, bleed).
 */
body.regal-has-mega-menu .regal-mega-menu-header {
	background: #faf8f5;
}

@media (min-width: 768px) {
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__title,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .menu-item-header {
		font-family: var(--rw-sans), "Source Sans 3", system-ui, sans-serif !important;
		color: #4b3621 !important;
	}

	/* Theme-injected promo / hero blocks — never show in Summer 2026 panels */
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured-wrap,
	body.regal-has-mega-menu #regal-mega-menu-root .mega-featured,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured--empty {
		display: none !important;
	}

	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured__media,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-featured__media img {
		display: none !important;
	}

	/* Men / Women: three-column grid (Blocksy cannot collapse to single promo column) */
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown__grid.sub-menu {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 2.5rem !important;
	}

	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__list {
		display: flex !important;
		flex-direction: column !important;
		opacity: 1 !important;
		visibility: visible !important;
		max-height: none !important;
	}
}

/* Mobile: logo left, utilities + burger right — no overlap */
@media (max-width: 767px) {
	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-mount,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root {
		width: 100%;
		max-width: 100vw;
		overflow: visible;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-summer-2026-header .regal-mega-menu-bar,
	body.regal-summer-2026-nav.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-bar {
		display: flex !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		box-sizing: border-box !important;
		gap: 0.35rem !important;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-bar__brand {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 52%;
		padding-right: 0.65rem;
		margin-right: 0;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-bar__actions {
		flex: 0 0 auto;
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center;
		justify-content: flex-end;
		gap: 0.15rem;
		margin-left: auto;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-bar__utilities {
		display: flex;
		flex: 0 0 auto;
		flex-shrink: 0;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils {
		display: flex !important;
		flex-wrap: nowrap !important;
		justify-content: flex-end !important;
		margin: 0;
		padding: 0;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-bar__actions {
		gap: 0.5rem !important;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils a,
	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils button {
		transition: all 0.3s ease-in-out;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-menu-burger {
		flex: 0 0 auto;
		pointer-events: auto !important;
		cursor: pointer !important;
		z-index: 3;
	}

	body.regal-summer-2026-nav.regal-has-mega-menu .regal-mega-mobile__panel {
		pointer-events: auto !important;
		z-index: 100030;
		transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
	}
}

@media (max-width: 479px) {
	body.regal-has-mega-menu .regal-mega-menu-brand {
		font-size: 0.9375rem !important;
		letter-spacing: 0.04em !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils a,
	body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils button {
		font-size: 0.625rem !important;
		padding: 0.35rem 0.15rem !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils__svg {
		width: 1.05rem !important;
		height: 1.05rem !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-burger {
		min-width: 2.25rem;
		min-height: 2.25rem;
		padding: 0.35rem;
	}
}

/* ==========================================================================
   Summer 2026 — Cart, Blocksy dedupe, mega panels, mobile bar, quiet luxury
   ========================================================================== */

/* —— 1. Cart / bag: clicks, visibility, stacking —— */
body.regal-has-mega-menu .regal-mega-menu-utils__link--bag,
body.regal-has-mega-menu .regal-mega-menu-utils__link--account,
body.regal-has-mega-menu .header-cart-link,
body.regal-has-mega-menu a.regal-mega-menu-utils__link--bag,
body.regal-has-mega-menu .ct-header-cart,
body.regal-has-mega-menu .ct-header-cart a,
body.regal-has-mega-menu .ct-cart-item,
body.regal-has-mega-menu .ct-cart-item a,
body.single-product .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button,
body.single-product .add_to_cart_button,
body.woocommerce .add_to_cart_button,
body.woocommerce .regal-emag-cart {
	pointer-events: auto !important;
	cursor: pointer !important;
	opacity: 1 !important;
}

body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart .quantity {
	display: inline-block !important;
	visibility: visible !important;
}

body.regal-has-mega-menu .regal-mega-menu-utils__item--bag,
body.regal-has-mega-menu .regal-mega-menu-utils__link--bag {
	position: relative;
	z-index: 100002 !important;
}

body.regal-has-mega-menu .ct-header-cart .ct-cart-content,
body.regal-has-mega-menu .ct-header-cart [data-placement],
body.regal-has-mega-menu div.widget_shopping_cart,
body.regal-has-mega-menu .ct-panel.ct-cart-panel,
body.regal-has-mega-menu .ct-offcanvas-cart,
body.regal-has-mega-menu #woo-cart-panel {
	z-index: 99999 !important;
}

body.regal-has-mega-menu .regal-mega-menu-mount,
body.regal-has-mega-menu .regal-mega-menu-header {
	overflow: visible !important;
	pointer-events: auto;
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils__svg {
	pointer-events: none;
}

.regal-cart-fragment-count--empty {
	display: none !important;
}

/* —— 2. Desktop: hide Blocksy / WC promo bleed inside mega panels —— */
@media (min-width: 768px) {
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap img,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown img,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .product,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .woocommerce,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap ul.products,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .entry-card,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .ct-image-container,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .badge,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .onsale,
	body.regal-has-mega-menu #header .ct-mega-menu-popup img,
	body.regal-has-mega-menu #header .ct-mega-menu-popup .product,
	body.regal-has-mega-menu #header .ct-mega-menu-popup ul.products,
	body.regal-has-mega-menu #header .sub-menu li.product {
		display: none !important;
	}

	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown__grid.sub-menu,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-panel-wrap .sub-menu,
	body.regal-has-mega-menu #header .ct-mega-menu-popup > .sub-menu {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 2.5rem !important;
		align-items: start !important;
	}

}

/* Summer 2026 — column titles as luxury links (mocha → matte black) */
@media (min-width: 768px) {
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__title {
		letter-spacing: 0.08em;
		text-transform: none;
	}

	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown .regal-mega-menu-col__list a,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown a.regal-mega-menu-col__title {
		letter-spacing: 0.04em;
		text-decoration: none;
	}

	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown a.regal-mega-menu-col__title:hover {
		color: #111111 !important;
	}
}

/* —— 3. Mobile: logo left, utilities + burger right —— */
@media (max-width: 767px) {
	body.regal-has-mega-menu .regal-mega-menu-mount .regal-mega-menu-header .regal-mega-menu-bar,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-bar,
	body.regal-has-mega-menu .ct-header-mobile [data-row="middle"] {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-bar__brand {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		max-width: 58% !important;
		padding-right: 0.75rem !important;
		margin-right: 0 !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-bar__actions {
		flex: 0 0 auto !important;
		margin-left: auto !important;
		white-space: nowrap !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-bar__utilities {
		flex: 0 0 auto !important;
	}

	body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils {
		flex-wrap: nowrap !important;
		justify-content: flex-end !important;
	}

	body.regal-has-mega-menu .regal-mega-mobile__panel,
	body.regal-has-mega-menu .regal-drawer-content,
	body.regal-has-mega-menu .regal-mega-menu-mobile-drawer {
		background: #faf8f5 !important;
	}
}

/* —— 4. Quiet luxury: cream canvas, mocha → matte black, soft motion —— */
body.regal-has-mega-menu .regal-mega-menu-header,
body.regal-has-mega-menu .regal-mega-menu-panel-wrap .regal-mega-menu-dropdown,
body.regal-has-mega-menu .regal-mega-mobile__panel,
body.regal-has-mega-menu .regal-drawer-content {
	background-color: #faf8f5 !important;
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-brand,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main a,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main button,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils a,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils button,
body.regal-has-mega-menu .regal-mega-menu-dropdown a,
body.regal-has-mega-menu .regal-mega-mobile__panel a,
body.regal-has-mega-menu .regal-mega-mobile__panel button,
body.regal-has-mega-menu .regal-drawer-content a,
body.regal-has-mega-menu .regal-drawer-content button,
body.regal-has-mega-menu .regal-drawer-content summary,
body.regal-has-mega-menu #regal-mobile-nav a,
body.single-product .product_title,
body.single-product .woocommerce-Price-amount,
body.single-product .summary .price {
	color: #4b3621;
	transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main a:hover,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-nav-main button:hover,
body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils a:hover,
body.regal-has-mega-menu .regal-mega-menu-dropdown a:hover,
body.regal-has-mega-menu .regal-mega-mobile__panel a:hover,
body.regal-has-mega-menu .regal-drawer-content a:hover,
body.regal-has-mega-menu #regal-mobile-nav a:hover,
body.single-product .summary a:hover {
	color: #111111 !important;
}

body.single-product .single_add_to_cart_button {
	background-color: #4b3621 !important;
	color: #faf8f5 !important;
	border-color: #4b3621 !important;
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

body.single-product .single_add_to_cart_button:hover {
	background-color: #111111 !important;
	border-color: #111111 !important;
}

/* ==========================================================================
   Summer 2026 Navigation — consolidated luxury system (v1.6.2, WP menus)
   ========================================================================== */

/* Premium motion — no harsh panel pops */
body.regal-has-mega-menu .regal-mega-menu-header,
body.regal-has-mega-menu .regal-mega-menu-panel-wrap,
body.regal-has-mega-menu .regal-mega-menu-dropdown,
body.regal-has-mega-menu .regal-mega-mobile__panel,
body.regal-has-mega-menu .regal-drawer-content,
body.regal-has-mega-menu .regal-mega-menu-nav-main button,
body.regal-has-mega-menu .regal-mega-menu-nav-main a,
body.regal-has-mega-menu .regal-mega-menu-utils a,
body.regal-has-mega-menu .regal-mega-menu-utils button {
	transition: all 0.3s ease-in-out;
}

/* Desktop: Blocksy bleed — hide promos/images under Men & Women only */
@media (min-width: 768px) {
	body.regal-has-mega-menu #regal-mega-menu-root [data-regal-mega-for="men"] .regal-mega-menu-panel-wrap img,
	body.regal-has-mega-menu #regal-mega-menu-root [data-regal-mega-for="women"] .regal-mega-menu-panel-wrap img,
	body.regal-has-mega-menu #header [data-menu*="men"] .ct-mega-menu-popup img,
	body.regal-has-mega-menu #header [data-menu*="women"] .ct-mega-menu-popup img,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--men img,
	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--women img,
	body.regal-has-mega-menu #header .ct-mega-menu-popup .entry-card,
	body.regal-has-mega-menu #header .ct-mega-menu-popup .ct-image-container,
	body.regal-has-mega-menu #header .ct-mega-menu-popup .badge,
	body.regal-has-mega-menu #header .ct-mega-menu-popup .product,
	body.regal-has-mega-menu #header .ct-mega-menu-popup ul.products,
	body.regal-has-mega-menu #header .sub-menu li.product,
	body.regal-has-mega-menu #header .ct-mega-menu-popup .mega-menu-article {
		display: none !important;
	}

	body.regal-has-mega-menu #regal-mega-menu-root .regal-mega-menu-dropdown--women .regal-mega-menu-dropdown__grid.sub-menu,
	body.regal-has-mega-menu #header .ct-mega-menu-popup > .sub-menu {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 2.5rem !important;
	}
}

body.regal-has-mega-menu #header .ct-mega-menu-popup {
	background: #faf8f5 !important;
}

/* Mobile: logo isolation + utility bundle (under 480px scale) */
@media (max-width: 767px) {
	body.regal-summer-2026-nav .regal-mega-menu-mount {
		width: 100%;
		max-width: 100vw;
		overflow: visible;
	}

	body.regal-summer-2026-nav .regal-mega-menu-bar__brand .regal-mega-menu-brand {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (max-width: 479px) {
	body.regal-summer-2026-nav .regal-mega-menu-brand {
		font-size: 0.875rem !important;
		max-width: 42vw;
	}

	body.regal-summer-2026-nav .regal-mega-menu-header .regal-mega-menu-utils a,
	body.regal-summer-2026-nav .regal-mega-menu-header .regal-mega-menu-utils button {
		font-size: 0.5625rem !important;
		letter-spacing: 0.06em !important;
	}
}

/* Cart: bag → https://regalwear.eu/cart/ — header, Blocksy, product pages */
body.regal-has-mega-menu a.regal-mega-menu-utils__link--bag[href],
body.regal-has-mega-menu .header-cart-link,
body.regal-has-mega-menu .ct-header-cart,
body.regal-has-mega-menu .ct-header-cart a,
body.regal-has-mega-menu .ct-cart-item,
body.regal-has-mega-menu .ct-cart-content,
body.regal-has-mega-menu #header [data-id="cart"],
body.regal-has-mega-menu #header [data-id="cart"] a,
body.regal-has-mega-menu #header [data-id="woo-cart"],
body.regal-has-mega-menu div.widget_shopping_cart,
body.single-product .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button,
body.woocommerce .add_to_cart_button:not(.regal-emag-cart) {
	pointer-events: auto !important;
	cursor: pointer !important;
	opacity: 1 !important;
	display: inline-block !important;
}

body.regal-has-mega-menu a.regal-mega-menu-utils__link--bag[href] {
	display: inline-flex !important;
}

body.regal-has-mega-menu div.widget_shopping_cart,
body.regal-has-mega-menu .ct-panel.ct-cart-panel,
body.regal-has-mega-menu .ct-offcanvas-cart,
body.regal-has-mega-menu #woo-cart-panel,
body.regal-has-mega-menu .ct-header-cart .ct-cart-content {
	z-index: 99999 !important;
	pointer-events: auto !important;
}

/* Single product: never block WooCommerce form interactions under sticky header */
body.single-product .regal-mega-menu-mount {
	pointer-events: none;
}

body.single-product .regal-mega-menu-mount * {
	pointer-events: auto;
}

body.single-product form.cart,
body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart .quantity {
	pointer-events: auto !important;
	position: relative;
	z-index: 2;
}

/* Product loop cards: override legacy yellow cart tile if theme cache lingers */
body.regal-has-mega-menu .regal-emag-cart,
body.woocommerce .regal-emag-cart {
	background: #faf8f5 !important;
	border: 1px solid #4b3621 !important;
	color: #4b3621 !important;
}

body.regal-has-mega-menu .regal-emag-cart:hover,
body.woocommerce .regal-emag-cart:hover {
	background: #4b3621 !important;
	color: #faf8f5 !important;
}

/* React bag is primary — Blocksy cart hidden via mega-menu-integrate.css */

/* ==========================================================================
   Google Merchant — Quiet Luxury footer (Blocksy widget + custom footer)
   ========================================================================== */
body.regal-has-custom-footer .regal-footer-wrap,
body.regal-footer-merchant .regal-footer-wrap,
body.regal-footer-luxury .regal-footer-wrap,
body.regal-footer-merchant .ct-footer,
body.regal-footer-luxury .ct-footer,
body.regal-footer-merchant #footer,
body.regal-footer-luxury #footer,
body.regal-footer-merchant footer[data-id="type-1"],
body.regal-footer-luxury footer[data-id="type-1"] {
	background: #faf8f5 !important;
	border-top: 1px solid rgba(75, 54, 33, 0.12) !important;
	box-shadow: none !important;
}

body.regal-footer-luxury .ct-footer [class*="separator"],
body.regal-footer-luxury .ct-footer hr,
body.regal-footer-merchant .ct-footer hr {
	border: none !important;
	border-top: 1px solid rgba(75, 54, 33, 0.12) !important;
	background: transparent !important;
}

body.regal-footer-merchant .ct-footer .widget-title,
body.regal-footer-merchant .ct-footer .wp-block-heading,
body.regal-footer-merchant .ct-footer h2,
body.regal-footer-merchant .ct-footer h3,
body.regal-footer-merchant .regal-footer__title {
	font-size: 0.85rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.15em !important;
	font-weight: 500 !important;
	margin-bottom: 1.5rem !important;
	color: #4b3621 !important;
}

body.regal-footer-merchant .ct-footer,
body.regal-footer-merchant .ct-footer p,
body.regal-footer-merchant .ct-footer li,
body.regal-footer-merchant .ct-footer a,
body.regal-footer-merchant .regal-footer-wrap {
	color: #4b3621;
}

body.regal-footer-merchant .ct-footer a:hover,
body.regal-footer-merchant .ct-footer a:focus-visible,
body.regal-has-custom-footer .regal-footer-nav__list a:hover,
body.regal-has-custom-footer .regal-footer-nav__list a:focus-visible {
	color: #111111 !important;
}

body.regal-footer-merchant .ct-footer ul,
body.regal-footer-merchant .ct-footer .menu,
body.regal-has-custom-footer .regal-footer-nav__list {
	list-style: none !important;
	padding-left: 0 !important;
}

body.regal-footer-merchant .ct-footer ul li::marker,
body.regal-footer-merchant .ct-footer .menu li::before {
	display: none !important;
	content: none !important;
}

body.regal-footer-merchant .ct-footer a {
	text-decoration: none !important;
	line-height: 1.8 !important;
}

@media (max-width: 767px) {
	body.regal-footer-merchant .ct-footer .ct-container,
	body.regal-has-custom-footer .regal-footer__grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 2.5rem !important;
		text-align: center !important;
	}
}

@media (min-width: 768px) {
	body.regal-has-custom-footer .regal-footer--merchant .regal-footer__grid,
	body.regal-has-custom-footer .regal-footer--merchant .regal-footer__col {
		text-align: left !important;
	}

	body.regal-has-custom-footer .regal-footer--merchant .regal-footer-nav__list {
		align-items: flex-start !important;
	}
}

/* ==========================================================================
   Quiet Luxury — canonical header nav (logo + mobile utilities)
   ========================================================================== */

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-bar {
	min-height: 90px;
	max-height: 90px;
	align-items: center;
	box-sizing: border-box;
}

body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-brand {
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
}

@media (max-width: 767px) {
	body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-bar__utilities,
	body.regal-has-mega-menu .regal-mega-menu-header .regal-mega-menu-utils,
	body.regal-has-mega-menu .header-utilities {
		display: flex !important;
		align-items: center !important;
		gap: 1.2rem !important;
	}
}

/* --- THE JOURNAL CLEANUP RULES (APPEND ONLY) --- */

/* 1. Hide the administrative author email string completely */
.entry-meta .author,
.entry-meta i.ct-meta-element-author,
.ct-meta-element-author,
[class*="meta-author"] {
	display: none !important;
}

/* 2. Soften article titles to match chocolate mocha system */
.entry-title a,
.entry-card .entry-title a {
	color: #4B3621 !important;
	font-weight: 400 !important;
	letter-spacing: 0.03em !important;
}

/* 3. Smooth hover transition to matte black */
.entry-title a:hover,
.entry-card .entry-title a:hover {
	color: #111111 !important;
}

/* --- THE JOURNAL ATELIER REFINEMENT (APPEND ONLY) --- */

/* 1. Safely hide the admin email address from the article metadata lines */
.entry-meta .author,
.entry-meta i.ct-meta-element-author,
.ct-meta-element-author,
a[href*="/author/syedcomputeracademy"] {
    display: none !important;
}

/* 2. Soften the entry titles to match our warm chocolate mocha identity */
.entry-title a,
.entry-card .entry-title a {
    color: #4B3621 !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
}

/* 3. Smooth transition to absolute matte black on hover states */
.entry-title a:hover,
.entry-card .entry-title a:hover {
    color: #111111 !important;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* 4. Sanitize column layout spacing slightly on the main journal grid */
.site-main [class*="entries"] {
    gap: 3.5rem 2.5rem !important;
}

/* --- HEADER NAVIGATION SPACING & ALIGNMENT (APPEND ONLY) --- */

/* Align header menu items to match our delicate, quiet luxury tracking system */
.header-menu a,
.ct-header-navigation a,
a[href*="/the-journal/"] {
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.12em !important;
    color: #4B3621 !important;
    transition: color 0.3s ease !important;
}

/* Ensure a beautiful, soft matte black color switch on active hover links */
.header-menu a:hover,
.ct-header-navigation a:hover {
    color: #111111 !important;
}

/* --- THE JOURNAL HEADER ALIGNMENT (APPEND ONLY) --- */

/* Force the new journal link to match the exact lowercase luxury spacing of the header */
.header-menu a[href*="/the-journal/"],
.ct-header-navigation a[href*="/the-journal/"] {
    text-transform: lowercase !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    color: #4B3621 !important;
    transition: color 0.3s ease !important;
}

/* Match the soft hover state */
.header-menu a[href*="/the-journal/"]:hover,
.ct-header-navigation a[href*="/the-journal/"]:hover {
    color: #111111 !important;
}

/* --- MOBILE OFF-CANVAS MENU LUXURY TYPOGRAPHY (APPEND ONLY) --- */

/* Force all text in the mobile slide-out menu to match our minimalist header */
.ct-offcanvas-container a,
.mobile-menu a,
.offcanvas-menu a {
    text-transform: lowercase !important;
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    color: #4B3621 !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Submenu/Child items text treatment slightly smaller and softer */
.ct-offcanvas-container .sub-menu a,
.mobile-menu .sub-menu a {
    font-size: 0.95rem !important;
    opacity: 0.85 !important;
    padding-left: 1rem !important;
}

/* --- THE ATELIER LOGO REFINEMENT (APPEND ONLY) --- */

/* Give the text logo the premium, spaced-out editorial look of European fashion houses */
.site-title a, 
.site-branding .site-title,
.ct-site-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.28em !important;
    font-size: 1.25rem !important;
    color: #4B3621 !important;
    transition: opacity 0.3s ease !important;
}

/* Add a delicate hover state fade rather than a harsh color change */
.site-title a:hover,
.ct-site-title:hover {
    opacity: 0.75 !important;
    color: #4B3621 !important;
}

/* Adjust mobile layout logo scaling smoothly to prevent clipping */
@media (max-width: 768px) {
    .site-title a, 
    .ct-site-title {
        font-size: 1.05rem !important;
        letter-spacing: 0.22em !important;
    }
}

/* --- Category hero (pages / custom banners — not WooCommerce product categories) --- */

body:not(.tax-product_cat) .page-header[data-background],
body:not(.tax-product_cat) .hero-category-banner {
	position: relative !important;
	min-height: 280px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-size: cover !important;
	background-position: center 35% !important;
	padding: 4rem 2rem !important;
	margin-bottom: 3rem !important;
	overflow: hidden !important;
}

body:not(.tax-product_cat) .page-header[data-background]::before,
body:not(.tax-product_cat) .hero-category-banner::before {
	content: "" !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(24, 20, 17, 0.45) !important;
	z-index: 1 !important;
}

body:not(.tax-product_cat) .page-header[data-background] .page-title,
body:not(.tax-product_cat) .hero-category-banner-content {
	position: relative !important;
	z-index: 2 !important;
	color: #ffffff !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
	max-width: 700px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body:not(.tax-product_cat) .page-header[data-background] .term-description,
body:not(.tax-product_cat) .page-header[data-background] p {
	color: #ffffff !important;
	opacity: 0.95 !important;
}

/* --- Product categories: compact Quiet Luxury header (no hero band / gap) --- */

body.tax-product_cat .page-header[data-background],
body.tax-product_cat .woocommerce-products-header,
body.tax-product_cat .hero-category-banner {
	position: relative !important;
	min-height: 0 !important;
	height: auto !important;
	display: block !important;
	align-items: unset !important;
	justify-content: unset !important;
	background-image: none !important;
	background-color: transparent !important;
	background-size: unset !important;
	padding: clamp(0.75rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 2rem) !important;
	margin: 0 0 clamp(0.75rem, 2vw, 1rem) !important;
	overflow: visible !important;
}

body.tax-product_cat .page-header[data-background]::before,
body.tax-product_cat .woocommerce-products-header::before,
body.tax-product_cat .hero-category-banner::before {
	display: none !important;
	content: none !important;
}

body.tax-product_cat .page-header[data-background] .page-title,
body.tax-product_cat .woocommerce-products-header h1,
body.tax-product_cat .woocommerce-products-header .term-description,
body.tax-product_cat .hero-category-banner-content {
	position: static !important;
	z-index: auto !important;
	max-width: 700px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	color: #4b3621 !important;
	text-shadow: none !important;
	text-align: center !important;
}

body.tax-product_cat .woocommerce-products-header {
	text-align: center !important;
	padding: 40px 20px !important;
	max-width: 700px !important;
	margin: 0 auto clamp(0.75rem, 2vw, 1rem) !important;
}

body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header h1,
body.tax-product_cat .page-header[data-background] .page-title {
	text-align: center !important;
	font-size: 2rem !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
}

body.tax-product_cat .woocommerce-products-header .term-description,
body.tax-product_cat .page-header[data-background] .term-description,
body.tax-product_cat .page-header[data-background] p,
body.tax-product_cat .term-description {
	text-align: center !important;
	max-width: 600px !important;
	margin: 0 auto !important;
	font-size: 1rem !important;
	line-height: 1.7 !important;
	color: #5a5a5a !important;
}

body.tax-product_cat .woocommerce-products-header .term-description strong,
body.tax-product_cat .page-header[data-background] .term-description strong {
	color: #4b3621 !important;
}

/* Tighten space before result count / product grid */
body.tax-product_cat .woocommerce-products-header:empty,
body.tax-product_cat .page-header[data-background]:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.tax-product_cat .woocommerce-notices-wrapper:first-child,
body.tax-product_cat form.woocommerce-ordering,
body.tax-product_cat p.woocommerce-result-count {
	margin-top: 0 !important;
}

body.tax-product_cat .woocommerce-result-count + form.woocommerce-ordering,
body.tax-product_cat p.woocommerce-result-count {
	padding-top: 0 !important;
}

/* Blocksy Woo category hero (type-2) + listing container — removes gap before grid */
body.tax-product_cat .hero-section[data-type="type-2"] {
	--container-padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	padding: 40px 20px !important;
	margin: 0 auto !important;
	background-color: transparent !important;
	background-image: none !important;
	text-align: center !important;
}

body.tax-product_cat .hero-section[data-type="type-2"] .entry-header,
body.tax-product_cat .hero-section[data-type="type-2"] .entry-header.ct-container-narrow {
	margin: 0 auto !important;
	padding: 0 !important;
	max-width: 700px !important;
	text-align: center !important;
}

body.tax-product_cat .hero-section[data-type="type-2"] .page-title {
	margin: 0 auto 0.5rem !important;
	font-size: 2rem !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: #4b3621 !important;
	text-align: center !important;
}

body.tax-product_cat .hero-section[data-type="type-2"] .page-description,
body.tax-product_cat .hero-section[data-type="type-2"] .page-description p {
	margin: 0 auto !important;
	max-width: 600px !important;
	color: #5a5a5a !important;
	font-size: 1rem !important;
	line-height: 1.7 !important;
	text-align: center !important;
}

body.tax-product_cat .hero-section[data-type="type-2"] + .ct-container,
body.tax-product_cat .hero-section[data-type="type-2"] + .ct-container[data-vertical-spacing] {
	padding-top: 0 !important;
	margin-top: 0 !important;
	--theme-content-vertical-spacing: 0 !important;
}

body.tax-product_cat .hero-section[data-type="type-2"] + .ct-container > section {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.tax-product_cat .hero-section[data-type="type-2"] + .ct-container .woocommerce-products-header {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

body.tax-product_cat .hero-section[data-type="type-2"] + .ct-container .woo-listing-top {
	margin-top: 0 !important;
	padding-top: clamp(0.5rem, 1.5vw, 0.75rem) !important;
}

/* v1.6.96 — Blocksy type-2 hero must not mask WooCommerce product grid */
body.tax-product_cat .hero-section[data-type="type-2"] .ct-media-container,
body.tax-product_cat .hero-section[data-type="type-2"] .ct-image-container,
body.tax-product_cat .hero-section[data-type="type-2"] picture,
body.tax-product_cat .hero-section[data-type="type-2"] .ct-background-image,
body.tax-product_cat .hero-section[data-type="type-2"] .ct-hero-media {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	overflow: hidden !important;
}

body.tax-product_cat .hero-section[data-type="type-2"] {
	position: relative !important;
	z-index: 1 !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	background-image: none !important;
	background-color: transparent !important;
}

body.tax-product_cat .ct-container ul.products,
body.tax-product_cat ul.products {
	display: grid !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: relative !important;
	z-index: 2 !important;
}

body.regal-has-mega-menu .regal-mega-mobile__shop-all {
	display: block;
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: lowercase;
	color: #4b3621;
	text-decoration: none;
}

/* ==========================================================================
   v1.6.122 — WooCommerce buttons, product page mobile, cards, WhatsApp
   ========================================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.alt,
.woocommerce-page a.button,
a.add_to_cart_button,
a.product_type_variable,
button.single_add_to_cart_button,
.single_add_to_cart_button {
	background-color: #2c2c2c !important;
	color: #fdfaf6 !important;
	border-radius: 2px !important;
	font-size: 0.75rem !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	border: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover,
a.add_to_cart_button:hover {
	background-color: #4a5240 !important;
	color: #fdfaf6 !important;
}

/* Product card badges */
.rw-shop-card__media,
.rw-product-related__item .rw-shop-card__media {
	position: relative;
}

.rw-card-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	z-index: 2;
	pointer-events: none;
}

.rw-card-badges .rw-card-wish {
	pointer-events: auto;
}

.rw-badge-new {
	background: #2c2c2c;
	color: #fdfaf6;
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 2px;
}

.rw-badge-new--empty {
	background: transparent;
	padding: 0;
	min-width: 0;
}

.rw-card-wish {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	border: 0.5px solid rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #2c2c2c;
	padding: 0;
}

.rw-card-wish.active,
.rw-card-wish.wishlisted {
	color: #8b1a1a;
}

.rw-shop-card__media > .rw-wish-btn:not(.rw-card-wish) {
	display: none;
}

@media (max-width: 767px) {
	.concierge-button,
	.whatsapp-float,
	.regal-whatsapp-float,
	.wp-whatsapp-button,
	a[href*="wa.me"],
	a[href*="whatsapp.com"],
	a[href*="whatsapp"],
	#whatsapp-button {
		position: fixed !important;
		bottom: 80px !important;
		left: 16px !important;
		z-index: 9998 !important;
	}

	.product_title.entry-title,
	.rw-single-product__title {
		font-size: 1.4rem !important;
		font-weight: 400 !important;
		color: #2c2c2c !important;
		padding: 0 16px !important;
		margin: 12px 0 !important;
	}

	.single-product .price,
	.single-product .rw-single-product__price,
	.woocommerce-Price-amount {
		font-size: 1.3rem !important;
		font-weight: 500 !important;
		color: #5c4033 !important;
		display: block !important;
		padding: 0 16px !important;
		margin: 8px 0 !important;
	}

	.single-product .cart,
	.single-product .rw-single-product__purchase,
	.woocommerce-variation-add-to-cart {
		padding: 0 16px !important;
	}

	.single_add_to_cart_button {
		display: block !important;
		width: 100% !important;
		padding: 16px !important;
		background: #2c2c2c !important;
		color: #fdfaf6 !important;
		font-size: 0.8rem !important;
		letter-spacing: 0.15em !important;
		text-transform: uppercase !important;
		border: none !important;
		border-radius: 2px !important;
		margin: 16px 0 !important;
	}

	.rw-single-product__wishlist,
	.yith-wcwl-add-to-wishlist,
	.add_to_wishlist {
		display: flex !important;
		width: calc(100% - 32px) !important;
		margin-left: 16px !important;
		margin-right: 16px !important;
		padding: 14px !important;
		border: 0.5px solid #2c2c2c !important;
		background: transparent !important;
		color: #2c2c2c !important;
		font-size: 0.75rem !important;
		letter-spacing: 0.12em !important;
		text-transform: uppercase !important;
		text-align: center !important;
		text-decoration: none !important;
		border-radius: 2px !important;
		margin-bottom: 16px !important;
		justify-content: center;
		align-items: center;
		gap: 8px;
	}

	.rw-trust-signals,
	.rw-single-product__trust {
		display: flex !important;
		flex-direction: column !important;
		gap: 8px !important;
		padding: 16px !important;
		border-top: 0.5px solid #e8e0d6 !important;
		margin: 16px 0 !important;
		list-style: none;
	}

	.rw-category-badge,
	.rw-single-product__category-badge {
		display: inline-block !important;
		background: #4a5240 !important;
		color: #f5f0e8 !important;
		font-size: 9px !important;
		letter-spacing: 0.12em !important;
		text-transform: uppercase !important;
		padding: 4px 10px !important;
		border-radius: 2px !important;
		margin: 12px 16px 0 !important;
	}

	.rw-seo-section {
		padding: 20px 16px !important;
		border-top: 0.5px solid #e8e0d6 !important;
	}

	.rw-seo-section h2 {
		font-size: 1.1rem !important;
		font-weight: 500 !important;
		color: #2c2c2c !important;
		margin-bottom: 10px !important;
	}

	.rw-seo-section p {
		font-size: 0.9rem !important;
		line-height: 1.7 !important;
		color: #5c5c5c !important;
	}

	.variations select {
		width: 100% !important;
		padding: 12px 16px !important;
		border: 0.5px solid #2c2c2c !important;
		border-radius: 2px !important;
		background: white !important;
		font-size: 0.9rem !important;
		margin: 8px 0 !important;
	}
}

/* Wishlist toast (v1.6.123) */
.rw-wishlist-toast {
	position: fixed;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	background: #2c2c2c;
	color: #fdfaf6;
	padding: 10px 20px;
	border-radius: 2px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.rw-wishlist-toast.is-visible {
	opacity: 1;
}

/* v1.6.125 — Force horizontal breadcrumb (Blocksy / WC overrides) */
.rw-breadcrumb,
nav.rw-breadcrumb,
.woocommerce-breadcrumb,
nav[aria-label="Breadcrumb"] {
	padding: 8px 16px !important;
	border-bottom: 0.5px solid #f0ebe3 !important;
	background: #fdfaf6 !important;
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.rw-breadcrumb ol,
.rw-breadcrumb ul,
.rw-breadcrumb__list,
.woocommerce-breadcrumb,
.rw-product-breadcrumb-wrap .regal-breadcrumbs-bar .rw-breadcrumb__list {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

.rw-breadcrumb li,
.rw-breadcrumb__list li,
.rw-breadcrumb__list > li,
.woocommerce-breadcrumb span {
	display: inline-flex !important;
	align-items: center !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: #aaa !important;
	white-space: nowrap !important;
	flex-shrink: 1 !important;
	min-width: 0 !important;
	list-style: none !important;
	list-style-type: none !important;
}

.rw-breadcrumb li:not(:last-child),
.rw-breadcrumb__list li:not(:last-child) {
	flex-shrink: 0 !important;
}

.rw-breadcrumb li:not(:last-child)::after,
.rw-breadcrumb__list li:not(:last-child)::after {
	content: "/" !important;
	margin: 0 6px !important;
	color: #ddd !important;
	flex-shrink: 0 !important;
	font-size: 10px !important;
}

.rw-breadcrumb a,
.rw-breadcrumb__list a {
	color: #aaa !important;
	text-decoration: none !important;
	font-size: 10px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
}

.rw-breadcrumb a:hover,
.rw-breadcrumb__list a:hover {
	color: #5c4033 !important;
}

.rw-breadcrumb li:last-child,
.rw-breadcrumb__list li:last-child,
.rw-breadcrumb__list li[aria-current="page"] {
	color: #5c4033 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	flex-shrink: 1 !important;
	max-width: 150px !important;
}

.ct-breadcrumbs,
.blocksy-breadcrumbs,
nav.breadcrumbs {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	font-size: 10px !important;
	color: #aaa !important;
	padding: 8px 16px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
}

.ct-breadcrumbs a,
.blocksy-breadcrumbs a {
	color: #aaa !important;
	text-decoration: none !important;
}

.rw-product-breadcrumb-wrap {
	background: #fdfaf6 !important;
	border-bottom: 0.5px solid #f0ebe3 !important;
}

/* Blocksy .ct-container resets ordered lists to vertical — override on product pages */
.rw-product-breadcrumb-wrap .rw-breadcrumb ol.rw-breadcrumb__list,
.rw-product-breadcrumb-wrap ol.rw-breadcrumb__list,
.ct-container .rw-product-breadcrumb-wrap .rw-breadcrumb__list,
body.single-product .rw-breadcrumb__list {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
}

.rw-product-breadcrumb-wrap .rw-breadcrumb__list > li::marker {
	content: "" !important;
	display: none !important;
}

/* v1.6.126 — Mobile homepage toast */
.rw-toast {
	position: fixed;
	bottom: 72px;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	background: #2c2c2c;
	color: #fdfaf6;
	padding: 8px 18px;
	border-radius: 2px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	z-index: 99999;
	opacity: 0;
	transition: all 0.3s ease;
	white-space: nowrap;
	pointer-events: none;
}

.rw-toast--show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
