:root {
  --bg-page: #f6f6f7;
  --ink: #111111;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --card-white: #ffffff;
  --line-subtle: rgba(17, 17, 17, 0.07);
  --line-faint: rgba(17, 17, 17, 0.05);
  --purple-soft: #e0d7ff;
  --blue-soft: #d1eefc;
  --mint: #d4f5e9;
  --hero-grad: linear-gradient(110deg, #d1eefc 0%, #d4f5e9 55%, #e8f8f0 100%);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 28px rgba(17, 17, 17, 0.06);
  --shadow-card: 0 4px 24px rgba(17, 17, 17, 0.055), 0 1px 3px rgba(17, 17, 17, 0.04);
  --shadow-card-hover: 0 12px 36px rgba(17, 17, 17, 0.08), 0 2px 6px rgba(17, 17, 17, 0.05);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 72px;
  --fab-size: 56px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.45;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 24px);
}

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

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

:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.app-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 16px 0;
}

.hero {
  background: var(--hero-grad);
  border-radius: var(--radius-lg);
  padding: 20px 16px 16px;
  box-shadow: var(--shadow-soft);
}

.hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.hero__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 220px;
}

.hero__link {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 4px;
}

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

.hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.location-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 44px;
  max-width: 200px;
  border-radius: 12px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.location-chip:hover {
  background: #fff;
}

.location-chip__label {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1.15;
}

.location-chip__value {
  margin-top: 2px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-white);
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-btn:hover {
  background: #f3f3f3;
}

.cart-btn--sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.cart-btn__badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: #c62828;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

.cart-btn__badge[hidden] {
  display: none !important;
}

.section-title--with-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title__meals-label {
  flex: 1;
  min-width: 0;
}

.section-title__desktop-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-kind {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-bottom: 14px;
}

.menu-kind__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.menu-kind__toggle {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 3px;
  gap: 2px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.menu-kind__btn {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}

.menu-kind__btn:hover {
  color: var(--ink);
}

.menu-kind__btn--active {
  background: var(--ink);
  color: #fff;
}

.menu-kind__btn--active:hover {
  color: #fff;
}

.week-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.week-strip::-webkit-scrollbar {
  height: 4px;
}

.day-chip {
  flex: 0 0 auto;
  min-width: 56px;
  border: 1px solid var(--line-faint);
  background: var(--card-white);
  border-radius: var(--radius-md);
  padding: 10px 8px 9px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.day-chip:hover {
  transform: translateY(-1px);
  border-color: var(--line-subtle);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.07);
}

.day-chip__date {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.day-chip__dow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.day-chip--active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.day-chip--active .day-chip__dow {
  color: rgba(255, 255, 255, 0.85);
}

.day-chip--active .day-chip__ring {
  margin: 4px auto 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-highlights {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

@media (min-width: 640px) {
  .plan-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

.plan-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px 17px;
  border-radius: calc(var(--radius-md) + 2px);
  background: var(--card-white);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-card);
}

.plan-highlight__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: linear-gradient(145deg, #eef8fc 0%, #e8f5ef 100%);
  border: 1px solid var(--line-faint);
}

.plan-highlight__icon svg {
  display: block;
}

.plan-highlight__body {
  flex: 1;
  min-width: 0;
}

.plan-highlight__title {
  margin: 0 0 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.plan-highlight__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.plan-highlight__text strong {
  color: var(--ink);
  font-weight: 600;
}

.main {
  margin-top: 24px;
}

.section-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  letter-spacing: -0.02em;
}

.section-title__day {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--muted);
}

.section-title__kind {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--muted);
}

.section-title--desktop .section-title__kind::before {
  content: "· ";
}

.section-title--desktop {
  display: none;
}

.meal-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .meal-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.meal-card {
  background: var(--card-white);
  border-radius: calc(var(--radius-md) + 2px);
  overflow: visible;
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .meal-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(17, 17, 17, 0.1);
    transform: translateY(-2px);
  }
}

