/* ============================================================
   ATUKASA SUSHI — Sistema visual (dark premium)
   Marca: negro + rojo #D30301 · "The Dominikkei Experience"
   Tipos: Oswald (display) · Montserrat (texto) · Kaushan Script (acento)
   ============================================================ */
:root {
  --bg: #0F0F10;
  --bg-2: #0A0A0B;
  --surface: #19191B;
  --surface-2: #232327;
  --ink: #F4F1EC;
  --ink-2: #A29E98;
  --ink-3: #6E6A64;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .05);
  --red: #E11B22;
  --red-2: #B0060B;
  --red-soft: rgba(225, 27, 34, .14);
  --wa: #25D366;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-m: 0 14px 36px rgba(0, 0, 0, .5);
  --shadow-l: 0 30px 70px rgba(0, 0, 0, .6);
  --r: 16px;
  --font: "Montserrat", system-ui, sans-serif;
  --display: "Oswald", system-ui, sans-serif;
  --script: "Kaushan Script", cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#root {
  height: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .14);
  border-radius: 99px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* ================= APP SHELL ================= */
.app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

/* ---------- topbar ---------- */
.topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 66px;
  background: rgba(10, 10, 11, .92);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand__badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5));
}

.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .06em;
  color: var(--ink);
}

.brand__sub {
  font-family: var(--display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .42em;
  color: var(--red);
  margin-top: 3px;
}

.topbar__loc {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.topbar__loc svg {
  color: var(--red);
}

.topbar__open {
  color: #3ad07e;
  font-weight: 700;
}

.topbar__closed {
  color: var(--red);
  font-weight: 700;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot--open {
  background: #27c06a;
  box-shadow: 0 0 0 3px rgba(39, 192, 106, .18);
}

.dot--closed {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 27, 34, .18);
}

.topbar__spacer {
  margin-left: auto;
}

.switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 99px;
  transition: .2s;
}

.switcher:hover {
  color: var(--ink);
  border-color: var(--red);
}

.switcher b {
  color: var(--red);
}

.cartbtn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .15s, background .2s;
  box-shadow: 0 6px 18px rgba(225, 27, 34, .32);
}

.cartbtn:hover {
  transform: translateY(-1px);
  background: var(--red-2);
}

.cartbtn__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  border-radius: 99px;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg-2);
}

/* ================= LAYOUT ================= */
.layout {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

/* ---------- rail de categorías ---------- */
.rail {
  flex: 0 0 170px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.railitem {
  position: relative;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  width: 100%;
  outline: 2.5px solid transparent;
  outline-offset: 2px;
  transition: outline-color .2s, transform .15s;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
}

.railitem:hover {
  transform: translateY(-2px);
}

.railitem.is-active {
  outline-color: var(--red);
}

.railitem__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

.railitem__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 11px 9px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  letter-spacing: .02em;
  text-align: left;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0));
}

.railitem.is-active .railitem__name {
  color: #fff;
}

/* ---------- content / secciones ---------- */
.content {
  flex: 1 1 auto;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.catsec {
  padding: 6px 30px 16px;
}

.catsec__head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0 14px;
  margin-bottom: 4px;
  background: linear-gradient(to bottom, var(--bg) 72%, rgba(15, 15, 16, 0));
}

.catsec__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.catsec__title em {
  color: var(--red);
  font-style: normal;
}

.catsec__note {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  margin-top: 3px;
}

.catsec__subnote {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.catsec__count {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  white-space: nowrap;
  padding-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
}

/* ---------- banner promocional ---------- */
.promobanner {
  grid-column: 1/-1;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 36px;
}

.promobanner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  border-radius: var(--r);
}

.promobanner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 6, 6, .88) 0%, rgba(10, 6, 6, .72) 45%, rgba(10, 6, 6, .12) 100%);
}

.promobanner__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
}

.promobanner__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 12px;
}

.promobanner__kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--red);
  display: inline-block;
  flex: 0 0 auto;
}

.promobanner__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: .9;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .5);
  margin: 0;
}

.promobanner__script {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 66px);
  color: var(--red);
  line-height: .95;
  display: block;
  transform: rotate(-3deg);
  transform-origin: left center;
  margin: 6px 0 0 6px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .4);
}

