/* La Favorita Market website. One stylesheet, no framework. */

@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald.woff") format("woff");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  --red: #c8201a;
  --red-dark: #9e1812;
  --red-tint: #fbeae9;
  --green: #3f6b2b;
  --green-dark: #2c4d1e;
  --green-tint: #edf3e8;
  --sun: #f2a33a;
  --sun-tint: #fff4e2;
  --ink: #1c1b1a;
  --ink-2: #55524f;
  --ink-3: #78746f;
  --line: #e3e1de;
  --line-2: #cfccc8;
  --soft: #f3f4f4;
  --white: #fff;
  --amber-ink: #8a5300;
  --amber-line: #e2a43a;
  --amber-tint: #fff6e6;
  --rust-ink: #a33a12;
  --rust-line: #df8a5f;

  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: 16px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: 30px; }
h2 { font-size: 23px; }
h3 { font-size: 18px; }
p { margin: 0 0 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ header */
#site-header { min-height: 107px; }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.masthead-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.menu-btn {
  display: none;
  border: 0; background: none; padding: 6px; margin-left: -6px; cursor: pointer;
}
.menu-btn svg { width: 26px; height: 26px; }
.logo { display: block; width: 150px; }
.logo img { width: 150px; height: auto; }

.search { position: relative; max-width: 720px; width: 100%; justify-self: center; }
.search input {
  width: 100%;
  height: 46px;
  border: 2px solid var(--line-2);
  border-radius: 999px;
  padding: 0 56px 0 20px;
  font-size: 16px;
  background: var(--white);
}
.search input:focus { border-color: var(--ink); outline: none; }
.search button {
  position: absolute; right: 5px; top: 5px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--red); color: var(--white); cursor: pointer;
  display: grid; place-items: center;
}
.search button:hover { background: var(--red-dark); }
.search button svg { width: 18px; height: 18px; }
.suggest {
  position: absolute; left: 0; right: 0; top: 52px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 6px 0; z-index: 40;
}
.suggest a { display: flex; gap: 10px; align-items: center; padding: 7px 14px; text-decoration: none; }
.suggest a:hover, .suggest a.active { background: var(--soft); }
.suggest img, .suggest .noimg { width: 36px; height: 36px; object-fit: contain; flex: none; }
.suggest .s-name { flex: 1; font-size: 14px; }
.suggest .s-price { font-family: var(--display); font-weight: 600; }
.suggest .s-all { color: var(--red); font-weight: 600; font-size: 14px; }