.meal-card__media {
  position: relative;
  width: min(220px, 78%);
  aspect-ratio: 1;
  margin: 16px auto 4px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ececec 0%, #e2e2e2 100%);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.1);
  border: 3px solid #fff;
  outline: 1px solid rgba(13, 148, 136, 0.14);
}

.meal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Delivery + price: two-column professional meta strip */
.meal-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: stretch;
  gap: 0 12px;
  margin-top: 2px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line-faint);
}

.meal-meta__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.meal-meta__cell--delivery {
  padding-right: 4px;
}

.meal-meta__cell--price {
  text-align: right;
  align-items: flex-end;
}

.meal-meta__rule {
  width: 1px;
  align-self: stretch;
  min-height: 2.25rem;
  background: var(--line-subtle);
  margin: 2px 0;
}

.meal-meta__label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.meal-meta__value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.meal-meta__cell--price .meal-meta__value {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.meal-meta--compact {
  padding: 10px 0 0;
  margin-top: 4px;
  gap: 0 10px;
  grid-template-columns: 1fr auto auto;
}

.meal-meta--compact .meal-meta__label {
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
}

.meal-meta--compact .meal-meta__value {
  font-size: 0.6875rem;
}

.meal-meta--compact .meal-meta__cell--price .meal-meta__value {
  font-size: 0.8125rem;
}

.meal-meta--compact .meal-meta__rule {
  min-height: 1.85rem;
  margin: 0;
}

@media (max-width: 360px) {
  .meal-meta {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }

  .meal-meta__rule {
    display: none;
  }

  .meal-meta__cell--price {
    text-align: left;
    align-items: flex-start;
    padding-top: 2px;
    border-top: 1px solid var(--line-faint);
  }
}

.meal-card__badges {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
}

.meal-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.meal-card__slot {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 6px;
  background: #f3f3f5;
  border: 1px solid var(--line-faint);
}

.meal-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 4px 0 0;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

h3.meal-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
}

.btn-book {
  width: 100%;
  margin-top: 4px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 45%, #4338ca 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 11px 14px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 3px 12px rgba(79, 70, 229, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.15s ease;
}

.btn-book:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(79, 70, 229, 0.45);
}

.btn-book:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn-book:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.35);
  box-shadow: none;
}

.btn-book--added {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 48%, #15803d 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.38);
}

.btn-book--added:hover {
  filter: brightness(1.05);
  box-shadow: 0 5px 18px rgba(22, 163, 74, 0.48);
}

.main__desktop-week {
  display: none;
  margin-top: 32px;
}

@media (min-width: 900px) {
  .app-shell {
    padding: 24px 24px 0;
  }

  .hero__subtitle {
    max-width: none;
  }

  .main {
    display: block;
  }

  .main__mobile-panel .section-title {
    display: none;
  }

  .main__mobile-panel .meal-row {
    display: none;
  }

  .section-title--desktop {
    display: block;
  }

  .main__desktop-week {
    display: block;
  }

  .week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px 12px;
    align-items: start;
  }

  .week-col {
    background: var(--card-white);
    border-radius: calc(var(--radius-md) + 2px);
    padding: 14px 10px 16px;
    border: 1px solid var(--line-subtle);
    box-shadow: var(--shadow-card);
    min-height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .week-col:hover {
      box-shadow: var(--shadow-card-hover);
      border-color: rgba(17, 17, 17, 0.1);
    }
  }

  .week-col__head {
    text-align: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line-faint);
  }

  .week-col__dow {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--muted-2);
  }

  .week-col__date {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-top: 2px;
  }

  .week-col__meals {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .meal-compact {
    border-radius: 12px;
    overflow: visible;
    border: 1px solid var(--line-subtle);
    background: var(--card-white);
    box-shadow: 0 2px 12px rgba(17, 17, 17, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .meal-compact:hover {
      box-shadow: 0 8px 22px rgba(17, 17, 17, 0.07);
      transform: translateY(-1px);
    }
  }

  .meal-compact__img {
    width: min(100%, 112px);
    aspect-ratio: 1;
    margin: 12px auto 0;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(145deg, #ececec 0%, #e2e2e2 100%);
    box-shadow: 0 3px 12px rgba(17, 17, 17, 0.08);
    border: 2px solid #fff;
    outline: 1px solid rgba(13, 148, 136, 0.12);
  }

  .meal-compact__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .meal-compact__meta {
    padding: 10px 11px 12px;
  }

  .meal-compact__slot {
    display: inline-flex;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    padding: 4px 8px;
    border-radius: 5px;
    background: #f3f3f5;
    border: 1px solid var(--line-faint);
  }

  .meal-compact__name {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 8px;
    line-height: 1.4;
    letter-spacing: -0.015em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .meal-compact__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
  }

  .meal-compact__pills .pill {
    font-size: 0.625rem;
    padding: 3px 7px;
  }

  .btn-book--sm {
    width: 100%;
    margin-top: 10px;
    padding: 9px 10px;
    font-size: 0.75rem;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.28);
  }

  .btn-book--sm.btn-book--added {
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.3);
  }
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--nav-h);
  padding: 0 max(16px, env(safe-area-inset-left)) env(safe-area-inset-bottom, 0)
    max(16px, env(safe-area-inset-right));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid #ececec;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding-bottom: 8px;
  z-index: 50;
  max-width: 1280px;
  margin: 0 auto;
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.65rem;
  color: var(--muted);
  padding: 4px 0;
  max-width: 72px;
}

