/* =========================================================================
   CLEVER GEM — MODERN TEMPLATE (v5)
   Adds mega menu + full-screen search overlay; fixes hero gap; fixes all
   category images via pipe-aware SQL match; removes shipping announcement.
   ========================================================================= */

/* -------- Design Tokens -------- */
:root {
	--color-bg: #ffffff;
	--color-cream: #f7f4ef;
	--color-sand: #ede7dd;
	--color-ink: #1a1a1a;
	--color-ink-soft: #2c2c2c;
	--color-slate: #5a5a5a;
	--color-stone: #8a8a8a;
	--color-mist: #c9c9c9;
	--color-line: #e6e2db;
	--color-line-soft: #f0ece5;
	--color-gold: #9a7b4f;
	--color-gold-deep: #75593a;
	--color-gold-light: #c0a070;
	--color-sale: #a03030;

	--font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
	--font-sans: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

	--container-max: 1600px;
	--container-pad: 28px;
	--announce-h: 36px;
	--header-h: 96px;
	--nav-h: 52px;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--t: 0.35s;
	--t-slow: 0.6s;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
	--shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--font-sans) !important;
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-ink);
	background: var(--color-bg) !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 0.5em;
	color: var(--color-ink);
	letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; }
h4 {
	font-size: 0.75rem;
	font-family: var(--font-sans);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-ink);
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--color-gold); }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
	width: 100%;
}

.desktop-only { display: inline-flex; }
.mobile-only { display: none !important; }
@media (max-width: 900px) {
	.desktop-only { display: none !important; }
	.mobile-only { display: inline-flex !important; }
}

/* =========================================================================
   ANNOUNCEMENT BAR — no more center message
   ========================================================================= */
.announce-bar {
	background: var(--color-ink);
	color: #ddd;
	height: var(--announce-h);
	font-size: 12px;
	letter-spacing: 0.04em;
	display: flex;
	align-items: center;
}
.announce-inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
}
.announce-left { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.announce-right { display: flex; gap: 16px; align-items: center; }
.announce-bar a { color: #ddd; display: inline-flex; align-items: center; gap: 6px; }
.announce-bar a:hover { color: var(--color-gold-light); }
.announce-bar i { font-size: 11px; }
.announce-divider { color: #555; margin: 0 2px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-bg);
	transition: box-shadow var(--t) var(--ease);
}
.site-header.scrolled {
	box-shadow: var(--shadow-sm);
	border-bottom: 1px solid var(--color-line);
}

.header-main {
	height: var(--header-h);
	display: flex;
	align-items: center;
}
.header-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
	width: 100%;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
}
.header-left { justify-self: start; display: flex; gap: 8px; align-items: center; min-height: 44px; }
.header-right { justify-self: end; display: flex; gap: 8px; align-items: center; min-height: 44px; }
.header-logo { justify-self: center; text-align: center; padding: 8px 0; }
.header-logo img { max-height: 72px; max-width: 300px; width: auto; object-fit: contain; display: block; }
.header-logo-text {
	font-family: var(--font-serif);
	font-size: clamp(1.4rem, 3.2vw, 2.4rem);
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-ink);
	white-space: nowrap;
}

.icon-btn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	color: var(--color-ink);
	font-size: 17px;
	position: relative;
	cursor: pointer;
	border-radius: 50%;
	transition: all var(--t) var(--ease);
	text-decoration: none;
}
.icon-btn:hover { background: var(--color-cream); color: var(--color-gold); }

.cart-btn .cart-badge {
	position: absolute;
	top: 6px;
	right: 4px;
	background: var(--color-ink);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-sans);
}

.mobile-toggle { flex-direction: column; gap: 4px; padding: 0; }
.mobile-toggle span {
	display: block;
	width: 20px;
	height: 1.5px;
	background: var(--color-ink);
	transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
	border-radius: 1px;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* =========================================================================
   FULL-SCREEN SEARCH OVERLAY
   ========================================================================= */
.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 250;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-inner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) translateY(20px);
	transition: transform var(--t-slow) var(--ease-out);
	width: min(92%, 720px);
	text-align: center;
}
.search-overlay.open .search-overlay-inner {
	transform: translate(-50%, -50%) translateY(0);
}
.search-overlay-close {
	position: absolute;
	top: 28px;
	right: 28px;
	width: 48px;
	height: 48px;
	background: transparent;
	border: 1px solid var(--color-line);
	border-radius: 50%;
	color: var(--color-ink);
	font-size: 18px;
	cursor: pointer;
	transition: all var(--t) var(--ease);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.search-overlay-close:hover {
	background: var(--color-ink);
	color: #fff;
	transform: rotate(90deg);
}
.search-overlay-eyebrow {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-gold);
	font-weight: 500;
	margin-bottom: 24px;
}
.search-overlay-wrap {
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--color-ink);
	padding-bottom: 12px;
	gap: 16px;
}
.search-overlay-input {
	flex: 1;
	border: 0;
	background: transparent;
	font-family: var(--font-serif);
	font-size: clamp(1.4rem, 3.6vw, 2.4rem);
	font-weight: 300;
	color: var(--color-ink);
	padding: 8px 0;
	letter-spacing: 0.005em;
	min-width: 0;
}
.search-overlay-input:focus { outline: 0; }
.search-overlay-input::placeholder { color: var(--color-stone); font-style: italic; font-weight: 300; }
.search-overlay-submit {
	width: 52px;
	height: 52px;
	background: var(--color-ink);
	color: #fff;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: all var(--t) var(--ease);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.search-overlay-submit:hover { background: var(--color-gold); transform: scale(1.05); }
.search-overlay-hints {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: center;
	align-items: center;
}
.search-hint-label {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-stone);
	font-weight: 500;
}
.search-overlay-hints a {
	font-size: 13px;
	color: var(--color-slate);
	padding: 6px 14px;
	border: 1px solid var(--color-line);
	border-radius: 20px;
	transition: all var(--t) var(--ease);
}
.search-overlay-hints a:hover {
	background: var(--color-ink);
	border-color: var(--color-ink);
	color: #fff;
}

