@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
}
:root {
  --bg: #f4f1ea;
  --fg: #1c2b23;
  --muted: #4a5b52;
  --line: #ddd6c8;
  --surface: #fffcf7;
  --primary: #234d38;
  --sale: #8d4334;
  --deep: #1c2b23;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}
h1, h2, h3 { font-family: Newsreader, Georgia, "Times New Roman", serif; font-weight: 560; letter-spacing: -0.02em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.45rem max(1.25rem, env(safe-area-inset-right)) 0.45rem max(1.25rem, env(safe-area-inset-left));
  background: rgb(244 241 234 / 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav a, .footer a { text-decoration: none; }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 1.15rem; margin-left: auto; }
.nav nav a, .nav nav button.linkish {
  font-size: 1rem;
  padding: 0.45rem 0.05rem;
  border-bottom: 2px solid transparent;
  line-height: 1.2;
  text-decoration: none;
}
.nav nav a:hover, .nav nav a[aria-current="page"], .nav nav button.linkish:hover { border-bottom-color: var(--primary); }
.nav form { display: inline-flex; margin: 0; align-items: center; }
.nav-cart { margin-left: 0.35rem; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--surface);
  font: inherit;
  cursor: pointer;
}
.logo { font-family: Newsreader, Georgia, serif; font-size: 1.25rem; letter-spacing: 0.02em; text-decoration: none; }
.hero { position: relative; height: 70vh; height: 70svh; min-height: 28rem; max-height: 40rem; overflow: hidden; background: var(--deep); color: #f7f3ea; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgb(10 18 14 / 0.9) 0%, rgb(16 28 22 / 0.74) 32%, rgb(16 28 22 / 0.34) 62%, rgb(16 28 22 / 0.16) 100%);
}
.hero-panel {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0 0 2.4rem;
}
.hero-panel h1, .hero-panel > p { text-shadow: 0 2px 14px rgb(0 0 0 / 0.5); }
.hero-panel h1 { max-width: 12ch; margin: 0.35rem 0 0; font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 0.95; color: #f7f3ea; }
.hero-panel p { max-width: 32rem; margin: 0.8rem 0 0; color: #e7eee9; }
.hero .kicker { font-size: 0.85rem; color: #f4f7f5; letter-spacing: 0.14em; }
.kicker { margin: 0; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.85rem; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.btn, button.btn, button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.15rem;
  border-radius: 0.4rem;
  background: var(--primary);
  color: #f7f3ea;
  text-decoration: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.btn.light { background: #f7f3ea; color: var(--deep); }
.btn.ghost { background: transparent; color: #f7f3ea; border: 1px solid rgb(247 243 234 / 0.75); }
button:disabled, .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.trust p { margin: 0; background: var(--surface); padding: 1rem 1.1rem; font-size: 0.95rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.section { padding: 3.5rem 0; }
.section h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 1.25rem; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 1.5rem; }
.why h2 { grid-column: 1 / -1; margin-bottom: 0; }
.why p { margin: 0; }
.why strong { display: block; margin-bottom: 0.3rem; }
.why-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rail-wrap { position: relative; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 4);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  scrollbar-width: none;
  padding: 0.2rem 0.1rem 0.7rem;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: 4px; }
.rail-btn {
  position: absolute;
  top: 34%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--deep);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 6px 16px rgb(28 43 35 / 0.12);
}
.rail-prev { left: 0.15rem; }
.rail-next { right: 0.15rem; }
.rail-btn[hidden] { display: none; }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 22px rgb(28 43 35 / 0.06);
  overflow: visible;
}
.grid > .card { height: 100%; }
.card-photo { position: relative; display: block; background: #e7e1d6; border-radius: 8px; overflow: hidden; }
.card-photo img, .card > a > img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 8px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 0.85rem 0 0; }
.card h2 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 0.75rem; }
.card h3 { margin: 0; font-size: 1.1rem; line-height: 1.2; }
.card h3 a { text-decoration: none; }
.card-body p { margin: 0.2rem 0 0; }
.sale-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--sale);
  color: #fffaf6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.new-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: var(--deep);
  color: #fffaf6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.35rem 0 0; }
.badge-row .sale-badge, .badge-row .new-badge { position: static; }
.rail-empty { margin: 0.35rem 0 0.75rem; }
.stock-low, .stock-out { color: var(--sale); font-weight: 600; }
main form.card-add, .card-add { display: block; margin-top: auto; padding-top: 0.85rem; }
.card-add .btn { width: 100%; }
.muted { color: var(--muted); }
.price { margin: 0.35rem 0 0; font-weight: 600; }
.compare { color: var(--sale); text-decoration: line-through; font-weight: 400; margin-left: 0.35rem; }
.band { background: var(--deep); color: #f7f3ea; }
.band h2, .band p { color: #f7f3ea; font-weight: 400; }
.band h2 { font-weight: 560; }
.band .split { align-items: center; }
.band-action { margin: 0; justify-self: end; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem 2rem; padding: 2rem 0 1rem; align-items: start; }
.footer-title { margin: 0 0 0.65rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer a { display: block; margin: 0; padding: 0.2rem 0; }
.footer p { margin: 0.2rem 0; }
.footer p a { display: inline; padding: 0; }
.footer-copy { border-top: 1px solid var(--line); padding: 0.9rem 0 1.4rem; color: var(--muted); font-size: 0.95rem; }
.footer-copy p { margin: 0; }
main form { display: grid; gap: 0.7rem; }
main form.inline { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
main form.inline input, main form.inline select { width: auto; flex: 1 1 7rem; min-width: 0; }
.admin-bar form { display: inline-flex; margin: 0; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 0.4rem; padding: 0.55rem 0.75rem; font: inherit; background: white; color: var(--fg); }
label { font-size: 0.95rem; }
input[type="radio"], input[type="checkbox"] { width: 1.1rem; height: 1.1rem; min-height: 1.1rem; padding: 0; accent-color: var(--primary); }
textarea { min-height: 7rem; }
button.linkish, .linkish { background: none; border: 0; padding: 0.45rem 0.05rem; color: inherit; font: inherit; cursor: pointer; text-decoration: none; border-radius: 0; }
.narrow { max-width: 34rem; }
.table-wrap { width: 100%; overflow-x: auto; }
table { display: table; width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; padding: 0.55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.filters a, .filters label { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 0.45rem 0.85rem; text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.filters a[aria-current="page"] { background: var(--primary); color: #f7f3ea; border-color: var(--primary); }
.flash { background: #efe7d6; padding: 0.7rem 1rem; border-radius: 0.4rem; }
.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.pager a, .pager span { min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0 0.85rem; border: 1px solid var(--line); border-radius: 0.4rem; text-decoration: none; background: var(--surface); }
.pager .is-current { background: var(--primary); color: #f7f3ea; border-color: var(--primary); }
.auth-wrap { display: grid; place-items: center; padding: 2.5rem 0 3rem; }
.auth-card { width: min(26rem, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.5rem 1.3rem 1.6rem; box-shadow: 0 12px 30px rgb(28 43 35 / 0.05); }
.auth-card h1 { font-size: 1.9rem; line-height: 1.15; margin: 0.35rem 0 1rem; }
.phone-field { display: flex; align-items: stretch; }
.phone-prefix { display: inline-flex; align-items: center; padding: 0 0.75rem; border: 1px solid var(--line); border-right: 0; border-radius: 0.4rem 0 0 0.4rem; background: #f6f3ec; min-height: 2.75rem; }
.phone-field input { flex: 1; width: auto; min-width: 0; border-radius: 0 0.4rem 0.4rem 0; }
.auth-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; justify-content: space-between; }
.auth-links form { display: inline; }
.admin-bar { display: flex; align-items: center; gap: 1rem; min-height: 3.6rem; padding: 0.45rem 1rem; background: var(--deep); color: #f7f3ea; }
.admin-bar a { color: #f7f3ea; text-decoration: none; }
.admin-who { margin: 0 0 0 auto; font-size: 0.95rem; color: #d7e0da; }
.admin-bar .btn { background: #f7f3ea; color: var(--deep); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.7rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.admin-nav a { text-decoration: none; padding: 0.4rem 0.7rem; border-radius: 999px; min-height: 2.75rem; display: inline-flex; align-items: center; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { background: var(--primary); color: #f7f3ea; }
.admin-page h1 { margin-top: 0; }
.search-label { font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform 0.16s ease, box-shadow 0.16s ease; }
  .card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(28 43 35 / 0.12); }
  .wa-float:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
}
.upi-qr {
  width: min(100%, 16rem);
  min-width: min(100%, 180px);
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  image-rendering: pixelated;
  padding: 0.55rem;
}
.upi-panel { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; }
.pay-box .upi-app .btn { min-height: 48px; }
@media (max-width: 700px) {
  .upi-panel .upi-app { order: -1; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; margin: 0 0 0.6rem; color: var(--muted); font-size: 0.92rem; }
.crumbs a { text-decoration: none; }
.crumbs a::after { content: "/"; margin-left: 0.5rem; color: var(--muted); }
@media (max-width: 1024px) {
  .rail { grid-auto-columns: calc((100% - 2rem) / 3); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .trust, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .band-action { justify-self: start; }
}
@media (max-width: 700px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-left: 0;
    padding: 0.2rem 0 0.7rem;
  }
  .nav nav.is-open {
    display: flex;
    max-height: calc(100vh - 4.25rem);
    max-height: calc(100dvh - 4.25rem);
    overflow-y: auto;
  }
  .nav-cart { margin-left: 0; }
  .trust, .why, .footer-grid, .split { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 24rem; max-height: 34rem; }
  .rail { grid-auto-columns: calc((100% - 0.75rem) / 2); }
  .rail-btn { display: none; }
}
@media (pointer: coarse) {
  .rail-btn { display: none; }
  .nav nav a, .footer a, .pager a, .method-tabs a {
    min-height: 44px;
  }
  .footer a { padding-top: 0.65rem; padding-bottom: 0.65rem; }
  .footer p a { display: inline; min-height: 0; padding: 0; }
}
.flash.ok { background: #d7eadc; }
.flash.bad { background: #f3d2cc; }
.announce { margin: 0; padding: 0.45rem 1rem; background: var(--primary); color: #f7f3ea; text-align: center; }
.admin-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.admin-cards a { text-decoration: none; min-width: 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; margin: 0 0 1rem; }
.subnav a { text-decoration: none; }
.subnav a[aria-current="page"] { text-decoration: underline; }
.count-badge { display: inline-flex; min-width: 1.3rem; justify-content: center; padding: 0 0.35rem; border-radius: 999px; background: #8d4334; color: #fff; font-size: 0.8rem; }
.pill { display: inline-block; border-radius: 999px; padding: 0.1rem 0.5rem; font-size: 0.85rem; }
.pill-active { background: #d7eadc; }
.pill-off { background: #e6e2da; }
.pill-expired { background: #f3d2cc; }
.pill-used-up { background: #f6e2c2; }
.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 0.3rem; }
.preview { width: min(100%, 16rem); }
.staff-menu { margin-left: auto; position: relative; }
.staff-menu summary { cursor: pointer; list-style: none; }
.staff-menu summary::-webkit-details-marker { display: none; }
.staff-menu[open] { background: var(--deep); }
.staff-menu a, .staff-menu button { display: block; margin-top: 0.4rem; }
.admin-toggle { display: none; }
.star-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.15rem; border: 0; padding: 0; }
.star-pick input { position: absolute; opacity: 0; }
.star-pick label { font-size: 0; cursor: pointer; }
.star-pick label::before { content: "★"; font-size: 1.7rem; color: #c8c0b0; }
.star-pick input:checked ~ label::before,
.star-pick label:hover::before,
.star-pick label:hover ~ label::before { color: var(--primary); }
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1f7a4d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgb(28 43 35 / 0.22);
  z-index: 30;
}
body.shop { padding-bottom: 5.5rem; }
@media (max-width: 800px) {
  .admin-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .product-split { display: flex; flex-direction: column; }
  .product-split > * { min-width: 0; max-width: 100%; }
  .product-split > div { order: 1; }
  .product-split > img { order: 2; width: 100%; max-height: 18rem; object-fit: cover; }
  .admin-toggle { display: inline-flex; margin-left: auto; background: #f7f3ea; color: var(--deep); }
  .staff-menu { margin-left: 0; }
  .admin-nav { display: none; }
  .admin-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; }
  .admin-cards { grid-template-columns: 1fr; }
}
@media print {
  .admin-bar, .admin-nav, .subnav, form, .wa-float, .footer { display: none !important; }
  body { background: #fff; }
}
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 5; }
.skip:focus { left: .5rem; top: .5rem; }
.hp { position: absolute; left: -9999px; }
h1 { scroll-margin-top: 5.5rem; }
.cart-layout, .checkout-layout { display: grid; gap: 1.25rem; align-items: start; }
.checkout-form, .checkout-form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.checkout-form { display: grid; gap: 0.15rem; }
.checkout-form legend { display: flex; align-items: center; gap: 0.55rem; font-size: 1.1rem; font-weight: 700; color: var(--deep); margin: 0 0 0.75rem; padding: 0; }
.step-no { display: inline-flex; width: 1.7rem; height: 1.7rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--primary); color: #f7f3ea; font-size: 0.95rem; }
.hint, .consent { color: var(--muted); font-size: 0.92rem; margin: 0.2rem 0 0.6rem; }
.summary { height: auto; align-self: start; }
.summary h2 { font-size: 1.25rem; }
.summary p, .order-items li { display: flex; justify-content: space-between; gap: 1rem; margin: 0.45rem 0; }
.summary-total { font-family: Newsreader, serif; font-size: 1.5rem; margin-top: 0.6rem; }
.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto 5.5rem;
  grid-template-areas: "photo info qty total";
  gap: 0.85rem 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
  height: auto;
}
.cart-photo { grid-area: photo; }
.cart-info { grid-area: info; min-width: 0; }
.cart-info a { font-weight: 700; text-decoration: none; }
.cart-info a:hover { text-decoration: underline; }
.cart-qty { grid-area: qty; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.line-total { grid-area: total; text-align: right; }
.cart-row img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.stepper input { width: 3rem; min-height: 44px; border: 0; border-radius: 0; text-align: center; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input { appearance: textfield; -moz-appearance: textfield; }
.step { width: 44px; min-height: 44px; border-radius: 0; background: transparent; color: var(--deep); border: 0; }
.step:hover { background: var(--primary); color: #f7f3ea; }
button.text-link, .text-link {
  display: inline;
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: underline;
  box-shadow: none;
}
@media (max-width: 640px) {
  button.text-link, .text-link { position: relative; }
  button.text-link::after, .text-link::after { content: ""; position: absolute; inset: -12px -8px; }
}
.ship-bar { height: 8px; background: #efe6d6; border-radius: 99px; overflow: hidden; margin: 0.6rem 0; }
.ship-bar span { display: block; height: 100%; background: #1f6b45; border-radius: 99px; }
.chip { display: inline-flex; gap: .5rem; align-items: center; background: #e5f2ea; color: #1f6b45; border-radius: 99px; padding: .2rem .7rem; }
.coupon-box { margin: 0.4rem 0 0.8rem; }
.coupon-box summary { cursor: pointer; list-style: none; }
.coupon-box summary::-webkit-details-marker { display: none; }
.coupon-box summary::after { content: " ▾"; color: var(--muted); }
.coupon-row { display: flex; gap: .5rem; margin-top: 0.5rem; }
.coupon-row input { flex: 1; }
.btn-block { display: flex; width: 100%; justify-content: center; min-height: 52px; }
.reassure { list-style: none; padding: 0; margin: 0.8rem 0 0; }
.reassure li { display: flex; gap: 0.4rem; align-items: flex-start; font-size: 0.92rem; margin: 0.35rem 0; }
.sticky-checkout { display: none; }
.pay-card { display: flex; gap: .75rem; align-items: flex-start; border: 1px solid #e4d8c4; border-radius: 12px; padding: .85rem; margin: .45rem 0; background: #fff; cursor: pointer; }
.pay-card:has(input:checked) { border-color: #1f6b45; background: #e7f3ec; }
.pay-card input { margin-top: 0.25rem; }
.pay-box { align-items: center; }
.pay-box .qr { width: min(220px, 100%); height: auto; margin: 0.5rem auto; }
.upi-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.upi-app { display: none; }
.field-error { color: #8a2b2b; margin: 0 0 .6rem; }
.summary-mobile { display: none; margin-bottom: 1rem; }
.summary-mobile summary { cursor: pointer; font-weight: 700; }
input[aria-invalid="true"] { border-color: #8a2b2b; }
@media (min-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1.4fr .8fr; }
  .summary-side { position: sticky; top: 5.5rem; }
}
@media (max-width: 899px) {
  .summary-mobile { display: block; }
  .summary-side { display: none; }
  .sticky-checkout {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 25;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #fffaf3;
    border-top: 1px solid #e4d8c4;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    margin: 1rem -1rem 0;
  }
  body.shop:has(.sticky-checkout) { padding-bottom: 9rem; }
  .wa-float { bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .card { padding: 1rem; }
  .cart-row {
    grid-template-columns: 96px 1fr;
    grid-template-areas: "photo info" "qty total";
  }
  .line-total { text-align: right; align-self: center; }
}
@media (max-width: 700px) {
  .upi-app { display: block; }
}
:focus-visible { outline: 3px solid #1f6b45; outline-offset: 2px; }
.auth-card { max-width: 26rem; margin: 0 auto; }
.or-line { text-align: center; color: #6d6458; }
.method-tabs { display: flex; gap: .5rem; }
.method-tabs a { flex: 1; text-align: center; padding: .55rem; border-radius: 999px; background: #efe6d6; text-decoration: none; }
.method-tabs a[aria-current="page"] { background: #1f6b45; color: #fff; }
.order-items { list-style: none; padding: 0; }
.order-items img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.health { list-style: none; padding: 0; }
.health li { padding: .45rem .7rem; border-radius: 8px; margin: .3rem 0; }
.health .ok { background: #e5f2ea; }
.health .bad { background: #f8e4e4; }
tr.pay-wait { background: #fff4d6; }
.empty-mark { font-size: 2rem; }
.admin-warn { background: #f8e4e4; border-radius: 8px; padding: .7rem 1rem; margin: 0 0 .6rem; }



.mobile-bar { display: none; }
.btn, .step, button.btn { min-height: 44px; }
.calc { display: grid; gap: 0.75rem; }
.calc input, .calc select, .search-label input { font-size: 1.05rem; min-height: 44px; }
@media (max-width: 700px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    gap: 8px;
    padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: #fff;
    z-index: 30;
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
  }
  .mobile-bar .btn { flex: 1; text-align: center; }
  .sticky-checkout { bottom: calc(4.5rem + 8px + env(safe-area-inset-bottom)); padding-bottom: 0.75rem; }
  body.shop { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
  body.shop:has(.sticky-checkout) { padding-bottom: calc(9.5rem + env(safe-area-inset-bottom)); }
  body.shop:has(.sticky-checkout) .wa-float { bottom: calc(9.5rem + env(safe-area-inset-bottom)); }
}
html, body { max-width: 100%; }
.rail-wrap, .table-wrap, .admin-nav, .subnav, .wrap, .split, .filters { max-width: 100%; min-width: 0; }
.table-wrap th:first-child, .table-wrap td:first-child { position: sticky; left: 0; background: var(--surface, #fffaf3); z-index: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.4rem; max-width: 100%; min-width: 0; }
.filters button { background: #efe6d6; color: var(--deep, #1c2b23); min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--primary, #1f6b45); color: #f7f3ea; }
button.linkish, .nav-calc { background: transparent; color: inherit; box-shadow: none; }
.calc-panel { position: fixed; z-index: 50; background: #fffaf3; border: 1px solid var(--line, #e4d8c4); border-radius: 12px; padding: 1rem; box-shadow: 0 12px 30px rgb(0 0 0 / 0.16); width: min(26rem, calc(100vw - 1.5rem)); top: 4.5rem; right: max(0.75rem, env(safe-area-inset-right)); max-height: calc(100vh - 5.5rem); max-height: calc(100dvh - 5.5rem); overflow: auto; }
.calc-panel[hidden] { display: none; }
.calc-page { position: static; width: auto; max-height: none; box-shadow: none; }
.calc-close { position: absolute; top: 0.4rem; right: 0.4rem; width: 44px; min-height: 44px; background: transparent; color: var(--deep, #1c2b23); }
.admin-now, .admin-cards { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0 1.2rem; }
.week-box, .set-card { border: 1px solid var(--line, #e4d8c4); border-radius: 12px; padding: 0.8rem 1rem; margin: 0.8rem 0; background: #fff; }
.admin-nav { align-items: flex-start; }
.admin-group { position: relative; }
.admin-group > summary { list-style: none; cursor: pointer; }
.admin-group > summary::-webkit-details-marker { display: none; }
.admin-group > summary a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0.4rem 0.7rem; border-radius: 999px; }
.admin-group > summary a[aria-current="page"] { background: var(--primary, #1f6b45); color: #f7f3ea; }
.admin-sub, .finder-drop, .subnav-more div { display: flex; flex-direction: column; gap: 0.2rem; background: #fff; border: 1px solid var(--line, #e4d8c4); border-radius: 10px; padding: 0.4rem; }
.admin-sub a, .finder-drop a, .subnav-more a { min-height: 44px; display: flex; align-items: center; padding: 0 0.6rem; text-decoration: none; }
.admin-finder { position: relative; min-width: 14rem; }
.finder-drop { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; }
.subnav { flex-wrap: nowrap; overflow-x: auto; }
.subnav a, .subnav-more summary { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 701px) {
  .admin-nav { display: flex !important; flex-wrap: nowrap; overflow-x: auto; }
  .admin-sub { display: none; }
}
@media (max-width: 700px) {
  .calc-panel:not(.calc-page) {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    max-height: 85vh;
    max-height: 85dvh;
    border-radius: 16px 16px 0 0;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
  .admin-nav { display: none; flex-direction: column; width: 100%; }
  .admin-nav.is-open { display: flex; }
  .rail-mini { grid-auto-columns: calc((100% - 0.75rem) / 2); }
}
.promo-card { background: #e7f3ec; }
.rail-mini { grid-auto-columns: calc((100% - 3rem) / 5); }
body { overflow-wrap: break-word; }
body.nav-open { overflow: hidden; }
td, .crumbs, .footer, .muted { overflow-wrap: anywhere; }
@media (max-width: 359px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .nav { min-height: 2.75rem; }
  .hero { min-height: 16rem; max-height: 22rem; }
  .nav nav.is-open { max-height: calc(100dvh - 2.75rem); }
}
@media (max-width: 700px) {
  input, select, textarea { font-size: max(16px, 1.05rem); }
  .admin-finder { min-width: 0; width: 100%; }
}
@media (pointer: coarse) {
  .filters { gap: 0.5rem; }
}