.bottom-nav__item--active {
  color: var(--ink);
  font-weight: 600;
}

.bottom-nav__icon {
  font-size: 1.1rem;
  line-height: 1;
}

.bottom-nav__fab-wrap {
  position: relative;
  width: var(--fab-size);
  flex: 0 0 var(--fab-size);
  height: 1px;
}

.fab {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.fab:hover {
  opacity: 0.95;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 32px;
  }

  .bottom-nav {
    position: relative;
    margin-top: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #ececec;
    max-width: none;
  }

  .bottom-nav__fab-wrap {
    bottom: auto;
  }

  .fab {
    bottom: 50%;
    transform: translate(-50%, 35%);
  }
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.modal__dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.modal__body {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.order-review-modal__dialog {
  max-width: 520px;
  padding: 22px;
}

.order-review-modal__body {
  margin-bottom: 14px;
}

.order-review-modal__details {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa;
  max-height: min(44vh, 420px);
  overflow: auto;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.order-review-modal__grid {
  display: grid;
  gap: 6px;
}

.order-review-modal__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.order-review-modal__row strong {
  color: var(--ink);
  text-align: right;
}

.order-review-modal__items {
  margin: 0;
  padding: 0 0 0 16px;
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--ink);
}

.order-review-modal__items li {
  line-height: 1.35;
}

.order-review-modal__actions .btn {
  min-width: 130px;
}

.btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
}

.btn--ghost {
  background: #f3f3f3;
  color: var(--ink);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.location-modal[hidden] {
  display: none;
}

.location-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 16px;
}

.location-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.location-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.location-modal__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.location-modal__text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.location-modal__field {
  margin-bottom: 10px;
}

.location-modal__field label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.location-modal__field select {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  font-size: 0.9rem;
  font-family: inherit;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
}

.location-modal__field input {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  font-size: 0.9rem;
  font-family: inherit;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
}

.location-modal__actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.auth-modal__actions {
  justify-content: space-between;
}

.auth-modal__hint {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.auth-modal__message--error {
  color: #d93025;
  font-weight: 500;
}

/* In-app notice (replaces alert for booking rules) */
.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
}

.notice-modal[hidden] {
  display: none !important;
}

.notice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: noticeBackdropIn 0.22s ease-out forwards;
}

@keyframes noticeBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.notice-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 28px 24px 24px;
  border-radius: 18px;
  background: var(--card-white);
  border: 1px solid var(--line-subtle);
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.18), 0 8px 24px rgba(17, 17, 17, 0.08);
  text-align: center;
  animation: noticeDialogIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.notice-modal--error .notice-modal__dialog {
  border-color: #f8d7da;
  box-shadow: 0 24px 80px rgba(140, 26, 40, 0.14), 0 8px 24px rgba(140, 26, 40, 0.08);
}

