:root {
  --bg: #0f0f10;
  --bg-soft: #151516;
  --surface: #ffffff;
  --surface-soft: #f6f2eb;
  --surface-muted: #fbf9f5;
  --text: #111111;
  --text-soft: #5d5a55;
  --text-lighter: rgba(255, 255, 255, 0.82);
  --line: rgba(17, 17, 17, 0.12);
  --line-soft: rgba(17, 17, 17, 0.08);
  --line-light: rgba(255, 255, 255, 0.14);
  --transition-fast: 180ms ease;
  --transition-mid: 260ms ease;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  --container: 1240px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
}

.light-page {
  background: #fff;
  color: var(--text);
}

.container {
  width: min(100% - 56px, var(--container));
  margin: 0 auto;
}

.topbar {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.64);
  background: #0b0b0c;
  border-bottom: 1px solid var(--line-light);
  text-align: center;
}

.light-page .topbar {
  background: #faf7f2;
  color: #6f695f;
  border-bottom: 1px solid var(--line-soft);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  background: rgba(15, 15, 16, 0.76);
  border-bottom: 1px solid var(--line-light);
}

.navbar-light {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-left {
  justify-self: start;
}

.nav-right {
  justify-self: end;
}

.nav-links a,
.nav-text-btn {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: opacity var(--transition-fast);
  color: inherit;
}

.nav-links a:hover,
.nav-text-btn:hover,
.section-link:hover,
.text-link:hover {
  opacity: 0.6;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-icon-btn,
.nav-toggle,
.overlay-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

.nav-icon-btn:hover,
.nav-toggle:hover,
.overlay-close:hover {
  transform: translateY(-1px);
}

.navbar .nav-icon-btn:hover,
.navbar .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.navbar-light .nav-icon-btn:hover,
.navbar-light .nav-toggle:hover {
  background: rgba(17, 17, 17, 0.04);
}

.nav-icon-btn i,
.overlay-close i {
  font-size: 0.95rem;
}

.cart-count {
  position: absolute;
  top: 6px;
  right: 5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  background: #fff;
  color: #111;
}

.navbar-light .cart-count {
  background: #111;
  color: #fff;
}

.nav-toggle {
  display: none;
}

.nav-toggle span {
  width: 18px;
  height: 1.4px;
  background: currentColor;
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 10px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-light .mobile-menu {
  border-top: 1px solid var(--line-soft);
}

.mobile-menu a,
.mobile-search-btn {
  min-height: 50px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: inherit;
}

.mobile-menu.active {
  display: flex;
}

.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: flex-end;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12)),
    linear-gradient(to right, rgba(0, 0, 0, 0.34), transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 0 88px;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.72;
}

.hero h1,
.intro-statement h2,
.section-head h2,
.split-copy h2,
.campaign-inner h2,
.newsletter h2,
.listing-hero h1,
.product-summary h1,
.quick-view-copy h2,
.search-header h2,
.cart-header h2,
.empty-products-state h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(3.1rem, 8.8vw, 7.2rem);
  max-width: 760px;
}

.hero-copy,
.intro-copy,
.split-copy p,
.section-note,
.listing-copy,
.product-description,
.footer-copy,
.quick-view-description,
.accordion-content p,
.cart-benefits span,
.search-featured span,
.journal-content p,
.empty-products-state p {
  color: var(--text-lighter);
  font-size: 1rem;
}

.light-page .listing-copy,
.light-page .product-description,
.light-page .footer-copy,
.light-page .quick-view-description,
.light-page .accordion-content p,
.light-page .section-note,
.light-page .journal-content p,
.light-page .empty-products-state p {
  color: var(--text-soft);
}

.hero-copy {
  max-width: 560px;
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: #111;
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-outline-dark {
  border-color: rgba(17, 17, 17, 0.14);
  color: #111;
}

.full-width {
  width: 100%;
}

.section {
  padding: 112px 0;
}

.intro-statement {
  background: #111113;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: start;
}

.intro-statement h2 {
  font-size: clamp(2.3rem, 4.4vw, 4.2rem);
}

.intro-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 620px;
}

