:root {
  --navy: #0d2244;
  --navy-2: #16315f;
  --blue: #1e4e9b;
  --gold: #d4a017;
  --gold-deep: #9a7209;
  --paper: #f4f0e8;
  --cream: #fbf8f3;
  --ink: #161410;
  --muted: #6d655c;
  --line: #e4ddd2;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --shadow: 0 22px 50px rgba(13, 34, 68, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
::selection { background: #f3e2b0; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1180px, 90vw); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 50; }

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 500; text-decoration: none; }
.topbar a:hover { color: var(--gold); }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0 58%, var(--gold) 58% 100%);
}
.header-row {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: inherit;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-logo { height: 58px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
}
.nav a:hover { color: var(--gold-deep); }
.nav a.btn { margin-left: 0.6rem; }
.nav a.btn:hover { background: var(--navy-2); color: #fff; }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.25rem;
  border-radius: 2px;
}
.btn:hover { background: var(--navy-2); }
.btn-line {
  background: transparent;
  color: var(--navy) !important;
  box-shadow: inset 0 0 0 1px var(--navy);
}
.btn-line:hover { background: var(--navy); color: #fff !important; }
.btn-wa { background: #128c5a; }
.btn-wa:hover { background: #0e734a; }
.btn-block { width: 100%; }

.hero {
  position: relative;
  padding: 4.6rem 0 3.4rem;
  background:
    linear-gradient(90deg, rgba(6, 22, 58, 0.55) 0%, rgba(6, 22, 58, 0.28) 36%, rgba(6, 22, 58, 0) 62%),
    url("images/supplies-hero.jpg") right center / cover no-repeat;
  color: #f7f3ea;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px);
  gap: 3.2rem;
  align-items: center;
}
.hero h1 { color: #fff; max-width: 16ch; font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.05; }
.hero .kicker { color: #e4c36a; }
.hero .lead { color: rgba(247, 243, 234, 0.88); }
.hero .btn:not(.btn-line):not(.btn-wa) { background: var(--gold); color: var(--navy) !important; }
.hero .btn:not(.btn-line):not(.btn-wa):hover { background: #e4c36a; }
.hero .btn-line {
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}
.hero .btn-line:hover { background: #fff; color: var(--navy) !important; }
.hero .pills li {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.kicker {
  margin: 0 0 0.85rem;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
h1, h2, .cat-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0 0 0.9rem;
}
h1 { font-size: clamp(3.1rem, 5.8vw, 5.1rem); }
h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); }
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 400;
  max-width: 38ch;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.6rem 0 1.35rem; }
.pills { display: flex; gap: 0.5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.pills li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.hero-mosaic::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.hero-mosaic img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 196px;
  object-fit: cover;
  background: #fff;
}

#shop, #about, #contact { scroll-margin-top: 6.2rem; }
.shop {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 4rem 0 4.5rem;
}
.shop-head {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.note { color: var(--muted); max-width: 34ch; margin: 0 0 0.35rem; font-size: 0.98rem; }
.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0.35rem 0 0.75rem;
  overflow-x: auto;
  position: sticky;
  top: 82px;
  z-index: 25;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.chip {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 2px;
  padding: 0.62rem 0.75rem;
  font: inherit;
  font-weight: 500;
  font-size: 0.82rem;
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filters { counter-reset: cat; }
.chip:not([data-filter="all"]) { counter-increment: cat; }
.chip:not([data-filter="all"])::before {
  content: counter(cat, decimal-leading-zero);
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}
.chip:hover { border-color: #cfc6b8; background: #fff; }
.chip.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.chip.is-on::before { color: var(--gold); }

.cat-block { margin: 0 0 2.6rem; scroll-margin-top: 9.5rem; }
.cat-block.is-off,
.cat-block[hidden] { display: none !important; }
.cat-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.15rem;
}
.cat-title span {
  font-family: var(--sans);
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
#catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem 1.15rem;
  align-items: stretch;
}
.cat-block,
.cat-block > .grid { display: contents; }
#catalog.is-all .cat-title { display: none; }
.grid { display: contents; }
.card[hidden] { display: none; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  background: #f7f4ee;
  transition: transform 0.55s ease;
}
.card:hover img { transform: scale(1.045); }
.card-body { padding: 1rem 1.05rem 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.tag {
  align-self: flex-start;
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  padding: 0;
}
.card h3 {
  margin: 0.15rem 0 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1; }
.empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0 1rem;
  letter-spacing: 0.04em;
}

.about {
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(212, 160, 23, 0.16), transparent 55%),
    var(--navy);
  color: #ebe4d8;
  padding: 4.6rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.about .kicker { color: var(--gold); }
.about h2 { color: #fff; margin-bottom: 0.8rem; }
.about p { color: #d9d1c4; max-width: 42ch; margin: 0; font-size: 1.05rem; }
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.facts li {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.15rem 1.1rem 1rem;
  min-height: 118px;
}
.facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.facts span { color: #d5ccbf; font-size: 0.88rem; }

.contact { padding: 4.4rem 0 4.6rem; }
.contact-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 3rem; align-items: start; }
.contact-grid > div > p:not(.kicker) { color: var(--muted); max-width: 36ch; }
.details { margin: 1.5rem 0 1.5rem; }
.details div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.6rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.details dt {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 0.15rem;
}
.details dd { margin: 0; }
.details a { text-decoration: none; font-weight: 500; }
.details a:hover { color: var(--gold-deep); }
.form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.form h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
}
.form > p { color: var(--muted); margin: 0.4rem 0 1.25rem; font-size: 0.92rem; }
.form label {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.form input, .form textarea {
  width: 100%;
  margin-top: 0.4rem;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.8rem 0.85rem;
  background: var(--cream);
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  background: #fff;
}
.form .btn-block + .btn-block { margin-top: 0.55rem; }
.location { margin-top: 3.2rem; }
.location-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.location-title { display: flex; align-items: center; gap: 0.9rem; }
.location-title img { height: 64px; width: auto; mix-blend-mode: multiply; flex: none; }
.location-head h2 { margin-bottom: 0.35rem; }
.location-head p:last-child { margin: 0; color: var(--muted); max-width: 46ch; }
.map-frame {
  position: relative;
  height: 420px;
  border: 1px solid var(--line);
  background: #e8e2d6;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-100% - 46px));
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.22rem 0.7rem 0.22rem 0.28rem;
  background: #fff;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.15;
  border: 2px solid var(--blue);
  border-bottom: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(30, 78, 155, 0.28);
  pointer-events: none;
  white-space: nowrap;
}
.map-label img { height: 38px; width: auto; mix-blend-mode: multiply; }
.map-label span { color: var(--blue); letter-spacing: -0.01em; }
.map-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--gold);
  border-bottom: 0;
}
.form-status { min-height: 1.2em; margin: 0.75rem 0 0; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.form-status.is-sent {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  background: #eef6ef;
  color: #0e703c;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #128c5a;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(18, 140, 90, 0.32);
}
.wa-float svg { display: block; }
.wa-float:hover { background: #0e734a; }

.footer {
  background: var(--navy);
  color: #d9d1c4;
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0.7rem 0 0.25rem;
}
.footer p { margin: 0; }
.footer-logo { height: 64px; width: auto; background: #fff; padding: 0.25rem; }
.footer-nav, .footer-contact { display: grid; gap: 0.45rem; align-content: start; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-nav span, .footer-contact span {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.copy {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1100px) {
  #catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  #catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero {
    padding: 2.6rem 0 2.2rem;
    background:
      linear-gradient(180deg, rgba(6, 22, 58, 0.35) 0%, rgba(6, 22, 58, 0.62) 46%, rgba(6, 22, 58, 0.28) 100%),
      url("images/supplies-hero.jpg") 78% 70% / cover no-repeat;
  }
  .hero-grid, .about-grid, .contact-grid, .footer-grid, .location-head { grid-template-columns: 1fr; }
  .location-head { flex-direction: column; align-items: start; }
  .map-frame { height: 280px; }
  .shop-head { flex-direction: column; align-items: start; gap: 0.8rem; }
  h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero-mosaic { grid-template-columns: 1fr 1fr; }
  .hero-mosaic::before { inset: 10px -8px -10px 8px; }
  .hero-mosaic img { height: 120px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: -5vw;
    right: -5vw;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 5vw 0.9rem;
    gap: 0.1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0.2rem; }
  .nav .btn { margin: 0.45rem 0 0; text-align: center; }
  .details div { grid-template-columns: 1fr; gap: 0.15rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer { padding-bottom: 5.5rem; }
  .wa-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .wa-float { padding: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card img, .nav-toggle span { transition: none; }
}