@media(max-width:600px) {
  .promobanner {
    min-height: 180px;
    padding: 20px 18px;
    max-height: 220px;
  }

  .promobanner__kicker {
    font-size: 9.5px;
    letter-spacing: .10em;
    white-space: normal;
    line-height: 1.4;
  }

  .promobanner__copy {
    max-width: 65%;
  }

  .promobanner__bg {
    object-position: 70% center;
  }

  .promobanner__overlay {
    background: linear-gradient(90deg, rgba(10, 6, 6, .92) 0%, rgba(10, 6, 6, .80) 55%, rgba(10, 6, 6, .20) 100%);
  }
}

/* ---------- estado vacío (categoría sin productos) ---------- */
.emptycat {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 52px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.emptycat__mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: grid;
  place-items: center;
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
}

.emptycat h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.emptycat p {
  font-size: 13.5px;
  color: var(--ink-2);
  max-width: 340px;
  line-height: 1.5;
}

/* ---------- imagen real en tarjeta ---------- */
.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- carrusel en modal ---------- */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.carousel__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel__arr {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 10, 11, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .18s;
  z-index: 4;
  backdrop-filter: blur(4px);
}

.carousel__arr:hover {
  background: rgba(225, 27, 34, .85);
}

.carousel__arr--prev {
  left: 12px;
}

.carousel__arr--next {
  right: 12px;
}

.carousel__thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(10, 10, 11, .85);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
}

.carousel__thumb {
  width: 52px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .15);
  cursor: pointer;
  transition: border-color .18s;
  flex: 0 0 auto;
  padding: 0;
}

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

.carousel__thumb.is-active {
  border-color: var(--red);
}

/* ---------- tarjeta ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-s);
  transition: transform .16s, box-shadow .2s, border-color .2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: rgba(225, 27, 34, .4);
}

.card__media {
  position: relative;
  aspect-ratio: 16/10;
}

.card__body {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.card__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: .01em;
}

.card__desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 5px;
}

.card__price {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
  font-family: var(--display);
}

.card__from {
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-2);
  font-family: var(--font);
}

.card__was {
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-3);
  margin-right: 5px;
  text-decoration-thickness: 1.5px;
  font-family: var(--font);
}

.card__unit {
  font-style: normal;
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-2);
  font-family: var(--font);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 99px;
  white-space: nowrap;
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: var(--shadow-s);
}

.badge--hero {
  top: 14px;
  left: 14px;
  font-size: 12px;
}

.badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badges--hero {
  top: 14px;
  left: 14px;
}

.badge--multi {
  position: static;
  top: auto;
  left: auto;
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  border-radius: 12px;
  transition: transform .14s, background .2s, box-shadow .2s;
  font-family: var(--font);
}

.btn:active {
  transform: scale(.97);
}

.btn--add {
  background: var(--red);
  color: #fff;
  padding: 9px 14px;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(225, 27, 34, .34);
}

.btn--add:hover {
  background: var(--red-2);
}

.btn--add svg {
  margin-right: -2px;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  padding: 15px 18px;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(225, 27, 34, .3);
}

.btn--primary:hover {
  background: var(--red-2);
}

.btn--wa {
  background: var(--wa);
  color: #fff;
  padding: 15px 18px;
  font-size: 15px;
}

.btn--wa:hover {
  background: #1fb858;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 14px 18px;
  font-size: 14px;
}

.btn--ghost:hover {
  border-color: var(--red);
}

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

.btn__price {
  margin-left: auto;
  font-weight: 800;
  font-family: var(--display);
}

/* ---------- stepper ---------- */
.stepper {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border-radius: 11px;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
}

.stepper__btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background .15s;
  background: transparent;
}

.stepper__btn:hover {
  background: rgba(255, 255, 255, .08);
}

.stepper__val {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--display);
}

/* ================= PLACEHOLDER IMAGEN (dark) ================= */
.dish {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(115% 90% at 72% 12%, rgba(225, 27, 34, .28), transparent 58%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 13px),
    linear-gradient(155deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
}

.dish__glyph {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 82px);
  color: rgba(255, 255, 255, .13);
  line-height: 1;
  user-select: none;
}

.dish--tile .dish__glyph {
  font-size: 40px;
}

