/* ==========================================================================
   Mahken Events — design system
   Brand: deep espresso ink, warm cream, Texas gold. Fraunces + Archivo.
   ========================================================================== */

:root {
  --ink: #1a1512;
  --ink-2: #2a231c;
  --ink-3: #3d3428;
  --cream: #faf3e7;
  --sand: #f2e6d0;
  --sand-2: #e4cfa1;
  --gold: #d9982b;
  --gold-light: #efc876;
  --gold-dark: #a8741a;
  --white: #fff;
  --muted: #7a6c5c;
  --line: rgba(26, 21, 18, 0.12);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --page: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 2px 4px rgba(26, 21, 18, .04), 0 12px 32px rgba(26, 21, 18, .08);
  --shadow-lg: 0 4px 10px rgba(26, 21, 18, .06), 0 24px 60px rgba(26, 21, 18, .14);
  --header-h: 76px;
}

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 20px rgba(217, 152, 43, .35); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 28px rgba(217, 152, 43, .45); }

.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); }

.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn-ghost-light { border-color: rgba(250, 243, 231, .5); color: var(--cream); background: rgba(250, 243, 231, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn-sm { padding: 10px 18px; font-size: 12px; }

/* ---------- header ----------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid,
.site-header.scrolled {
  background: rgba(26, 21, 18, .94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(250, 243, 231, .1);
}
.header-inner { display: flex; align-items: center; gap: 22px; width: 100%; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  letter-spacing: .06em; color: var(--cream);
}
.brand-txt span {
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px; font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(250, 243, 231, .82); text-decoration: none; padding: 6px 0;
  position: relative; transition: color .18s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--cream); text-decoration: none;
  letter-spacing: .02em;
}
.header-phone:hover { color: var(--gold-light); }
.header-phone svg { width: 16px; height: 16px; flex: none; color: var(--gold); }

/* list button (wishlist) */
.list-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: var(--gold); color: var(--ink); border: none;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: background .18s, transform .18s;
}
.list-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.list-btn svg { width: 15px; height: 15px; }
.list-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: var(--gold-light);
  display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0;
}

.burger {
  display: none; width: 42px; height: 42px; border: none; background: transparent;
  cursor: pointer; padding: 0; place-items: center; color: var(--cream);
}
.burger svg { width: 24px; height: 24px; }

@media (max-width: 1160px) { .header-phone { display: none; } }
@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: grid; }
}
@media (max-width: 560px) {
  .brand-txt { display: none; }
  .brand img { height: 40px; }
  .list-btn { padding: 9px 14px; gap: 6px; }
}

/* mobile nav sheet */
.mnav {
  position: fixed; inset: var(--header-h) 0 auto; z-index: 55;
  background: rgba(26, 21, 18, .985); backdrop-filter: blur(16px);
  padding: 22px var(--gut) 34px;
  display: grid; gap: 4px;
  transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
  border-bottom: 1px solid rgba(250, 243, 231, .12);
}
.mnav.open { transform: none; opacity: 1; pointer-events: auto; }
.mnav a {
  font-family: var(--serif); font-size: 26px; color: var(--cream);
  text-decoration: none; padding: 13px 0;
  border-bottom: 1px solid rgba(250, 243, 231, .1);
}
.mnav a:last-of-type { border-bottom: none; }
.mnav .btn { margin-top: 16px; }

/* ---------- hero ------------------------------------------------------- */

.hero {
  position: relative; min-height: min(92vh, 860px);
  display: grid; align-items: end;
  padding: calc(var(--header-h) + 60px) 0 clamp(52px, 7vw, 96px);
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 14, 11, .96) 4%, rgba(18, 14, 11, .72) 38%, rgba(18, 14, 11, .38) 70%, rgba(18, 14, 11, .62) 100%),
    radial-gradient(120% 80% at 18% 92%, rgba(217, 152, 43, .26), transparent 62%);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }

