:root {
  --primary: #701833;
  --secondary: #d4a44e;
  --cream: #f7f0e7;
  --ink: #291e22;
  --muted: #716367;
  --line: #e5d9cd;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fffdf9;
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.4;
}
h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.4;
}
h3 {
  font-size: 19px;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 56px 24px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 6vw;
  background: white;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  text-decoration: none;
}
.logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--primary);
  color: white;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  overflow: hidden;
}
.logo-image img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  background: var(--primary);
  color: white;
  font-weight: bold;
  text-align: center;
}
.btn.light {
  background: #eee7e2;
  color: var(--ink);
}
.btn.gold {
  background: var(--secondary);
  color: #241418;
}
.btn.danger {
  background: #a72538;
}
.hero {
  min-height: 590px;
  height: 80vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(270deg, rgba(29, 7, 15, 0.94), rgba(29, 7, 15, 0.1)),
    url("/assets/hero.png") center/cover;
}
.hero-copy {
  color: white;
  padding: 50px 8vw;
  max-width: 770px;
}
.hero h1 {
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1.25;
  margin: 15px 0;
}
.hero p {
  font-size: 21px;
}
.kicker {
  color: var(--primary);
  font-weight: bold;
}
.hero .kicker {
  color: var(--secondary);
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro p {
  font-size: 20px;
  color: var(--muted);
}
.section {
  background: var(--cream);
  scroll-margin-top: 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.visual {
  height: 190px;
  display: grid;
  place-items: center;
  background: #eadfd6;
  font-size: 70px;
}
.visual img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.card-body {
  padding: 22px;
}
.card-body ul {
  list-style: none;
  padding: 0;
  color: var(--muted);
  min-height: 90px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.card-bottom .btn {
  font-size: 14px;
  padding: 10px;
}
.price small,
.price strong {
  display: block;
}
.price strong {
  color: var(--primary);
  font-size: 22px;
  white-space: nowrap;
}
.custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.panorama {
  overflow-x: auto;
  direction: ltr;
  border-radius: 12px;
  overscroll-behavior-x: contain;
}
.panorama img {
  display: block;
  width: 1500px;
  max-width: none;
  height: 400px;
  object-fit: cover;
}
.footer {
  background: #24151b;
  color: white;
}
.fixed-book {
  display: none;
}
.booking {
  max-width: 1000px;
  padding-bottom: 180px;
}
.booking-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 5vw;
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  z-index: 10;
}
.booking-bar #totals {
  display: flex;
  gap: 30px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ingredient {
  border: 2px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 20px;
  text-align: center;
}
.ingredient.selected {
  border-color: var(--primary);
  background: #fbf5ef;
}
.item-image {
  height: 92px;
  font-size: 50px;
  display: grid;
  place-items: center;
}
.item-image img {
  height: 92px;
  width: 92px;
  object-fit: cover;
  border-radius: 8px;
}
.quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.quantity-button {
  min-width: 46px;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: white;
  font-size: 20px;
  padding: 6px 12px;
}
.form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.field {
  display: block;
  margin: 16px 0;
}
.field > span {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}
input:not([type="radio"]):not([type="checkbox"]),
textarea,
select {
  width: 100%;
  min-width: 0;
  padding: 13px;
  border: 1px solid #c8bcb4;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  min-height: 48px;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
input[type="radio"],
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
}
.choice {
  display: flex;
  gap: 16px;
}
.choice .field {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.notice {
  padding: 18px;
  background: #fff0cd;
  color: #634919;
  border-radius: 8px;
}
.error {
  color: #a12034;
  font-weight: bold;
  white-space: pre-line;
}
.muted {
  color: var(--muted);
}
.review {
  background: white;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.review-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  padding: 15px 0;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.review-row dd {
  margin: 0;
  font-weight: bold;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.review-row dt {
  color: var(--muted);
}
.whatsapp {
  background: #157749;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
:focus-visible {
  outline: 3px solid #3982c3;
  outline-offset: 3px;
}
.login {
  max-width: 440px;
  margin: 10vh auto;
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-side {
  background: #26171e;
  color: white;
  padding: 25px 18px;
}
.admin-side .btn {
  width: 100%;
  margin: 5px 0;
  text-align: right;
  background: transparent;
  justify-content: flex-start;
}
.admin-side .btn.active {
  background: var(--primary);
}
.admin-main {
  padding: 30px;
  max-width: 1250px;
  width: 100%;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.admin-top h1 {
  font-size: 30px;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 8px;
  margin: 15px 0;
}
.admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.admin-list .admin-card {
  margin: 0;
}
.admin-card .item-image {
  justify-content: start;
}
.admin-card h3 {
  margin: 12px 0;
}
.status {
  padding: 12px 16px;
  background: #e9f2e6;
  border-radius: 6px;
  white-space: pre-wrap;
}
.sticky-actions {
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  z-index: 2;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.model-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 95px;
  gap: 14px;
  align-items: center;
}
.upload-preview {
  margin-top: 12px;
}
.admin-main a {
  color: var(--primary);
}
@media (max-width: 850px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ingredient-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-layout {
    display: block;
  }
  .admin-side {
    padding: 12px;
  }
  .admin-side h2 {
    display: none;
  }
  .admin-side nav {
    display: flex;
    overflow-x: auto;
    gap: 10px;
  }
  .admin-side .btn {
    width: auto;
    white-space: nowrap;
  }
  .admin-main {
    padding: 20px;
  }
  .booking-bar {
    padding: 12px 18px;
  }
  .booking-bar #totals {
    gap: 15px;
  }
}
@media (max-width: 600px) {
  body {
    padding-bottom: 80px;
  }
  .nav {
    padding: 12px 16px;
  }
  .nav > .btn {
    display: none;
  }
  #builder .nav > .btn {
    display: inline-flex;
  }
  .hero {
    min-height: 560px;
    height: 78vh;
    align-items: end;
    background-image:
      linear-gradient(0deg, rgba(29, 7, 15, 0.95), rgba(29, 7, 15, 0.15)),
      url("/assets/hero.png");
  }
  .hero-copy {
    padding: 30px 24px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero p {
    font-size: 18px;
  }
  .container {
    padding: 44px 20px;
  }
  .intro {
    display: block;
  }
  .grid,
  .two,
  .admin-list {
    grid-template-columns: 1fr;
  }
  .custom {
    display: block;
  }
  .fixed-book {
    display: flex;
    position: fixed;
    bottom: 12px;
    left: 16px;
    right: 16px;
    z-index: 5;
  }
  .panorama img {
    height: 320px;
    width: 1200px;
  }
  .booking {
    padding-bottom: 210px;
  }
  .booking-bar {
    display: block;
  }
  .booking-bar #totals {
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .booking-bar .actions {
    justify-content: flex-end;
  }
  .booking-bar .btn {
    padding: 10px 16px;
  }
  .price strong {
    font-size: 19px;
  }
  .choice {
    display: block;
  }
  .form {
    padding: 20px 15px;
  }
  .review-row {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
    font-size: 15px;
  }
  .review {
    padding: 15px;
  }
  .ingredient {
    padding: 14px 8px;
  }
  .admin-main {
    padding: 16px 12px;
  }
  .admin-top {
    display: block;
  }
  .login {
    margin: 5vh 15px;
  }
  .admin-card {
    padding: 18px;
  }
  .admin-top h1 {
    font-size: 26px;
  }
}
.model-category {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf7f3;
}
.model-category h4 {
  margin: 0 0 14px;
  font-size: 19px;
  color: var(--primary);
}
.model-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.model-pick {
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.model-pick.selected {
  border-color: var(--primary);
  background: #fcf8f0;
}
.model-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.model-controls > span {
  font-size: 14px;
  margin-inline-end: 4px;
}
.model-controls input[type="number"] {
  width: 64px;
  padding: 8px 3px;
  text-align: center;
  min-height: 44px;
  direction: ltr;
  appearance: textfield;
  -moz-appearance: textfield;
}
.model-controls input::-webkit-inner-spin-button {
  appearance: none;
}
.model-step {
  width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--primary);
  color: white;
  font-size: 23px;
}
@media (max-width: 600px) {
  .model-category {
    padding: 12px;
  }
  .model-picks {
    grid-template-columns: 1fr;
  }
  .model-pick {
    padding: 12px;
  }
}
.logo {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}
.logo img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.footer .brand {
  width: fit-content;
}
.panorama-actions {
  margin-top: 12px;
}
.time-picker {
  min-width: 0;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.time-picker legend {
  font-weight: bold;
}
.time-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.time-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
}
.time-column input {
  text-align: center;
  font-size: 22px;
  padding: 8px !important;
}
.time-column .model-step {
  width: 100%;
}
.time-colon {
  font-size: 24px;
}
.time-period {
  justify-content: center;
  margin: 14px 0;
}
.time-period [aria-pressed="true"] {
  background: var(--primary);
  color: white;
}
.time-summary {
  text-align: center;
  margin: 8px 0 0;
}
@media (max-width: 600px) {
  .logo,
  .logo img {
    width: 60px;
    height: 60px;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 58px);
  }
}
/* v5.3: clearer meal cards and an optional-edit model summary. */
.card {
  border: 1.5px solid #cdb9a5;
  box-shadow: 0 5px 16px rgba(55, 35, 25, 0.12);
  display: flex;
  flex-direction: column;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.card-heading h3 {
  margin: 0;
}
.card-heading .price {
  text-align: left;
}
.card-body ul {
  margin: 18px 0 22px;
}
.card-body li {
  margin: 4px 0;
}
.card-bottom {
  margin-top: auto;
  border-top: 0;
  padding-top: 0;
}
.card-bottom .btn {
  width: 100%;
  font-size: 16px;
}
.featured-container:has(#featured-section[hidden]) {
  display: none;
}
.model-full-image {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.model-full-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
}
.summary-edit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 18px;
  background: var(--cream);
  border-radius: 10px;
}
.summary-edit p {
  margin: 0;
}
.summary-edit .btn {
  flex-shrink: 0;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.summary-item {
  padding: 16px 10px;
  border: 1px solid #cdb9a5;
  border-radius: 10px;
  background: white;
  text-align: center;
}
.summary-item h3 {
  font-size: 16px;
  margin: 10px 0 4px;
}
.summary-item .item-image img {
  object-fit: contain;
}
@media (max-width: 600px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .summary-edit {
    flex-direction: column;
    align-items: stretch;
  }
  .summary-edit .btn {
    width: 100%;
  }
}
/* v5.4: compact browsing and numeric dates. */
.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: white;
}
.social-links {
  margin-top: 22px;
  gap: 10px 18px;
  font-size: 15px;
}
.social-links > span {
  color: #e4d9d6;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: white;
  text-decoration: none;
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.social-links svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.social-links a:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}
.catalog-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 24px 0 8px;
}
.catalog-tools .field {
  margin: 0;
  font-size: 14px;
}
.catalog-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
}
.catalog-more {
  text-align: center;
  margin-top: 28px;
}
.empty-results {
  grid-column: 1/-1;
  padding: 24px;
  text-align: center;
}
.date-picker {
  min-width: 0;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.date-picker legend {
  font-weight: bold;
}
.date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 10px;
}
.date-fields .field {
  margin: 0;
}
.date-fields input {
  text-align: center;
  direction: ltr;
}
.date-caption {
  color: var(--primary);
  font-weight: bold;
  margin: 14px 0;
}
.date-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.date-actions .btn {
  padding: 9px 12px;
  font-size: 14px;
  flex: 1 1 auto;
}
.date-calendar {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.calendar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.calendar-heading .btn {
  padding: 6px 8px;
  font-size: 12px;
}
.calendar-heading strong {
  text-align: center;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  text-align: center;
}
.calendar-grid small {
  font-size: 10px;
}
.calendar-day {
  border: 0;
  background: var(--cream);
  color: var(--ink);
  border-radius: 5px;
  min-height: 42px;
  padding: 3px;
}
.calendar-day[aria-pressed="true"] {
  background: var(--primary);
  color: white;
  font-weight: bold;
}
.review-row {
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: start;
}
.review-edit {
  background: none;
  border: 0;
  color: var(--primary);
  padding: 6px;
  min-height: 40px;
  text-decoration: underline;
}
.booking-facts {
  font-size: 14px;
  color: #e1d5d8;
}
.btn {
  transition:
    background-color 0.15s,
    box-shadow 0.15s;
}
.btn:active,
.quantity-button:active {
  filter: brightness(0.9);
}
@media (max-width: 850px) {
  .catalog-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .hero-actions .btn {
    padding: 11px 16px;
  }
  .social-links {
    gap: 6px 14px;
    margin-top: 16px;
  }
  .social-links > span {
    flex-basis: 100%;
  }
  .catalog-tools {
    padding: 14px;
    gap: 12px;
  }
  .catalog-tools input,
  .catalog-tools select {
    font-size: 16px;
    padding: 10px;
  }
  .review-row {
    grid-template-columns: 95px minmax(0, 1fr) auto;
    gap: 6px;
  }
  .calendar-heading .btn {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