.dish--thumb .dish__glyph {
  font-size: 24px;
}

.dish__tag {
  position: absolute;
  left: 8px;
  top: 8px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .32);
  padding: 2px 6px;
  border-radius: 5px;
}

.dish--tile .dish__tag,
.dish--thumb .dish__tag {
  display: none;
}

/* ================= MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, .66);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade .2s ease;
  backdrop-filter: blur(4px);
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal__panel {
  background: var(--surface);
  width: 100%;
  max-width: 474px;
  max-height: 92dvh;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  animation: pop .26s cubic-bezier(.2, .8, .2, 1);
  position: relative;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}

.modal__close:hover {
  background: rgba(0, 0, 0, .7);
}

.modal__hero {
  position: relative;
  height: 260px;
  flex: 0 0 auto;
  overflow: hidden;
}

.modal__scroll {
  overflow-y: auto;
  padding: 20px 22px 8px;
  flex: 1 1 auto;
}

.modal__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.modal__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 8px;
}

.optblock {
  margin-top: 22px;
}

.optblock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.optblock__head h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.optblock__hint {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--surface-2);
  padding: 4px 9px;
  border-radius: 99px;
}

.optblock__head--err h4 {
  color: var(--red);
}

.optblock__hint--err {
  background: var(--red-soft);
  color: var(--red) !important;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 9px;
}

.seg {
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 13px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: border-color .18s, background .18s;
  background: var(--surface-2);
}

.seg:hover {
  border-color: rgba(255, 255, 255, .25);
}

.seg.is-active {
  border-color: var(--red);
  background: var(--red-soft);
}

.seg__label {
  font-weight: 700;
  font-size: 22px;
  font-family: var(--display);
  letter-spacing: .01em;
  line-height: 1;
}

.seg__unit {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
}

.seg__price {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.seg.is-active .seg__price {
  color: #ff7077;
}

.mods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modrow {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  transition: border-color .15s, background .15s;
  text-align: left;
}

.modrow:hover {
  border-color: rgba(255, 255, 255, .2);
}

.modrow.is-on {
  border-color: var(--red);
  background: var(--red-soft);
}

.check {
  width: 21px;
  height: 21px;
  border-radius: 6px;
  border: 2px solid var(--ink-3);
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
  transition: background .15s, border-color .15s;
}

.check.is-on {
  background: var(--red);
  border-color: var(--red);
}

.modrow__name {
  font-weight: 600;
  font-size: 13.5px;
  flex: 1;
}

.modrow__price {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-2);
}

.modal__foot {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.modal__foot .btn--primary {
  flex: 1;
}

/* ================= DRAWER ================= */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  backdrop-filter: blur(2px);
}

.scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: 420px;
  max-width: 92vw;
  z-index: 55;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  border-left: 1px solid var(--line);
  transition: transform .32s cubic-bezier(.3, .8, .3, 1);
  box-shadow: var(--shadow-l);
}

.drawer.is-open {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.drawer__head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
}

.drawer__close:hover {
  background: rgba(255, 255, 255, .1);
}

.drawer__list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 40px;
}

.drawer__emptyglyph {
  font-size: 46px;
}

.drawer__empty p {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
}

.drawer__empty span {
  font-size: 13px;
  color: var(--ink-2);
  max-width: 240px;
}

.drawer__clear {
  align-self: center;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 8px;
  text-decoration: underline;
}

.drawer__foot {
  flex: 0 0 auto;
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.drawer__total strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
}

.drawer__tax {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: -4px;
  line-height: 1.4;
}

/* ---------- línea carrito ---------- */
.cline {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px;
  position: relative;
}

.cline>.dish {
  position: relative;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 10px;
}

.cline__info {
  flex: 1;
  min-width: 0;
}

.cline__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
  padding-right: 20px;
}

.cline__meta {
  font-size: 11.5px;
  color: var(--ink-2);
  margin: 3px 0 9px;
  line-height: 1.4;
}

.cline__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cline__price {
  font-weight: 800;
  font-size: 15px;
  font-family: var(--display);
}

.cline__del {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--ink-3);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.cline__del:hover {
  color: var(--red);
  background: var(--red-soft);
}

