/*
Theme Name: Ansari Wahid Perfumery
Theme URI: https://awperfumerie.com
Author: Ansari Wahid Perfumery
Description: Editable WordPress theme for the Ansari Wahid Perfumery fragrance website.
Version: 1.0.0
Text Domain: ansari-wahid-perfumery
*/

:root {
  --cream-50: #fcfaf5;
  --cream-100: #f6efe3;
  --cream-200: #efe5d4;
  --cream-300: #e6d8c2;
  --cream-400: #d8c5a8;
  --taupe-500: #b6a78d;
  --taupe-600: #8c7e68;
  --ink-700: #5a5044;
  --ink-800: #38322a;
  --ink-900: #211c16;
  --ink-950: #15110c;
  --rose-100: #f3e2e1;
  --rose-500: #a8616a;
  --rose-700: #834b53;
  --gold-300: #dcc79a;
  --gold-500: #b5945a;
  --gold-700: #8e7140;
  --surface-page: var(--cream-100);
  --surface-raised: var(--cream-50);
  --text-strong: var(--ink-900);
  --text-body: var(--ink-700);
  --text-muted: var(--taupe-600);
  --line-soft: rgba(33, 28, 22, 0.1);
  --line-mid: rgba(33, 28, 22, 0.18);
  --line-on-dark: rgba(246, 239, 227, 0.18);
  --font-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --max-width: 1280px;
  --max-wide: 1480px;
  --gutter: 32px;
  --section-y: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(33, 28, 22, 0.06);
  --shadow-md: 0 12px 34px rgba(33, 28, 22, 0.1);
  --shadow-lg: 0 28px 60px rgba(33, 28, 22, 0.14);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--surface-page);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(168, 97, 106, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  transform: translateY(-180%);
  background: var(--ink-900);
  color: var(--cream-50);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 260ms var(--ease-soft), border-color 260ms var(--ease-soft), box-shadow 260ms var(--ease-soft);
}

.site-header.is-scrolled {
  background: rgba(246, 239, 227, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 24px rgba(33, 28, 22, 0.04);
}

.announcement {
  background: var(--ink-900);
  color: var(--cream-100);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
  padding: 9px 16px;
}

.header-shell {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px var(--gutter) 14px;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.mobile-only {
  display: none !important;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 180ms var(--ease-soft), color 180ms var(--ease-soft), transform 180ms var(--ease-soft);
}

.icon-button:hover {
  background: rgba(33, 28, 22, 0.06);
}

.icon-button:active {
  transform: scale(0.97);
}

.icon-button svg,
.text-link svg,
.contact-fab svg,
.search-row svg,
.category-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bag-count {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--rose-500);
  color: var(--cream-50);
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
}

.brand {
  color: var(--text-strong);
}

.brand-stacked {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}

.brand-stacked img {
  width: 66px;
  height: auto;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 0.95;
}

.brand-sub {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 0.28em;
}

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

.brand-inline img {
  width: 72px;
  height: auto;
}

.brand-inline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.brand-inline em {
  display: block;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-row {
  display: flex;
  justify-content: center;
  gap: 38px;
  padding: 0 24px 15px;
}

.nav-row a {
  border-bottom: 1px solid transparent;
  color: var(--text-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 180ms var(--ease-soft), border-color 180ms var(--ease-soft);
}

.nav-row a:hover {
  color: var(--rose-500);
  border-bottom-color: var(--rose-500);
}

.nav-row .nav-gold {
  color: var(--gold-700);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 110%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(5%) scale(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 239, 227, 0.82) 0%, rgba(246, 239, 227, 0.58) 35%, rgba(246, 239, 227, 0.08) 72%),
    linear-gradient(0deg, rgba(246, 239, 227, 0.64) 0%, rgba(246, 239, 227, 0) 34%);
}

.hero-content {
  width: min(100%, 760px);
  margin-left: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + 30px));
  margin-right: auto;
  padding: 98px var(--gutter) 120px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  line-height: 1.4;
  text-transform: uppercase;
}

