/* Catálogo y carrito — pantalla completa */
.page-app {
  width: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--black);
}

:root {
  --nav-height: 72px;
  --header-height: 56px;
}

.app-shell {
  width: 100%;
  min-height: 100dvh;
}

.app {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  background: var(--black);
}

.header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: var(--header-height);
  padding: 8px 16px 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 38px;
}

.header__tagline {
  margin: 4px 0 0;
  max-width: 320px;
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: center;
  color: var(--text-muted);
}

.header__guest {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.header__login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--turquoise);
  color: #0d0d0d;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header__login-btn:hover {
  background: var(--turquoise-dark);
  color: #fff;
}

.header .brand {
  font-size: 1.5rem;
}

@media (max-width: 480px) {
  .header__row {
    flex-direction: column;
    gap: 6px;
  }

  .header__guest {
    position: static;
    transform: none;
  }
}

.header__logout {
  position: absolute;
  right: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.header__logout:hover {
  color: var(--turquoise);
  border-color: var(--turquoise-dark);
}

.header__user {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid rgba(29, 185, 179, 0.35);
  border-radius: 50%;
  background: rgba(29, 185, 179, 0.1);
  color: var(--turquoise);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.header__user:hover {
  background: rgba(29, 185, 179, 0.2);
  border-color: var(--turquoise);
}

.header__user-icon {
  width: 20px;
  height: 20px;
}

.header__user-name {
  display: none;
}

.main {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.panel--active {
  display: flex;
}

.panel#panel-catalog {
  overflow-y: auto;
  padding: 12px 16px calc(var(--nav-height) + 16px);
}

.whatsapp-assist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(29, 185, 179, 0.45);
  background: linear-gradient(
    135deg,
    rgba(29, 185, 179, 0.16) 0%,
    rgba(212, 175, 55, 0.1) 100%
  );
  color: var(--turquoise);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-assist:hover,
.whatsapp-assist:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: linear-gradient(
    135deg,
    rgba(29, 185, 179, 0.22) 0%,
    rgba(212, 175, 55, 0.18) 100%
  );
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
  outline: none;
}

.whatsapp-assist:active {
  transform: scale(0.98);
}

.whatsapp-assist__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(29, 185, 179, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--turquoise);
}

.whatsapp-assist:hover .whatsapp-assist__icon,
.whatsapp-assist:focus-visible .whatsapp-assist__icon {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
}

.whatsapp-assist__text {
  line-height: 1.2;
}

.panel#panel-cart {
  padding-bottom: var(--nav-height);
}

.catalog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legume-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legume-card__image {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(29, 185, 179, 0.08);
  border: 2px solid var(--turquoise, #1db9b3);
  border-radius: 10px;
  color: var(--turquoise);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(29, 185, 179, 0.25);
}

.legume-card__image svg {
  width: 28px;
  height: 28px;
  opacity: 0.85;
}

.legume-card__image span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legume-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.legume-card__body {
  flex: 1;
  min-width: 0;
}

.legume-card__name {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--turquoise);
  line-height: 1.2;
}

.legume-card__prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legume-card__price {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.legume-card__price--unit {
  font-size: 0.8rem;
  color: var(--gold-muted);
  font-weight: 500;
}

.catalog-loading,
.catalog-error {
  margin: 0 0 12px;
  padding: 0 4px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.catalog-error {
  color: #e57373;
}

.legume-card__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.legume-card__add {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.legume-card__add:hover {
  background: #e0c04a;
}

.legume-card__add:active {
  transform: scale(0.94);
}

.legume-card__add svg {
  width: 20px;
  height: 20px;
}

.legume-card__add-label {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.legume-card__add--unit {
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold);
}

.legume-card__add--unit:hover {
  background: rgba(212, 175, 55, 0.4);
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
}

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

.cart-empty__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  color: rgba(212, 175, 55, 0.35);
}

.cart-empty__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--turquoise);
}

.cart-empty__hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 12px 16px 0;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cart-line__thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 185, 179, 0.08);
  border: 2px solid var(--turquoise, #1db9b3);
  border-radius: 8px;
  color: var(--turquoise);
  overflow: hidden;
}