.store-btn {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); background: var(--white);
  padding: 6px 12px 6px 9px; border-radius: var(--radius); cursor: pointer; text-align: left;
  min-width: 0;
}
.store-btn:hover { border-color: var(--ink); }
.store-btn svg { width: 20px; height: 20px; flex: none; color: var(--red); }
.store-btn .sb-name { display: block; font-weight: 700; font-size: 14px; white-space: nowrap; }
.store-btn .sb-status { display: block; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.open { color: var(--green); }
.closed { color: var(--red); }

.deptbar { background: var(--red); color: var(--white); }
.deptbar .wrap { display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.deptbar .wrap::-webkit-scrollbar { display: none; }
.deptbar a, .deptbar button {
  flex: none; color: var(--white); text-decoration: none; padding: 9px 12px; font-size: 14px; font-weight: 600;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.deptbar a:hover, .deptbar button:hover, .deptbar a[aria-current="page"] { background: var(--red-dark); }
.deptbar .all-btn { display: flex; align-items: center; gap: 6px; padding-left: 0; }
.deptbar .all-btn svg { width: 18px; height: 18px; }

/* departments panel */
.panel-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 50; }
.panel {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(360px, 90vw); background: var(--white); z-index: 51;
  overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,.2);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 20px; }
.icon-btn { border: 0; background: none; cursor: pointer; padding: 6px; border-radius: 4px; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; display: block; }
.panel nav a { display: flex; justify-content: space-between; padding: 11px 16px; text-decoration: none; border-bottom: 1px solid var(--soft); }
.panel nav a:hover { background: var(--soft); }
.panel nav a small { color: var(--ink-3); }
.panel .panel-links { padding: 12px 16px 24px; display: grid; gap: 10px; }
.panel .panel-links a { color: var(--ink-2); }

/* store dialog */
dialog.store-dialog { border: 0; border-radius: 8px; padding: 0; width: min(520px, 94vw); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
dialog.store-dialog::backdrop { background: rgba(0,0,0,.45); }
.store-dialog .dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.store-dialog .dlg-body { padding: 8px 18px 18px; }
.store-option { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.store-option:last-child { border-bottom: 0; }
.store-option input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; }
.store-option strong { font-size: 16px; }
.store-option .so-meta { color: var(--ink-2); font-size: 14px; }

/* ------------------------------------------------------------ buttons, chips, links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--white); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--soft); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-small { height: 32px; padding: 0 14px; font-size: 13px; }
.link { color: var(--red); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: thin; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); text-decoration: none;
  font-size: 14px; white-space: nowrap; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip small { color: var(--ink-3); }
.chip[aria-current="true"] small { color: #cfcac4; }

/* ------------------------------------------------------------ home */
.home-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin: 18px auto 8px; }
.hero-stack { display: grid; gap: 14px; }
.tile {
  position: relative; display: block; border-radius: 8px; overflow: hidden; text-decoration: none;
  padding: 22px 24px; min-height: 180px; color: var(--ink);
}
.tile h2 { font-size: 30px; margin-bottom: 6px; }
.tile p { max-width: 34ch; margin-bottom: 14px; }
.tile .tile-cta { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tile-kitchen {
  background: var(--red); color: var(--white); min-height: 374px; padding: 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.tk-text { position: relative; overflow: hidden; padding: 22px 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.tk-text .tile-cta { color: var(--white); }
.tk-text .tile-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole red panel opens the menu */
.tk-photos { position: relative; min-height: 100%; }
.tile-kitchen h2 { font-family: "Anton", var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: .95; letter-spacing: .01em; }
.tile-kitchen .menu-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: auto; padding-bottom: 18px; position: relative; }
.tile-kitchen .menu-strip span {
  background: var(--white); color: var(--ink); border-radius: 3px; padding: 4px 8px; font-size: 13px; font-weight: 600;
  display: inline-flex; gap: 6px;
}
.tile-kitchen .menu-strip b { font-family: var(--display); color: var(--red); }
.tile-kitchen .sun { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .22; filter: brightness(0) invert(1); }
.tile-green { background: var(--green); color: var(--white); }
.tile-sun { background: var(--sun-tint); border: 1px solid #f3dcb5; }
.tile.has-photo { padding-right: calc(38% + 20px); }
.tile .tile-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 38%; height: 100%; object-fit: cover; }
.tile .tile-photos { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.tile .tile-photos img { width: 74px; height: 74px; object-fit: contain; background: var(--white); border-radius: 6px; padding: 4px; }
.tile-green .tile-photos img { border: 0; }

.section { margin: 30px auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { font-size: 24px; }
.section-head .sub { color: var(--ink-2); font-size: 14px; margin-left: 10px; font-family: var(--body); font-weight: 400; }

.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px 10px; }
.dept { text-decoration: none; text-align: center; display: grid; gap: 6px; justify-items: center; }
.dept .circle {
  position: relative; width: 100px; height: 100px; border-radius: 50%; background: var(--soft); overflow: hidden;
  border: 2px solid transparent;
}
.dept:hover .circle { border-color: var(--ink); }
.dept .circle img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.dept .circle.is-photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.dept span { font-size: 14px; font-weight: 600; line-height: 1.2; }
.dept small { display: block; color: var(--ink-3); font-weight: 400; font-size: 12px; }

.rail { position: relative; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-btn {
  position: absolute; top: 34%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; display: grid; place-items: center; z-index: 2;
}
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn.prev { left: -12px; }
.rail-btn.next { right: -12px; }
.rail-btn[hidden] { display: none; }

.stores-band { background: var(--soft); padding: 28px 0; margin-top: 40px; }
.stores-band .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.store-card { background: var(--white); border-radius: 8px; padding: 18px 20px; border: 1px solid var(--line); }
.store-card h3 { font-size: 22px; margin-bottom: 4px; }
.store-card .addr { color: var(--ink-2); margin-bottom: 8px; }
.store-card .svc { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.store-card .svc span { font-size: 13px; background: var(--soft); border-radius: 3px; padding: 3px 8px; }
.store-card .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------ photo carousel */
.carousel { position: relative; overflow: hidden; background: #3a2416; }
.car-track { position: absolute; inset: 0; touch-action: pan-y; }
.car-slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .7s ease; color: var(--ink); text-decoration: none; }
.car-slide.is-on { opacity: 1; z-index: 1; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-cap {
  position: absolute; top: 14px; left: 14px; background: var(--white); border-radius: 3px; padding: 4px 9px;
  display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.3;
}
.car-cap span { color: var(--red); font-size: 15px; }
.car-btn {
  position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 5px rgba(0,0,0,.3); cursor: pointer;
  display: grid; place-items: center; opacity: 0; transition: opacity .15s;
}
.car-btn svg { width: 18px; height: 18px; }
.car-btn.prev { left: 10px; }
.car-btn.next { right: 10px; }
.carousel:hover .car-btn, .car-btn:focus-visible { opacity: 1; }
.car-bar {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center;
  background: rgba(20,14,10,.62); border-radius: 999px; padding: 2px 6px;
}
.car-dot, .car-play { width: 22px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--white); }
.car-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); }
.car-dot[aria-current="true"]::before { background: var(--white); width: 9px; height: 9px; }
.car-play svg { width: 12px; height: 12px; }
.car-btn:focus-visible, .car-dot:focus-visible, .car-play:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }
@media (hover: none) { .car-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .car-slide { transition: none; } }

.menu-hero { height: 360px; border-radius: 8px; margin-bottom: 18px; }

/* ------------------------------------------------------------ product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 16px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; }
.card .pic {
  position: relative; aspect-ratio: 1; background: var(--white); border-radius: var(--radius);
  display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; border: 1px solid var(--soft);
}
/* absolute so tall or wide photos fit the square instead of spilling out of it */
.card .pic img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.card .pic > .noimg { position: absolute; inset: 0; }
.card:hover .name { text-decoration: underline; }
.noimg { display: grid; place-items: center; background: var(--soft); color: var(--ink-3); width: 100%; height: 100%; }
.noimg img, .card .pic .noimg img { width: 24%; height: auto; opacity: .22; filter: grayscale(1); }
.card .price { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.1; }
.card .price .unit { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-left: 2px; }
.price .deal, .price-big .deal { font-size: .7em; }
.card .name {
  font-size: 14px; line-height: 1.35; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .size { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.card .stock { margin-top: 6px; }
.tag-new {
  position: absolute; top: 8px; left: 8px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 700;
  padding: 2px 7px; border-radius: 3px;
}
.tag-21 { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line-2); background: var(--white); border-radius: 3px; padding: 1px 5px; }

/* stock: quiet when sure, outlined when the estimate is shaky */
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1.2; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.stock-in_stock { color: var(--green); }
.stock-in_stock::before { background: var(--green); }
.stock-low_stock, .stock-limited { color: var(--amber-ink); border: 1px solid var(--amber-line); background: var(--amber-tint); border-radius: 3px; padding: 2px 7px 2px 6px; }
.stock-low_stock::before, .stock-limited::before { background: var(--amber-line); }
.stock-maybe_out { color: var(--rust-ink); border: 1px dashed var(--rust-line); background: var(--white); border-radius: 3px; padding: 2px 7px 2px 6px; }
.stock-maybe_out::before { background: transparent; border: 2px solid var(--rust-line); width: 5px; height: 5px; }
.stock-out { color: var(--ink-3); }
.stock-out::before { background: var(--line-2); }
.card.is-shaky .pic { outline: 1px dashed var(--amber-line); outline-offset: -1px; }
.card.is-out .pic img { opacity: .45; filter: grayscale(.6); }
.card.is-out .price { color: var(--ink-3); }

/* ------------------------------------------------------------ listing pages */
.crumbs { font-size: 13px; color: var(--ink-2); margin: 14px 0 6px; }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 6px; color: var(--ink-3); }
.page-head { margin-bottom: 14px; }
.page-head h1 { display: inline; }
.page-head .es { font-family: var(--display); font-weight: 400; color: var(--ink-3); font-size: 22px; margin-left: 10px; }
.page-head .count { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14px; }

.listing { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow-y: auto; overflow-x: hidden; padding-right: 6px; scrollbar-width: thin; }
.filters .f-head { display: none; }
.filters h2 { font-size: 17px; margin: 0 0 8px; }
.filters .f-block { border-bottom: 1px solid var(--line); padding: 0 0 14px; margin-bottom: 14px; }
.filters .cat-list a {
  display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; margin: 0 -8px; border-radius: 4px; text-decoration: none; font-size: 14px;
}
.filters .cat-list a:hover { background: var(--soft); }
.filters .cat-list a[aria-current="true"] { font-weight: 700; background: var(--soft); }
.filters .cat-list small { color: var(--ink-3); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar label { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.toolbar select { height: 36px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 10px; background: var(--white); }
.filter-btn { display: none; }

.pager { display: flex; justify-content: center; gap: 6px; margin: 30px 0 10px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.pager a:hover { background: var(--soft); }
.pager [aria-current="page"] { background: var(--ink); color: var(--white); }
.pager .gap { color: var(--ink-3); }

.empty { padding: 40px 0; text-align: center; color: var(--ink-2); }
.empty h2 { color: var(--ink); margin-bottom: 8px; }
.notice {
  border-left: 4px solid var(--sun); background: var(--sun-tint); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 18px; font-size: 14px;
}
.notice p:last-child { margin: 0; }
.age-note { font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; margin-bottom: 16px; display: inline-block; }

/* skeleton while loading */
.sk { background: linear-gradient(90deg, var(--soft) 0, #e9eaea 50%, var(--soft) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: 4px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk-card .pic { aspect-ratio: 1; }
.sk-line { height: 12px; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* ------------------------------------------------------------ product page */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin: 10px 0 30px; }
.product .gallery { position: relative; border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 1; display: grid; place-items: center; background: var(--white); max-height: 560px; }
.product .gallery img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.product .gallery > .noimg { position: absolute; inset: 0; }
.product .brand { font-size: 14px; margin-bottom: 4px; }
.product .brand a { color: var(--ink-2); }
.product h1 { font-family: var(--body); font-weight: 700; font-size: 24px; line-height: 1.25; }
.product .size { color: var(--ink-2); margin-top: 6px; }
.product .price-big { font-family: var(--display); font-weight: 600; font-size: 40px; margin: 16px 0 18px; line-height: 1; }
.product .price-big .unit { font-family: var(--body); font-size: 18px; font-weight: 600; color: var(--ink-2); }
.avail-box { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.avail-box h2 { font-family: var(--body); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.avail-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--soft); }
.avail-row:first-of-type { border-top: 0; }
.avail-row .ar-store { font-weight: 600; }
.avail-row .ar-addr { font-size: 13px; color: var(--ink-2); }
.avail-row .ar-price { font-family: var(--display); font-weight: 600; font-size: 18px; text-align: right; }
.avail-row .stock { grid-column: 1 / -1; justify-self: start; }
.facts { font-size: 14px; color: var(--ink-2); display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }

/* ------------------------------------------------------------ food menus */
.menu-board { columns: 2 380px; column-gap: 40px; }
.menu-section { break-inside: avoid; margin-bottom: 26px; }
.menu-section h2 { font-size: 22px; border-bottom: 3px solid var(--red); padding-bottom: 4px; margin-bottom: 8px; display: inline-block; }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--line-2); }
.menu-item .mi-name { flex: 1; }
.menu-item .mi-price { font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; }

/* ------------------------------------------------------------ stores & help */
.store-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 10px 0 30px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 8px; background: var(--soft); }
.hours { border-collapse: collapse; margin: 6px 0 14px; }
.hours td { padding: 4px 18px 4px 0; }
.svc-list { display: grid; gap: 12px; margin: 10px 0 20px; }
.svc-list div { border-left: 3px solid var(--green); padding: 2px 0 2px 12px; }
.svc-list strong { display: block; }
.svc-list p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: #e9e6e2; margin-top: 50px; padding: 32px 0 20px; font-size: 14px; }
.site-footer a { color: #e9e6e2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr 1.3fr; gap: 24px 32px; }
.site-footer h2 { font-size: 16px; color: var(--white); margin-bottom: 10px; letter-spacing: .03em; }
.site-footer p { margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer .foot-shop ul { grid-template-columns: 1fr 1fr; gap: 7px 20px; }
.site-footer .foot-logo { width: 170px; height: auto; margin-bottom: 12px; }
.site-footer .fine { border-top: 1px solid #3b3936; margin-top: 22px; padding-top: 14px; color: #aaa49d; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .rail-track { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .tile-kitchen .menu-strip span:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); max-height: none; background: var(--white); z-index: 52; padding: 18px; box-shadow: -4px 0 20px rgba(0,0,0,.2); top: 0; }
  .filters.open { display: block; }
  .filters .f-head { display: flex; }
  .filter-btn { display: inline-flex; }
  .home-hero { grid-template-columns: 1fr; }
  .tile-kitchen { min-height: 300px; }
  .menu-hero { height: 240px; }
  .product, .store-detail { grid-template-columns: 1fr; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .foot-grid > div:first-child, .foot-shop { grid-column: 1 / -1; }
  .stores-band .grid2 { grid-template-columns: 1fr; }
  .rail-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 720px) {
  :root { --gutter: 12px; }
  h1 { font-size: 26px; }
  .masthead-row { grid-template-columns: auto 1fr auto; gap: 8px 10px; }
  .menu-btn { display: block; }
  .logo, .logo img { width: 116px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .store-btn { padding: 5px 8px; }
  .store-btn .sb-status { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .rail-track { grid-auto-columns: 42%; }
  .rail-btn { display: none; }
  .dept-grid { grid-template-columns: repeat(4, 1fr); }
  .dept .circle { width: 72px; height: 72px; }
  .dept span { font-size: 12px; }
  .dept small { display: none; }
  .home-hero { gap: 10px; margin-top: 12px; }
  .tile { min-height: 0; padding: 16px; }
  .tile h2 { font-size: 21px; }
  .tile-kitchen { min-height: 0; padding: 0; grid-template-columns: 1fr; }
  .tk-photos { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .tk-text { padding: 14px 16px 16px; }
  .tile-kitchen h2 { font-size: 36px; }
  .tile-kitchen .menu-strip { display: none; }
  .tile-kitchen .sun { width: 130px; right: -30px; bottom: -30px; }
  .car-cap { top: 10px; left: 10px; font-size: 15px; }
  .car-cap span { font-size: 14px; }
  .car-bar { right: 8px; bottom: 8px; }
  .menu-hero { height: auto; aspect-ratio: 16 / 10; }
  .car-dot { width: 16px; }
  .tile.has-photo { padding-right: 16px; }
  .tile .tile-photo { position: static; width: 100%; height: 48px; margin-top: 12px; border-radius: 6px; }
  .hero-stack { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stack .tile p { display: none; }
  .hero-stack .tile .tile-cta { font-size: 14px; }
  .tile .tile-photos { position: static; margin-top: 12px; gap: 6px; }
  .tile .tile-photos img { width: 44px; height: 44px; padding: 2px; }
  .product .price-big { font-size: 34px; }
  .filters { top: 0; }
}
@media (max-width: 420px) {
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
}
@media print {
  .masthead, .deptbar, .site-footer, .filters, .toolbar, .pager { display: none !important; }
}
