:root {
  color-scheme: light;
  --fly-page-max: 90rem;
  --fly-content-pad: clamp(1rem, 3vw, 2rem);
  --fly-focus: #0a66c2;
  --fly-header-height: clamp(10.5rem, 17vw, 13.125rem);
  --fly-control-height: 2.875rem;
  --fly-admin-sidebar: 17.5rem;
  --fly-transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-ink, #111);
  font-family: var(--fly-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1rem;
  line-height: 1.5;
}

body.has-open-drawer {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a {
  color: var(--fly-green-dark, #00552d);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--fly-green, #007a3d);
}

:focus-visible {
  outline: 3px solid var(--fly-focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100%, var(--fly-page-max));
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--fly-content-pad);
}

.stack {
  display: grid;
  gap: 1rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.site-header {
  position: relative;
  min-height: var(--fly-header-height);
  overflow: hidden;
  background-color: var(--fly-white, #fff);
  background-image: var(--fly-header-desktop, url("/theme/assets/headers/header-desktop.svg"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.site-header__inner {
  display: flex;
  width: min(100%, var(--fly-page-max));
  min-height: var(--fly-header-height);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.7rem) var(--fly-content-pad);
  align-items: center;
}

.site-header__brand {
  width: min(46rem, 56%);
  color: var(--fly-white, #fff);
}

.site-header__title,
.brand-title {
  margin: 0;
  color: var(--fly-white, #fff);
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.site-header__title strong,
.brand-title strong,
.brand-title__accent {
  color: var(--fly-gold, #d8c98d);
}

.site-header__subtitle,
.brand-subtitle {
  margin: 0.75rem 0 0;
  color: var(--fly-white, #fff);
  font-size: clamp(0.8rem, 1.3vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.main-nav {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--fly-border, #dde4de);
  background: color-mix(in srgb, var(--fly-white, #fff) 96%, transparent);
  box-shadow: 0 0.25rem 1.1rem rgb(0 62 37 / 7%);
}

.main-nav__inner {
  width: min(100%, var(--fly-page-max));
  margin-inline: auto;
  padding-inline: var(--fly-content-pad);
}

.main-nav__list {
  display: flex;
  min-height: 4.25rem;
  margin: 0;
  padding: 0;
  align-items: stretch;
  gap: clamp(0.25rem, 2vw, 1.25rem);
  list-style: none;
}

.main-nav__item {
  display: flex;
  align-items: stretch;
}

.main-nav__link {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.65rem clamp(0.65rem, 2vw, 1.15rem);
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.6rem 0.6rem 0 0;
  color: var(--fly-ink, #111);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav__link img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
}

.main-nav__link[aria-current="page"],
.main-nav__link.is-active {
  color: var(--fly-green-dark, #00552d);
}

.main-nav__link[aria-current="page"]::after,
.main-nav__link.is-active::after {
  position: absolute;
  right: 0.45rem;
  bottom: 0;
  left: 0.45rem;
  height: 0.24rem;
  border-radius: 999px 999px 0 0;
  background: var(--fly-green, #007a3d);
  content: "";
}

.section-heading {
  position: relative;
  display: grid;
  margin-bottom: 1.25rem;
  padding-left: 5.5rem;
  gap: 0.25rem;
}

.section-heading::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 4.5rem;
  height: 4.5rem;
  background: url("/theme/assets/backgrounds/diagonal-stripes.svg") center / contain no-repeat;
  content: "";
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  color: var(--fly-muted, #526057);
  font-size: 1.02rem;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(19rem, 3fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.catalog-panel,
.surface-card,
.data-card {
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
}

.catalog-panel {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.75rem);
}

.catalog-toolbar,
.filter-bar {
  display: flex;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-surface, #f5f6f7);
}

.filter-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 999px;
  background: var(--fly-white, #fff);
  font-weight: 750;
}

.filter-toggle[aria-pressed="true"],
.filter-toggle:has(input:checked) {
  border-color: var(--fly-green, #007a3d);
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-green-dark, #00552d);
}

.category-section + .category-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fly-border, #dde4de);
}

.category-tab {
  display: inline-flex;
  min-width: 11rem;
  min-height: 3.25rem;
  padding: 0.55rem 1.15rem;
  align-items: center;
  gap: 0.7rem;
  border-radius: 0.75rem 0.75rem 0 0;
  background: linear-gradient(135deg, var(--fly-green-dark, #00552d), var(--fly-green, #007a3d));
  color: var(--fly-white, #fff);
  font-size: 1.1rem;
  font-weight: 850;
}

.category-tab img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.rule-callout,
.notice {
  display: grid;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--fly-gold, #d8c98d) 66%, white);
  border-radius: var(--fly-radius, 12px);
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 18%, white);
}

.rule-callout__icon,
.notice__icon {
  width: 2.35rem;
  height: 2.35rem;
}

.rule-callout p,
.notice p {
  margin: 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-empty {
  padding: 2rem 1rem;
  color: var(--fly-muted, #526057);
  text-align: center;
}

.catalog-empty img,
.empty-state img {
  width: min(100%, 24rem);
  margin-inline: auto;
}

.product-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 15.5rem;
  overflow: hidden;
  grid-template-columns: minmax(8.5rem, 42%) minmax(0, 1fr);
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
  transition: border-color var(--fly-transition), box-shadow var(--fly-transition), transform var(--fly-transition);
}

.product-card:hover,
.product-card:focus-within {
  border-color: color-mix(in srgb, var(--fly-green, #007a3d) 42%, var(--fly-border, #dde4de));
  box-shadow: 0 0.55rem 1.4rem rgb(0 62 37 / 13%);
}

.product-card.is-selected {
  border-color: var(--fly-green, #007a3d);
}

.product-card.is-invalid {
  border-color: var(--fly-error, #b42318);
}

.product-card__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background-color: var(--fly-green-dark, #00552d);
  background-image: var(--product-background, url("/theme/assets/backgrounds/product-background-mixed.svg"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-card__visual--basket {
  --product-background: url("/theme/assets/backgrounds/product-background-basket.svg");
}

.product-card__visual--volley {
  --product-background: url("/theme/assets/backgrounds/product-background-volley.svg");
}

.product-card__image {
  position: absolute;
  z-index: 1;
  right: 0.3rem;
  bottom: 0.25rem;
  width: min(70%, 8.5rem);
  height: 82%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 0.45rem 0.35rem rgb(0 0 0 / 17%));
}

.product-card__content {
  display: flex;
  min-width: 0;
  padding: 1rem;
  flex-direction: column;
  align-items: stretch;
}

.product-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.2;
}

.product-card__description {
  display: -webkit-box;
  margin: 0.35rem 0 0;
  overflow: hidden;
  color: var(--fly-muted, #526057);
  font-size: 0.94rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__meta {
  margin: 0.45rem 0 0;
  color: var(--fly-muted, #526057);
  font-size: 0.875rem;
}

.product-card__meta strong {
  color: var(--fly-green-dark, #00552d);
}

.product-card__footer {
  display: grid;
  margin-top: auto;
  padding-top: 0.8rem;
  gap: 0.65rem;
}

.purchase-rule {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.55rem;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 30%, white);
  font-size: 0.8rem;
  font-weight: 750;
}

.stock-status {
  display: inline-flex;
  width: fit-content;
  min-height: 1.85rem;
  padding: 0.28rem 0.6rem;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
}

.stock-status::before {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.stock-status--available,
.stock-status[data-stock-status="available"] {
  border-color: color-mix(in srgb, var(--fly-success, #006b35) 25%, white);
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-success, #006b35);
}

.stock-status--limited,
.stock-status[data-stock-status="limited"] {
  border-color: color-mix(in srgb, var(--fly-warning, #875700) 28%, white);
  background: #fff4d6;
  color: var(--fly-warning, #875700);
}

.stock-status--backorder,
.stock-status[data-stock-status="backorder"],
.stock-status--unmanaged {
  border-color: var(--fly-border, #dde4de);
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-muted, #526057);
}

.stock-status--unavailable,
.stock-status[data-stock-status="unavailable"] {
  border-color: color-mix(in srgb, var(--fly-error, #b42318) 24%, white);
  background: #fff0ee;
  color: var(--fly-error, #b42318);
}

.stock-breakdown {
  display: grid;
  padding: 0.55rem 0.65rem;
  gap: 0.2rem;
  border-radius: 0.55rem;
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-muted, #526057);
  font-size: 0.82rem;
}

.stock-breakdown strong {
  color: var(--fly-ink, #111);
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.quantity-stepper,
[data-quantity-stepper] {
  display: inline-grid;
  overflow: hidden;
  grid-template-columns: 2.75rem minmax(3rem, auto) 2.75rem;
  align-items: stretch;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 0.65rem;
  background: var(--fly-white, #fff);
}

.quantity-stepper button,
[data-quantity-stepper] button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fly-green-dark, #00552d);
  font-size: 1.35rem;
  font-weight: 900;
}

.quantity-stepper button:hover:not(:disabled),
[data-quantity-stepper] button:hover:not(:disabled) {
  background: var(--fly-green-light, #e5f1e4);
}

.quantity-stepper input,
[data-quantity-stepper] input {
  width: 100%;
  min-width: 3rem;
  padding: 0.35rem 0.2rem;
  border: 0;
  border-right: 1px solid var(--fly-border, #dde4de);
  border-left: 1px solid var(--fly-border, #dde4de);
  border-radius: 0;
  background: transparent;
  font-weight: 850;
  text-align: center;
  appearance: textfield;
}

.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button,
[data-quantity-stepper] input::-webkit-inner-spin-button,
[data-quantity-stepper] input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.category-validation,
.order-validity {
  display: flex;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 0.65rem;
  background: var(--fly-surface, #f5f6f7);
  font-weight: 750;
}

.category-validation::before,
.order-validity::before {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  background: url("/theme/assets/icons/clock.svg") center / contain no-repeat;
  content: "";
}

.category-validation.is-valid,
.order-validity.is-valid {
  border-color: color-mix(in srgb, var(--fly-success, #006b35) 35%, white);
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-success, #006b35);
}

.category-validation.is-valid::before,
.order-validity.is-valid::before {
  background-image: url("/theme/assets/icons/check.svg");
}

.category-validation.is-invalid,
.order-validity.is-invalid {
  border-color: color-mix(in srgb, var(--fly-warning, #875700) 30%, white);
  background: #fff7e5;
  color: var(--fly-warning, #875700);
}

.category-suggestion {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-left: 0.3rem solid var(--fly-gold, #d8c98d);
  border-radius: 0 0.5rem 0.5rem 0;
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 16%, white);
  color: var(--fly-green-deep, #003e25);
}

.category-suggestion button {
  margin-top: 0.5rem;
}

.order-summary {
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: 0 0.75rem 2.5rem rgb(0 62 37 / 12%);
  overscroll-behavior: contain;
}

.order-summary__header {
  display: flex;
  min-height: 4.25rem;
  padding: 0.9rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: calc(var(--fly-radius, 12px) - 1px) calc(var(--fly-radius, 12px) - 1px) 0 0;
  background-color: var(--fly-green-dark, #00552d);
  background-image: linear-gradient(105deg, rgb(0 62 37 / 96%), rgb(0 122 61 / 92%)), url("/theme/assets/patterns/sports-pattern-white.svg");
  background-position: center;
  background-size: auto, 21rem auto;
  color: var(--fly-white, #fff);
}

.order-summary__header h2,
.order-summary__header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 900;
}

.order-summary__close {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
  color: var(--fly-white, #fff);
  font-size: 1.35rem;
}

.order-summary__body {
  display: grid;
  padding: 1rem;
  gap: 1rem;
}

.summary-section + .summary-section {
  padding-top: 1rem;
  border-top: 1px solid var(--fly-border, #dde4de);
}

.summary-section h3,
.summary-section h4 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.summary-items {
  display: grid;
  gap: 0.55rem;
}

.summary-empty {
  margin: 0;
  padding: 0.85rem;
  border-radius: 0.55rem;
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-muted, #526057);
  text-align: center;
}

.summary-line {
  display: grid;
  padding-bottom: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.75rem;
  border-bottom: 1px solid var(--fly-border, #dde4de);
}

.summary-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-line__title {
  min-width: 0;
  overflow: hidden;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-line__quantity {
  font-weight: 900;
}

.summary-line__split {
  grid-column: 1 / -1;
  color: var(--fly-muted, #526057);
  font-size: 0.82rem;
}

.summary-totals {
  display: grid;
  padding: 0.8rem;
  gap: 0.4rem;
  border-radius: 0.65rem;
  background: var(--fly-green-light, #e5f1e4);
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.summary-total strong {
  font-size: 1.15rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.form-label {
  color: var(--fly-green-deep, #003e25);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea,
.text-input,
.select-input {
  width: 100%;
  min-height: var(--fly-control-height);
  padding: 0.65rem 0.75rem;
  border: 1px solid #aebbb2;
  border-radius: 0.55rem;
  background-color: var(--fly-white, #fff);
}

.form-field select,
.select-input {
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--fly-green-dark, #00552d) 50%), linear-gradient(135deg, var(--fly-green-dark, #00552d) 50%, transparent 50%);
  background-position: calc(100% - 1rem) 50%, calc(100% - 0.7rem) 50%;
  background-repeat: no-repeat;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  appearance: none;
}

.form-field textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--fly-error, #b42318);
  box-shadow: 0 0 0 1px var(--fly-error, #b42318);
}

.field-hint,
.field-error {
  margin: 0;
  color: var(--fly-muted, #526057);
  font-size: 0.82rem;
}

.field-error {
  color: var(--fly-error, #b42318);
  font-weight: 700;
}

.check-row,
.radio-card {
  display: flex;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 0.55rem;
  background: var(--fly-white, #fff);
}

.check-row input,
.radio-card input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.1rem 0 0;
  accent-color: var(--fly-green, #007a3d);
}

.radio-card:has(input:checked),
.check-row:has(input:checked) {
  border-color: var(--fly-green, #007a3d);
  background: var(--fly-green-light, #e5f1e4);
}

.button,
button.button {
  display: inline-flex;
  min-height: 2.875rem;
  padding: 0.65rem 1rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  background: var(--fly-green, #007a3d);
  color: var(--fly-white, #fff);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--fly-transition), box-shadow var(--fly-transition), transform var(--fly-transition);
}

.button:hover:not(:disabled) {
  background: var(--fly-green-dark, #00552d);
  color: var(--fly-white, #fff);
  box-shadow: 0 0.35rem 0.8rem rgb(0 62 37 / 18%);
  transform: translateY(-1px);
}

.button--secondary {
  border-color: var(--fly-green, #007a3d);
  background: var(--fly-white, #fff);
  color: var(--fly-green-dark, #00552d);
}

.button--secondary:hover:not(:disabled) {
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-green-deep, #003e25);
}

.button--ghost {
  border-color: var(--fly-border, #dde4de);
  background: transparent;
  color: var(--fly-green-dark, #00552d);
}

.button--danger {
  background: var(--fly-error, #b42318);
}

.button--wide {
  width: 100%;
}

.button.is-loading::before {
  width: 1rem;
  height: 1rem;
  border: 0.15rem solid rgb(255 255 255 / 45%);
  border-top-color: currentColor;
  border-radius: 999px;
  animation: fly-spin 750ms linear infinite;
  content: "";
}

.privacy-note {
  display: grid;
  padding: 0.8rem;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  border-radius: 0.55rem;
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-muted, #526057);
  font-size: 0.88rem;
}

.privacy-note img {
  width: 1.5rem;
  height: 1.5rem;
}

.summary-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  border: 0;
  background: rgb(0 25 15 / 58%);
}

.mobile-summary-bar {
  display: none;
}

.site-footer {
  min-height: 9rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  background-color: var(--fly-white, #fff);
  background-image: var(--fly-footer, url("/theme/assets/headers/footer.svg"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.site-footer__inner {
  display: flex;
  width: min(100%, var(--fly-page-max));
  min-height: 9rem;
  margin-inline: auto;
  padding: 1.25rem var(--fly-content-pad);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--fly-white, #fff);
}

.site-footer a {
  color: inherit;
}

.toast-region {
  position: fixed;
  z-index: 300;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: min(24rem, calc(100vw - 2rem));
  gap: 0.65rem;
  pointer-events: none;
}

.toast {
  display: grid;
  padding: 0.85rem 1rem;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.65rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-left: 0.35rem solid var(--fly-green, #007a3d);
  border-radius: 0.65rem;
  background: var(--fly-white, #fff);
  box-shadow: 0 0.8rem 2.2rem rgb(0 32 19 / 20%);
  pointer-events: auto;
  animation: fly-toast-in 180ms ease-out;
}

.toast--error {
  border-left-color: var(--fly-error, #b42318);
}

.toast--warning {
  border-left-color: var(--fly-warning, #875700);
}

.toast__message {
  margin: 0;
}

.toast__close {
  width: 2rem;
  height: 2rem;
  margin: -0.3rem -0.4rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
}

.empty-state,
.success-state {
  display: grid;
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.empty-state h1,
.empty-state h2,
.success-state h1,
.success-state h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.empty-state p,
.success-state p {
  margin: 0;
  color: var(--fly-muted, #526057);
}

.access-code {
  display: inline-flex;
  padding: 0.7rem 1rem;
  align-items: center;
  gap: 0.65rem;
  border: 2px dashed var(--fly-green, #007a3d);
  border-radius: 0.65rem;
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-green-deep, #003e25);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.success-celebration {
  position: relative;
  width: min(100%, 31rem);
  min-height: 12rem;
  overflow: hidden;
}

.success-celebration::before {
  position: absolute;
  inset: 0;
  background: url("/theme/assets/illustrations/order-success.svg") center / contain no-repeat;
  content: "";
  animation: fly-success-pop 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.progress {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--fly-border, #dde4de);
}

.progress__bar {
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--fly-green, #007a3d);
}

.status-badge,
.badge {
  display: inline-flex;
  width: fit-content;
  min-height: 1.75rem;
  padding: 0.25rem 0.55rem;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 999px;
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-muted, #526057);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.status-badge--success,
.badge--success {
  border-color: color-mix(in srgb, var(--fly-success, #006b35) 25%, white);
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-success, #006b35);
}

.status-badge--warning,
.badge--warning {
  border-color: color-mix(in srgb, var(--fly-warning, #875700) 25%, white);
  background: #fff4d6;
  color: var(--fly-warning, #875700);
}

.status-badge--danger,
.badge--danger {
  border-color: color-mix(in srgb, var(--fly-error, #b42318) 25%, white);
  background: #fff0ee;
  color: var(--fly-error, #b42318);
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #e4e9e5;
  color: transparent !important;
}

.skeleton::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 72%), transparent);
  content: "";
  transform: translateX(-100%);
  animation: fly-shimmer 1.35s infinite;
}

/* Administrative interface */
.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--fly-admin-sidebar) minmax(0, 1fr);
  background: var(--fly-surface, #f5f6f7);
}

.admin-sidebar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  height: 100vh;
  padding: 1rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--fly-green-deep, #003e25);
  background-image: linear-gradient(rgb(0 62 37 / 90%), rgb(0 62 37 / 96%)), url("/theme/assets/patterns/sports-pattern-white.svg");
  background-position: center;
  background-size: auto, 24rem auto;
  color: var(--fly-white, #fff);
}

.admin-brand {
  display: flex;
  padding: 0.5rem;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 900;
  text-decoration: none;
}

.admin-brand img {
  width: 2.8rem;
  height: 2.8rem;
}

.admin-nav {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  list-style: none;
}

.admin-nav a,
.admin-nav button {
  display: flex;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: rgb(255 255 255 / 86%);
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.admin-nav a:hover,
.admin-nav a[aria-current="page"],
.admin-nav button:hover {
  background: rgb(255 255 255 / 13%);
  color: var(--fly-white, #fff);
}

.admin-nav img {
  width: 1.55rem;
  height: 1.55rem;
  filter: brightness(0) invert(1);
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  z-index: 25;
  top: 0;
  display: flex;
  min-height: 4.25rem;
  padding: 0.75rem var(--fly-content-pad);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--fly-border, #dde4de);
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(0.75rem);
}

.admin-content {
  width: min(100%, 100rem);
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-page-heading {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-page-heading h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
}

.admin-page-heading p {
  margin: 0.3rem 0 0;
  color: var(--fly-muted, #526057);
}

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

.metric-card,
.dashboard-card {
  display: grid;
  min-width: 0;
  padding: 1rem;
  gap: 0.65rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
}

.metric-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--fly-muted, #526057);
  font-size: 0.9rem;
  font-weight: 750;
}

.metric-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  border-radius: 0.65rem;
  background: var(--fly-green-light, #e5f1e4);
  object-fit: contain;
}

.metric-card__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-card__detail {
  color: var(--fly-muted, #526057);
  font-size: 0.82rem;
}

.dashboard-card--wide {
  grid-column: span 2;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.admin-grid > .span-4 {
  grid-column: span 4;
}

.admin-grid > .span-6 {
  grid-column: span 6;
}

.admin-grid > .span-8 {
  grid-column: span 8;
}

.admin-grid > .span-12 {
  grid-column: 1 / -1;
}

.data-card {
  min-width: 0;
  overflow: hidden;
}

.data-card__header {
  display: flex;
  padding: 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--fly-border, #dde4de);
}

.data-card__header h2,
.data-card__header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.data-card__body {
  padding: 1rem;
}

.admin-filters {
  display: grid;
  margin-bottom: 1rem;
  padding: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
}

.admin-filters__actions {
  display: flex;
  align-items: end;
  gap: 0.5rem;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--fly-border, #dde4de);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-green-deep, #003e25);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: color-mix(in srgb, var(--fly-green-light, #e5f1e4) 45%, white);
}

.data-table td[data-numeric],
.data-table th[data-numeric] {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.delivery-list,
.operational-list {
  display: grid;
  gap: 0.85rem;
}

.delivery-card,
.operational-card {
  display: grid;
  padding: 1rem;
  gap: 0.8rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
}

.delivery-card__header,
.operational-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.delivery-card__actions,
.operational-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.admin-menu-toggle {
  display: none;
}

/* Selectors used by the server-rendered views. The generic component classes
   above remain reusable; these aliases keep the HTML intentionally compact. */
.ui-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.state-illustration {
  width: min(100%, 27rem);
  margin-inline: auto;
}

.site-header .header-copy {
  display: flex;
  width: min(100%, var(--fly-page-max));
  min-height: var(--fly-header-height);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.7rem) var(--fly-content-pad);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--fly-white, #fff);
}

.site-header .brand {
  color: var(--fly-white, #fff);
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-decoration: none;
}

.site-header .brand em {
  color: var(--fly-gold, #d8c98d);
  font-style: inherit;
}

.site-header .header-copy p {
  width: min(45rem, 54%);
  margin: 0.75rem 0 0;
  color: var(--fly-white, #fff);
  font-size: clamp(0.8rem, 1.3vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menu-toggle {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  display: none;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 0.65rem;
  background: rgb(0 62 37 / 78%);
  color: var(--fly-white, #fff);
  font-size: 1.5rem;
}

.main-nav:not(.main-nav__inner) {
  display: flex;
  min-height: 4.25rem;
  padding-inline: max(var(--fly-content-pad), calc((100vw - var(--fly-page-max)) / 2 + var(--fly-content-pad)));
  align-items: stretch;
  gap: clamp(0.25rem, 1.5vw, 1rem);
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 4.2rem;
  padding: 0.65rem clamp(0.55rem, 1.6vw, 1rem);
  align-items: center;
  gap: 0.55rem;
  color: var(--fly-ink, #111);
  font-weight: 780;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-current="page"] {
  color: var(--fly-green-dark, #00552d);
}

.nav-link.is-active::after,
.nav-link[aria-current="page"]::after {
  position: absolute;
  right: 0.4rem;
  bottom: 0;
  left: 0.4rem;
  height: 0.25rem;
  border-radius: 999px 999px 0 0;
  background: var(--fly-green, #007a3d);
  content: "";
}

.account-link {
  margin-left: auto;
}

.page-intro {
  position: relative;
  display: flex;
  min-height: 7rem;
  margin-bottom: 1.25rem;
  padding: 1.2rem 1.25rem 1.2rem 6.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
}

.page-intro::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: 4.5rem;
  background: url("/theme/assets/backgrounds/diagonal-stripes.svg") center / contain no-repeat;
  content: "";
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.page-intro p {
  margin: 0.3rem 0 0;
  color: var(--fly-muted, #526057);
}

.eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--fly-green, #007a3d);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deadline {
  display: inline-flex;
  max-width: 20rem;
  padding: 0.65rem 0.8rem;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.6rem;
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-green-deep, #003e25);
}

.deadline .ui-icon {
  width: 2rem;
  height: 2rem;
}

.catalog-column {
  min-width: 0;
  padding: clamp(0.8rem, 2vw, 1.35rem);
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-chip {
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 999px;
  background: var(--fly-white, #fff);
  color: var(--fly-green-deep, #003e25);
  font-weight: 780;
}

.filter-chip:hover,
.filter-chip.is-active,
.filter-chip[aria-pressed="true"] {
  border-color: var(--fly-green, #007a3d);
  background: var(--fly-green-light, #e5f1e4);
}

.search-field {
  min-width: min(100%, 16rem);
}

.search-field input {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #aebbb2;
  border-radius: 999px;
  background: var(--fly-white, #fff);
}

.available-now {
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: var(--fly-radius, 12px);
  background: linear-gradient(110deg, var(--fly-green-deep, #003e25), var(--fly-green, #007a3d));
  color: var(--fly-white, #fff);
}

.available-now > div {
  display: grid;
  padding: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  background: url("/theme/assets/patterns/sports-pattern-white.svg") right center / 20rem auto no-repeat;
}

.available-now .ui-icon {
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.5rem;
  border-radius: 0.65rem;
  background: var(--fly-white, #fff);
}

.available-now .eyebrow {
  color: var(--fly-gold, #d8c98d);
}

.available-now h2,
.available-now p {
  margin: 0;
}

.available-now p {
  color: rgb(255 255 255 / 84%);
}

.category-tab h2 {
  margin: 0;
  font-size: 1.1rem;
}

.rule-banner {
  display: grid;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--fly-gold, #d8c98d) 66%, white);
  border-radius: var(--fly-radius, 12px);
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 18%, white);
}

.rule-banner .ui-icon {
  width: 2rem;
  height: 2rem;
}

.rule-result {
  max-width: 18rem;
  color: var(--fly-muted, #526057);
  font-size: 0.82rem;
  font-weight: 780;
  text-align: right;
}

.rule-banner.is-valid {
  border-color: color-mix(in srgb, var(--fly-success, #006b35) 32%, white);
  background: var(--fly-green-light, #e5f1e4);
}

.rule-banner.is-valid .rule-result {
  color: var(--fly-success, #006b35);
}

.rule-banner.is-invalid {
  border-color: color-mix(in srgb, var(--fly-warning, #875700) 30%, white);
  background: #fff7e5;
}

.rule-banner.is-invalid .rule-result {
  color: var(--fly-warning, #875700);
}

.product-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background-color: var(--fly-green-dark, #00552d);
  background-image: var(--product-background, url("/theme/assets/backgrounds/product-background-mixed.svg"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-visual img {
  position: absolute;
  z-index: 1;
  right: 0.3rem;
  bottom: 0.25rem;
  width: min(70%, 8.5rem);
  height: 82%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 0.45rem 0.35rem rgb(0 0 0 / 17%));
}

.product-copy {
  display: flex;
  min-width: 0;
  padding: 1rem;
  flex-direction: column;
}

.product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-heading h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.2;
}

.product-copy > p {
  display: -webkit-box;
  margin: 0.35rem 0 0;
  overflow: hidden;
  color: var(--fly-muted, #526057);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.featured-tag,
.category-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-green-dark, #00552d);
  font-size: 0.75rem;
  font-weight: 800;
}

.category-label {
  margin-top: 0.45rem;
}

.featured-tag {
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 40%, white);
}

.availability {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.5rem;
  padding: 0.3rem 0.55rem;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.availability::before {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.availability-success {
  border-color: color-mix(in srgb, var(--fly-success, #006b35) 25%, white);
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-success, #006b35);
}

.availability-warning {
  border-color: color-mix(in srgb, var(--fly-warning, #875700) 28%, white);
  background: #fff4d6;
  color: var(--fly-warning, #875700);
}

.availability-neutral {
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-muted, #526057);
}

.availability-danger {
  border-color: color-mix(in srgb, var(--fly-error, #b42318) 24%, white);
  background: #fff0ee;
  color: var(--fly-error, #b42318);
}

.product-controls {
  display: flex;
  margin-top: auto;
  padding-top: 0.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.multiple-label {
  display: inline-flex;
  padding: 0.28rem 0.5rem;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 30%, white);
  font-size: 0.75rem;
  font-weight: 750;
}

.multiple-label .ui-icon {
  width: 1rem;
  height: 1rem;
}

[data-quantity-stepper] output {
  display: grid;
  min-width: 3rem;
  padding: 0.35rem 0.3rem;
  place-items: center;
  border-right: 1px solid var(--fly-border, #dde4de);
  border-left: 1px solid var(--fly-border, #dde4de);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.product-card.is-disabled {
  background: var(--fly-surface, #f5f6f7);
}

.product-card.is-disabled .product-visual {
  filter: grayscale(0.55);
  opacity: 0.72;
}

.inline-note {
  color: var(--fly-muted, #526057);
  font-size: 0.82rem;
}

.delivery-preference,
.buyer-fields {
  display: grid;
  margin: 1rem 0 0;
  padding: 0.85rem;
  gap: 0.65rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 0.65rem;
}

.delivery-preference legend,
.buyer-fields legend {
  padding-inline: 0.35rem;
  color: var(--fly-green-deep, #003e25);
  font-weight: 850;
}

.delivery-preference label,
.buyer-fields label,
.stack-form label,
.inline-form label,
.filters label,
.login-card label,
.access-card label,
.delivery-lines form label {
  display: grid;
  gap: 0.3rem;
  color: var(--fly-green-deep, #003e25);
  font-size: 0.9rem;
  font-weight: 780;
}

.delivery-preference label {
  display: flex;
  min-height: 2.65rem;
  padding: 0.55rem 0.65rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 0.55rem;
}

.delivery-preference label:has(input:checked) {
  border-color: var(--fly-green, #007a3d);
  background: var(--fly-green-light, #e5f1e4);
}

.delivery-preference input,
.buyer-fields input[type="checkbox"] {
  accent-color: var(--fly-green, #007a3d);
}

.order-summary > header {
  display: flex;
  min-height: 4.25rem;
  padding: 0.9rem 1rem;
  align-items: center;
  gap: 0.7rem;
  border-radius: calc(var(--fly-radius, 12px) - 1px) calc(var(--fly-radius, 12px) - 1px) 0 0;
  background-color: var(--fly-green-dark, #00552d);
  background-image: linear-gradient(105deg, rgb(0 62 37 / 96%), rgb(0 122 61 / 92%)), url("/theme/assets/patterns/sports-pattern-white.svg");
  background-position: center;
  background-size: auto, 21rem auto;
  color: var(--fly-white, #fff);
}

.order-summary > header .ui-icon {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) invert(1);
}

.order-summary > header h2 {
  margin: 0;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 900;
}

.summary-close {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
  color: var(--fly-white, #fff);
  font-size: 1.35rem;
}

.summary-content {
  display: grid;
  padding: 1rem;
  gap: 1rem;
}

.summary-lines {
  display: grid;
  gap: 0.55rem;
}

.summary-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.summary-totals > div:first-child {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--fly-green, #007a3d) 22%, white);
}

.buyer-fields {
  margin: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.buyer-fields input,
.buyer-fields textarea,
.stack-form input,
.stack-form select,
.stack-form textarea,
.inline-form input,
.inline-form select,
.inline-form textarea,
.filters input,
.filters select,
.login-card input,
.access-card input,
.delivery-lines form input {
  width: 100%;
  min-height: var(--fly-control-height);
  padding: 0.65rem 0.75rem;
  border: 1px solid #aebbb2;
  border-radius: 0.55rem;
  background: var(--fly-white, #fff);
}

.buyer-fields textarea,
.stack-form textarea,
.inline-form textarea {
  resize: vertical;
}

.form-feedback {
  min-height: 1.4em;
  margin: 0;
  color: var(--fly-muted, #526057);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-feedback.is-error {
  color: var(--fly-error, #b42318);
}

.form-feedback.is-warning {
  color: var(--fly-warning, #875700);
}

.form-feedback.is-success {
  color: var(--fly-success, #006b35);
}

.completion-suggestion {
  padding: 0.75rem;
  border-left: 0.3rem solid var(--fly-gold, #d8c98d);
  border-radius: 0 0.55rem 0.55rem 0;
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 16%, white);
}

.completion-suggestion p {
  margin: 0;
}

.completion-suggestion .button {
  width: 100%;
  margin-top: 0.55rem;
}

.button-primary {
  background: var(--fly-green, #007a3d);
  color: var(--fly-white, #fff);
}

.button-secondary {
  border-color: var(--fly-green, #007a3d);
  background: var(--fly-white, #fff);
  color: var(--fly-green-dark, #00552d);
}

.button-small {
  min-height: 2.25rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.site-footer > div {
  display: flex;
  width: min(100%, var(--fly-page-max));
  min-height: 9rem;
  margin-inline: auto;
  padding: 1.25rem var(--fly-content-pad);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--fly-white, #fff);
}

.site-footer > div > span {
  margin-right: auto;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.content-page {
  display: grid;
  gap: 1.25rem;
}

.legal-page {
  max-width: 76rem;
  margin-inline: auto;
}

.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.prose-grid article,
.legal-copy,
.legal-note,
.panel,
.history-card,
.access-card,
.login-card,
.confirmation-page {
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
}

.prose-grid article,
.legal-copy,
.legal-note,
.panel {
  padding: 1rem;
}

.prose-grid h2 {
  margin-top: 0;
  color: var(--fly-green-deep, #003e25);
}

.legal-copy {
  max-width: 75ch;
}

.legal-note {
  border-left: 0.35rem solid var(--fly-gold, #d8c98d);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-wrap th,
.table-wrap td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--fly-border, #dde4de);
  text-align: left;
  vertical-align: top;
}

.table-wrap thead th {
  background: var(--fly-surface, #f5f6f7);
  color: var(--fly-green-deep, #003e25);
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.table-wrap small,
.compact-list small {
  display: block;
  color: var(--fly-muted, #526057);
  font-weight: 500;
}

.access-page,
.login-page {
  display: grid;
  min-height: min(42rem, calc(100vh - 8rem));
  place-items: center;
}

.access-card {
  display: grid;
  width: min(100%, 58rem);
  overflow: hidden;
  grid-template-columns: minmax(16rem, 1fr) minmax(18rem, 1fr);
}

.access-card > div {
  display: grid;
  padding: 1rem;
  place-items: center;
  background: var(--fly-green-light, #e5f1e4);
}

.access-card form,
.login-card {
  display: grid;
  padding: clamp(1.2rem, 4vw, 2rem);
  gap: 0.8rem;
}

.access-card h1,
.login-card h1 {
  margin: 0;
}

.login-card {
  width: min(100%, 30rem);
}

.login-card > img {
  width: min(100%, 19rem);
  margin-inline: auto;
}

.history-card {
  overflow: hidden;
}

.history-card > header,
.history-card > footer {
  display: flex;
  padding: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: var(--fly-surface, #f5f6f7);
}

.history-card h2,
.history-card p {
  margin: 0;
}

.history-items {
  display: grid;
  padding: 1rem;
  gap: 0.75rem;
}

.history-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, 15rem);
  align-items: center;
  gap: 1rem;
}

.history-line span {
  display: block;
  color: var(--fly-muted, #526057);
  font-size: 0.85rem;
}

.history-line progress {
  width: 100%;
  accent-color: var(--fly-green, #007a3d);
}

.confirmation-page {
  display: grid;
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
}

.confirmation-page > .state-illustration {
  width: min(100%, 28rem);
  animation: fly-success-pop 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.confirmation-page h1,
.confirmation-page p {
  margin: 0;
}

.confirmation-stats {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.confirmation-stats > div {
  display: grid;
  padding: 0.8rem;
  border-radius: 0.65rem;
  background: var(--fly-green-light, #e5f1e4);
}

.confirmation-stats strong {
  font-size: 1.5rem;
}

.confirmation-page .access-code {
  display: grid;
  width: 100%;
  justify-items: center;
  font-family: inherit;
  letter-spacing: normal;
}

.confirmation-page .access-code h2,
.confirmation-page .access-code p {
  margin: 0;
}

.confirmation-page .access-code > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.confirmation-page .access-code code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.alert {
  padding: 0.75rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 0.55rem;
}

.alert-danger {
  border-color: color-mix(in srgb, var(--fly-error, #b42318) 30%, white);
  background: #fff0ee;
  color: var(--fly-error, #b42318);
}

body > .toast,
[data-toast].is-visible {
  position: fixed;
  z-index: 300;
  top: 1rem;
  right: 1rem;
  width: min(24rem, calc(100vw - 2rem));
}

[data-toast]:empty:not(.is-visible) {
  display: none;
}

.is-admin .site-header {
  min-height: 8rem;
  background-position: center 42%;
}

.is-admin .site-header .header-copy {
  min-height: 8rem;
  padding-block: 1rem;
}

.is-admin .site-header .brand {
  font-size: clamp(2rem, 4vw, 3rem);
}

.is-admin .site-header .header-copy p {
  font-size: 0.72rem;
}

.is-admin > .admin-nav {
  position: sticky;
  z-index: 24;
  top: 0;
  display: flex;
  height: auto;
  padding: 0.55rem max(var(--fly-content-pad), calc((100vw - var(--fly-page-max)) / 2 + var(--fly-content-pad)));
  overflow-x: auto;
  flex-direction: row;
  gap: 0.25rem;
  background: var(--fly-green-deep, #003e25);
  color: var(--fly-white, #fff);
  white-space: nowrap;
}

.is-admin > .admin-nav .nav-link {
  width: auto;
  min-height: 2.8rem;
  padding: 0.45rem 0.7rem;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  color: rgb(255 255 255 / 84%);
}

.is-admin > .admin-nav .nav-link:hover,
.is-admin > .admin-nav .nav-link.is-active {
  background: rgb(255 255 255 / 12%);
  color: var(--fly-white, #fff);
}

.is-admin > .admin-nav .nav-link::after {
  content: none;
}

.is-admin > .admin-nav .ui-icon {
  filter: brightness(0) invert(1);
}

.is-admin .page-shell {
  width: min(100%, 100rem);
}

.page-shell > .admin-shell {
  display: block;
  min-height: 0;
  background: transparent;
}

.admin-heading {
  display: flex;
  margin-bottom: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-heading h1,
.admin-heading p {
  margin: 0;
}

.admin-heading h1 {
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  letter-spacing: -0.04em;
}

.metric-grid {
  display: grid;
  margin-bottom: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric-grid .metric-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.metric-grid .metric-card > .ui-icon {
  width: 3rem;
  height: 3rem;
  padding: 0.55rem;
  border-radius: 0.65rem;
  background: var(--fly-green-light, #e5f1e4);
}

.metric-grid .metric-card > div {
  display: grid;
}

.metric-grid .metric-card strong {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.metric-grid .metric-card small,
.metric-grid .metric-card span {
  color: var(--fly-muted, #526057);
}

.metric-grid .metric-card.success {
  border-top: 0.28rem solid var(--fly-success, #006b35);
}

.metric-grid .metric-card.warning {
  border-top: 0.28rem solid var(--fly-warning, #875700);
}

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

.admin-shell > .admin-grid > * {
  grid-column: auto;
}

.panel {
  min-width: 0;
  margin-bottom: 1rem;
}

.panel > header,
.panel-heading {
  display: flex;
  margin: -1rem -1rem 1rem;
  padding: 0.85rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--fly-border, #dde4de);
}

.panel > header h2,
.panel-heading h2,
.panel > h2 {
  margin: 0;
  font-size: 1.15rem;
}

.compact-list {
  display: grid;
}

.compact-list > div,
.compact-list > a {
  display: flex;
  padding: 0.7rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--fly-border, #dde4de);
  color: inherit;
  text-decoration: none;
}

.compact-list > :last-child {
  border-bottom: 0;
}

.status-success {
  border-color: color-mix(in srgb, var(--fly-success, #006b35) 25%, white);
  background: var(--fly-green-light, #e5f1e4);
  color: var(--fly-success, #006b35);
}

.status-warning {
  border-color: color-mix(in srgb, var(--fly-warning, #875700) 25%, white);
  background: #fff4d6;
  color: var(--fly-warning, #875700);
}

.status-danger {
  border-color: color-mix(in srgb, var(--fly-error, #b42318) 25%, white);
  background: #fff0ee;
  color: var(--fly-error, #b42318);
}

.filters,
.stack-form,
.inline-form {
  display: grid;
  gap: 0.8rem;
}

.filters,
.inline-form {
  margin-bottom: 1rem;
  padding: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
}

.stack-form fieldset,
.inline-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 0.55rem;
}

.empty-inline {
  display: grid;
  padding: 1.25rem;
  justify-items: center;
  color: var(--fly-muted, #526057);
  text-align: center;
}

.empty-inline .state-illustration {
  width: min(100%, 18rem);
}

.delivery-lines {
  display: grid;
  gap: 0.8rem;
}

.delivery-lines > article {
  display: grid;
  padding: 0.9rem;
  grid-template-columns: minmax(10rem, 1fr) minmax(20rem, 2fr) minmax(12rem, 1fr);
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: 0.65rem;
}

.delivery-lines h3,
.delivery-lines p {
  margin: 0;
}

.delivery-lines dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.delivery-lines dl > div {
  display: grid;
  padding: 0.45rem;
  border-radius: 0.45rem;
  background: var(--fly-surface, #f5f6f7);
}

.delivery-lines dt {
  color: var(--fly-muted, #526057);
  font-size: 0.7rem;
}

.delivery-lines dd {
  margin: 0;
  font-weight: 900;
}

.delivery-order-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.delivery-order {
  display: grid;
  padding: 1rem;
  gap: 0.8rem;
  border: 1px solid var(--fly-border, #dde4de);
  border-radius: var(--fly-radius, 12px);
  background: var(--fly-white, #fff);
  box-shadow: var(--fly-shadow, 0 3px 12px rgb(0 62 37 / 8%));
}

.delivery-order > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.delivery-order h2,
.delivery-order p {
  margin: 0;
}

.delivery-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.delivery-summary span {
  display: grid;
  padding: 0.55rem;
  border-radius: 0.5rem;
  background: var(--fly-surface, #f5f6f7);
  text-align: center;
}

.delivery-summary strong {
  font-size: 1.2rem;
}

.empty-copy {
  color: var(--fly-muted, #526057);
  text-align: center;
}

.campaign-picker {
  display: flex;
  margin-bottom: 1rem;
  justify-content: flex-end;
}

.campaign-picker label {
  display: grid;
  min-width: min(100%, 21rem);
  gap: 0.3rem;
  color: var(--fly-green-deep, #003e25);
  font-size: 0.88rem;
  font-weight: 800;
}

.campaign-picker select {
  min-height: var(--fly-control-height);
  padding: 0.6rem 2.4rem 0.6rem 0.75rem;
  border: 1px solid #aebbb2;
  border-radius: 0.55rem;
  background: var(--fly-white, #fff);
}

.product-card.is-featured {
  border-color: var(--fly-gold, #d8c98d);
  box-shadow: 0 0.55rem 1.4rem rgb(135 87 0 / 12%);
}

.order-validity.is-neutral,
.rule-banner.is-neutral {
  color: var(--fly-muted, #526057);
}

.submit-order {
  width: 100%;
}

.order-history {
  display: grid;
  gap: 1rem;
}

.confirmation-number {
  font-size: 1.05rem;
}

.preference {
  padding: 0.55rem 0.65rem;
  border-left: 0.25rem solid var(--fly-gold, #d8c98d);
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 14%, white);
  color: var(--fly-green-deep, #003e25);
  font-size: 0.86rem;
}

.warehouse-grid > .panel:first-child {
  min-width: 0;
}

.campaign-form fieldset {
  max-height: 14rem;
  overflow: auto;
}

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

.error-state .state-illustration {
  width: min(100%, 22rem);
}

.celebration-layer {
  position: fixed;
  z-index: 250;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.celebration-ball,
.celebration-confetti {
  position: absolute;
  top: -4rem;
  animation-duration: var(--celebration-duration, 2.4s);
  animation-delay: var(--celebration-delay, 0s);
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.2, 0.72, 0.24, 1);
}

.celebration-ball {
  left: var(--celebration-left, 20%);
  width: clamp(2.75rem, 7vw, 5rem);
  height: clamp(2.75rem, 7vw, 5rem);
  animation-name: fly-ball-drop;
  filter: drop-shadow(0 0.35rem 0.35rem rgb(0 62 37 / 18%));
}

.celebration-confetti {
  left: var(--celebration-left, 50%);
  width: 0.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--celebration-color, var(--fly-green, #007a3d));
  animation-name: fly-confetti-drop;
}

@keyframes fly-spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes fly-shimmer {
  to {
    transform: translateX(100%);
  }
}

@keyframes fly-toast-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
}

@keyframes fly-success-pop {
  from {
    opacity: 0;
    transform: scale(0.88) rotate(-2deg);
  }
}

@keyframes fly-ball-drop {
  0% {
    opacity: 0;
    transform: translate3d(0, -8vh, 0) rotate(0deg) scale(0.8);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--celebration-drift, 2rem), 112vh, 0) rotate(460deg) scale(1.05);
  }
}

@keyframes fly-confetti-drop {
  0% {
    opacity: 0;
    transform: translate3d(0, -6vh, 0) rotate(0deg);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--celebration-drift, -2rem), 110vh, 0) rotate(760deg);
  }
}

@media (max-width: 75rem) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .delivery-lines > article {
    grid-template-columns: minmax(10rem, 1fr) minmax(18rem, 2fr);
  }

  .delivery-lines > article > form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 64rem) {
  .order-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
  }

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

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

  .admin-sidebar {
    position: fixed;
    z-index: 120;
    inset: 0 auto 0 0;
    width: min(var(--fly-admin-sidebar), calc(100vw - 3rem));
    transform: translateX(-105%);
    transition: transform var(--fly-transition);
  }

  .admin-shell.is-menu-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-menu-toggle {
    display: inline-flex;
  }

  .admin-grid > .span-4,
  .admin-grid > .span-6,
  .admin-grid > .span-8 {
    grid-column: span 6;
  }
}

@media (max-width: 56.25rem) {
  body {
    padding-bottom: 5.25rem;
  }

  .site-header {
    min-height: 11rem;
    background-image: var(--fly-header-mobile, url("/theme/assets/headers/header-mobile.svg"));
    background-position: center;
  }

  .site-header__inner {
    min-height: 11rem;
  }

  .site-header .header-copy {
    min-height: 11rem;
    padding-right: 4.75rem;
  }

  .site-header .brand {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  .site-header .header-copy p {
    width: min(100%, 24rem);
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }

  .menu-toggle {
    display: grid;
  }

  .js .main-nav:not(.main-nav__inner) {
    display: none;
  }

  .js .main-nav:not(.main-nav__inner).is-open {
    display: flex;
  }

  .main-nav:not(.main-nav__inner) {
    min-height: 0;
    padding: 0.5rem 0.75rem;
    align-items: stretch;
    flex-direction: column;
    gap: 0.15rem;
  }

  .main-nav:not(.main-nav__inner) .nav-link {
    min-height: 2.8rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.45rem;
  }

  .main-nav:not(.main-nav__inner) .nav-link.is-active {
    background: var(--fly-green-light, #e5f1e4);
  }

  .main-nav:not(.main-nav__inner) .nav-link::after {
    content: none;
  }

  .main-nav:not(.main-nav__inner) .account-link {
    margin-left: 0;
    border-top: 1px solid var(--fly-border, #dde4de);
  }

  .site-header__brand {
    width: 72%;
  }

  .site-header__title,
  .brand-title {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  .site-header__subtitle,
  .brand-subtitle {
    max-width: 24rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }

  .main-nav__list {
    min-height: 3.65rem;
    justify-content: space-around;
  }

  .main-nav__link {
    padding-inline: 0.55rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    font-size: 0.76rem;
  }

  .main-nav__link img {
    width: 1.4rem;
    height: 1.4rem;
  }

  .order-layout {
    display: block;
  }

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

  .js .order-summary {
    position: fixed;
    z-index: 100;
    inset: auto 0 0;
    max-height: min(88dvh, 48rem);
    border-width: 1px 0 0;
    border-radius: 1.1rem 1.1rem 0 0;
    box-shadow: 0 -1rem 3rem rgb(0 32 19 / 22%);
    transform: translateY(105%);
    transition: transform 240ms ease;
  }

  .js .order-summary.is-open {
    transform: translateY(0);
  }

  .order-summary__close {
    display: inline-grid;
    place-items: center;
  }

  .summary-close {
    display: inline-grid;
    place-items: center;
  }

  .summary-backdrop.is-visible {
    display: block;
  }

  .mobile-summary-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 4.75rem;
    padding: 0.6rem max(0.8rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.8rem, env(safe-area-inset-left));
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid var(--fly-border, #dde4de);
    background: var(--fly-white, #fff);
    box-shadow: 0 -0.5rem 1.5rem rgb(0 62 37 / 12%);
  }

  .mobile-summary-bar__total {
    display: grid;
    font-size: 0.82rem;
  }

  .mobile-summary-bar__total strong {
    font-size: 1.2rem;
  }

  .site-footer {
    margin-bottom: 1rem;
  }

  .is-admin > .admin-nav {
    position: static;
  }

  .delivery-order-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 42rem) {
  .page-shell {
    padding-inline: 0.75rem;
  }

  .catalog-panel {
    padding: 0.75rem;
  }

  .page-intro {
    min-height: 6rem;
    padding: 1rem 1rem 1rem 4.8rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .page-intro::before {
    left: 0.65rem;
    width: 3.5rem;
  }

  .page-intro h1 {
    font-size: 1.75rem;
  }

  .section-heading {
    min-height: 3.6rem;
    padding-left: 4.25rem;
  }

  .section-heading::before {
    width: 3.5rem;
    height: 3.5rem;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 1.75rem;
  }

  .catalog-toolbar,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-column {
    padding: 0.7rem;
  }

  .search-field {
    width: 100%;
  }

  .available-now > div {
    background-size: 15rem auto;
  }

  .rule-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rule-result {
    grid-column: 1 / -1;
    max-width: none;
    text-align: left;
  }

  .product-card {
    min-height: 12.5rem;
    grid-template-columns: minmax(7.25rem, 34%) minmax(0, 1fr);
  }

  .product-card__content {
    padding: 0.8rem;
  }

  .product-card__title {
    font-size: 1rem;
  }

  .product-card__description {
    -webkit-line-clamp: 2;
    font-size: 0.84rem;
  }

  .product-copy {
    padding: 0.75rem;
  }

  .product-heading h3 {
    font-size: 1rem;
  }

  .product-copy > p {
    -webkit-line-clamp: 2;
    font-size: 0.82rem;
  }

  .product-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .quantity-row {
    align-items: stretch;
    flex-direction: column;
  }

  .quantity-stepper,
  [data-quantity-stepper] {
    width: 100%;
    grid-template-columns: 3rem minmax(3rem, 1fr) 3rem;
  }

  .form-grid,
  .dashboard-grid,
  .admin-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-row,
  .prose-grid,
  .metric-grid,
  .admin-shell > .admin-grid,
  .filters,
  .inline-form,
  .confirmation-stats,
  .delivery-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-heading,
  .panel > header,
  .panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .access-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .access-card > div {
    display: none;
  }

  .history-card > header,
  .history-card > footer,
  .history-line {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
  }

  .delivery-lines > article {
    grid-template-columns: minmax(0, 1fr);
  }

  .delivery-lines > article > form {
    grid-column: auto;
  }

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

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

  .site-footer > div > span {
    margin-right: 0;
  }

  .dashboard-card--wide,
  .admin-grid > .span-4,
  .admin-grid > .span-6,
  .admin-grid > .span-8,
  .admin-grid > .span-12 {
    grid-column: 1 / -1;
  }

  .admin-page-heading,
  .data-card__header {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-card__actions,
  .operational-card__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .data-table--responsive thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .data-table--responsive,
  .data-table--responsive tbody,
  .data-table--responsive tr,
  .data-table--responsive td {
    display: block;
    width: 100%;
  }

  .data-table--responsive tr {
    padding: 0.65rem;
    border-bottom: 1px solid var(--fly-border, #dde4de);
  }

  .data-table--responsive td {
    display: grid;
    padding: 0.35rem;
    grid-template-columns: minmax(7rem, 42%) minmax(0, 1fr);
    gap: 0.75rem;
    border: 0;
    text-align: right;
  }

  .data-table--responsive td::before {
    color: var(--fly-muted, #526057);
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }
}

@media (max-width: 27rem) {
  .product-card {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  .purchase-rule {
    font-size: 0.74rem;
  }

  .site-header__brand {
    width: 82%;
  }

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

  .product-visual {
    min-height: 9rem;
  }

  .product-visual img {
    right: 12%;
    width: 38%;
    height: 90%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .stock-status::before {
    border: 1px solid currentColor;
  }

  .button,
  .category-tab,
  .order-summary__header {
    border: 1px solid ButtonText;
  }
}

@media print {
  body {
    padding: 0;
    background: #fff;
  }

  .site-header,
  .main-nav,
  .site-footer,
  .mobile-summary-bar,
  .summary-backdrop,
  .toast-region,
  .button:not([data-print-order]),
  .admin-sidebar,
  .admin-topbar,
  .no-print {
    display: none !important;
  }

  .page-shell,
  .admin-content {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .order-layout,
  .admin-shell {
    display: block;
  }

  .order-summary,
  .catalog-panel,
  .surface-card,
  .data-card {
    position: static;
    max-height: none;
    overflow: visible;
    border-color: #aaa;
    box-shadow: none;
  }

  a[href]::after {
    content: none;
  }
}

.line-actions {
  display: grid;
  margin-top: 1rem;
  gap: 0.75rem;
}

.compact-action {
  align-items: end;
}

.compact-action label {
  min-width: min(100%, 11rem);
}

.danger-action {
  padding-top: 0.65rem;
  border-top: 1px solid var(--fly-border, #dde4de);
}

.danger-action summary {
  color: var(--fly-error, #b42318);
  cursor: pointer;
  font-weight: 750;
}

.danger-action form {
  margin-top: 0.75rem;
}

.button-danger {
  border-color: var(--fly-error, #b42318);
  background: var(--fly-error, #b42318);
  color: var(--fly-white, #fff);
}

.alert-warning {
  border: 1px solid color-mix(in srgb, var(--fly-warning, #875700) 35%, transparent);
  background: color-mix(in srgb, var(--fly-gold, #d8c98d) 24%, white);
  color: var(--fly-warning, #875700);
}