.categories {
  background: #141416;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-link,
.text-link {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 520px;
}

.category-large {
  min-height: 620px;
}

.category-card img,
.split-media img,
.product-media img,
.journal-card img,
.listing-hero-image img,
.gallery-main img,
.gallery-thumbs img,
.mosaic-card img,
.quick-view-image-wrap img,
.search-featured img,
.cart-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card::after,
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.34), transparent 55%);
  pointer-events: none;
}

.category-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  z-index: 2;
}

.category-overlay span {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.split-feature,
.newsletter,
.home-edits {
  background: var(--surface-soft);
  color: #111;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 46px;
  align-items: center;
}

.split-media img,
.listing-hero-image img,
.journal-card,
.gallery-main,
.thumb,
.mosaic-card,
.product-media,
.quick-view-image-wrap,
.search-featured article,
.cart-item {
  border-radius: var(--radius-lg);
}

.split-copy h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin-bottom: 18px;
}

.split-copy p {
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 24px;
}

.editorial-mosaic,
.featured-products,
.journal {
  background: #fff;
  color: #111;
}

.section-note {
  max-width: 380px;
  text-align: right;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 0.88fr;
  grid-template-areas:
    "a b c"
    "a d e";
  gap: 18px;
}

.mosaic-card {
  overflow: hidden;
  background: var(--surface-soft);
  position: relative;
}

.mosaic-a { grid-area: a; min-height: 720px; }
.mosaic-b { grid-area: b; min-height: 350px; }
.mosaic-c { grid-area: c; min-height: 350px; }
.mosaic-d { grid-area: d; min-height: 350px; }
.mosaic-e { grid-area: e; min-height: 350px; }

.editorial-shop-trigger {
  cursor: pointer;
  outline: none;
}

.editorial-hover-pill {
  position: absolute;
  left: 18px;
  bottom: 18px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  pointer-events: none;
}

.editorial-shop-trigger:hover .editorial-hover-pill,
.editorial-shop-trigger:focus .editorial-hover-pill,
.editorial-shop-trigger:focus-within .editorial-hover-pill {
  opacity: 1;
  transform: translateY(0);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-card a {
  display: block;
}

.product-media {
  position: relative;
  aspect-ratio: 0.78 / 1;
  overflow: hidden;
  background: var(--surface-soft);
}

.product-quick-view {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.product-card:hover .product-quick-view,
.product-card:focus-within .product-quick-view {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 10px 2px 0;
}

.product-category {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a756d;
  margin-bottom: 8px;
}

.product-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.58rem;
  font-weight: 600;
  line-height: 1.02;
  color: #111;
  margin-bottom: 8px;
}

.product-info strong {
  font-size: 0.95rem;
  color: #111;
}

.edits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.edits-grid a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #111;
  background: rgba(255, 255, 255, 0.65);
  transition: background var(--transition-fast), transform var(--transition-fast);
  text-align: center;
}

.edits-grid a:hover {
  background: #fff;
  transform: translateY(-1px);
}

.campaign-banner {
  background: #111;
  color: #fff;
}

.campaign-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.campaign-inner h2 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  max-width: 820px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.journal-card {
  overflow: hidden;
  background: var(--surface-muted);
}

.journal-card img {
  aspect-ratio: 1 / 1.15;
}

.journal-content {
  padding: 24px;
}

.journal-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: #111;
  margin-bottom: 8px;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.newsletter h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: #111;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  width: min(100%, 560px);
}

.newsletter-form input,
.search-form input,
.products-toolbar select {
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: #111;
  padding: 0 18px;
  outline: none;
}

.newsletter-form input {
  flex: 1;
}

.footer {
  padding: 76px 0 56px;
  background: #0f0f10;
  color: rgba(255, 255, 255, 0.84);
  border-top: 1px solid var(--line-light);
}

.footer-light {
  background: #fff;
  color: #111;
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
}

.footer h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  opacity: 0.84;
}

.listing-hero {
  padding: 78px 0 44px;
  background: #fff;
  color: #111;
}