/* =========================================================================
   NAVIGATION — with mega menu
   ========================================================================= */
.site-nav {
	background: var(--color-bg);
	height: var(--nav-h);
	border-bottom: 1px solid var(--color-line);
	position: relative;
}
.nav-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mobile-nav-header { display: none; }

.dropmenu.css-only {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 2px;
	height: 100%;
	align-items: center;
	flex-wrap: nowrap;
}
.dropmenu.css-only > li {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
}
.dropmenu.css-only > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 18px;
	height: 100%;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-ink);
	position: relative;
	transition: color var(--t) var(--ease);
	white-space: nowrap;
}
.dropmenu.css-only > li > a::after {
	content: '';
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 14px;
	height: 1px;
	background: var(--color-gold);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform var(--t) var(--ease);
}
.dropmenu.css-only > li:hover > a,
.dropmenu.css-only > li:focus-within > a { color: var(--color-gold); }
.dropmenu.css-only > li:hover > a::after,
.dropmenu.css-only > li:focus-within > a::after { transform: scaleX(1); }

.nav-caret {
	font-size: 9px;
	opacity: 0.6;
	transition: transform var(--t) var(--ease);
}
.mega-icon {
	font-size: 11px;
	margin-right: 2px;
	opacity: 0.8;
}
.dropmenu.css-only > li:hover .nav-caret,
.dropmenu.css-only > li:focus-within .nav-caret { transform: rotate(180deg); }

/* Regular dropdowns (Brands) */
.dropmenu.css-only > li.has-sub > ul,
.dropmenu.css-only > li > ul:not(.mega-panel) {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--color-line);
	box-shadow: var(--shadow-lg);
	list-style: none;
	padding: 12px 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: all var(--t) var(--ease);
	z-index: 50;
	pointer-events: none;
}
.dropmenu.css-only > li.has-sub:hover > ul,
.dropmenu.css-only > li.has-sub:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}
.dropmenu.css-only > li.has-sub > ul li a {
	display: block;
	padding: 10px 24px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-slate);
	white-space: nowrap;
}
.dropmenu.css-only > li.has-sub > ul li a:hover {
	color: var(--color-ink);
	background: var(--color-cream);
	padding-left: 30px;
}

/* =========================================================================
   MEGA MENU PANEL
   ========================================================================= */
.mega-trigger { position: static !important; } /* so the mega-panel spans full nav width */

.mega-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--color-line);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease), transform var(--t) var(--ease);
	z-index: 60;
	pointer-events: none;
}
.mega-trigger:hover > .mega-panel,
.mega-trigger:focus-within > .mega-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
.mega-panel-inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 40px var(--container-pad) 48px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px 40px;
}
.mega-col-title {
	display: block;
	font-family: var(--font-serif);
	font-size: 1.3rem;
	font-weight: 500;
	color: var(--color-ink);
	margin-bottom: 18px;
	letter-spacing: 0.02em;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--color-line);
	transition: color var(--t) var(--ease);
}
.mega-col-title:hover { color: var(--color-gold); }
.mega-sublist {
	list-style: none;
	padding: 0;
	margin: 0;
}
.mega-sublist li { margin-bottom: 9px; }
.mega-sublist li a {
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--color-slate);
	letter-spacing: 0.02em;
	transition: color var(--t) var(--ease), padding var(--t) var(--ease);
	display: inline-block;
}
.mega-sublist li a:hover {
	color: var(--color-gold);
	padding-left: 4px;
}
.mega-count {
	color: var(--color-stone);
	font-size: 0.85em;
	margin-left: 2px;
	opacity: 0.7;
}
.mega-sub-all {
	margin-top: 14px !important;
	padding-top: 12px;
	border-top: 1px solid var(--color-line);
}
.mega-sub-all a {
	font-size: 11px !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	color: var(--color-ink) !important;
	font-weight: 600;
}
.mega-sub-all a:hover { color: var(--color-gold) !important; }

.site-nav table { display: inline-block; margin: 0; }
.site-nav table td { padding: 0 !important; }

.mobile-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 150;
	opacity: 0;
	visibility: hidden;
	transition: all var(--t) var(--ease);
}
.mobile-overlay.show { opacity: 1; visibility: visible; }

/* =========================================================================
   MAIN
   ========================================================================= */
.site-main { min-height: 60vh; }
.site-main.interior-page { padding: 64px 0 96px; }
.site-main.full-width-page { padding: 0 0 64px; }

.page-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

/* Full-browser-width page variant (used by add.cfm) — no max-width cap.
   Title still renders centered at a comfortable reading width; body area
   stretches edge-to-edge so the retailer's PageContent HTML (which may
   contain its own full-bleed layout like image galleries or marketing
   sections) isn't artificially constrained. */
.page-full { width: 100%; max-width: none; }
.page-full .page-title,
.page-full .page-title-underline { max-width: var(--container-max); margin-left: auto; margin-right: auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }
/* Combined selector beats the .page-body rule below regardless of source order.
   Both !important on max-width and an explicit 95% width cap ensure the page
   content uses most of the browser width but has a little breathing room on
   the edges. Centered with margin: 0 auto. */