.cart-line__thumb svg {
  width: 22px;
  height: 22px;
}

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

.cart-line__info {
  flex: 1;
  min-width: 0;
}

.cart-line__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--turquoise);
}

.cart-line__price {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--gold);
}

.cart-line__qty {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cart-line__qty button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--turquoise);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-line__qty button:hover {
  background: rgba(29, 185, 179, 0.12);
}

.cart-line__qty span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-line__qty--lb {
  flex-direction: column;
  gap: 2px;
  align-items: stretch;
  min-width: 72px;
}

.cart-line__qty-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.cart-line__qty-input {
  width: 72px;
  padding: 8px 6px;
  border: 1px solid rgba(29, 185, 179, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
}

.cart-line__qty-input::-webkit-outer-spin-button,
.cart-line__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-line__qty-input:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(29, 185, 179, 0.15);
}

.cart-line__subtotal {
  margin: 4px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}

.cart-line__remove {
  color: #e57373 !important;
}

.cart-checkout {
  flex-shrink: 0;
  padding: 16px;
  background: var(--surface);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.cart-total span {
  font-size: 1rem;
}

.cart-total strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.cart-checkout__label {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--turquoise);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.payment-toggle {
  display: flex;
  gap: 0;
  padding: 3px;
  background: var(--black);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.payment-toggle__btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.payment-toggle__btn--active {
  background: var(--turquoise);
  color: var(--black);
}

.payment-hint {
  margin: 8px 0 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cart-checkout .btn--primary {
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.cart-checkout .btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-checkout .btn--primary[hidden] {
  display: none !important;
}

.cart-checkout__note {
  margin: 0 0 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

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

.guest-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  margin: 24px auto 0;
  padding: 8px 4px 24px;
  text-align: center;
}

.guest-auth--checkout {
  margin: 0 0 4px;
  padding: 0;
  max-width: none;
}

.guest-auth[hidden] {
  display: none !important;
}

.guest-auth__text {
  margin: 0 0 4px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}

.guest-auth .btn {
  width: 100%;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  display: flex;
  height: var(--nav-height);
  padding: 8px 24px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--surface-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.bottom-nav__item svg {
  width: 24px;
  height: 24px;
}

.bottom-nav__item--active {
  color: var(--turquoise);
  background: rgba(29, 185, 179, 0.15);
}

.bottom-nav__badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 28px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--black);
  background: var(--gold);
  border-radius: 999px;
}

.toast {
  position: fixed;
  bottom: calc(var(--nav-height) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  max-width: min(420px, calc(100vw - 32px));
  width: calc(100% - 32px);
  padding: 12px 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--turquoise-dark);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Panel header compartido ─────────────────────────────────────────────── */
.panel-header {
  flex-shrink: 0;
  padding: 16px 16px 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.panel-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--turquoise);
}

/* ── Mis pedidos ─────────────────────────────────────────────────────────── */
.panel#panel-orders {
  overflow-y: auto;
}

.orders-body {
  padding: 12px 16px calc(var(--nav-height) + 16px);
}

.orders-loading {
  margin: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.orders-empty {
  padding: 48px 0;
  text-align: center;
}

.orders-empty[hidden] { display: none !important; }

.orders-empty__text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.orders-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.order-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.order-card__id {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.order-card__date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.order-card__status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.order-card__status--pending    { background: rgba(234,179,8,.15); color: #facc15; }
.order-card__status--confirmed  { background: rgba(34,197,94,.15); color: #4ade80; }
.order-card__status--rejected   { background: rgba(239,68,68,.15); color: #f87171; }
.order-card__status--dispatched { background: rgba(59,130,246,.15); color: #60a5fa; }
.order-card__status--delivered  { background: rgba(29,185,179,.15); color: var(--turquoise); }

.order-card__items {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-card__item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-card__item-name {
  flex: 1;
}

.order-card__item-qty {
  color: var(--text-muted);
  margin: 0 8px;
}

.order-card__item-price {
  color: var(--gold);
  font-weight: 600;
}

.order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.order-card__payment {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-card__total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
}

.order-card__rejection {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  font-size: 0.82rem;
  color: #f87171;
  line-height: 1.4;
}

.order-card__payinfo {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.25);
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
}

/* ── Mi perfil ───────────────────────────────────────────────────────────── */
.panel#panel-profile {
  overflow-y: auto;
}

.profile-body {
  padding: 16px 16px calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-section__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* .map-container, .map-hint, .map-coords, .field* → definidos en base.css */

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-form__error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(229,115,115,.12);
  border: 1px solid rgba(229,115,115,.35);
  color: #ffb4b4;
  font-size: 0.88rem;
  line-height: 1.35;
}

.profile-form__error[hidden] { display: none !important; }

.profile-section--danger {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.btn--outline-danger {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(239,68,68,.4);
  border-radius: 10px;
  background: transparent;
  color: #f87171;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn--outline-danger:hover {
  background: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.7);
}

/* ── Tablet: rejilla 2 columnas ──────────────────────────────────────────── */
/* Tablet: rejilla 2 columnas */
@media (min-width: 540px) {
  .catalog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .legume-card {
    min-width: 0;
  }
}

/* Escritorio */
@media (min-width: 768px) {
  .header {
    height: 64px;
    padding: 0 32px;
  }

  .header .brand {
    font-size: 1.65rem;
  }

  .header__logout {
    right: 32px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .panel#panel-catalog {
    padding: 20px 32px calc(var(--nav-height) + 24px);
  }

  .panel#panel-cart {
    padding-bottom: var(--nav-height);
  }

  .catalog {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .legume-card {
    padding: 14px;
    gap: 16px;
  }

  .legume-card__image {
    width: 80px;
    height: 80px;
  }

  .legume-card__name {
    font-size: 1.05rem;
  }

  .bottom-nav {
    padding-left: 48px;
    padding-right: 48px;
  }

  .toast {
    max-width: min(420px, calc(100vw - 48px));
  }

  /* Carrito en dos zonas: lista + resumen */
  #panel-cart.panel--active {
    display: grid;
    grid-template-columns: 1fr min(400px, 38%);
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "lines checkout"
      "lines checkout";
    align-items: stretch;
    overflow: hidden;
  }

  .cart-empty {
    grid-column: 1 / -1;
  }

  .cart-lines {
    grid-area: lines;
    padding: 20px 24px 20px 32px;
    max-height: none;
  }

  .cart-checkout {
    grid-area: checkout;
    align-self: end;
    margin: 20px 32px 20px 0;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }

  .cart-line {
    padding: 12px 14px;
  }
}

@media (min-width: 1024px) {
  .header__tagline {
    max-width: 480px;
    font-size: 0.85rem;
  }

  .catalog {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .panel#panel-catalog {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1400px) {
  .catalog {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ── Tour de bienvenida ───────────────────────────────────────────────────── */
body.tour-active {
  overflow: hidden;
}

.tour-root {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

.tour-dim {
  display: none;
}

.tour-hole {
  position: fixed;
  border-radius: 16px;
  box-shadow: 0 0 0 3px var(--turquoise), 0 0 0 9999px rgba(5, 8, 8, 0.72);
  pointer-events: none;
  transition: top 0.28s ease, left 0.28s ease, width 0.28s ease, height 0.28s ease;
  z-index: 9001;
}

.tour-card {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(var(--nav-height) + 18px);
  z-index: 9002;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #141414;
  border: 1px solid rgba(29, 185, 179, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.tour-card--above-nav {
  bottom: auto;
  top: 72px;
}

.tour-card__step {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.tour-card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.tour-card__text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.tour-card__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.tour-btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
}

.tour-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}

.tour-btn--primary {
  background: var(--turquoise);
  border: 1px solid var(--turquoise);
  color: #042322;
}

.btn--ghost {
  width: 100%;
  padding: 14px;
  border: 1.5px solid rgba(29, 185, 179, 0.4);
  border-radius: 10px;
  background: rgba(29, 185, 179, 0.08);
  color: var(--turquoise);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn--ghost:hover {
  background: rgba(29, 185, 179, 0.16);
}