.listing-hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 34px;
  align-items: center;
}

.listing-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  margin-bottom: 18px;
}

.listing-hero-image img {
  aspect-ratio: 1.18 / 1;
}

.product-listing-page {
  background: #fff;
  color: #111;
  padding-top: 28px;
}

.product-page-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 116px;
  padding: 18px 0;
}

.filter-group + .filter-group {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.filter-group h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.48rem;
  margin-bottom: 14px;
}

.filter-group label {
  display: block;
  margin-bottom: 10px;
}

.filter-group label a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: opacity var(--transition-fast);
}

.filter-group label a:hover {
  opacity: 0.6;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.products-toolbar p {
  color: var(--text-soft);
}

.products-toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.active-filter-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #111;
  background: var(--surface-muted);
}

.active-filter-pill a {
  opacity: 0.7;
}

.listing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.products-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.products-pagination button {
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #111;
  background: #fff;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.products-pagination button.active,
.products-pagination button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.empty-products-state {
  padding: 56px 0 24px;
}

.empty-products-state h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #111;
  margin-bottom: 10px;
}

.empty-products-state p {
  margin-bottom: 24px;
}

.product-breadcrumb-wrap {
  background: #fff;
  padding: 18px 0 0;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #7a756d;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-detail {
  background: #fff;
  color: #111;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
}

.gallery-thumbs {
  display: grid;
  gap: 12px;
}

.thumb {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  opacity: 0.72;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.thumb.active {
  opacity: 1;
  border-color: #111;
}

.gallery-main {
  overflow: hidden;
  background: var(--surface-soft);
}

.gallery-main img {
  aspect-ratio: 0.82 / 1;
}

.product-summary {
  padding-top: 12px;
}

.product-summary h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  color: #111;
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.price-row strong {
  font-size: 1.2rem;
  color: #111;
}

.price-row span {
  color: #7a756d;
  font-size: 0.92rem;
}

.product-description {
  margin-bottom: 30px;
}

.detail-block {
  margin-bottom: 24px;
}

.detail-block h3,
.option-label {
  margin-bottom: 12px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6e6962;
}

.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-pills button {
  min-width: 48px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  color: #111;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.size-pills button:hover,
.size-pills button.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.18);
  position: relative;
}

.swatch.active {
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
}

