/* ==========================================================================
   BRANDORA main stylesheet
   Palette: Deep Black #0D0D0D, Soft Ivory #F7F5F0, Warm Gold #B89B5E,
   Dark Charcoal #191919, Soft Gray #7A7A7A.
   Fonts: Cormorant Garamond (display) + Jost (body).
   ========================================================================== */

:root {
	--bg: #f7f5f0;
	--fg: #0d0d0d;
	--card: #ffffff;
	--secondary: #ecebe5;
	--muted: #7a7a7a;
	--gold: #b89b5e;
	--gold-soft: #dfd0ac;
	--charcoal: #191919;
	--border: #dedbd3;
	--danger: #c0262d;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--header-h: 82px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; margin: 0; clip: auto;
	background: var(--fg); color: var(--bg); padding: 12px 18px; z-index: 1000;
}
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1500px; }
.container--medium { max-width: 1200px; }
.container--narrow { max-width: 820px; }
.site-main { min-height: 50vh; }
.section { padding-top: 5rem; padding-bottom: 5rem; }
.section--tight { padding-top: 0; }
.section__more { margin: 2.5rem 0 0; text-align: center; }

.eyebrow { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin: 0; font-weight: 400; }
.eyebrow--soft { color: var(--gold-soft); font-size: 12px; }

.section-heading { text-align: center; margin-bottom: 2.5rem; }
.section-heading h2 { margin-top: 0.75rem; font-size: clamp(2.25rem, 4.5vw, 3rem); text-transform: uppercase; }
.section-heading__sub { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--muted); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 400; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold); }

.notice-box { border: 1px solid var(--border); padding: 1rem 1.25rem; background: var(--card); }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 3rem; padding: 0 2rem; border: 1px solid transparent; border-radius: 0;
	font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; line-height: 1;
	cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; white-space: nowrap;
}
.btn--sm { min-height: 2.25rem; padding: 0 1rem; font-size: 10px; letter-spacing: 0.14em; }
.btn--block { width: 100%; }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: #2a2a2a; color: var(--bg); }
.btn--light { background: var(--bg); color: var(--fg); }
.btn--light:hover { background: var(--gold); color: var(--fg); }
.btn--outline { background: transparent; border-color: var(--border); color: var(--fg); }
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--fg); }
.btn--outline-light { background: transparent; border-color: var(--bg); color: var(--bg); }
.btn--outline-light:hover { background: var(--bg); color: var(--fg); }
.btn[disabled], .btn.disabled { opacity: 0.5; pointer-events: none; }

.icon { flex-shrink: 0; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: inherit; transition: color 0.2s; }
.icon-btn:hover { color: var(--gold); }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; width: 100%; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; }

.announcement { background: var(--fg); color: rgba(247, 245, 240, 0.9); }
.announcement p { margin: 0; padding: 10px 24px; text-align: center; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }

.site-header__bar {
	border-bottom: 1px solid var(--border);
	background: rgba(247, 245, 240, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	color: var(--fg);
	transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.site-header__inner {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.5rem;
	max-width: 1500px; margin: 0 auto; padding: 0 16px; height: var(--header-h); transition: height 0.3s;
}
.site-header.is-scrolled .site-header__inner { height: 68px; }

/* Transparent state over the hero (home only, before scroll) */
.has-overlay-header .site-header:not(.is-scrolled) .site-header__bar {
	background: transparent; border-bottom-color: rgba(247, 245, 240, 0.2); box-shadow: none;
	backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--bg);
}
.has-overlay-header .site-header:not(.is-scrolled) .site-logo__img { filter: brightness(0) invert(1); }
.has-overlay-header .site-header:not(.is-scrolled) .site-logo__name { color: var(--bg); }
.has-overlay-header .site-header:not(.is-scrolled) .site-logo__tag { color: rgba(247, 245, 240, 0.85); }

.menu-toggle { display: inline-flex; }
.site-header__logo { min-width: 0; }
.site-header__actions { display: flex; align-items: center; gap: 0; }
.hide-mobile { display: none; }
.cart-count, .wishlist-count {
	position: absolute; right: -1px; top: -1px; display: grid; place-items: center;
	min-width: 16px; height: 16px; padding: 0 3px; border-radius: 999px; background: var(--gold); color: var(--fg); font-size: 9px; font-weight: 400; line-height: 1;
}
.cart-count.is-empty, .wishlist-count.is-empty { display: none; }

/* Logo */
.site-logo { display: flex; align-items: center; gap: 0.5rem; min-width: 0; color: inherit; }
.site-logo__img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; transition: filter 0.3s; }
.site-logo__text { display: block; min-width: 0; }
.site-logo__name { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1; letter-spacing: 0.13em; color: var(--fg); }
.site-logo__tag { display: block; margin-top: 4px; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(13, 13, 13, 0.8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-logo:hover .site-logo__name { color: inherit; }
.site-logo.is-inverse .site-logo__img { filter: brightness(0) invert(1); }
.site-logo.is-inverse .site-logo__name { color: var(--bg); }
.site-logo.is-inverse .site-logo__tag { color: rgba(247, 245, 240, 0.85); }
@media (min-width: 640px) {
	.site-header__inner { padding: 0 28px; gap: 1rem; }
	.site-logo { gap: 0.75rem; }
	.site-logo__img { width: 48px; height: 48px; }
	.site-logo__name { font-size: 1.875rem; }
	.site-logo__tag { font-size: 10px; }
	.hide-mobile { display: inline-flex; }
}

/* Primary nav */
.primary-nav { display: none; }
.primary-nav .menu { display: flex; align-items: center; justify-content: center; gap: 1rem; list-style: none; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a {
	display: block; padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap;
	font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
	transition: color 0.2s, border-color 0.2s;
}
.primary-nav .menu > li > a:hover, .primary-nav .menu > li.current-menu-item > a { border-bottom-color: var(--gold); color: var(--gold); }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 50%; z-index: 50; width: 16rem; margin-top: 12px; padding: 1.5rem;
	list-style: none; display: flex; flex-direction: column; gap: 0.75rem;
	background: var(--bg); color: var(--fg); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transform: translateX(-50%); visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0.2s;
}
.primary-nav .sub-menu::before { content: ""; position: absolute; top: -13px; left: 0; right: 0; height: 13px; }
.primary-nav .menu > li:hover > .sub-menu, .primary-nav .menu > li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.primary-nav .sub-menu a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(13, 13, 13, 0.75); }
.primary-nav .sub-menu a:hover { color: var(--gold); }
@media (min-width: 1200px) {
	.menu-toggle { display: none; }
	.primary-nav { display: block; }
	.site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; }
}
@media (min-width: 1400px) { .primary-nav .menu { gap: 1.5rem; } }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 70; background: rgba(13, 13, 13, 0.5); opacity: 0; transition: opacity 0.3s; }
.mobile-drawer.is-open { opacity: 1; }
.mobile-drawer__panel {
	width: min(86vw, 370px); height: 100%; overflow-y: auto; background: var(--bg); padding: 24px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); transform: translateX(-100%); transition: transform 0.3s var(--ease);
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: none; }
.mobile-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mobile-nav { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.mobile-nav .menu { list-style: none; }
.mobile-nav .menu > li { position: relative; border-bottom: 1px solid var(--border); }
.mobile-nav .menu > li > a { display: block; padding: 1rem 2rem 1rem 0; font-family: var(--serif); font-size: 1.5rem; }
.mobile-nav .submenu-toggle { position: absolute; right: 0; top: 0.9rem; width: 36px; height: 36px; display: grid; place-items: center; }
.mobile-nav .submenu-toggle .icon { transition: transform 0.2s; }
.mobile-nav li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.mobile-nav .sub-menu { display: none; list-style: none; flex-direction: column; gap: 0.75rem; padding: 0 0 1rem 0.75rem; }
.mobile-nav li.is-open > .sub-menu { display: flex; }
.mobile-nav .sub-menu a { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.mobile-nav__extra { display: flex; flex-direction: column; }
.mobile-nav__extra a { padding: 1rem 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

/* Backdrop for the cart drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 85; background: rgba(13, 13, 13, 0.5); opacity: 0; transition: opacity 0.3s; }
.drawer-backdrop.is-open { opacity: 1; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; display: flex; align-items: center; min-height: 620px; overflow: hidden; color: var(--bg); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 13, 13, 0.8), rgba(13, 13, 13, 0.45) 55%, transparent); }
.hero__content { position: relative; padding-top: 140px; padding-bottom: 130px; }
.hero h1 { margin-top: 1.5rem; max-width: 48rem; font-size: clamp(3rem, 8vw, 6rem); line-height: 1.02; text-transform: uppercase; }
.hero__text { margin-top: 1.5rem; max-width: 36rem; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.6; color: rgba(247, 245, 240, 0.9); }
.hero__buttons { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__rule { position: absolute; right: 24px; top: 50%; display: none; flex-direction: column; gap: 12px; transform: translateY(-50%); }
.hero__rule span { width: 1px; height: 12px; background: rgba(247, 245, 240, 0.7); }
.hero__rule span:first-child { height: 32px; background: var(--gold); }
.hero__marquee { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; border-top: 1px solid rgba(247, 245, 240, 0.15); background: rgba(13, 13, 13, 0.8); padding: 14px 0; backdrop-filter: blur(4px); }
.marquee { display: flex; width: max-content; animation: brandora-marquee 55s linear infinite; will-change: transform; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; }
.marquee__item { padding: 0 28px; white-space: nowrap; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(247, 245, 240, 0.85); }
.marquee__dot { width: 4px; height: 4px; border-radius: 999px; background: var(--gold); flex-shrink: 0; }
@keyframes brandora-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 640px) { .hero { min-height: 780px; } .hero__content { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 768px) { .hero__rule { display: flex; } }
@media (min-width: 1024px) { .hero { min-height: 90vh; } }

/* Category tiles ---------------------------------------------------------- */
.shop-categories { padding-top: 4.5rem; padding-bottom: 2.5rem; }
.category-stage { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.category-stage::-webkit-scrollbar { display: none; }
.category-tile {
	position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; min-height: 0; overflow: hidden; scroll-snap-align: start;
	color: var(--bg); background: #191919;
}
.category-tile:hover { color: var(--bg); }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 0.7s; }
.category-tile:hover img { transform: scale(1.04); }
.category-tile__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 13, 13, 0.82) 0%, rgba(13, 13, 13, 0.15) 52%, rgba(13, 13, 13, 0.08) 100%); }
.category-tile.is-plain { background: linear-gradient(165deg, #2c2a26 0%, #191919 55%); }
.category-tile.is-plain::before { content: ""; position: absolute; left: 22px; top: 22px; width: 32px; height: 1px; background: var(--gold); }
.category-tile__text { position: relative; z-index: 1; padding: 22px; }
.category-tile__title { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 2vw, 2rem); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.05; }
.category-tile__detail { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; max-width: 16rem; font-size: 0.75rem; line-height: 1.45; color: rgba(247, 245, 240, 0.84); }
.category-tile__cta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; padding-bottom: 4px; border-bottom: 1px solid var(--gold); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
@media (min-width: 720px) {
	.category-stage { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
}
@media (min-width: 1100px) {
	.category-stage { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Homepage product rails -------------------------------------------------- */
.home-arrivals { padding-top: 1rem; padding-bottom: 1.5rem; }
.home-arrivals__intro .section-heading { margin-bottom: 0.25rem; }
.home-rail { padding-top: 2.25rem; padding-bottom: 0.5rem; }
.home-rail--best { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.home-rail__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.25rem; }
.home-rail .section-heading { margin: 0; text-align: left; }
.home-rail .section-heading h2 { margin-top: 0.35rem; font-size: clamp(1.85rem, 3vw, 2.5rem); letter-spacing: 0.04em; }
.home-rail__tools { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.home-rail__arrows { display: flex; gap: 8px; }
.home-rail__btn {
	display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); background: var(--bg); color: var(--fg);
}
.home-rail__btn .icon { width: 18px; height: 18px; }
.home-rail__btn:hover { border-color: var(--gold); color: var(--gold); }
.home-rail__btn:disabled { opacity: 0.35; cursor: default; }
.home-rail__btn:disabled:hover { border-color: var(--border); color: var(--fg); }
.product-rail { overflow: hidden; }
.home-rail .products.product-rail__track {
	display: flex; gap: 1.15rem; margin: 0; padding: 0 0 4px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; grid-template-columns: none;
}
.home-rail .products.product-rail__track::-webkit-scrollbar { display: none; }
.home-rail .product-rail__track > .product-card {
	flex: 0 0 84%; width: auto; max-width: none; margin: 0; scroll-snap-align: start;
}
.home-rail .product-card__title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em;
}
@media (min-width: 700px) {
	.home-rail .product-rail__track > .product-card { flex-basis: calc((100% - 1.15rem) / 2); }
}
@media (min-width: 1024px) {
	.home-rail .product-rail__track > .product-card { flex-basis: calc((100% - 2.3rem) / 3); }
}
@media (max-width: 699px) {
	.home-rail__bar { align-items: flex-start; flex-wrap: wrap; }
	.home-rail__tools { width: 100%; justify-content: space-between; }
}

/* Editorial banner -------------------------------------------------------- */
.editorial { position: relative; display: flex; align-items: center; min-height: 480px; color: var(--bg); overflow: hidden; }
.editorial > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial__shade { position: absolute; inset: 0; background: rgba(13, 13, 13, 0.65); }
.editorial__content { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
.editorial h2 { margin-top: 1.25rem; max-width: 36rem; font-size: clamp(3rem, 7vw, 4.5rem); text-transform: uppercase; }
.editorial p:not(.eyebrow) { margin-top: 1rem; font-size: 1.125rem; }
.editorial .btn { margin-top: 2rem; }

/* Newsletter -------------------------------------------------------------- */
.newsletter { border-top: 1px solid var(--border); background: rgba(236, 235, 229, 0.5); padding: 5rem 24px; text-align: center; }
.newsletter h2 { margin-top: 0.75rem; font-size: clamp(2.25rem, 5vw, 3rem); }
.newsletter__sub { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.newsletter__form { display: flex; flex-direction: column; gap: 8px; max-width: 28rem; margin: 1.75rem auto 0; }
.newsletter__form input[type="email"] { flex: 1; height: 44px; padding: 0 1rem; border: 1px solid var(--border); background: var(--bg); outline: none; }
.newsletter__form input[type="email"]:focus { border-color: var(--gold); }
.newsletter__form .btn { height: 44px; min-height: 44px; }
.newsletter__thanks { margin-top: 2rem; font-family: var(--serif); font-size: 1.5rem; }
@media (min-width: 640px) { .newsletter__form { flex-direction: row; } }
.form-error { color: var(--danger); font-size: 0.875rem; margin: 1rem 0 0; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--bg); margin-top: 0; }
.site-footer__grid { display: grid; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 20rem; font-size: 0.875rem; color: rgba(247, 245, 240, 0.6); }
.site-footer h3 { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.site-footer .footer-menu { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer .footer-menu a { font-size: 0.875rem; color: rgba(247, 245, 240, 0.7); }
.site-footer .footer-menu a:hover { color: var(--gold); }
.site-footer__bottom { display: flex; flex-direction: column; justify-content: space-between; gap: 0.75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(247, 245, 240, 0.15); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(247, 245, 240, 0.5); }
.social-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.15rem; row-gap: 0.75rem; margin-top: 1.75rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; line-height: 0; color: rgba(247, 245, 240, 0.92); }
.social-links svg.social-icon { display: block; width: 16px; height: 16px; max-width: none; flex: none; fill: currentColor; }
.social-links a:hover { color: var(--gold); }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }

/* Page header & content ---------------------------------------------------- */
.page-header { padding-top: 3.5rem; padding-bottom: 1.5rem; }
.has-overlay-header .page-header { padding-top: 3.5rem; }
.page-title { font-size: clamp(2.5rem, 6vw, 3.75rem); text-transform: uppercase; }
.page-lead { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; color: var(--muted); }
.page-lead p:last-child { margin-bottom: 0; }
.page-banner img { width: 100%; height: 18rem; object-fit: cover; }
@media (min-width: 640px) { .page-banner img { height: 24rem; } }
.entry-meta { color: var(--muted); font-size: 0.875rem; margin-top: 0.75rem; }
.entry-content { padding-top: 1.5rem; padding-bottom: 5rem; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2, .entry-content h3 { margin-top: 2em; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content a:not(.btn) { border-bottom: 1px solid var(--gold); }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content img { height: auto; }
.entry-content blockquote { margin-left: 0; padding-left: 1.25rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.5rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--border); text-align: left; }

.section-rows { padding-top: 2rem; padding-bottom: 5rem; }
.section-row { display: grid; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--border); }
.section-row h2 { font-size: 1.875rem; }
.section-row__body { max-width: 36rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.section-row__body p:last-child { margin-bottom: 0; }
@media (min-width: 640px) { .section-row { grid-template-columns: 1fr 1.5fr; } }

/* Accordion --------------------------------------------------------------- */
.accordion { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; cursor: pointer; list-style: none; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon-minus { display: none; }
.accordion details[open] summary .icon-minus { display: block; }
.accordion details[open] summary .icon-plus { display: none; }
.accordion__body { padding-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.accordion__body > *:last-child { margin-bottom: 0; }
.accordion--faq { margin-top: 1rem; padding-bottom: 5rem; }
.accordion--faq details { padding: 1.25rem 0; }
.accordion--faq summary { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; text-transform: none; font-weight: 500; }

/* Brands directory -------------------------------------------------------- */
.brands-hero { border-bottom: 1px solid var(--border); background: rgba(236, 235, 229, 0.4); padding: 4rem 0 3.5rem; }
.brands-hero .page-title { margin-top: 1rem; font-size: clamp(3rem, 7vw, 4.5rem); }
.brands-hero .page-lead { font-size: 1rem; }
.underline-input { display: flex; align-items: center; gap: 0.75rem; max-width: 36rem; margin-top: 2.25rem; padding-bottom: 12px; border-bottom: 1px solid var(--fg); }
.underline-input input { width: 100%; background: transparent; border: 0; outline: none; font-family: var(--serif); font-size: 1.5rem; }
.underline-input input::placeholder { color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 2.5rem 0 1.75rem; }
.brands-page .chip-row { border-bottom: 1px solid var(--border); padding-bottom: 1.75rem; }
.chip {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 1rem; border: 1px solid var(--border); background: var(--bg);
	font-size: 0.75rem; font-weight: 500; transition: background 0.2s, color 0.2s, border-color 0.2s; cursor: pointer; color: var(--fg);
}
.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip.is-active { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.count-line { margin: 2rem 0 0; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.brand-letter { display: grid; gap: 1.25rem; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.brand-letter h2 { font-size: 2.25rem; color: var(--gold); }
.brand-letter__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 1rem; }
.brand-link { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 5rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(222, 219, 211, 0.6); font-family: var(--serif); font-size: 1.125rem; }
.brand-link .icon { opacity: 0; transition: opacity 0.2s; }
.brand-link:hover .icon { opacity: 1; }
.brand-link[hidden] { display: none; }
@media (min-width: 640px) { .brand-link { font-size: 1.5rem; } .brand-letter__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .brand-letter { grid-template-columns: 100px 1fr; } }
@media (min-width: 1024px) { .brand-letter__list { grid-template-columns: repeat(4, 1fr); } }

/* Forms ------------------------------------------------------------------- */
.form-stack { display: grid; gap: 1rem; }
.form-stack label, .filters__field { display: block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
	width: 100%; border: 1px solid var(--border); border-radius: 0; background: var(--bg); padding: 0 0.75rem; min-height: 44px; outline: none; transition: border-color 0.2s;
}
textarea { padding: 0.75rem; min-height: 8rem; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.form-stack input, .form-stack select, .form-stack textarea { margin-top: 0.5rem; text-transform: none; letter-spacing: 0; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230d0d0d' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2rem; }

.contact { display: grid; gap: 3rem; padding-top: 4rem; padding-bottom: 5rem; }
.contact__intro img { margin-top: 2.5rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact__thanks { font-family: var(--serif); font-size: 1.5rem; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* Search overlay ----------------------------------------------------------- */
.search-overlay { position: fixed; inset: 0; z-index: 80; overflow: auto; background: rgba(247, 245, 240, 0.98); backdrop-filter: blur(16px); padding: 20px; opacity: 0; transition: opacity 0.25s; }
.search-overlay.is-open { opacity: 1; }
.search-overlay__inner { max-width: 48rem; margin: 0 auto; }
.search-overlay__top { display: flex; align-items: center; justify-content: space-between; }
.search-overlay__form { display: flex; align-items: center; gap: 0.75rem; margin-top: 4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--fg); }
.search-overlay__form input { background: transparent; border: 0; min-height: 0; padding: 0; font-family: var(--serif); font-size: 1.5rem; }
@media (min-width: 640px) { .search-overlay__form input { font-size: 2.25rem; } }
.live-search { padding-bottom: 3rem; }
.live-search__label { margin: 1.75rem 0 0.5rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.live-search__item { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.live-search__thumb img { width: 52px; height: 65px; object-fit: cover; }
.live-search__meta { flex: 1; min-width: 0; }
.live-search__brand { display: block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.live-search__title { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.live-search__price { font-size: 0.875rem; }
.live-search__price del { color: var(--muted); font-size: 0.75rem; margin-right: 0.35rem; }
.live-search__price ins { text-decoration: none; }
.live-search__brandlink { display: flex; align-items: center; gap: 0.5rem; padding: 1rem 0; border-bottom: 1px solid var(--border); font-family: var(--serif); font-size: 1.25rem; }
.live-search__all { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; border-bottom: 1px solid var(--gold); }
.live-search__empty { color: var(--muted); }
.search-form { display: flex; align-items: center; border: 1px solid var(--border); max-width: 28rem; margin-top: 1rem; }
.search-form__input { border: 0; background: transparent; }
.search-form__submit { padding: 0 12px; }

/* Cart drawer --------------------------------------------------------------- */
.cart-drawer {
	position: fixed; top: 0; right: 0; z-index: 90; display: flex; flex-direction: column; width: 100%; max-width: 28rem; height: 100%;
	background: var(--bg); padding: 24px; box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
	transform: translateX(100%); transition: transform 0.3s var(--ease);
}
.cart-drawer.is-open { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.cart-drawer__head h2 { font-size: 1.875rem; }
.cart-drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart-drawer.is-loading .widget_shopping_cart_content { opacity: 0.5; pointer-events: none; }
.mini-cart { list-style: none; flex: 1; overflow-y: auto; padding: 1.5rem 0; display: flex; flex-direction: column; gap: 1.25rem; }
.mini-cart__item { display: flex; gap: 1rem; }
.mini-cart__thumb { width: 88px; flex-shrink: 0; }
.mini-cart__thumb img { width: 88px; height: 112px; object-fit: cover; }
.mini-cart__body { flex: 1; min-width: 0; }
.mini-cart__brand { margin: 0; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.mini-cart__name { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.mini-cart__price { margin: 0.25rem 0 0; font-size: 0.875rem; }
.mini-cart__body dl.variation { margin: 0.25rem 0 0; font-size: 0.75rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 0.75rem; }
.mini-cart__body dl.variation dt, .mini-cart__body dl.variation dd { margin: 0; display: inline; }
.mini-cart__body dl.variation dd p { display: inline; margin: 0; }
.mini-cart__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.qty-stepper button { display: grid; place-items: center; width: 28px; height: 28px; }
.qty-stepper button:hover { background: var(--secondary); }
.qty-stepper span { min-width: 28px; text-align: center; font-size: 0.875rem; }
.mini-cart__remove { margin-left: auto; font-size: 0.75rem; text-decoration: underline; }
.mini-cart__remove:hover { color: var(--gold); }
.mini-cart__footer { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin-bottom: 1.25rem; font-size: 0.875rem; }
.woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; }
.mini-cart__empty { text-align: center; padding: 3rem 0; color: var(--muted); }
.mini-cart__empty .btn { margin-top: 1rem; }

/* Product card -------------------------------------------------------------- */
.products { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 0.75rem; margin: 0; padding: 0; }
@media (min-width: 640px) { .products { column-gap: 1.25rem; } }
@media (min-width: 1024px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.container .products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .container .products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product-card { position: relative; min-width: 0; }
.product-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--secondary); }
.product-card__link { display: block; height: 100%; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badge { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 4px 8px; background: var(--bg); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; line-height: 1.2; }
@media (min-width: 640px) { .product-card__badge { left: 12px; top: 12px; } }
.wishlist-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; transition: color 0.2s, background 0.2s; }
.wishlist-btn.is-saved .icon { fill: var(--gold); color: var(--gold); }
.product-card .wishlist-btn { position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; background: rgba(247, 245, 240, 0.9); }
.product-card .wishlist-btn:hover { background: var(--bg); color: var(--gold); }
.product-card__actions { position: absolute; left: 0; right: 0; bottom: 0; display: none; gap: 4px; padding: 8px; opacity: 0; transition: opacity 0.3s; }
.product-card__actions .btn:first-child { flex: 1; }
.product-card:hover .product-card__actions, .product-card:focus-within .product-card__actions { opacity: 1; }
@media (min-width: 640px) { .product-card__actions { display: flex; } .product-card__mobile-action { display: none; } }
.product-card__info { padding-top: 12px; }
.product-card__brand { margin: 0; font-size: 10px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); }
.product-card__title { margin: 4px 0 0; font-size: 1.125rem; line-height: 1.15; }
@media (min-width: 640px) { .product-card__title { font-size: 1.25rem; } }
.product-card__title a:hover { color: var(--gold); }
.product-card__price { margin: 4px 0 0; font-size: 0.875rem; }
.product-card__rating { margin: 4px 0 0; font-size: 10px; }
.product-card__mobile-action { margin-top: 0.75rem; }

.price { font-size: inherit; }
.price del { color: var(--muted); font-size: 0.8em; margin-left: 0.4rem; opacity: 1; }
.price ins { text-decoration: none; background: none; }
.price .screen-reader-text { position: absolute; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; flex-direction: row-reverse; justify-content: flex-end; gap: 0 0.1rem; }

.stars-rating { display: inline-flex; align-items: baseline; gap: 0.25rem; color: var(--muted); }
.stars { display: inline-block; letter-spacing: 2px; background: linear-gradient(90deg, var(--gold) calc(var(--rating, 5) * 20%), #d6d2c6 0); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Post cards & blog ---------------------------------------------------------- */
.blog-layout { padding-bottom: 5rem; }
.post-grid { display: grid; gap: 3rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__date { margin: 1rem 0 0.25rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-size: 1.75rem; }
.post-card__excerpt { font-size: 0.875rem; color: var(--muted); margin-top: 0.5rem; }
.navigation.pagination, .woocommerce-pagination { display: flex; justify-content: center; margin-top: 3.5rem; }
.nav-links, .woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: auto; margin: 0; padding: 0; border: 0; list-style: none; }
.woocommerce-pagination ul.page-numbers li { margin: 0; }
a.page-numbers, span.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--border); font-size: 0.875rem; }
a.page-numbers:hover { border-color: var(--fg); color: var(--fg); }
span.page-numbers.current, a.page-numbers.current { background: var(--fg); border-color: var(--fg); color: var(--bg); }
span.page-numbers.dots { border-color: transparent; }

.comments { padding-bottom: 5rem; }
.comment-list { list-style: none; }
.comment-list li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.comment-form label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.25rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form input[type="submit"] { background: var(--fg); color: var(--bg); border: 0; padding: 0 2rem; min-height: 48px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; cursor: pointer; width: auto; }

/* Empty states / 404 --------------------------------------------------------- */
.empty-state { text-align: center; padding: 6rem 0; }
.empty-state h2 { font-size: 1.875rem; }
.empty-state p { margin-top: 0.75rem; color: var(--muted); }
.empty-state .btn { margin-top: 1.75rem; }
.not-found { max-width: 28rem; text-align: center; padding-top: 8rem; padding-bottom: 8rem; }
.not-found h1 { font-size: 6rem; font-family: var(--sans); font-weight: 600; }
.not-found h2 { margin-top: 1rem; font-size: 1.5rem; font-family: var(--sans); font-weight: 600; }
.not-found p { color: var(--muted); margin: 0.5rem 0 1.5rem; }

/* Narrow phones (320px and the same tight widths) ------------------------- */
@media (max-width: 380px) {
	.container { padding-left: 16px; padding-right: 16px; }
	.btn { padding: 0 1rem; }
	.hero h1 { font-size: 2.6rem; }
	.hero__buttons { flex-direction: column; align-items: stretch; }
	.hero__buttons .btn,
	.editorial .btn { width: 100%; max-width: 100%; }
	.site-logo__name { font-size: 1.25rem; letter-spacing: 0.08em; }
	.site-logo__img { width: 36px; height: 36px; }
	.product-card__mobile-action .btn { padding: 0 0.4rem; letter-spacing: 0.06em; }
	.product-card__title { font-size: 1rem; }
	.newsletter { padding-left: 16px; padding-right: 16px; }
	.search-overlay__form input { font-size: 1.25rem; }
	.cart-drawer { padding: 16px; }
	.underline-input input { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
