:root {
  --paper: #f4efe5;
  --surface: #fffaf0;
  --surface-strong: #e1d2b7;
  --ink: #3f3428;
  --muted: #756656;
  --green: #477a48;
  --green-dark: #315d34;
  --brown: #7a4b2d;
  --line: rgba(63, 52, 40, 0.18);
  --shadow: 0 22px 60px rgba(63, 52, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(244, 239, 229, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  border-radius: 50%;
  height: 56px;
  object-fit: cover;
  width: 56px;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.hero,
.intro,
.products,
.checkout,
.contact {
  margin: 0 auto;
  max-width: 1120px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.25fr);
  min-height: calc(100vh - 78px);
  padding: clamp(44px, 7vw, 88px) 24px;
}

.hero__content h1,
.section-heading h2,
.intro h2,
.checkout h2,
.contact h2,
.admin-shell h1,
.orders h2 {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  margin: 0;
}

.hero__content h1 {
  font-size: clamp(44px, 7vw, 78px);
  margin-bottom: 12px;
}

.hero__content p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 18px;
}

.hero__content .hero-brand-name {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
}

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

.hero__image {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.button {
  align-items: center;
  background: var(--green);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  background: var(--green-dark);
}

.button:disabled {
  background: #9ca38f;
  cursor: not-allowed;
  opacity: 0.65;
}

.button:disabled:hover {
  background: #9ca38f;
}

.button--secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.floating-cart {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(49, 93, 52, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  top: 94px;
  width: 58px;
  z-index: 30;
}

.floating-cart:hover {
  background: var(--green-dark);
}

.floating-cart:disabled {
  cursor: wait;
  opacity: 0.72;
}

.floating-cart__count {
  align-items: center;
  background: #d82424;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  line-height: 1;
  min-width: 24px;
  padding: 0 6px;
  position: absolute;
  right: -6px;
  top: -6px;
}

.floating-cart__count[hidden] {
  display: none;
}

.intro {
  display: grid;
  gap: 32px;
  grid-template-columns: 0.82fr 1.18fr;
  padding: 34px 24px 72px;
}

.intro h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 18px;
}

.intro p {
  color: var(--muted);
  margin: 0 0 14px;
}

.intro img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
  width: 100%;
}

.products {
  padding: 34px 24px 92px;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(42px, 6vw, 64px);
}

.section-note {
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 800;
  margin: 14px auto 0;
  max-width: 560px;
}

.product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.product-card--unavailable img {
  filter: grayscale(0.45);
  opacity: 0.72;
}

.stock--unavailable {
  color: #8b2d1e !important;
  font-weight: 800;
}

.product-card img {
  height: clamp(200px, 20vw, 250px);
  object-fit: cover;
  object-position: center 45%;
  width: 100%;
}

.product-card__body {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
  text-align: center;
}

.product-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.12;
  margin: 0;
}

.product-card p {
  color: var(--muted);
  margin: 0;
}

.product-card__weight {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  min-height: 28px;
}

.product-price__current {
  color: var(--brown);
  font-weight: 800;
}

.product-price--promo .product-price__current {
  color: #b62e22;
}

.product-price__original {
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
}

.product-price__unit {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stock {
  font-size: 14px;
  font-weight: 700;
}

.quantity {
  display: grid;
  gap: 8px;
  grid-template-columns: 40px 1fr 40px;
  margin-top: 6px;
}

.quantity button,
.quantity span {
  align-items: center;
  border: 1px solid var(--line);
  display: flex;
  font-size: 18px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
}

.quantity button {
  background: var(--green);
  color: #fff;
  cursor: pointer;
}

.quantity button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.quantity span {
  background: #fff;
}

.checkout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 0 24px 32px;
}

.cart-shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(30px, 5vw, 54px) 24px 68px;
}

.cart-hero {
  margin-bottom: 18px;
}

.cart-hero h1,
.subscription-offer h2 {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  margin: 0;
}

.cart-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
}

.cart-checkout {
  margin: 0 auto;
  padding: 0;
  width: calc(100% - 48px);
}

.cart-checkout .cart-panel,
.cart-checkout .payment-panel {
  min-height: 160px;
  padding: clamp(18px, 3vw, 26px);
}

.checkout.cart-checkout h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.cart-back-link {
  color: var(--green-dark);
  display: inline-flex;
  font-weight: 800;
  margin-top: 18px;
  text-decoration: none;
}

.cart-panel,
.payment-panel {
  min-height: 330px;
  padding: clamp(28px, 5vw, 46px);
}