.swatch-label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.swatch-black { background: #161616; }
.swatch-cream { background: #d7cfc3; }
.swatch-brown { background: #7d5e49; }
.swatch-grey { background: #9b9b9b; }
.swatch-stone { background: #b8ad9b; }
.swatch-ivory { background: #ece6d8; }
.swatch-camel { background: #b98752; }
.swatch-soft-grey { background: #bdbdbd; }
.swatch-champagne { background: #d9c29b; }

.product-actions {
  display: grid;
  gap: 12px;
  margin: 30px 0 24px;
}

.product-benefits {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.product-benefits strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
  color: #111;
}

.product-benefits span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.accordion {
  border-top: 1px solid var(--line-soft);
}

.accordion-item {
  border-bottom: 1px solid var(--line-soft);
}

.accordion-btn {
  width: 100%;
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.accordion-btn::after {
  content: "+";
  font-size: 1rem;
}

.accordion-item.active .accordion-btn::after {
  content: "−";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-mid);
}

.accordion-item.active .accordion-content {
  max-height: 220px;
}

.accordion-content p {
  padding: 0 0 18px;
}

.related-products {
  padding-top: 26px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(9, 9, 10, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.overlay-panel {
  position: relative;
  width: min(100%, 1180px);
  background: #fff;
  color: #111;
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: translateY(8px);
  transition: transform var(--transition-mid);
}

.overlay.active .overlay-panel {
  transform: translateY(0);
}

.overlay-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  background: rgba(17, 17, 17, 0.04);
}

.search-panel {
  padding: 42px 42px 34px;
  max-width: 980px;
}

.search-header h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 26px;
}

.search-form {
  margin-bottom: 20px;
}

.search-form input {
  width: 100%;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.search-suggestions button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #111;
}

.search-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.search-featured,
.search-result-card {
  display: grid;
  gap: 18px;
}

.search-featured article,
.search-result-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: var(--surface-muted);
  padding: 14px;
  border-radius: var(--radius-lg);
}

.search-featured img,
.search-result-card img {
  aspect-ratio: 1 / 1.1;
  border-radius: var(--radius-md);
}

.search-featured p,
.search-result-card h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  color: #111;
  line-height: 1.02;
}

.search-result-card p {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin: 6px 0;
}

.search-result-card strong {
  color: #111;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
}

.cart-drawer.active {
  pointer-events: auto;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 10, 0.42);
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.cart-drawer.active .cart-overlay {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 500px);
  height: 100%;
  background: #fff;
  color: #111;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform var(--transition-mid);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.08);
}

.cart-drawer.active .cart-panel {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 26px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.cart-footer {
  border-bottom: none;
  border-top: 1px solid var(--line-soft);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.cart-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.cart-body {
  overflow-y: auto;
  padding: 0 24px 24px;
}

.cart-items {
  padding-top: 18px;
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  background: var(--surface-muted);
  padding: 12px;
}

.cart-item img {
  aspect-ratio: 0.85 / 1;
}

.cart-item-copy h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 4px;
}

.cart-item-copy p {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.cart-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button,
.qty-control button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #111;
}

.cart-remove-btn {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7a756d;
}

.cart-benefits {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.cart-benefits strong {
  display: block;
  font-size: 0.9rem;
  color: #111;
  margin-bottom: 2px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.cart-summary-row.small {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.quick-view-panel {
  padding: 34px;
  max-width: 980px;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.quick-view-image-wrap {
  overflow: hidden;
  background: var(--surface-soft);
}

.quick-view-image-wrap img {
  aspect-ratio: 0.86 / 1;
}

.quick-view-copy {
  padding: 18px 6px 0;
}

.quick-view-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 16px;
}

.quick-view-price {
  display: inline-block;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.quick-view-description {
  margin-bottom: 24px;
}

.quick-view-options {
  display: grid;
  gap: 22px;
  margin-bottom: 26px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.quick-view-actions {
  display: grid;
  gap: 12px;
}

.empty-cart {
  padding: 30px 0;
  color: var(--text-soft);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .split-grid,
  .listing-hero-grid,
  .product-detail-grid,
  .quick-view-grid,
  .footer-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .product-page-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 26px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-large {
    grid-column: span 2;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a a"
      "b c"
      "d e";
  }

  .mosaic-a { min-height: 520px; }
  .mosaic-b,
  .mosaic-c,
  .mosaic-d,
  .mosaic-e { min-height: 280px; }

  .section-note {
    text-align: left;
    max-width: 520px;
  }

  .edits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .nav-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 74px;
    gap: 14px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav-left,
  .nav-right a,
  .nav-right .nav-text-btn {
    display: none;
  }

  .nav-right {
    gap: 0;
  }

  .brand {
    justify-self: center;
    font-size: 1.36rem;
    letter-spacing: 0.14em;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-content {
    padding-bottom: 52px;
    max-width: 560px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 11vw, 5rem);
  }

  .section {
    padding: 82px 0;
  }

  .category-grid,
  .product-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .category-large {
    grid-column: auto;
  }

  .category-card,
  .category-large {
    min-height: 420px;
  }

  .search-panel {
    padding: 30px 24px 24px;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    width: min(100%, 460px);
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-main img {
    aspect-ratio: 0.86 / 1;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .products-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .edits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    font-size: 1.06rem;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-overlay {
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18)),
      linear-gradient(to right, rgba(0, 0, 0, 0.24), transparent 72%);
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.4rem);
    max-width: 420px;
  }

  .hero-copy,
  .intro-copy,
  .split-copy p,
  .listing-copy,
  .product-description,
  .section-note,
  .journal-content p,
  .quick-view-description,
  .cart-benefits span,
  .empty-products-state p {
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
    gap: 10px;
    margin-bottom: 28px;
  }

  .intro-grid {
    gap: 28px;
  }

  .split-grid {
    gap: 24px;
  }

  .mosaic-grid {
    gap: 10px;
  }

  .mosaic-a { min-height: 300px; }
  .mosaic-b,
  .mosaic-c,
  .mosaic-d,
  .mosaic-e { min-height: 170px; }

  .listing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product-media {
    aspect-ratio: 0.82 / 1;
  }

  .product-quick-view,
  .editorial-hover-pill {
    opacity: 1;
    transform: none;
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 40px;
    font-size: 0.7rem;
  }

  .editorial-hover-pill {
    right: auto;
    padding: 0 14px;
  }

  .product-info h3 {
    font-size: 1.36rem;
  }

  .product-summary h1,
  .quick-view-copy h2,
  .search-header h2,
  .empty-products-state h2 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .search-panel {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    padding-top: 68px;
  }

  .overlay {
    padding: 0;
    align-items: stretch;
  }

  .quick-view-panel {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    overflow-y: auto;
    padding: 68px 18px 22px;
  }

  .cart-panel {
    width: 100%;
  }

  .cart-header,
  .cart-footer,
  .cart-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cart-item {
    grid-template-columns: 88px 1fr;
  }

  .cart-item-copy h4 {
    font-size: 1.28rem;
  }

  .quick-view-grid {
    gap: 20px;
  }

  .quick-view-copy {
    padding: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .edits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .listing-grid {
    gap: 14px;
  }

  .product-info h3 {
    font-size: 1.24rem;
  }

  .journal-content {
    padding: 18px;
  }

  .journal-content h3 {
    font-size: 1.5rem;
  }

  .search-suggestions {
    gap: 8px;
  }

  .search-suggestions button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .edits-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Icon refinement
========================= */

.nav-icon-btn,
.nav-toggle,
.overlay-close,
.filters-drawer-open,
.filters-drawer-close {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.navbar-light .nav-icon-btn,
.navbar-light .nav-toggle,
.navbar-light .overlay-close,
.navbar-light .filters-drawer-open,
.navbar-light .filters-drawer-close {
  box-shadow: inset 0 0 0 1px rgba(17,17,17,0.09);
}

.nav-icon-btn i,
.overlay-close i,
.filters-drawer-open i,
.filters-drawer-close i {
  font-size: 0.92rem;
  line-height: 1;
}

.nav-toggle {
  gap: 5px;
}

.nav-toggle span {
  width: 17px;
  height: 1.5px;
  border-radius: 999px;
}

.navbar .nav-icon-btn:active,
.navbar .nav-toggle:active,
.overlay-close:active,
.filters-drawer-open:active,
.filters-drawer-close:active {
  transform: scale(0.97);
}

.search-form {
  position: relative;
}

.search-form::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(17,17,17,0.45);
  font-size: 0.88rem;
  pointer-events: none;
}

.search-form input {
  padding-left: 46px;
}

/* =========================
   Products editorial layout
========================= */

@media (min-width: 901px) {
  .listing-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
  }

  .listing-grid .product-card:nth-child(12n + 1),
  .listing-grid .product-card:nth-child(12n + 6) {
    grid-column: span 5;
  }

  .listing-grid .product-card:nth-child(12n + 2),
  .listing-grid .product-card:nth-child(12n + 3),
  .listing-grid .product-card:nth-child(12n + 4),
  .listing-grid .product-card:nth-child(12n + 5),
  .listing-grid .product-card:nth-child(12n + 7),
  .listing-grid .product-card:nth-child(12n + 8),
  .listing-grid .product-card:nth-child(12n + 9),
  .listing-grid .product-card:nth-child(12n + 10),
  .listing-grid .product-card:nth-child(12n + 11),
  .listing-grid .product-card:nth-child(12n + 12) {
    grid-column: span 3;
  }

  .listing-grid .product-card:nth-child(12n + 1) .product-media,
  .listing-grid .product-card:nth-child(12n + 6) .product-media {
    aspect-ratio: 0.82 / 1;
  }

  .listing-grid .product-card:nth-child(12n + 2) .product-media,
  .listing-grid .product-card:nth-child(12n + 3) .product-media,
  .listing-grid .product-card:nth-child(12n + 4) .product-media,
  .listing-grid .product-card:nth-child(12n + 5) .product-media,
  .listing-grid .product-card:nth-child(12n + 7) .product-media,
  .listing-grid .product-card:nth-child(12n + 8) .product-media,
  .listing-grid .product-card:nth-child(12n + 9) .product-media,
  .listing-grid .product-card:nth-child(12n + 10) .product-media,
  .listing-grid .product-card:nth-child(12n + 11) .product-media,
  .listing-grid .product-card:nth-child(12n + 12) .product-media {
    aspect-ratio: 0.78 / 1;
  }
}

/* =========================
   Mobile section composition
========================= */

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "large large"
      "small1 small2";
    gap: 10px;
  }

  .category-large {
    grid-area: large;
    min-height: 310px;
  }

  .category-grid .category-card:nth-child(2) {
    grid-area: small1;
    min-height: 210px;
  }

  .category-grid .category-card:nth-child(3) {
    grid-area: small2;
    min-height: 210px;
  }

  .category-overlay {
    padding: 18px;
  }

  .category-overlay span {
    font-size: 1.55rem;
  }

  #homeFeaturedProducts.product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  #homeFeaturedProducts .product-card:first-child {
    grid-column: span 2;
  }

  #homeFeaturedProducts .product-card:first-child .product-media {
    aspect-ratio: 1.25 / 1;
  }

  #homeFeaturedProducts .product-card:not(:first-child) .product-media {
    aspect-ratio: 0.84 / 1;
  }

  .journal-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a a"
      "b c";
    gap: 12px;
  }

  .journal-card-a {
    grid-area: a;
  }

  .journal-card-b {
    grid-area: b;
  }

  .journal-card-c {
    grid-area: c;
  }

  .journal-card-a img {
    aspect-ratio: 1.3 / 1;
  }

  .journal-card-b img,
  .journal-card-c img {
    aspect-ratio: 0.9 / 1;
  }
}

/* =========================
   House codes compact mobile
========================= */

.edits-grid-compact {
  align-items: start;
}

@media (max-width: 640px) {
  .edits-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .edits-grid-compact a {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
  }
}

@media (max-width: 420px) {
  .edits-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .edits-grid-compact a {
    min-height: 42px;
    font-size: 0.65rem;
    padding: 0 10px;
  }
}

/* =========================
   Products filters redesign
========================= */

.filters-mobile-bar {
  display: none;
}

.filters-drawer-head {
  display: none;
}

.filter-accordion-btn {
  display: none;
}

.filter-chip-grid {
  display: grid;
}

@media (max-width: 900px) {
  .filters {
    border-bottom: none;
    padding: 0;
  }

  .filters-mobile-bar {
    display: flex;
    margin-bottom: 20px;
  }

  .filters-drawer-open {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #111;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
  }

  .filters-drawer {
    position: fixed;
    inset: 0;
    background: rgba(9,9,10,0.42);
    z-index: 115;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-mid);
  }

  .filters-drawer.active {
    opacity: 1;
    pointer-events: auto;
  }

  .filters-drawer::before {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: min(100%, 420px);
    height: 100%;
    background: #fff;
    box-shadow: -20px 0 50px rgba(0,0,0,0.08);
  }

  .filters-drawer > .filter-group,
  .filters-drawer-head {
    position: relative;
    width: min(100%, 420px);
    margin-left: auto;
    background: #fff;
  }

  .filters-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--line-soft);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .filters-drawer-head span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6e6962;
  }

  .filters-drawer-close {
    background: rgba(17,17,17,0.04);
  }

  .filters-drawer .filter-group {
    margin-top: 0;
    padding: 18px;
    border-top: none;
    border-bottom: 1px solid var(--line-soft);
  }

  .filter-accordion-btn {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.45rem;
    color: #111;
  }

  .filter-accordion-btn::after {
    content: "+";
    font-size: 0.95rem;
    font-family: "Inter", sans-serif;
  }

  .filter-accordion.active .filter-accordion-btn::after {
    content: "−";
  }

  .filter-accordion-panel {
    display: none;
    padding-top: 14px;
  }

  .filter-accordion.active .filter-accordion-panel {
    display: grid;
  }

  .filter-chip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .filter-chip-grid a {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-muted);
    text-align: center;
    color: #111;
    font-size: 0.69rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.15;
  }

  .filter-group h3,
  .filter-group label {
    display: none;
  }
}

/* =========================
   Better mobile overlays
========================= */

@media (max-width: 640px) {
  .search-panel,
  .quick-view-panel {
    padding-bottom: 28px;
  }

  .search-panel::after,
  .quick-view-panel::after {
    content: "Scroll for more";
    position: sticky;
    bottom: 0;
    display: block;
    width: fit-content;
    margin: 14px auto 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17,17,17,0.05);
    color: #6a645c;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .search-header,
  .cart-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 3;
    padding-top: 4px;
  }

  .quick-view-panel .overlay-close,
  .search-panel .overlay-close {
    position: fixed;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
  }

  .cart-panel {
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
  }

  .cart-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 4;
  }

  .cart-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 4;
  }

  .cart-body {
    padding-bottom: 120px;
  }
}

