:root {
  --ink: #171716;
  --muted: #68665f;
  --paper: #f8f6ef;
  --surface: #ffffff;
  --line: #ded8cc;
  --pine: #24483f;
  --river: #8eb9b1;
  --clay: #b86443;
  --lichen: #d8dfbb;
  --danger: #b13f3a;
  --shadow: 0 24px 70px rgba(23, 23, 22, 0.12);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(142, 185, 177, 0.2), transparent 36rem),
    radial-gradient(circle at 13% 9%, rgba(216, 223, 187, 0.55), transparent 18rem),
    var(--paper);
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img,
svg,
video,
canvas {
  max-width: 100%;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(23, 23, 22, 0.1);
  background: rgba(248, 246, 239, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 15rem;
  max-width: 100%;
}

.brand img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  max-width: 14rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.3rem;
  border: 1px solid rgba(23, 23, 22, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.main-nav a {
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--surface);
  background: var(--pine);
  outline: none;
}

.cart-button {
  position: relative;
  display: grid;
  justify-self: end;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border: 1px solid rgba(23, 23, 22, 0.16);
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 12px 30px rgba(23, 23, 22, 0.12);
}

.cart-button svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-button span {
  position: absolute;
  top: -0.3rem;
  right: -0.35rem;
  display: grid;
  min-width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 999px;
  padding: 0 0.25rem;
  color: var(--surface);
  background: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
}

.booking-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(20rem, 42rem);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: end;
  min-height: min(46rem, calc(100svh - 5.25rem));
  overflow: hidden;
  padding: clamp(3rem, 10vw, 7rem) clamp(1rem, 4vw, 4rem) clamp(2rem, 5vw, 4rem);
  color: var(--surface);
  background: var(--ink);
}

.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 11, 0.78) 0%, rgba(10, 12, 11, 0.48) 42%, rgba(10, 12, 11, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 12, 11, 0.1) 0%, rgba(10, 12, 11, 0.72) 100%);
}

.booking-copy,
.date-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.booking-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.9rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
}

.booking-copy .eyebrow {
  color: #f2b169;
}

.hero-text {
  max-width: 31rem;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.date-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(23, 23, 22, 0.14);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.date-panel label,
.date-panel input {
  min-width: 0;
  max-width: 100%;
}

.date-panel input {
  display: block;
  inline-size: 100%;
}

.date-panel input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

label {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 2.85rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0 0.85rem;
  color: var(--ink);
  background: var(--surface);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(36, 72, 63, 0.16);
}

textarea {
  min-height: 5rem;
  padding-top: 0.75rem;
  resize: vertical;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr) minmax(20rem, 25rem);
  gap: 1.2rem;
  align-items: start;
  padding: 1rem clamp(1rem, 4vw, 4rem) 4rem;
}

.filters,
.reservation-panel,
.admin-box,
.terms-section article {
  border: 1px solid rgba(23, 23, 22, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.76);
}

.filters {
  padding: 1rem;
}

.filter-title {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.category-list {
  display: grid;
  gap: 0.45rem;
}

.category-button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 2.55rem;
  border: 0;
  border-radius: 0.45rem;
  padding: 0 0.75rem;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.category-button:hover,
.category-button.is-active {
  color: var(--surface);
  background: var(--pine);
}

.catalog-results {
  min-width: 0;
}

.results-head,
.section-head,
.admin-box-head,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.product-card {
  display: grid;
  gap: 0.9rem;
  min-height: 21rem;
  padding: 1rem;
  border: 1px solid rgba(23, 23, 22, 0.12);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(23, 23, 22, 0.06);
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 8rem;
  border: 1px solid rgba(23, 23, 22, 0.1);
  border-radius: 0.45rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(36, 72, 63, 0.12), rgba(142, 185, 177, 0.28)),
    var(--paper);
}

.product-art.product-photo {
  padding: 0;
}

.product-art.product-photo::before {
  display: none;
}

.product-art img {
  width: 100%;
  height: 100%;
  min-height: 8rem;
  object-fit: cover;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 74%;
  background:
    linear-gradient(135deg, transparent 0 39%, rgba(23, 23, 22, 0.95) 40% 41%, transparent 42%),
    linear-gradient(42deg, transparent 0 43%, rgba(23, 23, 22, 0.85) 44% 45%, transparent 46%),
    linear-gradient(160deg, transparent 0 46%, rgba(23, 23, 22, 0.7) 47% 48%, transparent 49%);
  opacity: 0.5;
}