.cart-panel {
  background: var(--surface-strong);
}

.payment-panel {
  background: #d9d8bd;
}

.checkout h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 26px;
}

.cart-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.cart-list li {
  border-bottom: 1px solid rgba(63, 52, 40, 0.24);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto auto;
  padding: 12px 0;
}

.cart-total {
  font-size: 20px;
  font-weight: 800;
  text-align: right;
}

.payment-note,
.message {
  color: var(--muted);
  font-size: 14px;
}

.message {
  font-weight: 700;
  margin-top: 16px;
}

.subscription-offer {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 28px auto 0;
  max-width: 1120px;
  padding: clamp(24px, 4vw, 38px);
  width: calc(100% - 48px);
}

.home-subscription {
  margin-top: 0;
  margin-bottom: 72px;
}

.subscription-offer h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 12px;
}

.subscription-offer p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

.subscription-offer__action {
  align-items: flex-end;
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 190px;
}

.subscription-offer__action strong {
  color: var(--brown);
  font-size: 20px;
}

.subscription-offer__detail {
  color: var(--muted);
  font-weight: 700;
}

.contact {
  background: var(--green);
  color: #fff;
  padding: 46px 24px 54px;
  text-align: center;
}

.contact h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 12px;
}

.contact a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  text-decoration: none;
}

.status-page,
.admin-page {
  min-height: 100vh;
  padding: 24px;
}

.status-card,
.admin-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 8vh auto;
  max-width: 920px;
  padding: clamp(28px, 5vw, 56px);
}

.admin-shell {
  max-width: 1120px;
}

.status-card {
  max-width: 680px;
  text-align: center;
}

.status-card h1 {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
  margin: 0 0 18px;
}

.admin-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.admin-shell h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.login-form {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.login-form input,
.stock-row input {
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 8px 10px;
  width: 100%;
}

.notice {
  background: #e8f2e5;
  border: 1px solid rgba(71, 122, 72, 0.28);
  color: var(--green-dark);
  font-weight: 700;
  padding: 12px 14px;
}

.notice--error {
  background: #fae8e4;
  border-color: rgba(150, 50, 35, 0.25);
  color: #8b2d1e;
}

.stock-form {
  display: grid;
  gap: 20px;
}

.stock-help {
  background: #f8f4e8;
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.stock-help p {
  margin: 0;
}

.admin-actions {
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  padding: 16px;
}

.form-help {
  color: var(--muted);
  margin: 0;
}

.stock-table {
  border: 1px solid var(--line);
}

.stock-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(130px, 1fr) 96px 70px 108px 90px 105px 118px minmax(180px, 1.25fr);
  padding: 12px 16px;
}

.stock-row + .stock-row {
  border-top: 1px solid var(--line);
}

.stock-row--head {
  background: var(--surface-strong);
  font-weight: 800;
}

.stock-heading {
  align-items: center;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr) 20px;
  width: 100%;
}

.stock-tooltip {
  align-items: center;
  background: var(--green-dark);
  border-radius: 50%;
  color: #fff;
  cursor: help;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  height: 20px;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 20px;
  z-index: 4;
}

.stock-tooltip::after {
  background: #2d211d;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 13px;
  font-weight: 600;
  left: 50%;
  line-height: 1.45;
  max-width: min(280px, 75vw);
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  text-align: left;
  top: calc(100% + 9px);
  transform: translateX(-50%) translateY(-3px);
  transition: opacity 140ms ease, transform 140ms ease;
  visibility: hidden;
  white-space: normal;
  width: 280px;
}

.stock-tooltip--right::after {
  left: auto;
  right: 0;
  transform: translateY(-3px);
}

.stock-tooltip:hover::after,
.stock-tooltip:focus::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.stock-tooltip--right:hover::after,
.stock-tooltip--right:focus::after {
  transform: translateY(0);
}

.stock-tooltip:focus-visible {
  outline: 3px solid rgba(71, 122, 72, 0.3);
  outline-offset: 2px;
}

.stock-product-name {
  display: grid;
  gap: 4px;
}

.stock-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stock-field {
  display: grid;
  gap: 4px;
}