.page-body.page-body-wide { max-width: 95% !important; width: 95%; padding: 0; margin: 0 auto; }
.page-body-wide img { max-width: 100%; height: auto; }
.page-body-wide table { max-width: 100%; }
.page-title {
	font-family: var(--font-serif);
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 300;
	text-align: center;
	margin: 0 0 16px;
	letter-spacing: 0.01em;
}
.page-title-underline { width: 48px; height: 1px; background: var(--color-gold); margin: 0 auto 48px; }
.page-body {
	font-size: 16px;
	line-height: 1.9;
	color: var(--color-ink-soft);
	max-width: 760px;
	margin: 0 auto;
}

/* =========================================================================
   HOMEPAGE — HERO
   ========================================================================= */
/* The hero uses Slick's fade mode. In fade mode each slide is stacked with
   absolute positioning and Slick animates opacity between them. The container
   needs a determinate height; all slide children must use the same height.

   Pre-init strategy: hide ALL slides except the first, and show the first at
   the full hero height. This prevents the broken FOUC state where slides
   render tiled horizontally before Slick takes over. */
.hero {
	--hero-h: clamp(400px, 65vh, 720px);
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	overflow: hidden;
	background: var(--color-cream);
	display: block;
	font-size: 0; /* kill inline-block whitespace between slide wrappers */
}
.hero > * { font-size: 1rem; } /* restore font-size for slide contents */

/* Pre-init: only the first direct-child slide is visible, at full height */
.hero:not(.slick-initialized) > div {
	display: none;
}
.hero:not(.slick-initialized) > div:first-child {
	display: block;
	width: 100%;
	height: var(--hero-h);
}
/* Make sure the first slide's inner .hero-slide fills that pre-init container */
.hero:not(.slick-initialized) > div:first-child .hero-slide {
	height: var(--hero-h);
}

/* Post-init: Slick wraps everything in .slick-list/.slick-track and we need
   to give those elements a determinate height for fade mode to work. */
.hero.slick-initialized .slick-list,
.hero.slick-initialized .slick-track {
	height: var(--hero-h);
}
/* Slick's fade mode uses absolute positioning + left/top to stack slides.
   Make sure our slides inherit the track's full dimensions. */
.hero.slick-initialized .slick-slide {
	height: var(--hero-h);
}

.hero-slide {
	position: relative;
	width: 100%;
	height: var(--hero-h);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.hero-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.18) 100%);
	pointer-events: none;
}
.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 0 24px;
	max-width: 720px;
	animation: heroFade 1.2s var(--ease-out) both;
}
.hero-eyebrow {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 500;
	margin-bottom: 20px;
	opacity: 0.9;
	color: #fff;
}
.hero-title {
	font-family: var(--font-serif);
	font-size: clamp(2.5rem, 7vw, 5.2rem);
	font-weight: 300;
	line-height: 1.05;
	margin-bottom: 24px;
	color: #fff;
	letter-spacing: 0.01em;
}
.hero-sub {
	font-size: clamp(0.95rem, 1.6vw, 1.1rem);
	line-height: 1.7;
	opacity: 0.95;
	margin-bottom: 36px;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
}
.hero-cta {
	display: inline-block;
	padding: 16px 44px;
	background: #fff;
	color: var(--color-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	transition: all var(--t) var(--ease);
	border: 1px solid #fff;
}
.hero-cta:hover { background: transparent; color: #fff; transform: translateY(-2px); }
.hero .slick-dots { bottom: 28px; line-height: normal; }
.hero .slick-dots li button:before { color: #fff; opacity: 0.5; font-size: 8px; }
.hero .slick-dots li.slick-active button:before { opacity: 1; }
.hero .slick-arrow { width: 48px; height: 48px; z-index: 3; opacity: 0; transition: opacity var(--t) var(--ease); }
.hero:hover .slick-arrow { opacity: 0.8; }
.hero .slick-prev { left: 28px; }
.hero .slick-next { right: 28px; }
.hero .slick-prev:before, .hero .slick-next:before {
	color: #fff; font-size: 40px; font-family: serif; opacity: 1;
}

@keyframes heroFade {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   HOMEPAGE SECTIONS
   ========================================================================= */
.home-section { padding: clamp(60px, 10vw, 110px) 0; }
.home-section-alt { background: var(--color-cream); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; padding: 0 24px; }
.section-eyebrow {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-gold);
	font-weight: 500;
	margin-bottom: 16px;
}
.section-title {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 300;
	margin: 0 0 20px;
	color: var(--color-ink);
	letter-spacing: 0.005em;
	line-height: 1.1;
}
.section-intro { font-size: 16px; line-height: 1.8; color: var(--color-slate); margin: 0; }

/* =========================================================================
   SHOP BY CATEGORY — clean product frame with label below
   ========================================================================= */
.category-showcase {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}
.category-tile {
	display: block;
	text-decoration: none;
	color: inherit;
}
.category-tile-img {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: var(--color-cream);
	background-size: 70%;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	margin-bottom: 18px;
	transition: background-color var(--t) var(--ease);
}
.category-tile-img::after {
	/* subtle inset for polish */
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid transparent;
	transition: border-color var(--t) var(--ease);
	pointer-events: none;
}
.category-tile:hover .category-tile-img {
	background-color: #f0ebe2;
	background-size: 74%;
}
.category-tile:hover .category-tile-img::after {
	border-color: var(--color-gold);
}
.category-tile-label {
	display: block;
	text-align: center;
	font-family: var(--font-sans);
	font-size: 11.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-ink);
	font-weight: 500;
	transition: color var(--t) var(--ease);
}
.category-tile:hover .category-tile-label {
	color: var(--color-gold);
}

/* Hide the overlay element (kept in DOM for backward compat) */
.category-tile-overlay { display: none; }

/* =========================================================================
   HORIZONTAL CAROUSEL
   ========================================================================= */
.h-carousel-wrap {
	position: relative;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
}
.h-carousel {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
	padding: 8px 0 24px;
}
.h-carousel.dragging { cursor: grabbing; scroll-behavior: auto; }
.h-carousel::-webkit-scrollbar { display: none; }
.h-carousel-track { display: flex; gap: 16px; padding: 0 4px; }
.h-carousel-card {
	flex: 0 0 auto;
	width: 280px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: inherit;
	user-select: none;
	transition: transform var(--t) var(--ease);
}
.h-carousel-card:hover { transform: translateY(-4px); }
.h-carousel-card-media {
	position: relative;
	aspect-ratio: 1/1;
	background: #fff;
	overflow: hidden;
	margin-bottom: 18px;
	border: 1px solid var(--color-line-soft);
}
.h-carousel-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 24px;
	transition: transform 0.8s var(--ease-out);
	pointer-events: none;
	display: block;
}
.h-carousel-card:hover .h-carousel-card-media img { transform: scale(1.04); }
.h-carousel-card-title {
	font-family: var(--font-sans);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-ink);
	margin: 0 0 10px;
	line-height: 1.5;
	font-weight: 400;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding: 0 8px;
}
.h-carousel-card:hover .h-carousel-card-title { color: var(--color-gold); }
.h-carousel-card-price {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--color-ink);
}
.h-carousel-card-price strike {
	color: var(--color-stone);
	font-size: 0.95rem;
	font-weight: 400;
	margin-right: 10px;
}
.h-carousel-card-price .sale-price { color: var(--color-sale); font-weight: 600; }