.notice-modal--success .notice-modal__dialog {
  border-color: #cdeed8;
  box-shadow: 0 24px 80px rgba(22, 101, 52, 0.14), 0 8px 24px rgba(22, 101, 52, 0.08);
}

@keyframes noticeDialogIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notice-modal__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a4d6e;
  background: linear-gradient(160deg, #e3f2fd 0%, #e8f5e9 100%);
  border: 1px solid var(--line-faint);
}

.notice-modal--error .notice-modal__icon {
  color: #9f1239;
  background: linear-gradient(160deg, #fde7ef 0%, #fee2e2 100%);
}

.notice-modal--success .notice-modal__icon {
  color: #166534;
  background: linear-gradient(160deg, #dcfce7 0%, #ecfdf3 100%);
}

.notice-modal__icon svg {
  display: block;
}

.notice-modal__title {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.notice-modal__body {
  margin: 0 0 22px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
  white-space: pre-line;
}

.notice-modal--success .notice-modal__body {
  text-align: center;
  color: #166534;
  font-weight: 500;
}

.notice-modal__action {
  width: 100%;
  min-height: 48px;
  font-size: 0.9375rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.12);
}

.notice-modal__action:hover {
  opacity: 0.96;
}

.booking-drawer[hidden] {
  display: none;
}

.booking-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
}

.booking-drawer:not([hidden]) {
  pointer-events: auto;
}

.booking-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: bookingFadeIn 0.35s ease-out forwards;
}

