:root {
  --navy: #172033;
  --navy-2: #24344d;
  --gold: #e2a312;
  --gold-deep: #b7810d;
  --paper: #f7f4ee;
  --card: #fffdf9;
  --line: #e5dfd3;
  --text: #1b2433;
  --muted: #5e6878;
  --shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
a { color: inherit; }
h1, h2, h3, .btn, .nav button {
  font-family: Manrope, "Segoe UI", sans-serif;
}
h1, h2 { letter-spacing: -0.03em; line-height: 1.15; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.notice {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  padding: 8px 20px;
  font-size: 14px;
}
.notice p { margin: 0; }
.notice a { color: var(--gold); font-weight: 700; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px 8px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img, .custom-logo { height: 64px; width: auto; max-width: none; display: block; background: transparent; }
.custom-logo-link { display: flex; align-items: center; line-height: 0; }

.search { position: relative; }
.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 12px 48px 12px 16px;
}
.search button {
  position: absolute;
  right: 6px;
  top: 5px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-results button {
  position: static;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  text-align: left;
  padding: 10px 14px;
}
.search-results button:hover { background: var(--paper); }
.search-results small { display: block; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions a { text-decoration: none; font-weight: 700; font-size: 14px; }
.menu-btn { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-line { background: #fff; border-color: var(--navy); color: var(--navy); }
.cart-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}
.cart-btn span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}
.nav button {
  border: 0;
  background: transparent;
  color: var(--navy-2);
  font-weight: 700;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.nav button.is-active { background: #fff4d8; color: var(--gold-deep); }

.hero, .products, .featured, .about, .find-us, .faq, .quote, .footer, .categories {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 20px;
}
.eyebrow { margin: 0 0 8px; color: var(--gold-deep); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 58px); }
.hero-actions, .hero-points { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); }
.hero-points li { background: var(--paper); border-radius: 999px; padding: 6px 12px; }
.hero-stage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}
.hero-stage img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.hero-stage img:first-child { grid-row: span 2; height: 100%; min-height: 280px; }

.cat-row { display: grid; grid-template-columns: repeat(8, minmax(110px, 1fr)); gap: 10px; padding-bottom: 10px; }
.cat-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.cat-card img {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  background: #fff6df;
}
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin: 28px 0 16px; }
.section-head h2, .about h2, .faq h2, .quote h2 { margin: 0; }
.section-head p { margin: 0; max-width: 420px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.featured-grid .swatch { height: 176px; }
.product {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
.swatch { display: block; height: 188px; background: var(--paper); }
.swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product h3 { margin: 12px 14px 4px; font-size: 18px; }
.product p { margin: 0 14px 14px; color: var(--muted); font-size: 15px; }
.product:hover { border-color: #d7c49a; box-shadow: var(--shadow); }
.empty { grid-column: 1 / -1; padding: 28px; background: var(--paper); border-radius: 16px; }

.about {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  background: var(--paper);
  border-radius: 28px;
  padding: 32px;
}
.stats { display: grid; gap: 12px; margin: 0; }
.stats div { background: #fff; border-radius: 16px; padding: 14px 16px; }
.stats dt { color: var(--muted); font-size: 14px; }
.stats dd { margin: 0; font-family: Manrope, sans-serif; font-weight: 800; font-size: 22px; }

.find-us, #products, #quote, #help { scroll-margin-top: 128px; }
.find-us {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}
.find-details { margin: 16px 0; }
.find-details div { margin-bottom: 12px; }
.find-details dt { color: var(--muted); font-size: 14px; }
.find-details dd { margin: 0; font-weight: 700; }
.map-preview {
  height: 220px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.map-preview iframe { width: 100%; height: 100%; border: 0; display: block; }
.drawer-card .btn { margin-right: 8px; margin-top: 8px; }

.faq { padding-top: 36px; }
.faq-list { margin-top: 14px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 8px 0 4px; color: var(--muted); }

.quote {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.quote-copy h2 { margin: 0 0 12px; }
.quote-copy > p { margin: 0; max-width: 38ch; color: rgba(255, 255, 255, 0.82); }
.contact-line { display: grid; gap: 10px; margin-top: 24px; }
.contact-line a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 163, 18, 0.45);
  border-radius: 16px;
  padding: 12px 14px;
}
.contact-line a:hover { background: rgba(226, 163, 18, 0.16); }
.contact-line span {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quote-form { display: grid; gap: 12px; }
.quote-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.88); }
.quote-copy, .quote-form, .split { min-width: 0; }
.quote-form input, .quote-form textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  color: var(--text);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote-form .btn { width: 100%; }
.form-status { min-height: 1.2em; margin: 0; color: #f6e7bf; }

.footer { padding-top: 36px; padding-bottom: 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; color: var(--muted); }
.footer a { display: block; text-decoration: none; margin: 4px 0; }
.footer strong { color: var(--navy); }
.legal, .credit { grid-column: 1 / -1; margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.credit a { display: inline; margin: 0; color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(23, 32, 51, 0.45);
}
.drawer[hidden] { display: none; }
.drawer-card {
  width: min(480px, calc(100vw - 24px));
  background: #fff;
  border-radius: 24px;
  padding: 24px;
}
.drawer-card h2 { margin-top: 0; }
.close { float: right; border: 0; background: var(--paper); border-radius: 999px; padding: 6px 10px; cursor: pointer; }
#drawer-photo { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; background: var(--paper); margin: 8px 0 12px; }
#drawer-options { padding-left: 18px; color: var(--muted); }

@media (max-width: 980px) {
  .header-main { grid-template-columns: 1fr auto; }
  .search { grid-column: 1 / -1; order: 3; }
  .hero, .about, .find-us, .quote, .footer { grid-template-columns: 1fr; }
  .product-grid, .featured-grid { grid-template-columns: 1fr 1fr; }
  .cat-row { grid-template-columns: repeat(4, 1fr); }
  .header-actions a:first-child { display: none; }
}
@media (max-width: 700px) {
  .menu-btn { display: inline-flex; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; }
  .nav { display: none; padding-bottom: 12px; }
  .nav.is-open { display: flex; flex-wrap: wrap; }
  .cat-row, .product-grid, .featured-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .logo img, .custom-logo { height: 48px; }
  .hero-stage { grid-template-columns: 1fr 1fr; }
  .hero-stage img, .hero-stage img:first-child { height: 160px; min-height: 0; grid-row: auto; }
  .notice { flex-direction: column; gap: 2px; text-align: center; }
  .quote { padding: 24px; gap: 24px; }
}
.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
.footer .menu, .footer ul { list-style: none; margin: 0; padding: 0; }
.location-note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.single-product { max-width: 1180px; margin: 32px auto; padding: 0 20px 40px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.single-product img { width: 100%; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
@media (max-width: 800px) {
  .single-product { grid-template-columns: 1fr; }
}