.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.4rem);
  max-width: 15ch; margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic; color: var(--gold-light);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 54ch;
  color: rgba(250, 243, 231, .88); margin: 0 0 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 58px);
  margin-top: clamp(44px, 6vw, 68px); padding-top: 30px;
  border-top: 1px solid rgba(250, 243, 231, .22);
}
.hero-stats div { line-height: 1.25; }
.hero-stats b {
  display: block; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600; color: var(--gold-light);
}
.hero-stats span {
  font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase;
  color: rgba(250, 243, 231, .68); font-weight: 600;
}

/* ---------- sections --------------------------------------------------- */

.section { padding: clamp(66px, 9vw, 120px) 0; }
.section-dark { background: var(--ink); color: var(--cream); }
.section-sand { background: var(--sand); }

.sec-head { max-width: 62ch; margin-bottom: clamp(38px, 5vw, 58px); }
.sec-head.center { margin-inline: auto; }
.sec-head .eyebrow { color: var(--gold-dark); margin-bottom: 16px; }
.section-dark .sec-head .eyebrow { color: var(--gold-light); }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.15rem); margin-bottom: 16px; text-wrap: balance; }
.sec-head p { font-size: 1.05rem; color: var(--muted); margin: 0; }
.section-dark .sec-head p { color: rgba(250, 243, 231, .72); }

/* ---------- size finder ------------------------------------------------ */

.finder { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }

.finder-stage {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--white), var(--sand));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px;
}
.finder-stage img {
  width: 100%; height: 100%; object-fit: contain;
  animation: pop .45s cubic-bezier(.2, .9, .3, 1);
}
@keyframes pop { from { opacity: 0; transform: scale(.965); } to { opacity: 1; transform: none; } }
.finder-tag {
  position: absolute; left: 18px; top: 18px;
  background: var(--ink); color: var(--gold-light);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}

.finder-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.chip {
  padding: 11px 19px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 14px; font-weight: 700; transition: all .16s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.finder-result h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.finder-spec { color: var(--muted); margin: 0 0 22px; font-size: 1.02rem; }
.finder-price {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.finder-price b { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; }
.finder-price span { color: var(--muted); font-size: .95rem; }

.includes { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 9px; }
.includes li { position: relative; padding-left: 26px; font-size: .96rem; color: var(--ink-3); }
.includes li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.finder-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr; }
}

/* ---------- collections ------------------------------------------------ */

.collections { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.collection {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.collection:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.collection-img { background: linear-gradient(160deg, var(--white), var(--sand)); padding: 26px; aspect-ratio: 16 / 10; }
.collection-img img { width: 100%; height: 100%; object-fit: contain; }
.collection-body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.collection-body h3 { font-size: 1.65rem; margin-bottom: 10px; }
.collection-body p { color: var(--muted); margin: 0 0 20px; font-size: .98rem; flex: 1; }
.collection-meta {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.collection-meta b { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.collection-meta span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .collections { grid-template-columns: 1fr; } }

/* ---------- product / package cards ------------------------------------ */

.grid {
  display: grid; gap: clamp(16px, 2.2vw, 26px);
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}

.card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; cursor: pointer; padding: 0;
  box-shadow: 0 1px 2px rgba(26, 21, 18, .04);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sand-2); }
.card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.card-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--white), var(--sand)); padding: 14px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card[data-cat="chairs"] .card-img img,
.card[data-cat="tables"] .card-img img,
.card[data-cat="cocktail"] .card-img img { object-fit: cover; border-radius: 8px; }

.card-badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(26, 21, 18, .9); color: var(--gold-light);
  font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.card-badge.hot { background: var(--gold); color: var(--ink); }

.card-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.3; margin-bottom: 5px; }
.card-spec { font-size: .845rem; color: var(--muted); margin: 0 0 14px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; white-space: nowrap; }
.price small { font-family: var(--sans); font-size: .76rem; font-weight: 500; color: var(--muted); }

.add-btn {
  width: 38px; height: 38px; flex: none; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  display: grid; place-items: center;
  transition: background .16s, color .16s, transform .16s;
}
.add-btn svg { width: 17px; height: 17px; }
.add-btn:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.08); }
.add-btn.in { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }

/* ---------- a-la-carte strip ------------------------------------------- */

.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.mini {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; text-align: center; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.mini h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.mini p { margin: 0; font-size: .86rem; color: var(--muted); }
.mini b { display: block; margin-top: 10px; font-family: var(--serif); font-size: 1.25rem; }

/* ---------- steps ------------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3.5vw, 44px); counter-reset: s; }
.step { counter-increment: s; }
.step::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600;
  color: var(--gold); line-height: 1; margin-bottom: 16px;
}
.step h3 { font-size: 1.32rem; margin-bottom: 9px; }
.step p { margin: 0; color: rgba(250, 243, 231, .74); font-size: .97rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- gallery ---------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(6) { grid-column: span 2; }
.gallery figure::after {
  content: attr(data-caption);
  position: absolute; inset: auto 0 0; padding: 26px 16px 13px;
  background: linear-gradient(transparent, rgba(18, 14, 11, .88));
  color: var(--cream); font-size: .8rem; font-weight: 600;
  opacity: 0; transition: opacity .25s;
}
.gallery figure:hover::after { opacity: 1; }
.gallery figure:not(:nth-child(1)) { aspect-ratio: 1; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .gallery figure:nth-child(6) { grid-column: auto; }
}

/* ---------- CTA band --------------------------------------------------- */

.cta-band {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold) 55%, var(--gold-light));
  color: var(--ink); text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; text-wrap: balance; }
.cta-band p { max-width: 52ch; margin: 0 auto 30px; font-size: 1.05rem; color: rgba(26, 21, 18, .8); }
.cta-band .btn-ink { box-shadow: 0 10px 30px rgba(26, 21, 18, .25); }

/* ---------- footer ----------------------------------------------------- */

.site-footer { background: var(--ink); color: rgba(250, 243, 231, .7); padding: clamp(50px, 7vw, 78px) 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-bottom: 44px; }
.foot-brand img { height: 72px; margin-bottom: 18px; }
.foot-brand p { margin: 0; max-width: 40ch; font-size: .95rem; }
.site-footer h4 {
  font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a { color: rgba(250, 243, 231, .78); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--gold-light); }
.foot-bottom {
  border-top: 1px solid rgba(250, 243, 231, .14); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .85rem; color: rgba(250, 243, 231, .5);
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- catalog page ----------------------------------------------- */

.page-head {
  background: var(--ink); color: var(--cream);
  padding: calc(var(--header-h) + clamp(44px, 6vw, 76px)) 0 clamp(40px, 5vw, 62px);
  position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 88% 10%, rgba(217, 152, 43, .3), transparent 58%);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin-bottom: 14px; }
.page-head p { max-width: 58ch; color: rgba(250, 243, 231, .78); margin: 0; font-size: 1.05rem; }

.toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(250, 243, 231, .93); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.toolbar-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.pill {
  padding: 9px 17px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: 13px; font-weight: 600; transition: all .16s;
}
.pill:hover { border-color: var(--gold); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.search {
  display: flex; align-items: center; gap: 9px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 17px; min-width: 216px;
}
.search:focus-within { border-color: var(--gold); }
.search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.search input { border: none; outline: none; background: none; font-size: 14px; width: 100%; color: var(--ink); }

.result-count { font-size: .9rem; color: var(--muted); margin: 26px 0 18px; }

.group-title {
  font-size: 1.5rem; margin: 42px 0 18px;
  display: flex; align-items: center; gap: 16px;
}
.group-title:first-of-type { margin-top: 0; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }

/* ---------- modal ------------------------------------------------------ */

.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 20px; background: rgba(18, 14, 11, .72); backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--cream); border-radius: var(--r-lg); overflow: hidden;
  width: min(940px, 100%); max-height: min(88vh, 760px);
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.98);
  transition: transform .26s cubic-bezier(.2, .9, .3, 1);
}
.modal.open .modal-box { transform: none; }
.modal-img { background: linear-gradient(160deg, var(--white), var(--sand)); display: grid; place-items: center; padding: 26px; }
.modal-img img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; }
.modal-body { padding: clamp(24px, 3vw, 38px); overflow-y: auto; }
.modal-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; padding-right: 34px; }
.modal-spec { color: var(--muted); margin: 0 0 18px; }
.modal-blurb { font-size: .97rem; color: var(--ink-3); margin: 0 0 22px; }
.modal-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.modal-price b { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; }
.modal-price span { color: var(--muted); }
.modal-close {
  position: absolute; right: 16px; top: 16px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: none; background: rgba(26, 21, 18, .88); color: var(--cream);
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--ink); }
.modal-close svg { width: 19px; height: 19px; }
.includes-title {
  font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
@media (max-width: 780px) {
  .modal-box { grid-template-columns: 1fr; max-height: 92vh; }
  .modal-img { aspect-ratio: 16/10; padding: 18px; }
}

/* ---------- qty stepper ------------------------------------------------ */

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button {
  width: 38px; height: 38px; border: none; background: none; cursor: pointer;
  font-size: 19px; line-height: 1; color: var(--ink); border-radius: 50%;
}
.qty button:hover { background: var(--sand); }
.qty input {
  width: 46px; text-align: center; border: none; outline: none; background: none;
  font-size: 15px; font-weight: 700; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- drawer ----------------------------------------------------- */

.drawer-scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(18, 14, 11, .6);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 75; width: min(430px, 100%);
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.3, .9, .3, 1);
  box-shadow: -20px 0 60px rgba(18, 14, 11, .3);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.4rem; }
.drawer-list { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); background: var(--white); }

.line-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 13px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: none; }
.line-item img { width: 62px; height: 62px; object-fit: cover; border-radius: 9px; background: var(--white); }
.line-item[data-cat="packages"] img { object-fit: contain; padding: 4px; }
.line-item h4 { font-family: var(--sans); font-size: .9rem; font-weight: 700; margin: 0 0 3px; line-height: 1.3; }
.line-item small { color: var(--muted); font-size: .8rem; }
.line-right { text-align: right; display: grid; gap: 7px; justify-items: end; }
.line-price { font-weight: 700; font-size: .93rem; white-space: nowrap; }
.remove { border: none; background: none; cursor: pointer; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; }
.remove:hover { color: #b4342d; }

.subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.subtotal b { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; }
.note { font-size: .8rem; color: var(--muted); margin: 0 0 18px; }

/* ---------- quote page ------------------------------------------------- */

.quote-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); }
.panel h2 { font-size: 1.7rem; margin-bottom: 8px; }
.panel > p.lede { color: var(--muted); margin: 0 0 26px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 11px;
  outline: none; transition: border-color .16s, background .16s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); background: var(--white); }
.field textarea { resize: vertical; min-height: 116px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.req { color: var(--gold-dark); }

.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 11px; font-size: .93rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e8f3ea; color: #1d5b2c; border: 1px solid #bcdcc3; }
.form-msg.err { background: #fdeceb; color: #8d2a23; border: 1px solid #f2c4c0; }

.contact-card { background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 34px); }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 20px; }
.contact-row { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid rgba(250, 243, 231, .14); }
.contact-row:last-child { border-bottom: none; }
.contact-row svg { width: 19px; height: 19px; flex: none; color: var(--gold); margin-top: 2px; }
.contact-row b { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(250, 243, 231, .55); font-weight: 700; margin-bottom: 3px; }
.contact-row a, .contact-row span { color: var(--cream); text-decoration: none; font-size: .98rem; }
.contact-row a:hover { color: var(--gold-light); }

.summary-items { display: grid; gap: 0; margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 19px 34px 19px 0; font-size: 1.02rem; font-weight: 700; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold-dark); font-weight: 400; line-height: 1;
}
.faq-q[aria-expanded="true"]::after { content: "–"; }
.faq-a { display: none; padding: 0 0 19px; color: var(--muted); font-size: .97rem; }
.faq-a.open { display: block; }
