/* Legacy body font face (same file the legacy andromeda portal loads from fonts.gstatic.com v20) */
@font-face {
  font-family: "Roboto-Regular";
  src: url("/fonts/superchef/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* ============================================================
   SUPERCHEF THEME — super-chef-es-v4
   Design authority: legacy https://www.super-chef.mobi/
   Extracted: 2026-11-17 | qa/legacy-design-tokens.md
   ============================================================ */

/* ── 1. CSS custom properties ─────────────────────────────── */
.theme-superchef {
  /* ── Motion ──────────────────────────────────────────────── */
  --motion-duration-fast: 150ms;
  --motion-duration-normal: 200ms;
  --motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Brand palette ───────────────────────────────────────── */
  --color-brand-orange: #E7592C;
  --color-brand-teal:   #66C9A0;
  --color-brand-navy:   #0F1F35;

  /* ── Semantic tokens ─────────────────────────────────────── */
  --color-bg-base:      #ffffff;
  --color-bg-card:      #f5f5f5;
  --color-text-base:    #000000;
  --color-text-muted:   #666666;
  --color-border:       #e5e5e5;
  --color-input-bg:     #ffffff;
  --color-input-border: rgba(0, 0, 0, 0.2);
  --color-error:        #dc2626;

  /* ── Primary accent ──────────────────────────────────────── */
  --primary: #E7592C;
  --primary-500: #E7592C;
  --gradient-primary:    linear-gradient(112deg, #E7592C 0%, #c03e18 100%);

  /* ── Typography ──────────────────────────────────────────── */
  --font-family-base:    var(--font-roboto), Roboto, Arial, sans-serif;
  --font-family-display: var(--font-antonio), Antonio, Arial, sans-serif;

  /* ── Radii ───────────────────────────────────────────────── */
  --radius-card:  0px;
  --radius-btn:   3px;

  /* ── Header ──────────────────────────────────────────────── */
  --header-bg:    #ffffff;
  --header-shadow: none;

  /* ── Footer ──────────────────────────────────────────────── */
  --footer-bg:    #E7592C;
  --footer-border: transparent;
  --footer-text:  #ffffff;

  /* ── Override Tailwind/globals dark defaults ───────────── */
  --background:   #ffffff;
  --foreground:   #000000;
  /* base-0 controls text-foreground in globals */
  --base-0:       0 0 0;    /* black text */
  --color-text-base: rgb(0 0 0);
  --color-surface-base: rgb(255 255 255);
}

/* ── 2. Body overrides ────────────────────────────────────── */
body.theme-superchef {
  background: #ffffff !important;
  color: #000000 !important;
  font-family: var(--font-family-base);
}

/* ── 3. Standard shadcn state transitions ────────────────── */
.theme-superchef :where(
  [data-slot="button"],
  [data-slot$="trigger"],
  [data-slot$="item"],
  [data-slot="navigation-menu-link"],
  [data-slot="tabs-trigger"]
) {
  transition-property: color, background-color, border-color, opacity, box-shadow, transform;
  transition-duration: var(--motion-duration-fast);
  transition-timing-function: var(--motion-ease-standard);
}

/* ── 4. Keyframes ─────────────────────────────────────────── */
@keyframes sc-fade-in  { from { opacity: 0; }        to { opacity: 1; }    }
@keyframes sc-fade-out { from { opacity: 1; }        to { opacity: 0; }    }
@keyframes sc-scale-in { from { opacity: 0; scale: 0.95; } to { opacity: 1; scale: 1; } }
@keyframes sc-scale-out { from { opacity: 1; scale: 1; } to { opacity: 0; scale: 0.95; } }
@keyframes sc-accordion-down { from { height: 0; } to { height: var(--radix-accordion-content-height); } }
@keyframes sc-accordion-up   { from { height: var(--radix-accordion-content-height); } to { height: 0; } }

/* ── 5. Dialog / overlay animations ─────────────────────── */
.theme-superchef [data-slot="dialog-overlay"][data-state="open"],
.theme-superchef [data-slot="alert-dialog-overlay"][data-state="open"] {
  animation: sc-fade-in var(--motion-duration-normal) var(--motion-ease-standard);
}
.theme-superchef [data-slot="dialog-overlay"][data-state="closed"],
.theme-superchef [data-slot="alert-dialog-overlay"][data-state="closed"] {
  animation: sc-fade-out var(--motion-duration-normal) var(--motion-ease-standard);
}

.theme-superchef :where(
  [data-slot="dialog-content"],
  [data-slot="alert-dialog-content"]
)[data-state="open"] {
  animation: sc-scale-in var(--motion-duration-normal) var(--motion-ease-standard);
}
.theme-superchef :where(
  [data-slot="dialog-content"],
  [data-slot="alert-dialog-content"]
)[data-state="closed"] {
  animation: sc-scale-out var(--motion-duration-normal) var(--motion-ease-standard);
}

/* ── 6. Accordion ─────────────────────────────────────────── */
.theme-superchef [data-slot="accordion-content"][data-state="open"] {
  animation: sc-accordion-down var(--motion-duration-normal) var(--motion-ease-standard);
}
.theme-superchef [data-slot="accordion-content"][data-state="closed"] {
  animation: sc-accordion-up var(--motion-duration-normal) var(--motion-ease-standard);
}

/* ── 7. Dropdown / navigation menu ───────────────────────── */
.theme-superchef [data-slot="dropdown-menu-content"],
.theme-superchef [data-slot="navigation-menu-viewport"] {
  animation: sc-scale-in var(--motion-duration-fast) var(--motion-ease-standard);
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0;
}

/* ── 8. Navigation ────────────────────────────────────────── */
.theme-superchef .sc-nav-link {
  font-family: var(--font-family-display);
  font-size: 16px;
  color: #0F1F35;
  text-decoration: none;
  padding: 5px 20px;
  display: inline-flex;
  align-items: center;
  transition: opacity var(--motion-duration-fast) var(--motion-ease-standard);
}
.theme-superchef .sc-nav-link:hover,
.theme-superchef .sc-nav-link:focus-visible {
  opacity: 0.5;
  text-decoration: none;
}
.theme-superchef .sc-nav-dropdown-item {
  font-family: var(--font-family-display);
  font-size: 18px;
  color: #5B5B5B;
  line-height: 18px;
  padding: 8px 16px;
  display: block;
  transition: opacity var(--motion-duration-fast) var(--motion-ease-standard);
}
.theme-superchef .sc-nav-dropdown-item:hover {
  opacity: 0.6;
}

/* ── 9. Footer ────────────────────────────────────────────── */
.theme-superchef footer {
  background: #E7592C !important;
  border-top: none;
}
.theme-superchef footer a,
.theme-superchef footer button,
.theme-superchef footer span {
  color: #ffffff !important;
}
.theme-superchef footer a {
  text-decoration: none !important;
  font-family: Roboto, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

/* ── 10. Cookie consent banner ────────────────────────────── */
/* Legacy .cmp-popup-cookies replica (andromeda): fixed, 80% wide centred, bottom 24px (mobile: 98%, bottom 3px) */
.theme-superchef .cc-overlay {
  padding: 0 0 24px !important;
  background: transparent !important;
  pointer-events: none !important; /* legacy: only the box captures clicks, not the full-width strip */
}
.theme-superchef .cc-overlay .cc-banner { pointer-events: auto !important; }
.theme-superchef .cc-banner {
  box-sizing: border-box !important;
  width: 80% !important;
  max-width: 80% !important;
  margin: 0 auto !important;
  display: block !important;
  background-color: #ffffff !important;
  border: 1px solid grey !important;
  box-shadow: rgba(0, 0, 0, 0.36) 0px 0px 5px 0px !important;
  border-radius: 0 !important;
  padding: 18px 5% !important;
  color: #323232 !important;
  font-family: "Roboto", "Roboto Fallback", Arial, sans-serif !important;
  font-size: 1.3rem !important;
  line-height: normal !important;
}
.theme-superchef .cc-title { display: none !important; }
.theme-superchef .cc-content { font-size: 1.3rem !important; line-height: normal !important; }
.theme-superchef .cc-description {
  margin: 0 !important;
  font-size: 1.3rem !important;
  line-height: normal !important;
  opacity: 1 !important;
  color: #323232 !important;
}
.theme-superchef .cc-description .texto-popup-cookies { font: 200 0.8em Helvetica !important; }
.theme-superchef .cc-description .texto-popup-cookies > span { font-size: 16px; }
.theme-superchef .cc-description .cc-link,
.theme-superchef .cc-description .cc-inline-link {
  font: inherit !important;
  font-weight: bold !important;
  color: #66C9A0 !important;
  text-decoration: underline !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  line-height: inherit !important;
  display: inline !important;
}
.theme-superchef .cc-actions {
  display: flex !important;
  flex-direction: row-reverse !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
}
.theme-superchef .cc-btn {
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: #66C9A0 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 6px 24px !important;
  margin: 24px 6px 0 !important;
  width: auto !important;
  font-family: "Roboto", "Roboto Fallback", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
.theme-superchef .cc-btn:hover { background-color: #42BA88 !important; }
.theme-superchef .cc-config-link { display: none !important; }
@media (max-width: 991px) {
  .theme-superchef .cc-overlay { padding: 0 0 3px !important; }
  .theme-superchef .cc-banner { width: 98% !important; max-width: 98% !important; font-size: 1.2em !important; max-height: 100% !important; overflow-y: auto !important; }
  .theme-superchef .cc-content, .theme-superchef .cc-description { font-size: inherit !important; }
  .theme-superchef .cc-description .texto-popup-cookies > span { font-size: 14px; }
  .theme-superchef .cc-btn { font-size: 14px !important; }
}
/* legacy buttons container goes vertical at max-width 992px (not 991) */
@media (max-width: 992px) {
  .theme-superchef .cc-actions { flex-direction: column-reverse !important; align-items: center !important; }
  .theme-superchef .cc-btn { width: 100% !important; margin: 12px 6px 0 !important; }
}

/* ── 11. Section headings ─────────────────────────────────── */
.theme-superchef .sc-section-heading {
  font-family: var(--font-family-display);
  font-size: 48px;
  line-height: 62.4px;
  font-weight: 400;
  color: #E7592C;
  text-transform: uppercase;
}
.theme-superchef .sc-hero-heading {
  font-family: var(--font-family-display);
  font-size: 48px;
  line-height: 62.4px;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
}

/* ── 12. Card category title ─────────────────────────────── */
.theme-superchef .sc-card-category-title {
  font-family: var(--font-family-display);
  font-size: 23px;
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
}

/* ── 13. Button primary ───────────────────────────────────── */
.theme-superchef [data-slot="button"][data-variant="default"] {
  background: var(--color-brand-orange);
  color: #ffffff;
  border-radius: var(--radius-btn);
}
.theme-superchef [data-slot="button"][data-variant="default"]:hover {
  opacity: 0.85;
}

/* ── 14. Login page — legacy parity (white page, flat form, teal button) ── */
.theme-superchef .signup-desktop-overlay { display: none !important; }
.theme-superchef .signup-container {
  position: static !important;
  background: #fff !important;
  z-index: auto !important;
  overflow: visible !important;
}
.theme-superchef .login-content {
  justify-content: flex-start !important;
  padding: 30px 16px 60px !important;
  gap: 0 !important;
}
.theme-superchef .login-logo-center { display: none !important; }
/* el layout ya pinta el footer del portal; ocultar el duplicado de la página */
.theme-superchef .signup-container > footer { display: none !important; }
.theme-superchef .signup-container [class*="LoginCard-module"] {
  width: 100%;
  max-width: 420px !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}
.theme-superchef .signup-container [data-slot="card"] {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 0 !important;
  color: var(--color-brand-navy) !important;
}
.theme-superchef .signup-container [data-slot="card-header"] {
  display: block !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  text-align: left !important;
}
.theme-superchef .signup-container [data-slot="card-content"] { padding: 0 !important; }
.theme-superchef .signup-container [data-slot="card-title"] { text-align: center; }
.theme-superchef .signup-container [data-slot="card-title"] h1 {
  font-family: var(--font-family-display) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 41px !important;
  color: var(--color-brand-orange) !important;
  margin: 2px 0 30px !important;
}
.theme-superchef .signup-container [data-slot="card-header"] p {
  margin: 0 !important;
  font-family: var(--font-family-base);
  font-size: 16px !important;
  line-height: 20.8px !important;
  color: var(--color-brand-navy) !important;
  text-align: left;
}
.theme-superchef .signup-container [data-slot="card-header"] p::after { content: " *"; }
.theme-superchef .signup-container [data-slot="field-label"] { display: none !important; }
.theme-superchef .signup-container .signup-form { gap: 0 !important; }
.theme-superchef .signup-container .signup-form [class*="LoginFormInput-module"] { margin: 0 !important; padding: 0 !important; }
.theme-superchef .signup-container [data-slot="input-group"] {
  height: 42px !important;
  background: #ededed !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.theme-superchef .signup-container [data-slot="input-group"]:focus-within {
  border-color: #f8d35d !important;
  box-shadow: 0 0 10px #f8d35d !important;
}
.theme-superchef .signup-container [data-slot="input-group-addon"][data-align="inline-start"] { display: none !important; }
.theme-superchef .signup-container [data-slot="input-group-control"] {
  font-family: var(--font-family-base) !important;
  font-size: 12px !important;
  color: var(--color-brand-navy) !important;
  background: transparent !important;
  padding: 0 12px !important;
}
.theme-superchef .signup-container [data-slot="input-group-control"]::placeholder { color: transparent; }
.theme-superchef .signup-container .signup-form button[type="submit"] {
  height: 54px;
  margin-top: 30px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: var(--color-brand-teal) !important;
  color: #fff !important;
  font-family: var(--font-family-base) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}
.theme-superchef .signup-container .signup-form button[type="submit"] span {
  font-family: var(--font-family-base) !important;
  font-weight: 400 !important;
  color: #fff !important;
}
.theme-superchef .signup-container .signup-form button[type="submit"]:hover:not(:disabled) {
  background: color-mix(in srgb, var(--color-brand-teal) 75%, white) !important;
}
.theme-superchef .signup-container .signup-form button[type="submit"]:disabled {
  background: color-mix(in srgb, var(--color-brand-teal) 50%, white) !important;
  opacity: 1 !important;
}
.theme-superchef .signup-container .signup-form > div.text-center {
  margin-top: 12px !important;
  font-size: 14px !important;
  line-height: 18px !important;
  color: rgba(15, 31, 53, 0.5) !important;
}
.theme-superchef .signup-container .signup-form > div.text-center a {
  color: var(--color-brand-teal) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
}

/* ── 15. prefers-reduced-motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .theme-superchef * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── 16. Responsive header decorative zone height ────────── */
.sc-header-deco {
  height: 60px; /* mobile default */
}
@media (min-width: 992px) {
  .sc-header-deco {
    height: 109px; /* desktop */
  }
}

/* ── 17. Buscador de Restaurantes ─────────────────────────── */

/* Legacy gap between page content and footer (172px ≥992, 112px below).
   Overrides the global `main { padding-bottom: 80/120 !important }` login hack
   for pages that wrap their content in .sc-legacy-gap. */
main:has(> .sc-legacy-gap) {
  background: #e5e5e5; /* legacy body background */
  padding-bottom: 112px !important;
  margin-bottom: 0 !important;
}
@media (min-width: 992px) {
  main:has(> .sc-legacy-gap) {
    padding-bottom: 172px !important;
  }
}
main:has(> .sc-legacy-gap--white) {
  background: #fff;
}

/* Search section — legacy parity (andromeda buscador): rounded white card, 1342px max,
   illustration + title/text in 2 cols ≥992px, search bar below.
   Spacing units: 1x = 6px. */
.sc-restaurant-search {
  padding: 48px 6px 0;
}
.sc-restaurant-search__inner {
  max-width: 1342px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
  border-radius: 50px;
  padding: 24px 12px 60px;
}
.sc-restaurant-search__row {
  display: flex;
  flex-direction: column;
}
.sc-restaurant-search__col {
  box-sizing: border-box;
  width: 100%;
}
.sc-restaurant-search__col--img {
  padding: 0 30px;
}
.sc-restaurant-search__col--txt {
  padding: 18px 30px 0;
}
.sc-restaurant-search__img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.sc-restaurant-search__title {
  font-family: var(--font-family-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 62.4px;
  color: #e7592c;
  margin: 0 0 24px;
  text-align: left;
}
.sc-restaurant-search__subtitle {
  font-family: var(--font-family-base);
  font-size: 18px;
  line-height: 23.4px;
  color: #666;
  margin: 0;
  text-align: left;
}

/* Form */
.sc-restaurant-search__form {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  padding: 54px 30px 0;
  text-align: center;
}
.sc-restaurant-search__field {
  position: relative;
  width: 100%;
}
.sc-restaurant-search__input {
  display: block;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  padding: 0 12px;
  font-family: var(--font-family-base);
  font-size: 16px;
  color: #000;
  background: #fff;
  border: 1px solid #66c9a0;
  border-radius: 8px;
  outline: none;
}
.sc-restaurant-search__input::placeholder {
  color: rgb(113, 115, 124);
  opacity: 1;
}
/* legacy error state: .required-triggered → border-bottom: 3px solid red, no message */
.sc-restaurant-search__input--error {
  border-bottom: 3px solid red;
}
.sc-restaurant-search__error {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-error);
  text-align: left;
}
.sc-restaurant-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 70%;
  height: 50px;
  margin-top: 10px;
  padding: 12px;
  box-sizing: border-box;
  font-family: var(--font-family-base);
  font-size: 18px;
  color: #fff;
  background: #66c9a0;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.sc-restaurant-search__btn-icon {
  display: none;
}
.sc-restaurant-search__btn:disabled {
  cursor: progress;
}
.sc-restaurant-search__loader {
  display: block;
  margin: 0 auto;
  animation: sc-restaurant-spin 0.6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .sc-restaurant-search__loader {
    animation-duration: 1.5s;
  }
}
@media (min-width: 992px) {
  .sc-restaurant-search__inner {
    padding: 24px 60px 60px;
  }
  .sc-restaurant-search__row {
    flex-direction: row;
  }
  .sc-restaurant-search__col {
    width: 50%;
  }
  .sc-restaurant-search__col--img {
    padding: 0 60px;
  }
  .sc-restaurant-search__col--txt {
    padding: 60px 42px 0;
  }
  .sc-restaurant-search__form {
    flex-direction: row;
    gap: 0;
    padding: 30px 36px 0;
  }
  .sc-restaurant-search__field {
    flex: 0 0 45.5%;
    width: 45.5%;
  }
  .sc-restaurant-search__input {
    height: 70px;
    font-size: 18px;
    border-radius: 2px;
  }
  .sc-restaurant-search__field:first-child .sc-restaurant-search__input {
    border-radius: 8px 2px 2px 8px;
  }
  .sc-restaurant-search__btn {
    flex: 0 0 9%;
    width: 9%;
    height: 70px;
    margin-top: 0;
    padding: 0;
    border-radius: 0 8px 8px 0;
    align-self: auto;
  }
  .sc-restaurant-search__btn-text {
    display: none;
  }
  .sc-restaurant-search__btn-icon {
    display: block;
    width: 20px;
    height: 22px;
    margin: 0 auto;
    background: url("https://d2obs2d3lmpnq9.cloudfront.net/SUPER%20CHEF/Icons%20y%20header/Lupa.svg") center / contain no-repeat;
  }
}

/* Results */
.sc-restaurant-results {
  padding: 0 12px;
}
.sc-restaurant-results__inner {
  max-width: 1342px;
  margin: 0 auto;
}
/* legacy /busqueda: title block padding-top 36 (mobile) / 60 (desktop) */
.sc-restaurant-results__title {
  margin: 0 -12px;
  padding-top: 36px;
  text-align: center;
  font-family: var(--font-family-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 62.4px;
  color: #e7592c;
  text-transform: uppercase;
}
.sc-restaurant-results__body {
  padding-top: 120px;
  box-sizing: border-box;
}
@media (min-width: 992px) {
  .sc-restaurant-results {
    padding: 0 18px;
  }
  .sc-restaurant-results__title {
    margin: 0;
    padding-top: 60px;
  }
}

/* Grid: 1 col mobile → 2 col 600px+ → 3 col 992px+ */
.sc-restaurant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .sc-restaurant-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .sc-restaurant-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.sc-restaurant-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--motion-duration-fast) var(--motion-ease-standard),
              transform var(--motion-duration-fast) var(--motion-ease-standard);
  height: 100%;
}
.sc-restaurant-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .sc-restaurant-card:hover {
    transform: none;
  }
}
.sc-restaurant-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}
.sc-restaurant-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sc-restaurant-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-restaurant-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.sc-restaurant-card__name {
  font-family: var(--font-family-display);
  font-size: 17px;
  color: var(--color-brand-navy);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.25;
}
.sc-restaurant-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.sc-restaurant-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.sc-restaurant-card__rating-num {
  font-family: var(--font-family-base);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand-orange);
}
.sc-restaurant-card__reviews {
  font-family: var(--font-family-base);
  font-size: 12px;
  color: var(--color-text-muted);
}
.sc-restaurant-card__address {
  font-family: var(--font-family-base);
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sc-restaurant-card__cta {
  font-family: var(--font-family-base);
  font-size: 12px;
  color: var(--color-brand-teal);
  margin-top: auto;
  text-decoration: none;
}

/* Empty state */
.sc-restaurant-empty {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: normal;
  color: #000;
  text-align: center;
  margin: 16px auto;
}

/* Footer: altura del bloque naranja del legacy (197px) */
.theme-superchef footer:not(.fixed) {
  min-height: 197px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.theme-superchef footer:not(.fixed) > * { width: 100%; }

.theme-superchef footer a.superchef-footer-link {
  color: #fff !important;
  font-family: "Roboto-Regular", Roboto, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important; /* legacy: Roboto-Regular @700 => synthetic bold */
  text-decoration: none !important;
  line-height: normal;
  padding: 0;
}

/* ── Legal page: body text matches legacy black (not muted grey) ── */
/* Override inline color:var(--color-text-muted) set by the component */
.theme-superchef .legal-content,
.theme-superchef .legal-content p,
.theme-superchef .legal-content li,
.theme-superchef .legal-content td,
.theme-superchef .legal-content th,
.theme-superchef .legal-content span {
  color: var(--color-text-base) !important;  /* #000 — matches legacy */
}

/* ── Footer legal links: legacy .footer_pages box model (inline-block li 26px, pad 0 8px, wraps <992) ── */
.theme-superchef footer .sc-footer-pages { box-sizing: border-box; padding: 0 22px 36px; }
.theme-superchef footer .sc-footer-pages-ul { padding: 30px 0 29px; text-align: center; font-size: 16px; line-height: normal; }
.theme-superchef footer .sc-fp-li { display: inline-block; box-sizing: border-box; padding: 6px 8px 7px; height: 26px; white-space: nowrap; vertical-align: baseline; }
.theme-superchef footer .sc-fp-li button, .theme-superchef footer .sc-fp-li a { display: block; height: 13px; line-height: 13px !important; padding: 0 !important; margin: 0; }
@media (min-width: 992px) {
  .theme-superchef footer .sc-footer-pages { padding: 0 50px; }
  .theme-superchef footer .sc-footer-pages-ul { padding: 21px 0 20px; }
}

/* ── Legacy global: font smoothing (andromeda body: -webkit-font-smoothing: antialiased) ── */
.theme-superchef,
.theme-superchef * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile menu open (legacy): page content and footer are not shown behind the menu panel */
@media (max-width: 991px) {
  body.sc-menu-open main,
  body.sc-menu-open footer { display: none !important; }
}

/* ── Library page (/mi-biblioteca): legacy geometry. Structure/texts/grid come from awc_config pages[mi-biblioteca].layout ── */
.theme-superchef [data-slot="library-page"] { width: 100%; padding: 30px 0 64px; color: var(--color-text-base); }
.theme-superchef [data-slot="library-container"] { max-width: 1200px; margin: 0 auto; }
.theme-superchef [data-slot="library-title"] { padding: 0 12px; font-family: var(--font-family-display); font-weight: 400; font-size: 18px; line-height: 1.3; color: var(--color-brand-orange); }
.theme-superchef [data-slot="library-headline"] { margin-top: 42px; padding: 0 12px; text-align: center; text-transform: uppercase; font-family: var(--font-family-display); font-weight: 400; font-size: 29px; line-height: 1.25; color: var(--color-brand-teal); }
.theme-superchef [data-slot="library-grid"] { display: grid; margin-top: 18px; grid-template-columns: repeat(var(--lib-cols-xs, 2), minmax(0, 1fr)); }
.theme-superchef [data-slot="library-cell"] { padding: 12px; }
.theme-superchef [data-slot="library-media"] { cursor: pointer; position: relative; aspect-ratio: 264 / 396; width: 100%; overflow: hidden; }
.theme-superchef [data-slot="library-media"] img,
.theme-superchef [data-slot="library-media"] video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-superchef [data-slot="library-media"] video { opacity: 0; transition: opacity 0.3s; }
.theme-superchef [data-slot="library-media"]:hover video { opacity: 1; }
.theme-superchef [data-slot="library-actions"] { display: flex; justify-content: flex-end; align-items: flex-start; height: 60px; padding-top: 12px; }
.theme-superchef [data-slot="library-download"] { height: 30px; padding: 0 12px; border-radius: 100px; background: var(--color-brand-teal); color: #fff; font-size: 12px; line-height: 30px; letter-spacing: 0.71px; text-transform: uppercase; transition: opacity 0.2s; }
.theme-superchef [data-slot="library-download"] { cursor: pointer; }
.theme-superchef [data-slot="library-download"]:hover { opacity: 0.8; }
.theme-superchef [data-slot="library-empty"] { padding: 40px 12px; text-align: center; color: var(--color-brand-orange); font-family: var(--font-family-display); }
@media (min-width: 992px) {
  .theme-superchef [data-slot="library-page"] { padding-top: 60px; }
  .theme-superchef [data-slot="library-title"] { font-size: 48px; line-height: 62px; }
  .theme-superchef [data-slot="library-headline"] { margin-top: 48px; height: 40px; font-size: 32px; line-height: 40px; }
  .theme-superchef [data-slot="library-grid"] { grid-template-columns: repeat(var(--lib-cols-lg, 4), minmax(0, 1fr)); }
  .theme-superchef [data-slot="library-cell"] { padding: 18px; }
}

/* ── 18. Quiz player (legacy andromeda quiz_basic) ───────────────────────── */
/* Full-screen: no site header/footer, no page paddings */
body:has(.sc-quiz) header,
body:has(.sc-quiz) footer {
  display: none !important;
}
main:has(> .sc-quiz) {
  padding: 0 !important;
  margin: 0 !important;
  background: #fff;
}
.sc-quiz {
  width: 100%;
  background: #fff;
}
.sc-quiz__inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 30px;
}
.sc-quiz__close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: #66c9a0;
  line-height: 0;
}
.sc-quiz__close img {
  width: 20px;
  height: 20px;
}
.sc-quiz__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  margin-bottom: 30px;
  background: #e7592c;
  color: #fff;
}
.sc-quiz__pagination {
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 1;
  text-align: center;
  font-family: var(--font-family-base);
  font-size: 18px;
  line-height: 48px;
  color: #fff;
}
.sc-quiz__back {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.sc-quiz__qa {
  max-width: 624px;
  margin: 0 auto;
  padding: 0 12px;
}
.sc-quiz__question {
  font-family: var(--font-family-display);
  font-size: 14px;
  line-height: 17.5px;
  color: #000;
}
.sc-quiz__rule {
  height: 1px;
  margin: 12px 0 12px;
  background: #e7592c;
}
.sc-quiz__answers {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sc-quiz__answer {
  display: inline-block;
  width: 100%;
  margin: 12px 0;
  border: 1px solid #e6e6e6;
  cursor: pointer;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  backface-visibility: hidden;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
.sc-quiz__answer:hover,
.sc-quiz__answer.is-selected {
  border-color: #e7592c;
}
.sc-quiz__answer:active {
  transform: scale(1.1);
}
.sc-quiz__answer.is-selected {
  border-color: rgb(231, 128, 96);
}
.sc-quiz__answer-text {
  padding: 12px;
  text-align: center;
  font-family: var(--font-family-display);
  font-size: 14px;
  line-height: 18.2px;
  color: #0f1f35;
  background: transparent;
}
.sc-quiz__answer.is-selected .sc-quiz__answer-text {
  background: #e7592c;
  color: #fff;
}
/* results */
.sc-quiz__results {
  padding: 84px 0 30px;
}
.sc-quiz__results-wrapper {
  max-width: 462px;
  margin: 0 auto;
  text-align: center;
}
.sc-quiz__results-wrapper {
  padding: 0 12px;
  line-height: normal;
}
.sc-quiz__results-title {
  font-family: var(--font-family-display);
  font-size: 18px;
  line-height: 20.7px;
  color: #0f1f35;
  margin: 30px auto 48px;
  max-width: 414px;
}
.sc-quiz__points-key {
  font-family: var(--font-family-base);
  font-size: 20px;
  color: #0f1f35;
  text-align: center;
}
.sc-quiz__score {
  position: relative;
  box-sizing: content-box;
  width: 130px;
  height: 130px;
  margin: 20px auto 0;
  border: 10px solid #e7592c;
  border-radius: 50%;
  font-family: var(--font-family-base);
}
.sc-quiz__score::before,
.sc-quiz__score::after {
  content: "";
  position: absolute;
  left: -10px;
  top: -10px;
  width: 130px;
  height: 130px;
  border: 10px solid transparent;
  border-radius: 50%;
  box-sizing: content-box;
}
.sc-quiz__points-number {
  display: inline-block;
  margin-top: 42px;
  font-size: 2.2rem;
  color: #66c9a0;
}
.sc-quiz__score--m1::after { border-color: transparent #e7592c transparent transparent; transform: rotate(0deg); }
.sc-quiz__score--m1::before { border-color: #66c9a0 transparent transparent; transform: rotate(45deg); }
.sc-quiz__score--e1::after { border-color: transparent transparent #e7592c; transform: rotate(0deg); }
.sc-quiz__score--e1::before { border-color: #66c9a0 transparent transparent; transform: rotate(45deg); }
.sc-quiz__score--m2::after { border-color: transparent transparent #e7592c; transform: rotate(0deg); }
.sc-quiz__score--m2::before { border-color: #66c9a0 #66c9a0 transparent transparent; transform: rotate(45deg); }
.sc-quiz__score--e2::after { border-color: transparent; transform: rotate(0deg); }
.sc-quiz__score--e2::before { border-color: #66c9a0 #66c9a0 transparent transparent; transform: rotate(45deg); }
.sc-quiz__score--m3::after { border-color: #66c9a0 #66c9a0 transparent transparent; transform: rotate(45deg); }
.sc-quiz__score--m3::before { border-color: transparent #66c9a0 transparent #e7592c; transform: rotate(90deg); }
.sc-quiz__score--e3::after { border-color: #66c9a0 #66c9a0 #66c9a0 transparent; transform: rotate(45deg); }
.sc-quiz__score--e3::before { border-color: transparent; transform: rotate(0deg); }
.sc-quiz__score--m4::after { border-color: #66c9a0 #66c9a0 #66c9a0 transparent; transform: rotate(45deg); }
.sc-quiz__score--m4::before { border-color: #e7592c transparent transparent #66c9a0; transform: rotate(0deg); }
.sc-quiz__score--e4::after { border-color: #66c9a0; transform: rotate(360deg); }
.sc-quiz__score--e4::before { border-color: transparent; transform: rotate(0deg); }
.sc-quiz__results-button {
  padding-top: 22.4px;
  margin-top: 25.6px;
}
.sc-quiz__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 100px;
  background: #66c9a0;
  color: #fff;
  font-family: var(--font-family-base);
  font-size: 14px;
  letter-spacing: 0.71px;
  line-height: normal;
  text-decoration: none;
}
@media (min-width: 992px) {
  .sc-quiz__qa { padding: 0; }
  .sc-quiz__results-wrapper { padding: 0; }
  .sc-quiz__close { top: 30px; right: 27px; }
  .sc-quiz__bar { height: 84px; }
  .sc-quiz__pagination { height: 84px; font-size: 23px; line-height: 84px; }
  .sc-quiz__back { left: 18px; top: 30px; }
  .sc-quiz__question { font-size: 16px; line-height: 20px; }
  .sc-quiz__rule { margin: 12px 0 18px; }
  .sc-quiz__answer-text { font-size: 18px; line-height: 23.4px; }
  .sc-quiz__results-title { font-size: 29px; line-height: 33.35px; margin: 48px auto 60px; }
  .sc-quiz__btn { height: 54px; padding: 0 24px; font-size: 16px; }
  .sc-quiz__score { width: 130px; height: 130px; }
}

.sc-restaurant-search__spinner {
  display: block;
  margin: 0 auto;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: sc-restaurant-spin 0.8s linear infinite;
}
@keyframes sc-restaurant-spin {
  to {
    transform: rotate(360deg);
  }
}