/* ================= MOBILE BAR + WHATSAPP + TOAST ================= */
.mobilebar {
  display: none;
}

.wafloat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .42);
  transition: transform .16s, bottom .25s;
}

.wafloat:hover {
  transform: scale(1.06);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 70;
  background: #fff;
  color: #111;
  padding: 13px 20px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow-l);
  animation: toastin .3s cubic-bezier(.2, .8, .2, 1);
}

.toast svg {
  color: var(--red);
}

@keyframes toastin {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ================= HERO (banner de marca) ================= */
.hero {
  position: relative;
  margin: 18px 30px 4px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(120deg, #1a0608, #0c0c0d 60%);
  border: 1px solid var(--line);
  padding: 34px 36px;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 200px;
}

.hero__enso {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__enso-img {
  position: absolute;
  width: 140%;
  height: 140%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: .50;
  z-index: 0;
  pointer-events: none;
}

.hero__enso-food {
  position: absolute;
  width: 145%;
  height: 145%;
  object-fit: contain;
  object-position: center 50%;
  z-index: 2;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55));
  pointer-events: none;
}

.hero__badge {
  width: 136px;
  height: auto;
  flex: 0 0 auto;
  z-index: 2;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6));
  mix-blend-mode: normal;
}

.hero__txt {
  z-index: 2;
  flex: 1;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.hero__kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--red);
  display: inline-block;
  flex: 0 0 auto;
}

.hero__kicker b {
  color: var(--red);
  font-weight: 700;
}

.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 52px;
  line-height: .9;
  text-transform: uppercase;
  margin: 14px 0 0;
}

.hero__script {
  font-family: var(--script);
  font-weight: 400;
  font-size: 50px;
  color: var(--red);
  line-height: .92;
  display: block;
  transform: rotate(-3deg);
  transform-origin: left center;
  margin: 4px 0 0 4px;
}

.hero__sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 20px;
  max-width: 430px;
  line-height: 1.5;
}

.hero__sub b {
  color: var(--ink);
}

/* ================= FOOTER ================= */
.sucursales {
  padding: 20px 30px 60px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  background: var(--bg-2);
}

.sucursales h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.sucursales__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 11px;
}

.sucard {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
}

.sucard .dot {
  flex: 0 0 auto;
}

.sucard strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.sucard span {
  font-size: 12px;
  color: var(--ink-2);
}

.sucursales__legal {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 16px;
}

.sucursales__grid {
  align-items: start;
}

/* GPS link dentro de sucard */
.sucard__gps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .15);
  padding-bottom: 1px;
  transition: color .18s;
}

.sucard__gps:hover {
  color: var(--ink-2);
}

.sucard__gps svg {
  color: var(--red);
  flex: 0 0 auto;
}

/* sucard variante reseñas */
.sucard--reviews {
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 12px;
}

.sucard__rev-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sucard__rev-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
}

.sucard__rev-link {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  text-decoration: none;
  transition: color .18s;
}

.sucard__rev-link:hover {
  color: var(--ink-2);
}

/* ================= MENÚ SÁNDWICH ================= */
.hamb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}

.hamb:hover {
  border-color: rgba(255, 255, 255, .28);
  background: var(--surface);
}

.hamb span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

.sitemenu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 320px;
  max-width: 88vw;
  z-index: 200;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.3, .8, .3, 1);
  border-right: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-l);
}

.sitemenu.is-open {
  transform: none;
}

.sitemenu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 70px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}

.sitemenu__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .15s;
}

.sitemenu__close:hover {
  background: rgba(255, 255, 255, .12);
}

.sitemenu__links {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 16px;
  gap: 4px;
  overflow-y: auto;
}

.smlink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border-radius: 14px;
  transition: background .18s;
  text-decoration: none;
  color: var(--ink);
}

.smlink:hover {
  background: var(--surface);
}

.smlink.is-active {
  background: var(--surface);
}

.smlink__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .04em;
  flex: 0 0 22px;
  line-height: 1;
}

.smlink__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .02em;
  flex: 1;
  line-height: 1;
}

.smlink.is-active .smlink__label {
  color: var(--red);
}

