:root {
  --ink: #17211c;
  --muted: #65716a;
  --paper: #fbfaf4;
  --milk: #fffdf7;
  --line: rgba(23, 33, 28, 0.13);
  --green: #1f6a43;
  --leaf: #6fa359;
  --tomato: #c64937;
  --sun: #e9b949;
  --berry: #7a263d;
  --shadow: 0 24px 70px rgba(23, 33, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(251, 250, 244, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(23, 33, 28, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  opacity: 0.72;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.site-header[data-elevated="true"] .nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: inherit;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.cart-button,
.filter,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 16px;
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.site-header[data-elevated="true"] .cart-button {
  background: #fff;
  border-color: var(--line);
}

.cart-button strong {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--tomato);
  border-radius: 50%;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    image-set(
      url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=84") 1x
    ) center / cover;
  transform: scale(1.04);
  animation: breathe 14s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 24, 20, 0.82), rgba(18, 24, 20, 0.24) 54%, rgba(18, 24, 20, 0.2));
}

.hero-content {
  position: relative;
  width: min(780px, 92vw);
  padding: 0 clamp(18px, 5vw, 72px) 150px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--tomato);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1d98b;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.92;
  max-width: 760px;
}

h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.deal-clock {
  width: min(640px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.deal-clock span,
.deal-clock small {
  color: rgba(255, 255, 255, 0.72);
}

.deal-clock strong {
  display: block;
  margin-top: 5px;
  color: #fff;
}

.clock-units {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.clock-units b {
  font-size: 26px;
  line-height: 1;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: var(--tomato);
}

.primary-action.dark {
  background: var(--ink);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.hero-strip {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-strip span {
  padding: 18px 14px;
  text-align: center;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.intro p:last-child,
.feature-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--milk);
}

.offer-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(52px, 7vw, 82px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(122, 38, 61, 0.94), rgba(198, 73, 55, 0.88)),
    url("https://images.unsplash.com/photo-1488459716781-31db52582fe9?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.offer-band .eyebrow {
  color: #f7dfa0;
}

.offer-band p:last-child {
  align-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

.signal-band div {
  padding: 30px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.signal-band strong {
  display: block;
  color: var(--green);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.signal-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: end;
  margin-bottom: 34px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

.filter.active {
  background: var(--ink);
  color: #fff;
}

.shop-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.product-menu {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.menu-card,
.snap-card,
.shelf-stage {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 18px 48px rgba(23, 33, 28, 0.07);
}

.menu-card {
  padding: 18px;
}

.menu-card h3 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1;
}

.menu-item {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 0 12px 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.menu-item:hover,
.menu-item.active {
  border-color: var(--line);
  background: #fff;
}

.menu-item.active {
  color: #fff;
  background: var(--green);
}

.menu-item strong {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(23, 33, 28, 0.08);
}

.menu-item.active strong {
  background: rgba(255, 255, 255, 0.18);
}

.snap-card {
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 106, 67, 0.98), rgba(122, 38, 61, 0.92)),
    url("https://images.unsplash.com/photo-1550989460-0adf9ea622e2?auto=format&fit=crop&w=800&q=78") center / cover;
}

.snap-card span {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: #f5dfa0;
  font-size: 12px;
  font-weight: 900;
}

.snap-card strong,
.snap-card small {
  display: block;
}

.snap-card strong {
  max-width: 190px;
  font-size: 25px;
  line-height: 1;
}

.snap-card small {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.shelf-stage {
  padding: 18px;
}

.shelf-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.shelf-toolbar strong,
.shelf-toolbar span {
  display: block;
}

.shelf-toolbar strong {
  font-size: 22px;
}

.shelf-toolbar span {
  margin-top: 5px;
  color: var(--muted);
}

.search-box {
  width: min(320px, 100%);
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.search-box input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 106, 67, 0.12);
}

.product-loader {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-loader span {
  border-radius: 8px;
  background: linear-gradient(110deg, #ece8dc 8%, #fff 18%, #ece8dc 33%);
  background-size: 200% 100%;
  animation: shimmer 900ms linear infinite;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: grid;
  align-content: end;
  border-radius: 8px;
  background: #ddd;
  box-shadow: 0 18px 42px rgba(23, 33, 28, 0.08);
  isolation: isolate;
  transform: translateY(10px);
  opacity: 0;
  animation: cardIn 560ms ease forwards;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--image) center / cover;
  transition: transform 450ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 24, 20, 0.02), rgba(18, 24, 20, 0.78));
}

.product-card:hover::before {
  transform: scale(1.07);
}

.product-info {
  padding: 22px;
  color: #fff;
}

.product-info small {
  display: inline-block;
  margin-bottom: 10px;
  color: #f5dfa0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
}

.promo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 11px;
  color: var(--ink);
  background: #f5dfa0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.product-info h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1;
}

.product-info p {
  min-height: 48px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.product-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.product-actions button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.product-actions .add {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  font-weight: 800;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding: clamp(74px, 9vw, 120px) clamp(18px, 5vw, 72px);
  background: #17211c;
  color: #fff;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-copy ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-copy li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-panel {
  display: grid;
  gap: 12px;
}

.route-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.route-card.active {
  background: #f5dfa0;
  color: var(--ink);
}

.route-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.route-card strong,
.route-card small {
  display: block;
}

.route-card small {
  margin-top: 6px;
  opacity: 0.72;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: var(--milk);
}

.contact div {
  max-width: 720px;
}

.cart-drawer,
.quick-view,
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(15, 20, 17, 0.52);
  backdrop-filter: blur(8px);
}

.cart-drawer.open,
.quick-view.open,
.checkout-modal.open {
  display: block;
}

.cart-panel {
  width: min(460px, 92vw);
  min-height: 100%;
  margin-left: auto;
  padding: 28px;
  background: var(--milk);
  box-shadow: var(--shadow);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 24px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.cart-line small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.checkout {
  width: 100%;
  margin-top: 24px;
  border: 0;
  cursor: pointer;
}

.checkout-card {
  width: min(1100px, 94vw);
  max-height: 90vh;
  overflow: auto;
  margin: 5vh auto;
  position: relative;
  border-radius: 8px;
  background: var(--milk);
  box-shadow: var(--shadow);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: clamp(24px, 4vw, 46px);
}

.checkout-note {
  color: var(--muted);
  line-height: 1.65;
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-form label.ebt-confirm,
.checkout-form label.order-confirm {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-transform: none;
  font-size: 14px;
  line-height: 1.4;
}

.checkout-form label.ebt-confirm input,
.checkout-form label.order-confirm input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.checkout-form .wide,
.checkout-submit {
  grid-column: 1 / -1;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 106, 67, 0.12);
}

.checkout-submit {
  border: 0;
  cursor: pointer;
}

.checkout-summary {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-self: start;
}

.checkout-summary small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.summary-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.summary-line small {
  margin-top: 4px;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--ink);
  font-size: 19px;
}

.checkout-success {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  line-height: 1.5;
}

.modal-card {
  width: min(920px, 92vw);
  margin: 7vh auto;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  overflow: hidden;
  border-radius: 8px;
  background: var(--milk);
  box-shadow: var(--shadow);
  position: relative;
}

.modal-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.modal-card > div {
  padding: 42px;
  align-self: center;
}

.modal-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.modal-card strong {
  display: inline-block;
  margin-top: 14px;
  color: var(--green);
  font-size: 24px;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
}

@keyframes breathe {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes shimmer {
  to { background-position-x: -200%; }
}

@keyframes cardIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .intro,
  .feature,
  .modal-card,
  .checkout-grid,
  .offer-band {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .contact {
    display: grid;
  }

  .shop-shell {
    grid-template-columns: 1fr;
  }

  .product-menu {
    position: static;
  }

  .shelf-toolbar {
    display: grid;
  }
}

@media (max-width: 560px) {
  .hero-content {
    padding-bottom: 180px;
  }

  .deal-clock {
    align-items: start;
    flex-direction: column;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .signal-band {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 350px;
  }

  .modal-card img {
    height: 280px;
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }
}