.booking-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 400px);
  max-width: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  animation: bookingSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (max-width: 480px) {
  .booking-drawer__panel {
    width: 100%;
    max-width: 100%;
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

@keyframes bookingFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes bookingSlideIn {
  to {
    transform: translateX(0);
  }
}

.booking-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.booking-drawer__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.booking-drawer__heading {
  min-width: 0;
}

.booking-drawer__head-actions {
  margin-left: auto;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.booking-drawer__auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.8rem;
}

.booking-drawer__auth[hidden] {
  display: none !important;
}

.booking-drawer__auth-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.booking-drawer__logged-user {
  margin: 0;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}

.booking-drawer__logout {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
}

.booking-drawer__logout:hover {
  opacity: 0.8;
}

.booking-drawer__close {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  padding: 4px 8px;
  margin: -4px -6px 0 0;
  border-radius: 8px;
}

.booking-drawer__close:hover {
  color: var(--ink);
  background: #f3f3f3;
}

.booking-drawer__intro {
  margin: 0 0 14px;
  flex-shrink: 0;
}

.booking-drawer__rules {
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: disc;
  font-size: 0.8125rem;
  color: var(--ink);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-drawer__rules li {
  padding-left: 2px;
}

.booking-drawer__rule-key {
  font-weight: 700;
  color: var(--ink);
}

.booking-drawer__more {
  margin-top: 10px;
  border-radius: 10px;
  background: #f5f5f5;
  padding: 0 10px;
  font-size: 0.8125rem;
}

.booking-drawer__more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 0;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.booking-drawer__more summary::-webkit-details-marker {
  display: none;
}

.booking-drawer__more summary::after {
  content: "";
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.booking-drawer__more[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.booking-drawer__more p {
  margin: 0 0 12px;
  padding-top: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.8125rem;
}

.booking-summary {
  margin: 0 0 12px;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-md);
  background: #fcfcfc;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.booking-summary__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

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

.booking-summary__back {
  border: 1px solid #ddd;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.booking-summary__back:hover {
  background: #f6f6f6;
}

.booking-summary__subtext {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.booking-summary__selected-dates {
  margin: -2px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.booking-summary__quick-qty {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.booking-summary__quick-qty-title {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-summary__quick-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.booking-summary__quick-qty-select {
  min-height: 30px;
  min-width: 58px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  padding: 4px 6px;
}

.booking-summary__dates {
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.booking-summary__calendar-month {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.booking-summary__calendar-head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 6px;
}

.booking-summary__calendar-weekday {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.booking-summary__calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.booking-summary__date-chip {
  border: 1px solid #ddd;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 6px 4px;
  min-height: 52px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font-size: 0.7rem;
  font-weight: 600;
}

.booking-summary__date-chip-dow {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.booking-summary__date-chip-num {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.booking-summary__date-chip--active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.booking-summary__date-chip--expandable {
  border-color: #b6b6b6;
  background: #fff;
}

.booking-summary__date-chip--muted {
  opacity: 0.45;
}

.booking-summary__meals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 210px;
  overflow-y: auto;
}

.booking-summary__meal {
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
}

.booking-summary__meal--hint {
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

.booking-summary__meal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.booking-summary__slot-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

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

.booking-summary__slot-badge {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.booking-summary__qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.booking-summary__qty-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.booking-summary__qty-select {
  min-height: 34px;
  min-width: 72px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  padding: 4px 8px;
  appearance: auto;
  pointer-events: auto;
}

.booking-summary__meal-name {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.booking-summary__meal-price {
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.booking-summary__pricing {
  border-top: 1px solid #ececec;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-summary__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.booking-summary__price-row strong {
  color: var(--ink);
}

.booking-summary__price-row--total {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px dashed #ddd;
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-summary__payment {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ececec;
  display: grid;
  gap: 8px;
}

.booking-summary__address {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ececec;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.booking-summary__add-address-btn {
  width: 100%;
}

.booking-summary__add-address {
  border: 1px dashed #d8d8d8;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 8px;
  background: #fafafa;
}

.booking-summary__save-address-btn {
  width: 100%;
}

.booking-summary__payment-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.booking-summary__payment-select {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.875rem;
  font-family: inherit;
  background: #fff;
}

#checkoutAddressSelect {
  display: block;
  font-size: 0.78rem;
}

#checkoutAddressSelect option {
  font-size: 0.78rem;
}

.booking-summary__place-order {
  width: 100%;
}

.booking-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-drawer__list[hidden],
.booking-summary[hidden] {
  display: none !important;
}

.booking-drawer__item {
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-md);
  padding: 10px 12px 10px 10px;
  background: #fafafa;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.booking-drawer__item-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.booking-drawer__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booking-drawer__item-thumb--empty {
  background: linear-gradient(135deg, #ececec 0%, #e0e0e0 100%);
}

.booking-drawer__item-main {
  flex: 1;
  min-width: 0;
}

.booking-drawer__item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-drawer__item-slot-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--ink);
  padding: 4px 8px;
  border-radius: 6px;
}

.booking-drawer__item-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  flex: 1;
  min-width: 0;
}

.booking-drawer__item-meal {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

@media (min-width: 380px) {
  .booking-drawer__item-thumb {
    width: 80px;
    height: 80px;
  }

  .booking-drawer__item-meal {
    font-size: 1rem;
  }
}

.booking-drawer__item-kind {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}

.booking-drawer__item--hint {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  font-style: normal;
  background: #fff;
  border-style: dashed;
  line-height: 1.45;
}

.booking-drawer__item--hint strong {
  font-weight: 700;
  color: var(--ink);
}

.booking-drawer__item--footer {
  margin-top: 4px;
  list-style: none;
}

.booking-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.booking-drawer__actions .btn {
  min-height: 48px;
  font-size: 0.9375rem;
}

/* Looks inactive but stays clickable so we can explain why confirm is not available yet */
.booking-drawer__confirm--blocked {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}

.booking-drawer__confirm--blocked:hover {
  opacity: 0.52;
  transform: none;
}

.day-chip--in-booking {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035), 0 0 0 2px rgba(17, 17, 17, 0.28);
}

.week-col--in-booking {
  box-shadow: var(--shadow-card), 0 0 0 2px rgba(17, 17, 17, 0.18);
}

.bottom-nav__item--button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bottom-nav__item--button:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

#profileNavBtn.bottom-nav__item {
  color: #0f766e;
  font-weight: 600;
}

#profileNavBtn.bottom-nav__item:hover {
  color: #0d9488;
}

.profile-modal__dialog {
  max-width: 520px;
  width: calc(100vw - 32px);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 148, 136, 0.18);
  background: linear-gradient(165deg, #f0fdfa 0%, #ffffff 38%, #fafafa 100%);
  box-shadow: 0 20px 50px rgba(13, 148, 136, 0.12), 0 8px 28px rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.profile-modal__dialog::before {
  content: "";
  display: block;
  height: 5px;
  margin: -20px -20px 14px -20px;
  background: linear-gradient(90deg, #5eead4, #14b8a6, #059669);
  flex-shrink: 0;
}

.profile-modal__dialog .location-modal__title {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f766e;
  margin-bottom: 6px;
}

.profile-modal__dialog .location-modal__text {
  color: #4b5563;
  line-height: 1.5;
}

.profile-modal__dialog .location-modal__actions {
  margin-top: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(13, 148, 136, 0.1);
}

.profile-modal__dialog .btn--primary {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 40%, #0d9488 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.profile-modal__dialog .btn--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 22px rgba(13, 148, 136, 0.42);
}

.profile-modal__dialog .btn--primary:active {
  transform: scale(0.98);
}

.profile-modal__intro {
  margin-bottom: 10px;
}

.profile-modal__scroll {
  overflow: auto;
  flex: 1;
  min-height: 120px;
  max-height: 56vh;
  margin: 6px 0 14px;
  padding: 2px 6px 8px 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 148, 136, 0.35) transparent;
}

.profile-modal__loading,
.profile-modal__empty,
.profile-modal__error {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  padding: 12px 8px;
  text-align: center;
}

.profile-modal__error {
  color: #b91c1c;
}

.profile-order {
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-left: 4px solid #14b8a6;
}

.profile-order__head {
  margin-bottom: 10px;
}

.profile-order__id {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #134e4a;
}

.profile-order__when {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 3px;
}

.profile-order__meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 5px;
  text-transform: capitalize;
}

.profile-order__address-block {
  border-top: none;
  padding: 12px 12px 10px;
  margin-top: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 245, 233, 0.55) 0%, rgba(209, 238, 252, 0.35) 100%);
  border: 1px solid rgba(13, 148, 136, 0.12);
}

.profile-order__address-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f766e;
}

.profile-order__address {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 6px;
  word-break: break-word;
  color: #1e293b;
}

.profile-order__loc {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 6px;
}

.profile-order__items-wrap {
  margin-top: 12px;
}

.profile-order__items-title {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #0f766e;
}

.profile-order__no-items {
  margin: 8px 0 0;
  font-size: 0.84rem;
}

.profile-order__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-order__item {
  font-size: 0.82rem;
  padding: 12px 0;
  border-top: 1px solid rgba(13, 148, 136, 0.1);
}

.profile-order__item:first-child {
  border-top: none;
  padding-top: 2px;
}

.profile-order__item-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.profile-order__item-details {
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
}

.profile-order__item-sep {
  margin: 0 5px;
  opacity: 0.65;
}

.profile-order__item-pricing {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.profile-order__item-line {
  font-weight: 600;
  color: #134e4a;
}

.profile-order__review {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(13, 148, 136, 0.2);
}

.profile-order__review--done {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #86efac;
}

.profile-order__review-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #14532d;
  margin-bottom: 6px;
}

.profile-order__stars {
  color: #d97706;
  letter-spacing: 2px;
  margin-left: 6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.profile-order__review-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #365314;
}

.profile-order__field {
  display: block;
  margin-bottom: 10px;
}

.profile-order__field span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.profile-order__select,
.profile-order__textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(13, 148, 136, 0.22);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-order__select:focus,
.profile-order__textarea:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.profile-order__submit {
  margin-top: 10px;
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  font-size: 0.9rem;
}