.smlink__desc {
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

.smlink__arr {
  color: var(--ink-3);
  flex: 0 0 auto;
  transition: transform .2s;
}

.smlink:hover .smlink__arr {
  transform: translateX(4px);
  color: var(--ink-2);
}

.smlink.is-active .smlink__arr {
  color: var(--red);
}

.sitemenu__foot {
  flex: 0 0 auto;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sitemenu__footcol {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sitemenu__lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
}

.sitemenu__footcol p {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.sitemenu__scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .62);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.sitemenu__scrim.is-open {
  opacity: 1;
  visibility: visible;
}

/* ================= RESPONSIVE ================= */
@media (max-width:760px) {
  .topbar {
    padding: 0 13px;
    gap: 9px;
    height: 60px;
  }

  .topbar__loc {
    display: none;
  }

  .switcher span {
    display: none;
  }

  .brand__badge {
    width: 40px;
    height: 40px;
  }

  .brand__word {
    font-size: 18px;
  }

  .brand__sub {
    font-size: 8.5px;
    letter-spacing: .34em;
  }

  .rail {
    flex-basis: 94px;
    padding: 12px 9px;
    gap: 9px;
  }

  .railitem {
    height: 78px;
    border-radius: 12px;
  }

  .railitem__name {
    font-size: 9.5px;
    padding: 12px 5px 7px;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .catsec {
    padding: 2px 15px 12px;
  }

  .catsec__title {
    font-size: 25px;
  }

  .catsec__head {
    padding: 16px 0 11px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .card__media {
    flex: 0 0 116px;
    aspect-ratio: auto;
  }

  .card__body {
    padding: 11px 13px;
  }

  .card__name {
    font-size: 16px;
  }

  .badges {
    top: 6px;
    left: 6px;
    gap: 3px;
  }

  .badge {
    font-size: 9px;
    padding: 3px 7px;
  }

  .card__price {
    font-size: 15px;
  }

  .btn--add {
    padding: 7px 10px;
    font-size: 11.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .card__foot {
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .card__price {
    font-size: 14px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .content {
    padding-bottom: 80px;
  }

  .hero {
    margin: 13px 15px 2px;
    padding: 22px 20px;
    min-height: 0;
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero__badge {
    width: 90px;
    height: auto;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__script {
    font-size: 38px;
  }

  .hero__enso {
    width: min(55vw, 180px);
    height: min(55vw, 180px);
    right: -5px;
    top: 10px;
    transform: none;
    opacity: .35;
  }

  .hero__txt {
    position: relative;
    z-index: 3;
  }

  .hero__kicker {
    font-size: 9px;
    letter-spacing: .12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .hero__sub {
    display: none;
  }

  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal__panel {
    max-width: none;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
    animation: sheet .3s cubic-bezier(.2, .8, .2, 1);
  }

  @keyframes sheet {
    from {
      transform: translateY(100%);
    }

    to {
      transform: none;
    }
  }

  .mobilebar {
    display: flex;
    align-items: center;
    gap: 11px;
    position: fixed;
    left: 13px;
    right: 13px;
    bottom: calc(13px + env(safe-area-inset-bottom));
    z-index: 45;
    padding: 13px 16px;
    border-radius: 15px;
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 30px rgba(225, 27, 34, .4);
  }

  .mobilebar__count {
    background: rgba(0, 0, 0, .25);
    min-width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    font-family: var(--display);
  }

  .mobilebar__label {
    font-weight: 700;
    font-size: 15px;
  }

  .mobilebar__total {
    margin-left: auto;
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
  }

  .wafloat {
    width: 50px;
    height: 50px;
    bottom: 86px;
    right: 13px;
  }

  .wafloat--up {
    bottom: 142px;
  }

  .sucursales {
    padding: 16px 15px 40px;
  }

  .lchip .lchip__txt {
    display: none;
  }

  .lchip {
    padding: 9px 10px;
  }

  .drawer__loyalty-invite {
    font-size: 12px;
    padding: 10px 13px;
  }
}

/* ===================== LOYALTY / FIDELIZACIÓN ===================== */

/* chip en topbar */
.lchip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 99px;
  transition: .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.lchip:hover {
  color: var(--ink);
  border-color: var(--red);
  background: var(--red-soft);
}

.lchip svg {
  color: var(--red);
  flex-shrink: 0;
}

.lchip--active {
  border-color: rgba(39, 192, 106, .3);
  background: rgba(39, 192, 106, .08);
  color: #3ad07e;
  cursor: default;
  pointer-events: none;
}

.lchip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27c06a;
  box-shadow: 0 0 0 3px rgba(39, 192, 106, .2);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(39, 192, 106, .2);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(39, 192, 106, .08);
  }
}

/* panel de loyalty modal (más pequeño) */
.modal__panel--sm {
  max-width: 420px;
}

.modal__panel--sm .modal__scroll {
  padding: 0;
}

/* top del modal */
.loyalty-modal__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 28px 0;
}

.loyalty-modal__logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .5));
  flex-shrink: 0;
}

.loyalty-modal__badge {
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  padding: 5px 14px;
  border-radius: 99px;
  text-transform: uppercase;
}

/* título y copy */
.loyalty-modal__title {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  padding: 20px 28px 6px;
  letter-spacing: .02em;
}

.loyalty-modal__sub {
  text-align: center;
  color: var(--ink-2);
  font-size: 14px;
  padding: 0 32px 14px;
  line-height: 1.55;
}

.loyalty-modal__amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(39, 192, 106, .1);
  border: 1px solid rgba(39, 192, 106, .2);
  border-radius: 12px;
  margin: 0 24px 18px;
  padding: 11px 16px;
}

.loyalty-modal__amount-val {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: #3ad07e;
}

.loyalty-modal__amount-txt {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}

.loyalty-modal__micro {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  padding: 0 28px 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

/* botones sociales */
.loyalty-modal__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px 14px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
  transition: .18s;
  min-height: 50px;
  position: relative;
}

.btn-social--google {
  background: #fff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
}

.btn-social--google:hover:not(:disabled) {
  background: #f8f8f8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.btn-social--fb {
  background: #1877F2;
  color: #fff;
  border: none;
}

.btn-social--fb:hover:not(:disabled) {
  background: #166fe5;
  box-shadow: 0 4px 18px rgba(24, 119, 242, .4);
}

.btn-social:disabled {
  opacity: .65;
  cursor: wait;
}

.btn-social__spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 0, 0, .12);
  border-top-color: currentColor;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loyalty-modal__legal {
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  padding: 0 24px 26px;
  line-height: 1.55;
}

.loyalty-modal__legal a {
  color: var(--ink-2);
  text-decoration: underline;
}

/* success state */
.loyalty-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 32px 40px;
  text-align: center;
}

.loyalty-success__icon {
  font-size: 56px;
  line-height: 1;
}

.loyalty-success h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .02em;
}