.with-line::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--gold-500);
  vertical-align: middle;
  margin-right: 12px;
}

.hero h1,
.section-head h2,
.story-copy h2,
.coming-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-strong);
  letter-spacing: 0;
}

.hero h1 {
  font-size: 90px;
  line-height: 0.96;
  margin-top: 22px;
}

.hero h1 span {
  color: var(--rose-500);
  font-style: italic;
}

.hero-copy {
  max-width: 590px;
  margin: 26px auto 0;
  color: var(--ink-700);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms var(--ease-soft), color 180ms var(--ease-soft), border-color 180ms var(--ease-soft), transform 180ms var(--ease-soft);
}

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

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--ink-900);
  color: var(--cream-50);
  border-color: var(--ink-900);
}

.button-primary:hover {
  background: var(--ink-800);
  border-color: var(--ink-800);
}

.button-outline {
  background: rgba(252, 250, 245, 0.28);
  color: var(--ink-900);
  border-color: rgba(33, 28, 22, 0.24);
}

.button-outline:hover {
  background: var(--ink-900);
  color: var(--cream-50);
  border-color: var(--ink-900);
}

.button-light {
  background: var(--cream-100);
  color: var(--ink-900);
  border-color: var(--cream-100);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section {
  padding: var(--section-y) var(--gutter);
}

.shop-section {
  background: var(--surface-page);
}

.section-head {
  max-width: var(--max-width);
  margin: 0 auto 44px;
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.centered {
  text-align: center;
}

.section-head h2,
.story-copy h2,
.coming-section h2 {
  font-size: 58px;
  line-height: 1;
  margin-top: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link svg {
  transition: transform 180ms var(--ease-soft);
}

.text-link:hover svg {
  transform: translate(3px, -3px);
}

.product-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.product-card {
  min-width: 0;
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: var(--cream-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 260ms var(--ease-soft), transform 260ms var(--ease-soft);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--ease-out);
}

.product-bottle-image {
  aspect-ratio: 1 / 1;
  background: #fff;
}

.product-bottle-image img {
  object-fit: cover;
  padding: 0;
}

.product-card:hover .product-image {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card:hover img {
  transform: scale(1.04);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-pill);
  background: rgba(252, 250, 245, 0.82);
  color: var(--ink-700);
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.product-image .badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.badge-rose {
  border-color: rgba(168, 97, 106, 0.34);
  background: rgba(243, 226, 225, 0.9);
  color: var(--rose-700);
}

.badge-gold {
  border-color: rgba(181, 148, 90, 0.48);
  background: rgba(220, 199, 154, 0.18);
  color: var(--gold-700);
}

.badge-light {
  border-color: var(--line-on-dark);
  background: rgba(246, 239, 227, 0.08);
  color: var(--cream-100);
}

.quick-add {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 45px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink-900);
  color: var(--cream-50);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms var(--ease-soft), transform 220ms var(--ease-soft), background 180ms var(--ease-soft);
}

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

.quick-add:hover {
  background: var(--rose-700);
}

.product-card h3 {
  margin: 18px 0 5px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.product-card p,
.product-card .meta {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.product-card p {
  color: var(--text-body);
}

.product-card .meta {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.product-card strong {
  display: block;
  margin-top: 12px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.section-note {
  max-width: 380px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
  padding: 104px var(--gutter);
  background: var(--cream-200);
}

.story-section > * {
  max-width: 600px;
}

.story-copy {
  justify-self: end;
}

.story-copy p:not(.eyebrow) {
  color: var(--text-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  margin: 24px 0 30px;
}

.story-board {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.story-board div {
  background: var(--cream-50);
  padding: 30px;
}

.story-board span {
  display: block;
  color: var(--gold-700);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.story-board h3 {
  margin: 0 0 8px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.story-board p {
  margin: 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.65;
}

.category-section {
  background: var(--surface-page);
}

.category-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: box-shadow 260ms var(--ease-soft), transform 260ms var(--ease-soft);
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--ease-out);
}

.category-card img[src*="perfume-bottle"],
.category-card img[src$=".svg"] {
  object-fit: contain;
  padding: 26px;
  background: #fff;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(21, 17, 12, 0.76) 0%, rgba(21, 17, 12, 0.2) 46%, rgba(21, 17, 12, 0) 72%);
}

.category-card span,
.category-card h3,
.category-card p {
  position: absolute;
  left: 28px;
  right: 28px;
  margin: 0;
}

.category-card span {
  bottom: 120px;
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.category-card h3 {
  bottom: 64px;
  color: var(--cream-50);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.category-card p {
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--cream-50);
  border-bottom: 1.5px solid rgba(252, 250, 245, 0.45);
  padding-bottom: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-card svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms var(--ease-soft);
}

.category-card:hover svg {
  transform: translateX(4px);
}

.coming-section {
  padding: var(--section-y) var(--gutter);
  background: var(--ink-900);
  color: var(--cream-100);
}

.on-dark .eyebrow {
  color: var(--text-on-dark-muted, #b6ab97);
}

.coming-section h2,
.coming-section h3 {
  color: var(--cream-50);
}

.soon-grid {
  max-width: var(--max-width);
  margin: 0 auto 62px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.soon-grid article {
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-md);
  background: rgba(246, 239, 227, 0.03);
  padding: 30px 26px;
}

.soon-grid h3 {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.soon-grid p {
  margin: 0;
  color: #b6ab97;
  font-size: 15px;
  line-height: 1.62;
}

.notify-form {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.notify-form label {
  display: block;
  color: var(--cream-50);
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 20px;
}

.notify-form > div {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
}

.notify-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-bottom: 1.5px solid var(--line-on-dark);
  border-radius: 0;
  background: transparent;
  color: var(--cream-50);
  padding: 12px 2px;
  font-size: 16px;
  outline: none;
}

.notify-form input::placeholder {
  color: #b6ab97;
}

.notify-form input:focus {
  border-bottom-color: var(--gold-300);
}

.notify-form [data-newsletter-message] {
  margin: 18px 0 0;
  color: var(--gold-300);
  font-size: 15px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  padding: 58px var(--gutter);
  background: var(--ink-950);
  color: var(--cream-100);
}

.site-footer > div,
.site-footer nav {
  width: min(100%, 590px);
}

.site-footer > div {
  justify-self: end;
}

.light-brand {
  color: var(--cream-100);
}

.light-brand em {
  color: #b6ab97;
}

.site-footer p {
  margin: 24px 0 0;
  color: #b6ab97;
  font-size: 15px;
  line-height: 1.7;
}

.site-footer nav {
  display: grid;
  gap: 12px;
}

.site-footer nav a {
  color: var(--cream-100);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms var(--ease-soft);
}

.site-footer nav a:hover {
  color: var(--gold-300);
}

.contact-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink-900);
  color: var(--cream-50);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-fab svg {
  width: 18px;
  height: 18px;
}

.mobile-drawer,
.cart-drawer,
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.mobile-drawer.is-open,
.cart-drawer.is-open,
.search-overlay.is-open {
  pointer-events: auto;
}

.drawer-scrim,
.cart-scrim,
.search-scrim {
  position: absolute;
  inset: 0;
  background: rgba(21, 17, 12, 0.48);
  opacity: 0;
  transition: opacity 260ms var(--ease-soft);
}

.is-open .drawer-scrim,
.is-open .cart-scrim,
.is-open .search-scrim {
  opacity: 1;
}

.mobile-panel,
.cart-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(90vw, 390px);
  background: var(--cream-50);
  box-shadow: var(--shadow-lg);
  transition: transform 320ms var(--ease-out);
}

.mobile-panel {
  left: 0;
  padding: 26px;
  transform: translateX(-100%);
}

.cart-panel {
  right: 0;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
}

.is-open .mobile-panel,
.is-open .cart-panel {
  transform: translateX(0);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-panel .panel-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.cart-panel .panel-head > span {
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mobile-links {
  display: grid;
  margin-top: 26px;
}

.mobile-links a {
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1;
  padding: 15px 0;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-thumb {
  width: 64px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--cream-200);
}

.cart-line h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.cart-line p {
  margin: 4px 0 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.cart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-pill);
}

.qty button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.qty span {
  min-width: 22px;
  text-align: center;
  color: var(--text-strong);
  font-size: 14px;
}

.cart-empty {
  text-align: center;
  padding: 62px 28px;
}

.cart-empty h3 {
  margin: 0 0 8px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
}

.cart-empty p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.cart-summary {
  border-top: 1px solid var(--line-soft);
  padding: 22px 24px;
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-summary span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cart-summary strong {
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 500;
}

.cart-summary .button {
  width: 100%;
}

.search-overlay {
  display: grid;
  place-items: start center;
}

.search-scrim {
  backdrop-filter: blur(4px);
}

.search-panel {
  position: relative;
  width: min(720px, calc(100vw - 40px));
  margin-top: 12vh;
  border-radius: var(--radius-md);
  background: var(--cream-50);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms var(--ease-soft), transform 260ms var(--ease-soft);
}

.is-open .search-panel {
  opacity: 1;
  transform: translateY(0);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1.5px solid var(--line-mid);
  padding-bottom: 14px;
}

.search-row > svg {
  width: 22px;
  height: 22px;
}

.search-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink-900);
  font-size: 18px;
  outline: none;
}

.search-panel > p {
  margin: 20px 0 12px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.popular-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-terms button {
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-body);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 180ms var(--ease-soft), color 180ms var(--ease-soft), border-color 180ms var(--ease-soft);
}

.popular-terms button:hover {
  background: var(--ink-900);
  color: var(--cream-50);
  border-color: var(--ink-900);
}

.nav-row a[aria-current="page"] {
  color: var(--rose-500);
  border-bottom-color: var(--rose-500);
}

.nav-row a.nav-gold[aria-current="page"] {
  color: var(--gold-700);
  border-bottom-color: var(--gold-700);
}

.mobile-links a[aria-current="page"] {
  color: var(--rose-700);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  align-items: center;
  background: var(--cream-200);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(246, 239, 227, 0.9), rgba(246, 239, 227, 0.62) 46%, rgba(246, 239, 227, 0.08));
}

.page-hero.dark {
  background: var(--ink-900);
}

.page-hero.dark::before {
  background: linear-gradient(90deg, rgba(21, 17, 12, 0.92), rgba(21, 17, 12, 0.7) 48%, rgba(21, 17, 12, 0.18));
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.page-hero-content {
  width: min(660px, calc(100% - var(--gutter) * 2));
  margin-left: max(var(--gutter), calc((100vw - var(--max-width)) / 2));
  padding: 86px 0 98px;
}

.page-hero h1 {
  margin: 16px 0 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.page-hero.dark h1,
.page-hero.dark .eyebrow {
  color: var(--cream-50);
}

.page-hero-copy {
  margin: 24px 0 0;
  max-width: 540px;
  color: var(--text-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.76;
}

.page-hero.dark .page-hero-copy {
  color: #c7bca8;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.shop-toolbar {
  max-width: var(--max-width);
  margin: -18px auto 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-pill);
  color: var(--text-body);
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms var(--ease-soft), color 180ms var(--ease-soft), border-color 180ms var(--ease-soft);
}

.filter-pill:hover,
.filter-pill[aria-current="page"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--cream-50);
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  padding: 94px var(--gutter);
  background: var(--cream-200);
}

.editorial-band.reverse {
  background: var(--surface-page);
}

.editorial-band.text-only {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.editorial-band > * {
  max-width: 600px;
}

.editorial-band.text-only > * {
  max-width: 760px;
}

.editorial-copy {
  justify-self: end;
}

.editorial-band.reverse .editorial-copy {
  justify-self: start;
}

.editorial-band.text-only .editorial-copy {
  justify-self: stretch;
}

.editorial-copy h2,
.contact-card h2,
.note-panel h2 {
  margin: 16px 0 18px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.editorial-copy p,
.contact-card p,
.note-panel p {
  margin: 0 0 26px;
  color: var(--text-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

.editorial-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.note-panel {
  background: var(--cream-50);
  padding: 32px;
}

.note-panel h2 {
  font-size: 34px;
}

.note-panel p {
  margin-bottom: 0;
  font-size: 15px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--cream-50);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  display: block;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  color: var(--text-strong);
  padding: 13px 14px;
  font-size: 15px;
  outline: none;
}

.field textarea {
  min-height: 142px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(168, 97, 106, 0.12);
}

.form-message {
  margin: 0;
  color: var(--gold-700);
  font-size: 15px;
}

@media (max-width: 1100px) {
  :root {
    --section-y: 82px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 76px;
  }

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

  .story-section {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 64px;
  }

  .editorial-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .story-section > *,
  .story-copy,
  .editorial-band > *,
  .editorial-copy {
    max-width: var(--max-width);
    justify-self: stretch;
  }

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

@media (max-width: 800px) {
  :root {
    --gutter: 22px;
    --section-y: 68px;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: inline-flex !important;
  }

  .header-shell {
    padding: 14px var(--gutter);
  }

  .brand-stacked img {
    width: 54px;
  }

  .brand-name {
    font-size: 22px;
  }

  .announcement {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero {
    min-height: 690px;
    align-items: flex-end;
  }

  .hero-media img {
    width: 100%;
    transform: scale(1.02);
    object-position: 62% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(246, 239, 227, 0.58) 0%, rgba(246, 239, 227, 0.38) 42%, rgba(246, 239, 227, 0.88) 100%),
      linear-gradient(90deg, rgba(246, 239, 227, 0.76), rgba(246, 239, 227, 0.18));
  }

  .hero-content {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 86px var(--gutter) 92px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .section-head h2,
  .story-copy h2,
  .coming-section h2,
  .editorial-copy h2,
  .contact-card h2 {
    font-size: 43px;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero::before,
  .page-hero.dark::before {
    background: linear-gradient(180deg, rgba(246, 239, 227, 0.2), rgba(246, 239, 227, 0.94) 68%);
  }

  .page-hero.dark::before {
    background: linear-gradient(180deg, rgba(21, 17, 12, 0.3), rgba(21, 17, 12, 0.96) 68%);
  }

  .page-hero img {
    width: 100%;
    opacity: 0.72;
  }

  .page-hero-content {
    width: auto;
    margin: 0;
    padding: 250px var(--gutter) 70px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .page-actions,
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-pill {
    text-align: center;
  }

  .split-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .section-note {
    max-width: 620px;
  }

  .product-image {
    max-height: 520px;
  }

  .quick-add {
    opacity: 1;
    transform: none;
  }

  .story-section {
    padding: 74px var(--gutter);
    gap: 38px;
  }

  .editorial-band {
    padding: 70px var(--gutter);
    gap: 34px;
  }

  .contact-card {
    padding: 28px;
  }

  .category-card {
    min-height: 430px;
  }

  .notify-form > div {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > div {
    justify-self: stretch;
  }

  .contact-fab {
    right: 16px;
    bottom: 16px;
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 45px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-head h2,
  .story-copy h2,
  .coming-section h2,
  .editorial-copy h2,
  .contact-card h2 {
    font-size: 38px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .product-grid {
    gap: 38px;
  }

  .brand-inline strong {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
