/* Wrap & Fry updated look based on reference style */

:root {
  --bg: #fffaf2;
  --surface: #ffffff;
  --card: #f2be45;
  --card-soft: #f7cb68;
  --accent: #f2be45;
  --accent-strong: #4b1f2d;
  --text: #2b1c22;
  --muted: #6f6f6f;
  --border: #ebbc62;
  --header-h: 0px;
  --wa-green: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.11);
  --site-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.35;
  padding-top: 0;
}

body.has-sticky-checkout {
  padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

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

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

a {
  color: #2f2f2f;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #000;
}

.site-header {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  position: static;
  z-index: 900;
  min-height: auto;
  background: #fff;
  border-bottom: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.site-header__bar {
  margin: 0;
  width: 100%;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-shrink: 0;
  border-bottom: 1px solid #6a3042;
  background: linear-gradient(180deg, #5b2535, #3f1825);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff;
  min-width: 0;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.1;
}

.brand-mark__name {
  display: inline;
}

.brand-mark__logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.brand-mark__text span {
  color: #f2be45;
}

.brand-mark__slogan {
  font-size: 0.53rem;
  letter-spacing: 0.09em;
  font-weight: 600;
  color: #f8e6ba;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-pill-btn {
  border: 1px solid rgba(242, 190, 69, 0.62);
  background: rgba(255, 255, 255, 0.1);
  color: #fff5dc;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.top-pill-btn--timings {
  font-family: inherit;
}

.hero-banner {
  margin: 0;
  width: 100%;
  padding: 0.5rem 0.9rem 0.55rem;
}

.hero-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 332;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #e2d3b7;
  background-color: #e8dbc4;
}

.cat-nav-wrap {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e8d4b0;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 920;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  justify-content: flex-start;
}

.cat-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem 0.5rem;
  justify-content: flex-start;
  min-width: max-content;
  width: max-content;
  margin: 0;
}

main {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
}

.cat-nav a {
  flex: 0 0 auto;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #262626;
  border: 1px solid transparent;
  background: #fff;
  white-space: nowrap;
}

.cat-nav a:hover,
.cat-nav a:focus-visible {
  color: #1f1f1f;
  background: #f8f8f8;
  border-color: #ececec;
  outline: none;
}

.cat-nav a.is-active,
.cat-nav a.cat-nav__checkout {
  color: #ffffff;
  background: #4b1f2d;
  border-color: #4b1f2d;
  font-weight: 700;
}

.cat-nav a.cat-nav__location {
  color: #4b1f2d;
  background: #fff7e8;
  border-color: #e7d2ad;
  font-weight: 700;
}

.cat-nav a.cat-nav__checkout:hover {
  color: var(--bg);
  background: #ffc85c;
  border-color: #ffc85c;
}

@media (max-width: 1023.98px) {
  .cat-nav-wrap {
    justify-content: flex-start !important;
  }
  .cat-nav {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .cat-nav-wrap {
    justify-content: center;
  }
  .cat-nav {
    justify-content: center;
    min-width: 100%;
    margin: 0 auto;
  }
}

.cart-trigger {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #f0cf88;
  background: #fff5df;
  color: #4b1f2d;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.cart-trigger:hover {
  border-color: var(--accent);
}

.cart-trigger__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f2be45;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.1rem;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: #fff;
  color: #2a2a2a;
  border-color: #efc985;
  font-weight: 700;
}

.btn--primary:hover {
  border-color: #dca34e;
}

.btn--ghost {
  background: #4b1f2d;
  color: #fff;
  border-color: #4b1f2d;
}

.btn--ghost:hover {
  background: #39141f;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--block {
  width: 100%;
}

.btn--small {
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-loading-hint {
  margin: 0 auto 0.65rem;
  max-width: 860px;
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4b1f2d;
  background: linear-gradient(180deg, #fff8e6, #fff2cc);
  border: 1px solid #e4d4b7;
  border-radius: var(--radius);
}

.menu-grid--skeleton {
  pointer-events: none;
}

.menu-card--skeleton {
  min-height: 245px;
  padding: 0.62rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: none;
}

.menu-card__media--skeleton {
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: linear-gradient(110deg, #ececec 8%, #f6f6f6 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: wf-skel-shimmer 1.15s ease-in-out infinite;
}

.menu-card__skeleton-line {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(110deg, #ececec 8%, #f6f6f6 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: wf-skel-shimmer 1.15s ease-in-out infinite;
}

.menu-card__skeleton-line--title {
  width: 72%;
  height: 12px;
}

.menu-card__skeleton-line--desc {
  width: 100%;
}

.menu-card__skeleton-line--price {
  width: 38%;
  height: 11px;
}

.menu-card__skeleton-actions {
  margin-top: auto;
  height: 42px;
  border-radius: 8px;
  background: #ede9e9;
}

@keyframes wf-skel-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.menu-category--deferred {
  contain: layout;
}

.menu-section {
  margin: 0 auto;
  padding: 0.9rem 0.9rem 2.2rem;
}

.menu-search-wrap {
  max-width: 860px;
  margin: 0 auto 1rem;
}

.menu-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #d7d7d7;
  background: #fff;
  border-radius: 3px;
  min-height: 36px;
  padding: 0.38rem 0.62rem;
}

.menu-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f1b538;
  flex-shrink: 0;
}

.menu-search input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2f2f2f;
  background: transparent;
}

.menu-search input::placeholder {
  color: #b8b8b8;
}

.menu-search:focus-within {
  border-color: #cfcfcf;
}

.menu-category {
  margin-bottom: 1rem;
  scroll-margin-top: calc(var(--header-h) + 8px);
  background: var(--surface);
  border: 1px solid #ececec;
  border-radius: var(--radius);
  padding: 0.6rem;
}

.menu-category__title {
  margin: 0 0 0.9rem;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #000000;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  display: block;
  text-align: center;
}

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

@media (min-width: 420px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .menu-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.menu-card {
  background: #fff;
  border: 1px solid #e8dac0;
  border-radius: 12px;
  padding: 0.62rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  min-height: 245px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.menu-card:hover {
  border-color: #e6e6e6;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.menu-card__media {
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  height: auto;
  border: 1px dashed #d3a347;
  background: linear-gradient(180deg, #f2be45, #e4aa2f);
  overflow: hidden;
}

.menu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #f0e6d8;
}

.menu-card__name {
  margin: 0;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-size: 12.6px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f1f1f;
}

.menu-card__desc {
  margin: 0;
  font-size: 0.75rem;
  color: #666;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card__price {
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1f1f1f;
  font-size: 12.6px;
  margin: 0;
  letter-spacing: 0;
}

.menu-card__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.42rem;
  margin-top: auto;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  align-self: stretch;
  width: 100%;
  justify-content: space-between;
}

.qty button {
  width: 36px;
  height: 38px;
  border: none;
  background: transparent;
  color: #4a4a4a;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.qty button:hover {
  background: #f7f7f7;
}

.qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  flex: 1;
}

.menu-card .btn--small {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  background: #4b1f2d;
  color: #ffffff;
  border: 1px solid #4b1f2d;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  position: relative;
  overflow: hidden;
}

.menu-card .btn--small:hover {
  background: #39141f;
  border-color: #39141f;
}

.menu-card .btn--small.is-added {
  color: transparent;
  pointer-events: none;
}

.menu-card .btn--small.is-added::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2be45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.7L21 7H7.1'/%3E%3C/svg%3E");
  animation: addCartPop 460ms ease;
}

@keyframes addCartPop {
  0% {
    transform: scale(0.72);
    opacity: 0;
  }
  45% {
    transform: scale(1.14);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.wf-fly-to-cart {
  position: fixed;
  z-index: 4000;
  border-radius: 50%;
  background: #4b1f2d;
  border: 2px solid rgba(242, 190, 69, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.checkout-overlay:not([hidden]) {
  pointer-events: auto;
}
.order-placed-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}
.order-placed-overlay:not([hidden]) {
  pointer-events: auto;
}
.order-placed-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.order-placed-overlay__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}
.order-placed-overlay__panel {
  background: #fffaf2;
  border: 1px solid #e7d2ad;
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.order-placed-modal__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  background: #67c94f;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.order-placed-modal__head {
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-placed-modal__head h2,
.order-placed-modal__head .wf-modal-title {
  margin: 0;
  color: #4b1f2d;
  font-size: 1.08rem;
}
.order-placed-modal__text {
  margin: 0.55rem 0 0.9rem;
  color: #3c2c2c;
  font-weight: 600;
}
.order-placed-modal__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.order-placed-modal__actions .btn {
  min-height: 40px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.timing-overlay {
  position: fixed;
  inset: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.timing-overlay:not([hidden]) {
  pointer-events: auto;
}

.timing-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.timing-overlay__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
}

.timing-overlay__panel {
  background: #fffaf2;
  border: 1px solid #e3c991;
  border-radius: 12px;
  padding: 1rem;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.timing-overlay.is-open .timing-overlay__backdrop {
  opacity: 1;
}

.timing-overlay.is-open .timing-overlay__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.timing-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.timing-modal__head h2,
.timing-modal__head .wf-modal-title {
  margin: 0;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: #4b1f2d;
}

.timing-modal__value {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #4b1f2d;
}

.checkout-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.checkout-overlay.is-open .checkout-overlay__backdrop {
  opacity: 1;
}

.checkout-overlay__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(90vh, 640px);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.checkout-overlay__panel {
  background: #fffaf2;
  border: 1px solid #e7d2ad;
  border-radius: var(--radius);
  padding: 1rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: scale(0.96) translateY(12px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.checkout-overlay.is-open .checkout-overlay__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.checkout-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.checkout-modal__head h2,
.checkout-modal__head .wf-modal-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4b1f2d;
}

.checkout-bill-stack {
  margin: 0.5rem 0 1rem;
  border-radius: 14px;
  border: 1px solid #e3c991;
  background: #fff3da;
  overflow: hidden;
}

.checkout-bill-stack > .checkout-summary {
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.checkout-delivery-area-slot {
  padding: 0.45rem 0.95rem 0.85rem;
  border-top: 1px solid #efd9b0;
  background: rgba(255, 255, 255, 0.28);
}

.checkout-delivery-area-slot .field {
  margin-bottom: 0;
}

.checkout-summary {
  margin: 0.5rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid #e3c991;
  background: #fff3da;
}

.checkout-summary__title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a5e45;
}

.checkout-summary__lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #efd9b0;
}

.checkout-summary__line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.checkout-summary__name {
  color: #1f1f1f;
  font-weight: 600;
}

.checkout-summary__qty {
  color: #777;
  font-weight: 700;
  font-size: 0.8rem;
}

.checkout-summary__amt {
  color: #1f1f1f;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 0.28rem 0;
  font-weight: 600;
}

.checkout-summary__row--muted {
  color: #656565;
  font-weight: 500;
}

.checkout-summary__row--area-line span:last-child {
  max-width: 58%;
  text-align: right;
  font-weight: 600;
  color: #4b1f2d;
}

.checkout-summary__row--total {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid #efd9b0;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4b1f2d;
}

.checkout-summary__row--total span:last-child {
  color: #4b1f2d;
  font-size: 1.1rem;
}

.checkout-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #5c4a3f;
  line-height: 1.45;
}

.checkout-form {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c4a3f;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #eed4a6;
  background: #fff;
  color: #2b2b2b;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #4b1f2d;
  box-shadow: 0 0 0 3px rgba(75, 31, 45, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8a8a8;
}

/* Checkout: searchable delivery areas (area-wise mode) */
.field--delivery {
  position: relative;
}

.field--delivery select.wf-delivery-select--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.delivery-area-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.delivery-area-picker__pickup-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.15rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #eed4a6;
  background: rgba(255, 255, 255, 0.65);
  color: #2b2b2b;
  font-size: 0.92rem;
  line-height: 1.35;
  cursor: pointer;
  font-weight: 600;
}

.delivery-area-picker__pickup-check input {
  width: auto;
  min-width: 1.1rem;
  margin-top: 0.12rem;
  accent-color: #4b1f2d;
  cursor: pointer;
}

.delivery-area-picker__pickup-check span {
  flex: 1;
}

.delivery-area-picker__search:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f5f0e8;
}

.delivery-area-picker__search {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #eed4a6;
  background: #fff;
  color: #2b2b2b;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.delivery-area-picker__search:focus {
  outline: none;
  border-color: #4b1f2d;
  box-shadow: 0 0 0 3px rgba(75, 31, 45, 0.14);
}

.delivery-area-picker__selected {
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #e8d4b0;
  background: rgba(242, 190, 69, 0.18);
  color: #3d2918;
  font-size: 0.9rem;
  line-height: 1.4;
}

.delivery-area-picker__selected strong {
  color: #2b2b2b;
  font-weight: 700;
}

.delivery-area-picker__list {
  max-height: 220px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid #eed4a6;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.delivery-area-picker__row {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.9rem;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #f0e6d4;
  background: #fff;
  color: #2b2b2b;
  font: inherit;
  cursor: pointer;
  line-height: 1.35;
}

.delivery-area-picker__row:last-child {
  border-bottom: 0;
}

.delivery-area-picker__row:hover,
.delivery-area-picker__row:focus-visible {
  background: #fff8e8;
}

.delivery-area-picker__row--pickup {
  font-weight: 700;
}

.delivery-area-picker__row.is-active {
  background: rgba(242, 190, 69, 0.35);
  box-shadow: inset 3px 0 0 #c9a035;
}

.delivery-area-picker__empty {
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  color: #7a6a5a;
}

.site-footer {
  padding: 1.8rem 0.9rem;
  border-top: 1px solid #e8d9bd;
  background: #fff;
}

.site-footer__grid {
  max-width: 1240px;
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.site-footer h3,
.site-footer__section-title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1f1f1f;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.site-footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: #8d8d8d;
  margin: 0;
}

/* Cart drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-backdrop.is-open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1001;
  width: min(100%, 400px);
  height: 100%;
  background: #fff;
  border-left: 1px solid #efd8ad;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid #f2dfbc;
}

.cart-drawer__head h2,
.cart-drawer__head .wf-modal-title {
  margin: 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-drawer__foot {
  padding: 1rem;
  border-top: 1px solid #f2dfbc;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-total {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.cart-total strong {
  color: #1f1f1f;
  font-size: 1.2rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f3f3f3;
  font-size: 0.9rem;
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line__name {
  font-weight: 700;
}

.cart-line__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
}

.cart-line__price {
  color: #1f1f1f;
  font-weight: 700;
}

.cart-empty {
  color: #777;
  text-align: center;
  padding: 2rem 0.5rem;
  font-size: 0.95rem;
}

.link-remove {
  background: none;
  border: none;
  color: #ff8a8a;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.link-remove:hover {
  color: #ffb4b4;
}

/* Sticky checkout CTA (opens form; cart drawer = header icon only) */
.sticky-checkout {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  padding: 0.5rem 1rem max(0.55rem, env(safe-area-inset-bottom));
  padding-right: max(1rem, calc(4.8rem + env(safe-area-inset-right, 0px)));
  background: linear-gradient(180deg, transparent, rgba(255, 250, 242, 0.96) 30%);
  pointer-events: none;
}

.sticky-checkout__btn {
  pointer-events: auto;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  background: #4b1f2d;
  color: #fff;
  box-shadow: 0 6px 20px rgba(75, 31, 45, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sticky-checkout__btn:hover {
  background: #39141f;
}

.sticky-checkout__title {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sticky-checkout__meta {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.88;
}

/* Sticky WhatsApp */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 860;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

.wa-float:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.58);
  color: #fff;
}

.mobile-bottom-nav {
  display: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  body {
    padding-bottom: 78px;
  }

  .menu-category__title {
    font-size: 18px;
    margin-bottom: 0.75rem;
  }

  .menu-card {
    min-height: 260px;
  }

  .menu-card__name {
    font-size: 12.6px;
  }

  .menu-card__price {
    font-size: 12.6px;
  }

  .menu-card__desc {
    font-size: 0.72rem;
  }

  .wa-float {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 980;
    height: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #dfdfdf;
    background: #fff;
  }

  .mobile-bottom-nav__item {
    appearance: none;
    border: none;
    background: transparent;
    color: #2f2f2f;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    font-family: inherit;
    cursor: pointer;
  }

  .mobile-bottom-nav__icon {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-bottom-nav__menu-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
  }

  .mobile-bottom-nav__whatsapp-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
  }

  .mobile-bottom-nav__label {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
  }

  .mobile-bottom-nav__icon--cart {
    position: relative;
  }

  .mobile-bottom-nav__badge {
    position: absolute;
    right: -8px;
    top: -7px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #4b1f2d;
    color: #fff;
    font-size: 0.63rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    padding: 0 4px;
  }

  .top-pill-btn {
    padding: 0.34rem 0.56rem;
    font-size: 0.66rem;
  }

  .brand-mark__slogan {
    font-size: 0.45rem;
  }
}