.product-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--color-ink);
	color: #fff;
	padding: 4px 10px;
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	z-index: 2;
}
.product-card-badge.sale { background: var(--color-sale); }

.h-carousel-arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	background: #fff;
	border: 1px solid var(--color-line);
	border-radius: 50%;
	color: var(--color-ink);
	font-size: 14px;
	cursor: pointer;
	z-index: 5;
	transition: all var(--t) var(--ease);
	box-shadow: var(--shadow-md);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.h-carousel-arrow:hover {
	background: var(--color-ink);
	border-color: var(--color-ink);
	color: #fff;
	transform: translateY(-50%) scale(1.06);
}
.h-carousel-arrow.disabled { opacity: 0.3; pointer-events: none; }
.h-carousel-prev { left: -4px; }
.h-carousel-next { right: -4px; }

.new-arrivals-cta { text-align: center; margin-top: 48px; }

/* =========================================================================
   EDITORIAL SPLIT
   ========================================================================= */
.editorial {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: 560px;
}
.editorial-reverse { direction: rtl; }
.editorial-reverse > * { direction: ltr; }
.editorial-media { background-size: cover; background-position: center; min-height: 400px; }
.editorial-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(40px, 8vw, 100px);
	background: var(--color-cream);
}
.editorial-eyebrow {
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-gold);
	font-weight: 500;
	margin-bottom: 18px;
	display: inline-block;
}
.editorial-title {
	font-family: var(--font-serif);
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
	font-weight: 300;
	line-height: 1.1;
	margin-bottom: 24px;
	color: var(--color-ink);
}
.editorial-body {
	font-size: 16px;
	line-height: 1.9;
	color: var(--color-slate);
	margin-bottom: 32px;
	max-width: 480px;
}
.editorial-cta {
	display: inline-block;
	padding: 14px 36px;
	background: var(--color-ink);
	color: #fff;
	font-size: 11.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	transition: all var(--t) var(--ease);
	align-self: flex-start;
}
.editorial-cta:hover { background: var(--color-gold); color: #fff; }

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.contact-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 48px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--container-pad);
	align-items: stretch;
}
/* Contact page title wrapper — match the 1400px cap on the layout below it
   so the title left-edge aligns with the info column. */