.photo-count {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  min-height: 1.7rem;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  color: var(--surface);
  background: rgba(23, 23, 22, 0.78);
  font-size: 0.72rem;
  font-weight: 850;
}

.product-icon {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--pine);
  background: rgba(255, 255, 255, 0.7);
  font-size: 1.55rem;
  font-weight: 900;
}

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

.product-meta h3 {
  font-size: 1.12rem;
}

.product-meta p,
.empty-state,
.terms-section p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.price {
  font-size: 1.25rem;
  font-weight: 900;
  white-space: nowrap;
}

.availability {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 1.9rem;
  border-radius: 999px;
  padding: 0 0.68rem;
  color: var(--pine);
  background: rgba(216, 223, 187, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
}

.availability.low {
  color: var(--clay);
  background: rgba(184, 100, 67, 0.13);
}

.availability.out {
  color: var(--danger);
  background: rgba(177, 63, 58, 0.12);
}

.product-actions {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.65rem;
  margin-top: auto;
}

.qty-input {
  text-align: center;
}

.primary-button,
.ghost-button,
.icon-button {
  min-height: 2.85rem;
  border-radius: 0.45rem;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.primary-button {
  width: 100%;
  border: 1px solid var(--ink);
  color: var(--surface);
  background: var(--ink);
}

.primary-button:hover {
  transform: translateY(-1px);
  background: var(--pine);
}

.primary-button:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.45;
}

.ghost-button {
  border: 1px solid rgba(23, 23, 22, 0.18);
  padding: 0 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.ghost-button:hover {
  color: var(--surface);
  background: var(--pine);
}

.icon-button {
  width: 2.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.reservation-panel {
  padding: 1rem;
}

.panel-sticky {
  position: sticky;
  top: 6.3rem;
  display: grid;
  gap: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  border: 1px solid rgba(23, 23, 22, 0.12);
  border-radius: 999px;
  padding: 0 0.65rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.cart-list {
  display: grid;
  gap: 0.65rem;
  min-height: 5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.45rem;
  background: rgba(248, 246, 239, 0.9);
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.remove-btn {
  min-width: 2.35rem;
  min-height: 2.35rem;
  border: 0;
  border-radius: 50%;
  color: var(--danger);
  background: rgba(177, 63, 58, 0.1);
  font-weight: 900;
}

.totals {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.totals dt {
  color: var(--muted);
}

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

.total-row {
  font-size: 1.08rem;
}

.login-section,
.admin-section,
.terms-section {
  padding: 4rem clamp(1rem, 4vw, 4rem);
}

.login-section {
  display: grid;
  min-height: calc(100vh - 5.25rem);
  place-items: center;
}

.login-card {
  display: grid;
  gap: 1rem;
  width: min(27rem, 100%);
  padding: 1.2rem;
  border: 1px solid rgba(23, 23, 22, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.login-card h1,
.admin-section h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.is-locked {
  display: none;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.9rem;
  margin: 1.1rem 0;
}

.metric {
  padding: 1rem;
  border: 1px solid rgba(23, 23, 22, 0.12);
  border-radius: 0.5rem;
  background: var(--surface);
}

.metric span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.75rem;
}

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

.users-box {
  margin-top: 1rem;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.small-button {
  min-height: 2.2rem;
  border: 1px solid rgba(23, 23, 22, 0.18);
  border-radius: 0.45rem;
  padding: 0 0.65rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
}

.small-button:hover {
  color: var(--surface);
  background: var(--pine);
}

.small-button.danger {
  color: var(--danger);
}

.small-button.danger:hover {
  color: var(--surface);
  background: var(--danger);
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 1.8rem;
  align-items: center;
  border-radius: 999px;
  padding: 0 0.65rem;
  background: rgba(216, 223, 187, 0.72);
  color: var(--pine);
  font-size: 0.76rem;
  font-weight: 850;
}

.status-badge.blocked {
  background: rgba(177, 63, 58, 0.12);
  color: var(--danger);
}

.admin-box {
  min-width: 0;
  padding: 1rem;
}

.table-wrap {
  width: 100%;
  margin-top: 0.8rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.78rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.88rem;
}

th {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

td select {
  min-width: 10rem;
}

.inventory-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.product-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(248, 246, 239, 0.74);
}

.inventory-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(248, 246, 239, 0.6);
}

.inventory-item strong {
  display: block;
}

.inventory-item small {
  color: var(--muted);
}

.stock-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.inventory-actions {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.stock-controls button {
  width: 2rem;
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-weight: 900;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.terms-section article {
  padding: 1rem;
}

.checkout-modal {
  width: min(37rem, calc(100vw - 2rem));
  border: 0;
  border-radius: 0.5rem;
  padding: 0;
  background: transparent;
}

.gallery-modal {
  width: min(58rem, calc(100vw - 2rem));
  border: 0;
  border-radius: 0.5rem;
  padding: 0;
  background: transparent;
}

.gallery-modal::backdrop {
  background: rgba(23, 23, 22, 0.68);
  backdrop-filter: blur(8px);
}

.gallery-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-card > img {
  width: 100%;
  max-height: 60vh;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.45rem;
  background: var(--paper);
}

.close-gallery {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
}

.gallery-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
}

.gallery-thumbs button {
  flex: 0 0 5.5rem;
  height: 4rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-modal::backdrop {
  background: rgba(23, 23, 22, 0.55);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.close-modal {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

.account-box {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem;
  border: 1px solid rgba(36, 72, 63, 0.18);
  border-radius: 0.45rem;
  background: rgba(216, 223, 187, 0.32);
}

.account-box p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

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

.account-switch label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0 0.65rem;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.84rem;
  text-align: center;
}

.account-switch input {
  width: 1rem;
  min-height: 1rem;
  margin: 0 0.4rem 0 0;
}

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

.terms-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.terms-check input {
  width: 1.05rem;
  min-height: 1.05rem;
}

.payment-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 0.45rem;
  color: var(--surface);
  background: var(--pine);
}

.payment-summary strong {
  font-size: 1.45rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 0.45rem;
  color: var(--surface);
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(0.8rem);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .catalog-layout {
    grid-template-columns: 12rem minmax(0, 1fr);
  }

  .reservation-panel {
    grid-column: 1 / -1;
  }

  .panel-sticky {
    position: static;
  }
}

@media (max-width: 860px) {
  .app-header,
  .booking-band,
  .catalog-layout,
  .login-section,
  .admin-section,
  .terms-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .app-header {
    position: static;
    align-items: flex-start;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    overflow: hidden;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    width: 100%;
    overflow: hidden;
    justify-content: stretch;
    border-radius: 1.4rem;
  }

  .main-nav a {
    display: grid;
    min-width: 0;
    place-items: center;
    padding: 0.62rem 0.35rem;
    font-size: 0.82rem;
    text-align: center;
    white-space: nowrap;
  }

  .cart-button {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 3rem;
    height: 3rem;
  }

  .booking-band,
  .catalog-layout,
  .admin-grid,
  .terms-grid,
  .date-panel,
  .metrics {
    grid-template-columns: 1fr;
  }

  .booking-band {
    min-height: auto;
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }

  .booking-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 0.98;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
  }

  .date-panel {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    padding: 0.9rem;
    overflow: hidden;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 12, 11, 0.72) 0%, rgba(10, 12, 11, 0.54) 48%, rgba(10, 12, 11, 0.82) 100%);
  }

  .filters {
    position: static;
  }

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

@media (max-width: 560px) {
  body > *,
  main,
  section,
  aside,
  form,
  article,
  dialog {
    max-width: 100%;
  }

  .brand {
    min-width: 0;
    gap: 0.65rem;
  }

  .brand img {
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
  }

  .brand strong {
    font-size: clamp(0.86rem, 4.1vw, 1rem);
    line-height: 1.05;
    word-break: normal;
  }

  .brand small {
    max-width: 15rem;
    font-size: clamp(0.72rem, 3.4vw, 0.86rem);
    line-height: 1.15;
  }

  .main-nav a {
    font-size: clamp(0.72rem, 3.3vw, 0.86rem);
  }

  .booking-copy h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  .product-actions,
  .form-grid,
  .account-switch,
  .inventory-item {
    grid-template-columns: 1fr;
  }

  .catalog-layout,
  .booking-band,
  .admin-section,
  .terms-section,
  .login-section {
    overflow: hidden;
  }

  .date-panel {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    margin-inline: auto;
    padding: 0.8rem;
  }

  .date-panel label {
    width: 100%;
    overflow: hidden;
  }

  .date-panel input {
    display: block;
    width: 100%;
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
    margin: 0;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
  }

  .date-panel input[type="date"]::-webkit-date-and-time-value {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .results-head,
  .section-head,
  .admin-box-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    width: 100%;
    justify-content: stretch;
  }

  .admin-actions .ghost-button {
    flex: 1;
  }
}