/* =========================
   Footer mobile refinement
========================= */

@media (max-width: 640px) {
  .footer {
    padding: 52px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid > div:not(:first-child) {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    align-items: start;
    padding-top: 12px;
    border-top: 1px solid rgba(17,17,17,0.08);
  }

  .footer h4 {
    margin-bottom: 0;
    padding-top: 3px;
  }

  .footer-grid > div:not(:first-child) a {
    display: inline-block;
    margin: 0 12px 8px 0;
    font-size: 0.88rem;
  }

  .footer-brand {
    margin-bottom: 10px;
  }

  .footer-copy {
    max-width: 28rem;
    font-size: 0.92rem;
  }
}

/* =========================
   Small-screen polish
========================= */

@media (max-width: 640px) {
  .products-toolbar {
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .products-toolbar select {
    min-height: 46px;
    font-size: 0.85rem;
  }

  .active-filters {
    margin-bottom: 18px;
  }

  .active-filter-pill {
    min-height: 34px;
    font-size: 0.66rem;
  }

  .mobile-menu {
    padding: 14px 18px 18px;
  }

  .mobile-menu-head {
    margin-bottom: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
  }

  .navbar-light .mobile-menu-head {
    color: #7b746a;
  }

  .mobile-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mobile-menu-grid a,
  .mobile-menu-grid .mobile-search-btn {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .navbar-light .mobile-menu-grid a,
  .navbar-light .mobile-menu-grid .mobile-search-btn {
    border-color: rgba(17,17,17,0.08);
    background: rgba(17,17,17,0.02);
  }
}

.product-card {
  margin: 0;
}

.product-card a {
  display: block;
  height: 100%;
}

.product-media {
  border-radius: 0;
}

.listing-grid .product-card .product-media {
  border-radius: 0;
}
/* Index page header utility icons white */
body[data-page="home"] .navbar .nav-icon-btn,
body[data-page="home"] .navbar .nav-toggle {
  color: #fff;
}

body[data-page="home"] .navbar .nav-toggle span {
  background: #fff;
}

body[data-page="home"] .navbar .nav-icon-btn i {
  color: #fff;
}

body[data-page="home"] .navbar .cart-count {
  background: #fff;
  color: #111;
}

/* Tighter mobile footer */
@media (max-width: 640px) {
  .footer {
    padding: 36px 0 20px;
  }

  .footer-grid {
    gap: 12px;
  }

  .footer-grid > div:first-child {
    margin-bottom: 2px;
  }

  .footer-grid > div:not(:first-child) {
    padding-top: 8px;
    gap: 10px;
  }

  .footer h4 {
    padding-top: 1px;
    line-height: 1.1;
  }

  .footer a {
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .footer-copy {
    margin-top: 0;
    line-height: 1.45;
  }

  .footer-brand {
    margin-bottom: 6px;
  }
}

@media (max-width: 420px) {
  .footer {
    padding: 30px 0 16px;
  }

  .footer-grid {
    gap: 10px;
  }

  .footer-grid > div:not(:first-child) {
    padding-top: 6px;
  }

  .footer a {
    margin-bottom: 5px;
    font-size: 0.84rem;
  }

  .footer-copy {
    font-size: 0.88rem;
  }
}
/* Index page header utility icons white */
body[data-page="home"] .navbar .nav-icon-btn,
body[data-page="home"] .navbar .nav-toggle {
  color: #fff;
}

body[data-page="home"] .navbar .nav-toggle span {
  background: #fff;
}

body[data-page="home"] .navbar .nav-icon-btn i {
  color: #fff;
}

body[data-page="home"] .navbar .cart-count {
  background: #fff;
  color: #111;
}

/* Tighter mobile footer */
@media (max-width: 640px) {
  .footer {
    padding: 36px 0 20px;
  }

  .footer-grid {
    gap: 12px;
  }

  .footer-grid > div:first-child {
    margin-bottom: 2px;
  }

  .footer-grid > div:not(:first-child) {
    padding-top: 8px;
    gap: 10px;
  }

  .footer h4 {
    padding-top: 1px;
    line-height: 1.1;
  }

  .footer a {
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .footer-copy {
    margin-top: 0;
    line-height: 1.45;
  }

  .footer-brand {
    margin-bottom: 6px;
  }
}

@media (max-width: 420px) {
  .footer {
    padding: 30px 0 16px;
  }

  .footer-grid {
    gap: 10px;
  }

  .footer-grid > div:not(:first-child) {
    padding-top: 6px;
  }

  .footer a {
    margin-bottom: 5px;
    font-size: 0.84rem;
  }

  .footer-copy {
    font-size: 0.88rem;
  }
}
/* 1. Black cart + hamburger on products and product pages */
body[data-page="products"] .navbar .nav-icon-btn,
body[data-page="products"] .navbar .nav-toggle,
body[data-page="product"] .navbar .nav-icon-btn,
body[data-page="product"] .navbar .nav-toggle {
  color: #111 !important;
}

body[data-page="products"] .navbar .nav-toggle span,
body[data-page="product"] .navbar .nav-toggle span {
  background: #111 !important;
}

body[data-page="products"] .navbar .nav-icon-btn i,
body[data-page="product"] .navbar .nav-icon-btn i {
  color: #111 !important;
}

body[data-page="products"] .navbar .cart-count,
body[data-page="product"] .navbar .cart-count {
  background: #111 !important;
  color: #fff !important;
}

/* 1b. Make all close buttons black */
.overlay-close,
.filters-drawer-close {
  color: #111 !important;
  background: rgba(17, 17, 17, 0.05) !important;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08) !important;
}

.overlay-close i,
.filters-drawer-close i {
  color: #111 !important;
}

/* 2. Search / quick view modal fixes */
.search-panel,
.quick-view-panel {
  max-height: min(88vh, 920px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

/* visible sticky top area so header/close always show */
.search-panel .search-header,
.quick-view-panel .quick-view-copy .eyebrow,
.quick-view-panel .quick-view-copy h2 {
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .search-panel,
  .quick-view-panel {
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    border-radius: 0;
    padding-top: 76px !important;
    padding-bottom: 28px !important;
  }

  .search-panel .search-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding-top: 4px;
    padding-bottom: 14px;
    z-index: 3;
  }

  .quick-view-copy {
    padding-bottom: 28px !important;
  }

  .quick-view-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 14px;
    z-index: 3;
  }

  .search-panel::after,
  .quick-view-panel::after {
    display: none !important;
  }
}

/* desktop search panel also scrolls internally */
.search-panel .search-results-grid,
.quick-view-panel .quick-view-grid {
  min-height: 0;
}
.search-result-card {
  width: 100%;
  border: none;
  text-align: left;
  cursor: pointer;
}