.contact-title-wrap { max-width: 1400px; }
.contact-info { padding: 16px 0; }
.contact-info h2 { font-size: 2rem; margin-bottom: 24px; font-weight: 400; }
.contact-detail-block { margin-bottom: 28px; font-size: 15px; line-height: 1.9; color: var(--color-ink-soft); }
.contact-detail-block strong {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 10.5px;
	color: var(--color-stone);
	margin-bottom: 6px;
	font-weight: 600;
}
.hours-table { width: 100%; max-width: 360px; border-collapse: collapse; }
.hours-table td { padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--color-line); }
.hours-table td:first-child { font-weight: 500; color: var(--color-ink); }
.hours-table td:last-child { text-align: right; color: var(--color-slate); }
/* Map column wrapper — stretches to match the info column's content height. */
.contact-layout > div:last-child { height: 100%; min-height: 520px; }
/* Map fills its column wrapper completely. Height follows the info column. */
#map-canvas { width: 100%; height: 100%; min-height: 520px; background: var(--color-cream); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--color-ink); color: #a8a8a8; position: relative; z-index: 1; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
	gap: 48px;
	padding: 80px 28px 56px;
}
.footer-col h4 {
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin-bottom: 24px;
	font-weight: 600;
	font-family: var(--font-sans);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #a8a8a8; font-size: 14px; transition: color var(--t) var(--ease); }
.footer-col ul li a:hover { color: #fff; }

/* Footer brand name rendered in an elegant serif — replaces any logo image.
   Retailers' raster logos rarely read well on a dark background without a
   dedicated light variant, and force-inverting them looks worse than it
   sounds. A typographic treatment keeps the footer polished regardless. */
.footer-brand .footer-logo-text {
	font-family: var(--font-serif);
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	font-weight: 400;
	color: #fff;
	margin-bottom: 20px;
	letter-spacing: 0.03em;
	line-height: 1.1;
	/* Subtle thin line underneath for an editorial masthead feel */
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(201, 169, 110, 0.35);
	display: inline-block;
}
.footer-address { font-style: normal; font-size: 14px; line-height: 1.9; color: #a8a8a8; margin-bottom: 20px; }
.footer-address a { color: #a8a8a8; }
.footer-address a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #3a3a3a;
	border-radius: 50%;
	color: #a8a8a8;
	font-size: 13px;
	transition: all var(--t) var(--ease);
}
.footer-social a:hover { background: var(--color-gold); border-color: var(--color-gold); color: #fff; }

.footer-newsletter-intro { font-size: 14px; line-height: 1.7; color: #a8a8a8; margin-bottom: 20px; }
.footer-newsletter-form {
	position: relative;
	display: flex;
	align-items: stretch;
	max-width: 340px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid #3a3a3a;
	transition: border-color var(--t) var(--ease);
}
.footer-newsletter-form:focus-within { border-color: var(--color-gold-light); }
.footer-newsletter-input {
	flex: 1;
	height: 44px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	min-width: 0;
}
.footer-newsletter-input::placeholder { color: #7a7a7a; }
.footer-newsletter-input:focus { outline: 0; }
.footer-newsletter-btn {
	width: 50px;
	background: var(--color-gold);
	color: #fff;
	border: 0;
	cursor: pointer;
	transition: background var(--t) var(--ease);
	font-size: 14px;
}
.footer-newsletter-btn:hover { background: var(--color-gold-deep); }
.footer-newsletter-success { margin-top: 14px; color: var(--color-gold-light); font-size: 13px; }

.footer-bottom { border-top: 1px solid #2a2a2a; padding: 22px 0; }
.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.footer-copyright { font-size: 12px; color: #707070; letter-spacing: 0.02em; }
.footer-powered a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 10.5px;
	color: #707070;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
.footer-powered img {
	height: 18px;
	width: auto;
	max-width: 80px;
	opacity: 0.6;
	filter: brightness(0) invert(1);
	transition: opacity var(--t) var(--ease);
}
.footer-powered a:hover img { opacity: 1; }
.footer-powered a:hover { color: #fff; }

/* =========================================================================
   BACK TO TOP / BUTTONS
   ========================================================================= */
.scroll-top {
	position: fixed;
	right: 28px;
	bottom: 28px;
	width: 48px;
	height: 48px;
	background: var(--color-ink);
	color: #fff;
	border: 0;
	border-radius: 50%;
	opacity: 0;
	visibility: hidden;
	transition: all var(--t) var(--ease);
	z-index: 50;
	box-shadow: var(--shadow-md);
	cursor: pointer;
	font-size: 14px;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--color-gold); transform: translateY(-3px); }

.btn {
	display: inline-block;
	padding: 15px 40px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all var(--t) var(--ease);
	border: 1px solid transparent;
	font-family: inherit;
	text-align: center;
}
.btn-primary { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.btn-primary:hover { background: var(--color-gold); border-color: var(--color-gold); color: #fff; }
.btn-outline { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn-outline:hover { background: var(--color-ink); color: #fff; }

.pdp-ship-status {
	margin: 6px 0 0;
	font-family: var(--font-sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1.4;
}
.pdp-ship-status.is-ready { color: var(--color-gold-deep); }
.pdp-ship-status.is-made { color: var(--color-slate); }

/* =========================================================================
   LEGACY FALLBACKS (outer search / itemdetails)
   ========================================================================= */
.footer:link, .footer:visited { color: #a8a8a8; }
.footer:hover { color: #fff; }
.tmenu:link, .tmenu:visited { color: #ddd; }
.tmenu:hover { color: var(--color-gold-light); }
.small-text { font-size: 13px; }
.ex-small-text { font-size: 11px; }
.large-text { font-size: 16px; }
.opacity50 { opacity: 0.5; }
.opacity100 { opacity: 1; }
.txtboxstyle1, .txtboxstyleSearch, .txtboxstyle3 {
	padding: 10px 14px;
	border: 1px solid var(--color-line);
	font-family: inherit;
	font-size: 14px;
	background: transparent;
}
.graybtn, .formBtn {
	padding: 12px 28px;
	background: var(--color-ink);
	color: #fff;
	border: 0;
	font-size: 11.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
}
.graybtn:hover, .formBtn:hover { background: var(--color-gold); }

/* =========================================================================
   SEARCH PAGE OVERRIDES
   ========================================================================= */
.full-width-page { background: #fff; }
.full-width-page div#searchfilter {
	max-width: none;
	width: 100% !important;
	margin: 0;
	padding: 12px 0 0;
	box-sizing: border-box;
	text-align: left;
}
.full-width-page div#searchfilter > table {
	width: 100% !important;
	background: transparent !important;
	border-bottom: 0 !important;
}
.full-width-page div#searchfilter > table > tbody > tr > td:last-child,
.full-width-page div#searchfilter > table > tr > td:last-child {
	text-align: right !important;
	width: auto !important;
}
.full-width-page .search-toolbar-controls {
	display: inline-table;
	margin-left: auto;
}
/* Remove the horizontal line the outer search.cfm adds when the filter bar
   becomes sticky on scroll (line 356 of the outer template). */
.full-width-page .fixedFilterBar {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	z-index: auto !important;
	border-bottom: 0 !important;
	width: auto !important;
}
.full-width-page #searchResultsWrap { margin: 0; padding: 0 0 72px; }
.full-width-page td#searchFilter {
	background: transparent !important;
	vertical-align: top !important;
	text-align: left !important;
	width: 250px !important;
	padding: 0 12px 72px 16px !important;
}
.full-width-page #allfilteroptions {
	position: static !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	max-width: 218px !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: auto !important;
}
.full-width-page #allfilteroptions table { width: 100%; }
.full-width-page #allfilteroptions td { text-align: left; }
.full-width-page #sortby,
.full-width-page #itemsperpage,
.full-width-page #gotopg {
	position: static !important;
	width: auto !important;
	max-width: none !important;
	box-sizing: border-box !important;
	padding: 0 18px 0 0 !important;
	border: 0 !important;
	height: 28px !important;
	font-size: 14px !important;
	background: transparent !important;
}
.full-width-page #sortby { width: 170px !important; }
.full-width-page #itemsperpage { width: 64px !important; }
.full-width-page #gotopg { width: 90px !important; }
.full-width-page .search-toolbar-controls td { vertical-align: bottom; }
.full-width-page .search-toolbar-field {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 4px;
}
.full-width-page img.lazy {
	max-height: 220px !important;
	max-width: 100%;
	object-fit: contain;
	display: block !important;
	margin: 0 auto;
}
.full-width-page div[style*="height: 70px"][style*="overflow: hidden"] {
	height: auto !important;
	min-height: 50px;
	max-height: 80px;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	padding: 0 6px;
	line-height: 1.5 !important;
}
.full-width-page div[id^="box"] {
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	border: 1px solid transparent !important;
}
.full-width-page div[id^="box"]:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}
.full-width-page font[face="Lato"] { font-family: var(--font-sans) !important; }
.full-width-page td[style*="padding-bottom: 22px"] font[style*="font-weight: 600"] {
	font-family: var(--font-serif) !important;
	font-size: 1.2rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em !important;
}
.full-width-page td[style*="padding-bottom: 22px"] strike {
	color: var(--color-stone) !important;
	font-size: 0.9rem !important;
	font-weight: 400 !important;
}
.full-width-page font[face="Lato"][style*="font-size: 13px"] {
	font-family: var(--font-sans) !important;
	font-size: 12px !important;
	letter-spacing: 0.15em !important;
	text-transform: uppercase !important;
	color: var(--color-stone) !important;
}
@media (max-width: 900px) {
	.full-width-page td#searchFilter { display: none !important; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
	.category-showcase { grid-template-columns: repeat(3, 1fr); }
	.category-showcase > :nth-child(4),
	.category-showcase > :nth-child(5) { grid-column: span 1; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 64px 28px 48px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-newsletter { grid-column: 1 / -1; }
	.mega-panel-inner { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px 32px; padding: 32px 24px; }
}

@media (max-width: 900px) {
	.announce-inner { justify-content: center; }
	.announce-right { gap: 12px; }
	.editorial { grid-template-columns: 1fr; }
	.editorial-reverse { direction: ltr; }
	.editorial-media { min-height: 380px; order: 1; }
	.editorial-content { order: 2; padding: 48px 32px; }
	.contact-layout { grid-template-columns: 1fr; gap: 40px; }

	/* Nav becomes a slide-in drawer at the same breakpoint as the hamburger icon */
	.site-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: min(86%, 360px);
		height: 100vh;
		height: 100dvh;
		background: #fff;
		z-index: 200;
		transform: translateX(-100%);
		transition: transform var(--t) var(--ease);
		overflow-y: auto;
		padding: 0;
		border-bottom: 0;
	}
	.site-nav.open { transform: translateX(0); }
	.nav-container { flex-direction: column; align-items: stretch; padding: 0; height: auto; gap: 0; }
	.mobile-nav-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20px 24px;
		border-bottom: 1px solid var(--color-line);
		height: 72px;
		font-family: var(--font-serif);
		font-size: 1.4rem;
		color: var(--color-ink);
	}
	.mobile-nav-close {
		background: none;
		border: 0;
		width: 40px;
		height: 40px;
		color: var(--color-ink);
		font-size: 18px;
	}

	/* Main nav list stacks vertically */
	.dropmenu.css-only { flex-direction: column; gap: 0; width: 100%; height: auto; }
	.dropmenu.css-only > li { width: 100%; height: auto; border-bottom: 1px solid var(--color-line); position: static; }
	.dropmenu.css-only > li > a {
		padding: 18px 24px;
		font-size: 13px;
		width: 100%;
		height: auto;
		letter-spacing: 0.15em;
		justify-content: space-between;
	}
	.dropmenu.css-only > li > a::after { display: none; }
	.dropmenu.css-only > li > a .nav-caret {
		transition: transform var(--t) var(--ease);
	}

	/* Collapsible dropdowns (Brands) — closed by default, expand when parent li
	   has .open class (toggled by the mobile menu JS). */
	.dropmenu.css-only > li.has-sub > ul,
	.dropmenu.css-only > li > ul:not(.mega-panel) {
		position: static;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		min-width: 0;
		background: var(--color-cream);
		max-height: 0;
		overflow: hidden;
		transition: max-height var(--t) var(--ease), padding var(--t) var(--ease);
	}
	.dropmenu.css-only > li.has-sub.open > ul,
	.dropmenu.css-only > li.open > ul:not(.mega-panel) {
		max-height: 2000px;
		padding: 0 0 12px;
	}
	.dropmenu.css-only > li.has-sub.open > a .nav-caret,
	.dropmenu.css-only > li.mega-trigger.open > a .nav-caret {
		transform: rotate(180deg);
	}
	.dropmenu.css-only > li.has-sub > ul li a { padding: 10px 44px; font-size: 12px; }

	/* Mega menu on mobile — collapsible accordion, closed by default */
	.mega-panel {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		pointer-events: auto;
		background: var(--color-cream);
		max-height: 0;
		overflow: hidden;
		transition: max-height var(--t-slow) var(--ease);
	}
	.dropmenu.css-only > li.mega-trigger.open > .mega-panel {
		max-height: 4000px;
	}
	.mega-panel-inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 8px 0 12px;
	}
	.mega-col {
		border-top: 1px solid var(--color-line);
		padding: 0;
	}
	.mega-col:first-child { border-top: 0; }
	.mega-col-title {
		font-size: 13px !important;
		font-family: var(--font-sans) !important;
		font-weight: 500 !important;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		margin-bottom: 0 !important;
		padding: 14px 44px !important;
		border-bottom: 0 !important;
		display: flex;
		align-items: center;
		justify-content: space-between;
		cursor: pointer;
	}
	.mega-col-title::after {
		content: '\f078'; /* fa chevron-down */
		font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
		font-weight: 900;
		font-size: 10px;
		opacity: 0.5;
		transition: transform var(--t) var(--ease);
	}
	.mega-col.open .mega-col-title::after { transform: rotate(180deg); }
	.mega-sublist {
		max-height: 0;
		overflow: hidden;
		padding: 0 44px;
		transition: max-height var(--t) var(--ease), padding var(--t) var(--ease);
	}
	.mega-col.open .mega-sublist {
		max-height: 1500px;
		padding: 0 44px 14px 60px;
	}
	.mega-sublist li { margin-bottom: 6px; }
	.mega-sublist li a { font-size: 12.5px; }
	.mega-sub-all a { font-size: 10.5px !important; }
}

@media (max-width: 768px) {
	:root {
		--container-pad: 20px;
		--header-h: 72px;
		--nav-h: 0px;
		--announce-h: 32px;
	}

	.announce-bar { font-size: 11px; }
	.announce-left { font-size: 11px; gap: 8px; }
	.announce-email, .announce-divider { display: none; }
	.announce-right { gap: 12px; }

	.header-container { gap: 8px; }
	.header-logo img { max-height: 48px; max-width: 180px; }
	.header-logo-text { font-size: 1.15rem; letter-spacing: 0.1em; }
	.icon-btn { width: 40px; height: 40px; font-size: 15px; }

	.search-overlay-close { top: 16px; right: 16px; width: 44px; height: 44px; }

	.site-main.interior-page { padding: 40px 0 64px; }

	.hero { --hero-h: clamp(360px, 58vh, 520px); }
	.hero-title { font-size: clamp(2rem, 8vw, 3.2rem); }
	.hero-sub { font-size: 14px; margin-bottom: 28px; }
	.hero-cta { padding: 14px 32px; font-size: 11px; }

	.category-showcase { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
	.category-tile-label { font-size: 11px; letter-spacing: 0.2em; }

	.h-carousel-card { width: 220px; }
	.h-carousel-arrow { width: 40px; height: 40px; font-size: 12px; }
	.h-carousel-prev { left: 4px; }
	.h-carousel-next { right: 4px; }

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
		padding: 48px 20px 36px;
		text-align: center;
	}
	.footer-social { justify-content: center; }
	.footer-newsletter-form { margin: 0 auto; }
	.footer-bottom-inner { flex-direction: column; text-align: center; gap: 12px; }

	.scroll-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
	#map-canvas { min-height: 320px; }
}

@media (max-width: 480px) {
	.announce-right a { font-size: 13px; }
	.hero-eyebrow { font-size: 10px; letter-spacing: 0.25em; margin-bottom: 14px; }
	.hero-title { font-size: 2rem; line-height: 1.1; }
	.h-carousel-card { width: 200px; }
}


/* =========================================================================
   LEGACY "SIMILAR ITEMS" / "RECENTLY VIEWED" sections on item-details page
   
   These sections come from the outer shared itemdetails.cfm which uses
   old <table><font> markup. Rather than modify that shared file, we
   target its inline-style patterns with CSS to modernize the look.
   ========================================================================= */

/* The section headers both use a <font> with these inline styles.
   Target <font> directly since the styles are on <font>, not the <td> parent. */
font[style*="font-family: Lato"][style*="font-weight: bold"] {
	display: block !important;
	box-sizing: border-box !important;
	width: 95% !important;
	margin: 48px auto 4px !important;
	padding: 0 0 18px !important;
	font-family: var(--font-serif) !important;
	font-size: 34px !important;
	font-weight: 400 !important;
	letter-spacing: 0.005em !important;
	color: var(--color-ink) !important;
	text-transform: none !important;
	line-height: 1.2 !important;
	border-bottom: 1px solid var(--color-line) !important;
}

/* The <td> wrapping the header — zero out any inline padding that
   would push the <font> off-center. */
td:has(> font[style*="font-family: Lato"][style*="font-weight: bold"]) {
	padding: 0 !important;
}

/* Fallback for browsers without :has() — zero padding via the known
   inline-style variations of these td wrappers. */
td[style*="padding-left: 15px"][style*="padding-top: 10"],
td[style*="padding-top: 10"]:not([style*="padding-left"]) {
	padding: 0 !important;
}

/* The <tr height="25"> divider above the headers becomes invisible since
   we now use the border-bottom on the title itself */
tr[height="25"] > td[style*="border-bottom: 1px solid"] {
	border-bottom: 0 !important;
	padding: 0 !important;
	height: 0 !important;
}

/* The inner wrapper table (cellspacing=20) that holds the cards */
table[cellspacing="20"] {
	border-spacing: 0 !important;
	width: 95% !important;
	margin: 0 auto !important;
	padding: 0 !important;
}
table[cellspacing="20"] > tbody > tr,
table[cellspacing="20"] > tr {
	display: grid !important;
	grid-template-columns: repeat(6, 1fr) !important;
	gap: 24px !important;
	padding: 20px 0 32px !important;
	height: auto !important;
}

/* Each card cell */
table[cellspacing="20"] > tbody > tr > td[width="200"],
table[cellspacing="20"] > tr > td[width="200"] {
	width: auto !important;
	padding: 0 !important;
	background: transparent !important;
	transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
table[cellspacing="20"] > tbody > tr > td[width="200"]:hover,
table[cellspacing="20"] > tr > td[width="200"]:hover {
	transform: translateY(-3px);
}

/* The inner "box" table holding the image + title + price */
table[cellspacing="20"] td[width="200"] table[id^="box"] {
	border-spacing: 0 !important;
	background: var(--color-cream) !important;
	width: 100% !important;
	height: auto !important;
	border-radius: 0 !important;
}

/* The image cell — turn it into a proper square aspect ratio */
table[cellspacing="20"] td[width="200"] table[id^="box"] tr:first-child td {
	height: 220px !important;
	padding: 12% !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	transition: opacity 0.35s ease;
}

/* The image element (the nested <td background=...>) shows the image;
   increase its subtle zoom effect */
table[cellspacing="20"] td[width="200"] table[id^="img"] td {
	background-size: contain !important;
	transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
table[cellspacing="20"] td[width="200"]:hover table[id^="img"] td {
	transform: scale(1.03);
}

/* Title row */
table[cellspacing="20"] td[width="200"] table[id^="box"] tr:nth-child(2) td {
	padding-top: 14px !important;
	padding-bottom: 8px !important;
	background: #fff !important;
}
table[cellspacing="20"] td[width="200"] table[id^="box"] tr:nth-child(2) div {
	height: auto !important;
	max-height: 3.2em !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	line-height: 1.5em !important;
	text-overflow: ellipsis !important;
	padding: 0 12px !important;
}
table[cellspacing="20"] td[width="200"] table[id^="box"] tr:nth-child(2) font {
	font-family: var(--font-sans) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	letter-spacing: 0.04em !important;
	color: var(--color-ink) !important;
	text-transform: uppercase !important;
	line-height: 1.5 !important;
}

/* Price row */
table[cellspacing="20"] td[width="200"] table[id^="box"] tr:nth-child(3) td {
	padding: 4px 12px 20px !important;
	background: #fff !important;
}
table[cellspacing="20"] td[width="200"] table[id^="box"] tr:nth-child(3) font {
	font-family: var(--font-sans) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: var(--color-ink) !important;
	letter-spacing: 0.01em !important;
}
table[cellspacing="20"] td[width="200"] table[id^="box"] tr:nth-child(3) font[style*="C00000"] {
	color: var(--color-gold) !important;
	text-transform: uppercase;
	letter-spacing: 0.14em !important;
	font-size: 12px !important;
}
table[cellspacing="20"] td[width="200"] table[id^="box"] tr:nth-child(3) strike {
	color: var(--color-stone);
	font-size: 13px;
	font-weight: 400;
	opacity: 0.8;
}

/* Hide the ugly item-number overlay that sits on top of the card */
div[id^="itemnum"] {
	display: none !important;
}

/* Responsive breakdown of the card grid */
@media (max-width: 1100px) {
	table[cellspacing="20"] > tbody > tr,
	table[cellspacing="20"] > tr {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}
@media (max-width: 768px) {
	table[cellspacing="20"] > tbody > tr,
	table[cellspacing="20"] > tr {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 16px !important;
	}
	td[style*="font-family: Lato"][style*="font-weight: bold"] > font {
		font-size: 22px !important;
	}
}
@media (max-width: 520px) {
	table[cellspacing="20"] > tbody > tr,
	table[cellspacing="20"] > tr {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
	}
	table[cellspacing="20"] td[width="200"] table[id^="box"] tr:first-child td {
		height: 180px !important;
	}
}

/* Desktop nav must never use the mobile drawer. Keep this after all other
   nav rules so a leaked mobile block cannot dump Shop as a raw list. */
@media (min-width: 901px) {
	.mobile-nav-header { display: none !important; }
	.site-nav {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		transform: none !important;
		width: auto !important;
		height: var(--nav-h) !important;
		overflow: visible !important;
		z-index: 20 !important;
	}
	.nav-container {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: center !important;
		height: 100% !important;
		padding: 0 var(--container-pad) !important;
	}
	.dropmenu.css-only {
		display: flex !important;
		flex-direction: row !important;
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
		height: 100% !important;
		width: auto !important;
	}
	.dropmenu.css-only > li {
		width: auto !important;
		height: 100% !important;
		border-bottom: 0 !important;
	}
	.mega-panel {
		position: absolute !important;
		top: 100% !important;
		left: 0 !important;
		right: 0 !important;
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		max-height: none !important;
		overflow: visible !important;
		transform: translateY(8px) !important;
		background: #fff !important;
		z-index: 60 !important;
	}
	.mega-trigger:hover > .mega-panel,
	.mega-trigger:focus-within > .mega-panel {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transform: translateY(0) !important;
	}
	.mega-panel-inner {
		display: grid !important;
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
		gap: 32px 40px !important;
		padding: 40px var(--container-pad) 48px !important;
	}
	.mega-sublist {
		list-style: none !important;
		max-height: none !important;
		overflow: visible !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	.dropmenu.css-only > li.has-sub > ul,
	.dropmenu.css-only > li > ul:not(.mega-panel) {
		position: absolute !important;
		opacity: 0 !important;
		visibility: hidden !important;
		max-height: none !important;
		overflow: visible !important;
		pointer-events: none !important;
	}
	.dropmenu.css-only > li.has-sub:hover > ul,
	.dropmenu.css-only > li.has-sub:focus-within > ul {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}
}