.stock-field__label {
  color: var(--muted);
  display: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-toggle {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  font-weight: 800;
}

.stock-row input[type="checkbox"] {
  height: 18px;
  min-height: auto;
  padding: 0;
  width: 18px;
}

.promo-original.is-hidden {
  visibility: hidden;
}

.stock-value {
  font-weight: 700;
}

.availability-control {
  display: grid;
  gap: 8px;
}

.availability-toggle {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.availability-message {
  transition: opacity 160ms ease;
}

.availability-message.is-muted {
  opacity: 0.55;
}

.orders {
  margin-top: 48px;
}

.orders h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-card {
  border: 1px solid var(--line);
  padding: 16px;
}

.order-card div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.order-card p,
.order-card ul {
  margin: 8px 0 0;
}

.order-card__delivery-summary {
  background: #f8f4e8;
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.order-card__details {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  padding-top: 14px;
}

.order-card__label {
  color: var(--green-dark);
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cart-checkout,
.cart-payment-only {
  grid-template-columns: 1fr;
}

.cart-payment-only {
  margin-top: 28px;
}

.cart-payment-only .payment-panel {
  min-height: 0;
}

.relay-picker {
  background: var(--surface);
  border: 1px solid var(--line);
  margin: 28px auto 0;
  max-width: 1120px;
  padding: clamp(22px, 4vw, 36px);
  width: calc(100% - 48px);
}

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

.relay-picker h2 {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  margin: 0;
}

.relay-badge {
  background: #ed1b2f;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.relay-search {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: 150px minmax(150px, 0.8fr) minmax(190px, 1fr) auto;
  margin-top: 24px;
}

.relay-search__actions {
  display: flex;
  gap: 8px;
}

.relay-search__actions .button {
  padding-inline: 16px;
  white-space: nowrap;
}

.relay-search__actions .button--ghost {
  background: var(--surface);
  border: 1px solid var(--green);
  color: var(--green-dark);
}

.relay-search__actions .button--ghost:hover {
  background: #e8f2e5;
}

.relay-search label {
  color: var(--ink);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 6px;
}

.relay-search label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.relay-search input,
.relay-search select {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.relay-message {
  margin-bottom: 0;
}

.relay-view-toggle {
  border: 1px solid var(--line);
  display: none;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
}

.relay-view-toggle[hidden] {
  display: none;
}

.relay-view-toggle button {
  background: var(--surface);
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
}

.relay-view-toggle button[aria-pressed="true"] {
  background: var(--green);
  color: #fff;
}

.relay-view-toggle button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.relay-browser {
  margin: 18px 0;
}

.relay-browser[data-has-results="true"] {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.35fr);
}

.relay-list-panel {
  background: #fffdf7;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 430px;
  min-width: 0;
}

.relay-list-panel[hidden] {
  display: none;
}

.relay-list-meta {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: space-between;
  min-height: 48px;
  padding: 9px 12px;
}

.relay-list-meta > strong {
  font-size: 14px;
}

.relay-legend,
.relay-legend > span {
  align-items: center;
  display: inline-flex;
}

.relay-legend {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  gap: 10px;
}

.relay-legend > span {
  gap: 4px;
}

.relay-legend__dot {
  background: currentColor;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.relay-legend__dot--relay {
  color: #c5162b;
}

.relay-legend__dot--locker {
  color: #623a8a;
}

.relay-results {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
  scrollbar-color: var(--green) #ece7d8;
  scrollbar-width: thin;
}

.relay-results:focus-visible {
  outline: 3px solid rgba(71, 122, 72, 0.38);
  outline-offset: -3px;
}

.relay-map-shell {
  height: 430px;
  position: relative;
}

.relay-map {
  border: 1px solid var(--line);
  height: 100%;
  width: 100%;
  z-index: 0;
}

.relay-browser[data-has-results="true"] .relay-map {
  border: 0;
}

.relay-map-hint {
  background: rgba(255, 253, 246, 0.94);
  border: 1px solid var(--line);
  bottom: 24px;
  box-shadow: 0 8px 24px rgba(63, 52, 40, 0.14);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  left: 50%;
  margin: 0;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  pointer-events: none;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  width: max-content;
  z-index: 500;
}

.relay-map-hint[hidden],
.selected-relay[hidden] {
  display: none;
}

.relay-card {
  align-items: start;
  background: #fff;
  border: 1px solid rgba(63, 52, 40, 0.19);
  display: grid;
  gap: 10px;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 11px;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.relay-card--highlighted {
  background: #fff7d6;
  box-shadow: 0 0 0 3px rgba(218, 166, 42, 0.35);
}

.relay-card--selected {
  background: #edf6ea;
  border-color: rgba(38, 111, 54, 0.58);
  box-shadow: inset 4px 0 0 var(--green), 0 0 0 2px rgba(71, 122, 72, 0.12);
}

.relay-card--selected .relay-card__marker {
  background: var(--green-dark);
}

.relay-card--selected .relay-card__choose,
.relay-card--selected .relay-card__choose:disabled {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
  cursor: default;
  opacity: 1;
}

.selected-relay {
  align-items: center;
  border: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 16px;
}

.relay-card__content {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.selected-relay > div {
  display: grid;
  gap: 3px;
}

.relay-card__marker {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.relay-card__marker--relay {
  background: #c5162b;
}

.relay-card__marker--locker {
  background: #623a8a;
}

.relay-card__top {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.relay-card__top strong {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.2;
  overflow: hidden;
}

.relay-card__distance {
  color: var(--green-dark) !important;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.relay-card__address,
.relay-card__hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.relay-card__meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 5px 9px;
}

.relay-type {
  align-self: start;
  border: 1px solid currentColor;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 4px 6px;
  width: fit-content;
}

.relay-type--relay {
  color: #b31325 !important;
}

.relay-type--locker {
  color: #623a8a !important;
}

.selected-relay span {
  color: var(--muted);
}

.relay-card__today {
  color: var(--green-dark);
  font-weight: 800;
}

.relay-card__actions {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 1px;
}

.relay-card__choose {
  min-height: 34px;
  padding: 7px 12px;
}

.relay-warning {
  background: #fff1cc;
  border-left: 3px solid #b77700;
  color: #6b4300 !important;
  font-size: 13px;
  font-weight: 800;
  margin-top: 5px;
  padding: 6px 8px;
}

.relay-hours {
  margin: 0;
}

.relay-hours summary {
  color: var(--green-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  width: fit-content;
}

.relay-hours dl {
  display: grid;
  font-size: 13px;
  gap: 2px;
  margin: 8px 0 2px;
}

.relay-hours dl > div {
  display: grid;
  gap: 8px;
  grid-template-columns: 82px 1fr;
}

.relay-hours dt {
  font-weight: 800;
}

.relay-hours dd {
  color: var(--muted);
  margin: 0;
}

.relay-marker-container {
  background: transparent;
  border: 0;
}

.relay-marker {
  align-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 4px 12px rgba(63, 52, 40, 0.32);
  color: #fff;
  display: flex;
  height: 34px;
  justify-content: center;
  transform: rotate(-45deg);
  width: 34px;
}

.relay-marker b {
  font: 900 12px/1 Arial, Helvetica, sans-serif;
  transform: rotate(45deg);
}

.relay-marker--relay {
  background: #c5162b;
}

.relay-marker--locker {
  background: #623a8a;
}

.relay-marker--selected {
  background: var(--green-dark);
  box-shadow: 0 0 0 5px rgba(71, 122, 72, 0.26), 0 5px 15px rgba(40, 85, 44, 0.42);
  transform: rotate(-45deg) scale(1.12);
}

.relay-popup__type {
  font-size: 12px;
  font-weight: 800;
  margin: 3px 0;
}

.relay-popup__type--relay {
  color: #b31325;
}

.relay-popup__type--locker {
  color: #623a8a;
}

.relay-popup__hours {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.relay-popup__button {
  background: var(--green);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  margin-top: 9px;
  padding: 8px 10px;
  width: 100%;
}

.relay-popup__button:hover {
  background: var(--green-dark);
}

.relay-popup__button:disabled {
  background: var(--green-dark);
  cursor: default;
  opacity: 1;
}

.relay-view-toggle button:focus-visible,
.relay-popup__button:focus-visible,
.relay-hours summary:focus-visible {
  outline: 3px solid rgba(71, 122, 72, 0.38);
  outline-offset: 2px;
}

.selected-relay {
  background: #e8f2e5;
  border-color: rgba(71, 122, 72, 0.35);
  margin-top: 18px;
}

.selected-relay strong {
  color: var(--green-dark);
}

.terms-acceptance {
  align-items: flex-start;
  background: #f8f4e8;
  border: 1px solid var(--line);
  display: flex;
  gap: 10px;
  line-height: 1.45;
  padding: 12px 14px;
}

.terms-acceptance input {
  flex: 0 0 auto;
  height: 19px;
  margin-top: 2px;
  width: 19px;
}

.terms-acceptance a,
.legal-content a,
.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
}

.contact__cgv {
  display: table;
  font-size: 14px !important;
  margin: 22px auto 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 56px;
  padding: 24px clamp(18px, 5vw, 64px);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-shell {
  margin: 0 auto;
  max-width: 900px;
  padding: 48px clamp(18px, 5vw, 64px) 20px;
}

.legal-warning {
  background: #fff3cd;
  border: 1px solid #e3c66c;
  color: #694f00;
  font-weight: 800;
  margin-bottom: 28px;
  padding: 14px 16px;
}

.legal-content {
  line-height: 1.68;
}

.legal-content > h1:first-child {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  text-transform: none;
}

.legal-content h1:not(:first-child) {
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
  margin: 44px 0 16px;
}

.legal-content h1:empty,
.legal-content h2:empty {
  display: none;
}

.legal-content h2 {
  color: var(--brown);
  font-size: 22px;
  margin-top: 28px;
}

.legal-content p,
.legal-content li {
  max-width: 76ch;
}

.order-card__actions {
  align-items: end;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
}

.order-card__actions .button {
  width: auto;
}

.shipping-date-field {
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 5px;
}

.shipping-date-field input {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 8px 10px;
}

.order-card__shipped {
  background: #e8f2e5;
  border: 1px solid rgba(71, 122, 72, 0.28);
  color: var(--green-dark);
  font-weight: 800;
  padding: 10px 12px;
}

.order-card__shipment {
  align-items: center;
  background: #f8f4e8;
  border: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 14px;
}

.order-card__shipment > div {
  display: block;
}

.order-card__shipment p {
  margin: 3px 0 0;
}

.order-card__shipment .button {
  flex: 0 0 auto;
  width: auto;
}

.order-card__shipment--ready {
  background: #e8f2e5;
  border-color: rgba(71, 122, 72, 0.35);
}

.order-card__shipment-error {
  color: #8b2d1e;
  font-weight: 700;
}

.order-card__shipment-help {
  color: var(--muted);
  font-size: 13px;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

@media (max-width: 900px) {
  .site-header,
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero,
  .intro,
  .checkout,
  .subscription-offer {
    grid-template-columns: 1fr;
  }

  .subscription-offer {
    align-items: flex-start;
    flex-direction: column;
  }

  .subscription-offer__action {
    align-items: flex-start;
    justify-items: start;
  }

  .hero {
    min-height: 0;
  }

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

  .product-card img {
    height: clamp(200px, 36vw, 250px);
  }

  .stock-row {
    grid-template-columns: minmax(125px, 1fr) 88px 66px 100px 80px 96px 108px minmax(175px, 1.2fr);
    gap: 10px;
  }

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

@media (max-width: 720px) {
  .relay-view-toggle {
    display: grid;
  }

  .relay-browser[data-has-results="true"] {
    display: block;
  }

  .relay-picker[data-mobile-view="list"] .relay-map-shell {
    display: none;
  }

  .relay-picker[data-mobile-view="map"] .relay-list-panel {
    display: none;
  }

  .relay-list-panel {
    border-right: 0;
    height: min(62vh, 430px);
  }

  .relay-map-shell {
    height: min(62vh, 430px);
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .product-card img {
    height: clamp(220px, 64vw, 300px);
  }

  .cart-list li {
    grid-template-columns: 1fr auto;
  }

  .cart-list strong {
    grid-column: 1 / -1;
  }

  .stock-table {
    border: 0;
  }

  .stock-row,
  .stock-row--head {
    align-items: stretch;
    border: 1px solid var(--line);
    grid-template-columns: 1fr;
    margin-bottom: 12px;
  }

  .stock-row--head {
    display: none;
  }

  .stock-field__label {
    display: block;
  }

  .promo-toggle {
    justify-content: flex-start;
  }

  .promo-original.is-hidden {
    display: none;
    visibility: visible;
  }

  .order-card__details {
    grid-template-columns: 1fr;
  }

  .order-card__shipment {
    align-items: stretch;
    flex-direction: column;
  }

  .order-card__shipment .button,
  .order-card__shipment form {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .relay-picker__heading,
  .relay-card,
  .selected-relay {
    align-items: stretch;
    flex-direction: column;
  }

  .relay-badge {
    align-self: flex-start;
  }

  .relay-search {
    gap: 12px 8px;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }

  .relay-search label:nth-child(3),
  .relay-search__actions {
    grid-column: 1 / -1;
  }

  .relay-search__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .relay-card {
    gap: 8px;
    padding: 9px;
  }

  .relay-card__content {
    gap: 5px;
  }

  .relay-card__top strong {
    font-size: 13px;
  }

  .relay-card__address {
    font-size: 11px;
  }
}