.loyalty-success p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 280px;
}

.loyalty-success strong {
  color: #3ad07e;
}

.loyalty-success__note {
  background: rgba(39, 192, 106, .1);
  border: 1px solid rgba(39, 192, 106, .22);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #3ad07e;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  justify-content: center;
}

/* loyalty en el drawer */
.drawer__notes {
  margin-bottom: 10px;
}

.drawer__notes-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.drawer__notes-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 13px;
  font-family: var(--font);
  resize: none;
  transition: .2s;
  box-sizing: border-box;
}

.drawer__notes-input::placeholder {
  color: var(--ink-3);
}

.drawer__notes-input:focus {
  outline: none;
  border-color: var(--red);
  background: var(--surface);
}

display:flex;
align-items:center;
gap:8px;
background:rgba(39, 192, 106, .09);
border:1px solid rgba(39, 192, 106, .2);
border-radius:10px;
padding:10px 14px;
margin-bottom:10px;
font-size:13px;
font-weight:600;
color:#3ad07e;
}

.drawer__loyalty svg {
  flex-shrink: 0;
}

.drawer__discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}

.drawer__discount-val {
  color: #3ad07e;
  font-weight: 700;
  font-size: 14px;
}

.drawer__loyalty-invite {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: var(--red-soft);
  border: 1px solid rgba(225, 27, 34, .2);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  margin-bottom: 12px;
  transition: .18s;
}

.drawer__loyalty-invite:hover {
  background: rgba(225, 27, 34, .18);
}

.drawer__loyalty-invite svg {
  color: var(--red);
  flex-shrink: 0;
}