/*
Theme Name: Recomiendu Base
Theme URI: https://recomiendu.cl/
Author: Recomiendu
Description: Theme base limpio y compatible con Recomiendu Locales.
Version: 2.3.59
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: recomiendu-base
*/

:root {
  --rb-red: #f15d54;
  --rb-red-dark: #dc4139;
  --rb-ink: #080b25;
  --rb-muted: #747b84;
  --rb-line: #d8e2ea;
  --rb-surface: #ffffff;
  --rb-page: #eaf1f6;
  --rb-width: 1180px;
  --rb-display-font: "Baloo 2", "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-height: 100%;
  background: var(--rb-page);
  color: var(--rb-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
body *::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body,
body * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--rb-page);
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.rb-site-header {
  position: relative;
  z-index: 50;
  border-bottom: 0;
  background: var(--rb-red);
  color: #fff;
}

.rb-floating-brand {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9998;
  display: grid;
  width: 100%;
  min-height: calc(62px + env(safe-area-inset-top));
  align-items: center;
  justify-content: center;
  padding: calc(10px + env(safe-area-inset-top)) 18px 10px;
  border: 0;
  border-radius: 0;
  background: var(--rb-red);
  box-shadow: 0 12px 32px rgba(220, 65, 57, .24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity .2s ease, transform .2s ease;
}

.rb-floating-brand.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rb-floating-brand-logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.rb-floating-brand-logo img {
  display: block;
  width: auto;
  max-width: min(248px, 64vw);
  max-height: 44px;
  object-fit: contain;
}

.rb-floating-brand-search {
  display: inline-flex;
  min-width: 112px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--rb-ink);
  color: #fff;
  cursor: pointer;
  font-family: var(--rb-display-font);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(8, 11, 37, .18);
}

.rb-floating-brand-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.rb-header-main {
  display: grid;
  width: min(var(--rb-width), calc(100% - 32px));
  min-height: 118px;
  align-items: center;
  justify-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 18px 0 20px;
}

.rb-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.rb-brand a {
  color: inherit;
  text-decoration: none;
}

.rb-brand .custom-logo {
  display: block;
  width: auto;
  max-width: min(258px, 60vw);
  max-height: 55px;
  object-fit: contain;
}

.rb-search {
  position: relative;
  display: flex;
  width: min(520px, 100%);
  height: 48px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(32, 23, 22, .12);
}

.rb-search label {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
}

.rb-search-icon {
  display: grid;
  width: 42px;
  height: 100%;
  flex: 0 0 42px;
  color: rgba(32, 23, 22, .48);
  place-items: center;
}

.rb-search-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.rb-search input[type="search"] {
  width: 100%;
  height: 100%;
  padding: 0 12px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rb-ink);
  font-size: 22px;
  font-weight: 850;
}

.rb-search input[type="search"]::placeholder {
  color: rgba(32, 23, 22, .48);
}

.rb-search button {
  flex: 0 0 auto;
  min-width: 96px;
  margin: 5px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--rb-red);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 7px 14px rgba(220, 65, 57, .2);
}

.rb-search:focus-within {
  background: #fff;
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 14px 34px rgba(32, 23, 22, .16);
}

.rb-search:focus-within .rb-search-icon {
  color: var(--rb-red-dark);
}

.rb-search-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 23, 22, .08);
  border-radius: 14px;
  background: #fff;
  color: var(--rb-ink);
  text-align: left;
  box-shadow: 0 18px 36px rgba(32, 23, 22, .18);
}

.rb-search-suggestion {
  display: grid;
  min-height: 64px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef1f3;
  text-decoration: none;
}

.rb-search-suggestion:last-child {
  border-bottom: 0;
}

.rb-search-suggestion:hover,
.rb-search-suggestion:focus {
  background: #fff5f4;
  outline: 0;
}

.rb-search-suggestion-photo {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid #e2e8ec;
  border-radius: 50%;
  background: #f4f6f7;
  color: var(--rb-red);
  font-size: 18px;
  font-weight: 950;
  place-items: center;
}

.rb-search-suggestion-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-search-suggestion-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.rb-search-suggestion strong {
  overflow: hidden;
  color: var(--rb-ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rb-search-suggestion small {
  overflow: hidden;
  color: var(--rb-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.rb-search-empty {
  color: var(--rb-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rb-search-empty {
  padding: 14px 16px;
}

.rb-nav-shell {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.18);
  background: #fff;
  color: var(--rb-ink);
}

.rb-category-shell {
  padding: 18px 0 22px;
  border-top: 0;
  border-bottom: 0;
  background: var(--rb-page);
}

.rb-category-inner {
  position: relative;
  width: min(var(--rb-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 54px 16px;
  border: 1px solid #e3ebeb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 17, 47, .055);
}

.rb-category-head {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

.rb-category-head > div {
  display: grid;
  gap: 2px;
}

.rb-discovery-head > span {
  color: var(--rb-red-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rb-category-head .rb-category-title {
  display: block !important;
  color: var(--rb-red-dark) !important;
  font-size: clamp(20px, var(--rc-food-title-size, 32px), 72px) !important;
  font-weight: 950 !important;
  line-height: .95 !important;
  letter-spacing: -.04em !important;
  text-align: center !important;
  text-transform: none !important;
}

.rb-category-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.rb-category-actions {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  pointer-events: none;
}

.rb-category-actions button {
  position: absolute;
  top: calc(50% + 14px);
  display: grid;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  padding: 0;
  border: 1px solid rgba(32, 23, 22, .07);
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  color: rgba(32, 23, 22, .48);
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(32, 23, 22, .055);
  place-items: center;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.rb-category-actions button[data-rb-category="prev"] {
  left: 12px;
}

.rb-category-actions button[data-rb-category="next"] {
  right: 12px;
}

.rb-category-actions button:hover {
  border-color: rgba(241, 93, 84, .22);
  background: rgba(255,255,255,.95);
  color: var(--rb-red-dark);
}

.rb-category-rail {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 4px 0 10px;
  overflow-x: auto;
  list-style: none;
  scroll-behavior: smooth;
  scroll-padding: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rb-category-rail::-webkit-scrollbar {
  display: none;
}

.rb-category-rail li {
  flex: 0 0 238px;
  scroll-snap-align: start;
}

.rb-category-rail a {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 18px 9px 9px;
  border: 1px solid #e3ebeb;
  border-radius: 999px;
  background: #fff;
  color: #40494d;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 9px 18px rgba(7, 17, 47, .06);
}

.rb-category-rail a:hover,
.rb-category-rail .current-cat a {
  border-color: rgba(241, 93, 84, .28);
  background: #fff;
  color: var(--rb-red-dark);
  box-shadow: 0 12px 24px rgba(7, 17, 47, .1);
}

.rb-category-photo,
.rb-category-fallback {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #eef1f2;
  box-shadow: none;
  background-position: center;
  background-size: cover;
  place-items: center;
}

.rb-category-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-category-label {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  text-align: center;
}

.rb-category-fallback {
  background: var(--rb-red);
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.rb-primary-nav {
  width: min(var(--rb-width), calc(100% - 32px));
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.rb-primary-nav::-webkit-scrollbar {
  display: none;
}

.rb-primary-nav ul {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.rb-primary-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: #4d5559;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.rb-food-menu {
  display: flex;
  min-width: max-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-food-menu li {
  flex: 0 0 auto;
}

.rb-food-menu a {
  gap: 7px;
  padding: 0 11px;
  border: 1px solid transparent;
}

.rb-food-menu a:hover,
.rb-food-menu .current-menu-item a {
  border-color: #e2e6e7;
  background: #f5f6f6;
  color: #201716;
}

.rb-food-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: #f0f2f2;
  color: #707a7f;
  place-items: center;
}

.rb-food-emoji {
  color: inherit;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 18px;
  line-height: 1;
}

.rb-food-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: .7;
}

.rb-food-label {
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.rb-city-menu a {
  min-height: 38px;
  padding: 0 15px;
  border-color: #e6e9ea;
  border-radius: 999px;
  background: #f6f7f7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}

.rb-city-menu a:hover,
.rb-city-menu .current-menu-item a {
  border-color: rgba(241, 93, 84, .3);
  background: #fff0ef;
  color: var(--rb-red-dark);
}

.rb-city-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
}

.rb-primary-nav .recomiendu-forced-cities {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
}

.rb-primary-nav .recomiendu-forced-cities-label {
  display: none !important;
}

.rb-primary-nav .recomiendu-forced-cities-rail {
  display: flex !important;
  width: 100% !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  overflow-x: auto !important;
  padding: 4px 48px !important;
  scroll-padding-inline: 48px;
  scroll-snap-type: x proximity;
  scrollbar-width: none !important;
}

.rb-primary-nav .recomiendu-forced-cities-rail::-webkit-scrollbar { display: none !important; }

.rb-primary-nav .recomiendu-city-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(32,23,22,.07);
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  color: rgba(32,23,22,.48);
  font: 800 19px/1 Arial,sans-serif;
  box-shadow: 0 6px 14px rgba(32,23,22,.055);
  transform: translateY(-50%);
  cursor: pointer;
  place-items: center;
  backdrop-filter: blur(8px);
}

.rb-primary-nav .recomiendu-city-arrow.is-prev { left: 12px; }
.rb-primary-nav .recomiendu-city-arrow.is-next { right: 12px; }
.rb-primary-nav .recomiendu-city-arrow:hover {
  border-color: rgba(241,93,84,.22);
  background: rgba(255,255,255,.95);
  color: var(--rb-red-dark);
}
.rb-primary-nav .recomiendu-city-arrow:disabled { opacity: .28; cursor: default; }

.rb-primary-nav .recomiendu-forced-city {
  display: grid !important;
  flex: 0 0 108px !important;
  width: 108px !important;
  min-width: 108px !important;
  min-height: 0 !important;
  justify-items: center !important;
  gap: 7px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  scroll-snap-align: start;
}

.rb-primary-nav .recomiendu-forced-city-photo {
  display: grid !important;
  width: 86px !important;
  height: 86px !important;
  overflow: hidden !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #eef2f4 !important;
  box-shadow: 0 9px 22px rgba(7, 17, 47, .14) !important;
  place-items: center !important;
}

.rb-primary-nav .recomiendu-forced-city-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.rb-primary-nav .recomiendu-forced-city-photo.is-fallback img {
  display: none !important;
}

.rb-primary-nav .recomiendu-forced-city strong {
  color: var(--rb-ink) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  text-align: center !important;
}

.rb-primary-nav .recomiendu-forced-city small {
  display: none !important;
}

.rb-food-round-icon {
  background: linear-gradient(180deg, #f7f8f8, #edf0f1);
  color: #687277;
}

.rb-food-round-icon .rb-food-icon {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.rb-food-round-icon .rb-food-emoji {
  filter: saturate(.95);
  font-size: 34px;
  transform: translateY(1px);
}

.rb-food-round-icon .rb-food-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: .7;
}

.rb-primary-nav a:hover,
.rb-primary-nav .current-menu-item > a,
.rb-primary-nav .current-cat > a {
  background: #fff0ef;
  color: var(--rb-red-dark);
}

.rb-main {
  display: block;
  width: 100%;
  min-height: 60vh;
}

.rb-main-content {
  width: min(var(--rb-width), calc(100% - 32px));
  margin: 22px auto 40px;
}

.rb-discovery-head {
  display: grid;
  width: min(var(--rb-width), calc(100% - 32px));
  gap: 5px;
  margin: 22px auto 14px;
}

.rb-discovery-head h1 {
  max-width: 760px;
  margin: 0;
  color: var(--rb-ink);
  font-size: 32px;
  font-weight: 950;
  line-height: 1.06;
}

.rb-discovery-head p {
  margin: 0;
  color: var(--rb-muted);
  font-size: 14px;
  font-weight: 650;
}

.rb-loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rb-post-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--rb-line);
  border-radius: 8px;
  background: var(--rb-surface);
  box-shadow: 0 5px 16px rgba(32, 23, 22, .055);
}

.rb-post-card > a {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
}

.rb-post-card .post-thumbnail,
.rb-post-card .recomiendu-listing-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eceff0;
}

.rb-post-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-post-copy {
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 6px;
  padding: 14px;
}

.rb-post-copy h2 {
  margin: 0;
  color: #111932;
  font-family: var(--rb-display-font);
  font-size: 23px;
  font-weight: 800;
  line-height: .95;
}

.rb-post-copy small {
  color: #7a858a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.rb-archive-head {
  width: min(var(--rb-width), calc(100% - 32px));
  margin: 24px auto 14px;
}

.rb-archive-head span {
  color: var(--rb-red-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rb-archive-head p {
  margin: 5px 0 0;
  color: var(--rb-muted);
  font-size: 14px;
}

.rb-archive-head h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.rb-article {
  width: 100%;
  margin: 0 auto;
}

.rb-article:not(:has(.recomiendu-app-card)) {
  width: min(820px, calc(100% - 32px));
  margin: 28px auto 60px;
  padding: 24px;
  border: 1px solid var(--rb-line);
  border-radius: 8px;
  background: #fff;
}

.rb-article > h1 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.08;
}

.rb-entry-content::after {
  display: table;
  clear: both;
  content: "";
}

.rb-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 28px auto;
}

.rb-site-footer {
  padding: 34px 16px;
  border-top: 1px solid #2d2827;
  background: #181514;
  color: rgba(255,255,255,.72);
  text-align: center;
  font-size: 12px;
}

.rb-footer-inner {
  display: grid;
  width: min(var(--rb-width), 100%);
  justify-items: center;
  gap: 12px;
  margin: 0 auto;
}

.rb-footer-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.rb-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.rb-footer-links a {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  color: rgba(255,255,255,.76);
  text-decoration: none;
}

.rb-site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .rb-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .rb-floating-brand {
    min-height: calc(58px + env(safe-area-inset-top));
    padding: calc(9px + env(safe-area-inset-top)) 14px 9px;
  }

  .rb-floating-brand-logo img {
    max-width: min(218px, 68vw);
    max-height: 40px;
  }

  .rb-header-main {
    width: calc(100% - 24px);
    min-height: 112px;
    gap: 10px;
    padding: 16px 0 18px;
  }

  .rb-brand {
    font-size: 28px;
  }

  .rb-brand .custom-logo {
    max-width: min(192px, 60vw);
    max-height: 47px;
  }

  .rb-search {
    width: 100%;
    height: 46px;
  }

  .rb-search input[type="search"] {
    padding: 0 10px;
    font-size: 20px;
  }

  .rb-search button {
    min-width: 82px;
    padding: 0 10px;
    font-size: 12px;
  }

  .rb-primary-nav {
    width: 100%;
    padding: 0 12px;
  }

  .rb-food-menu {
    justify-content: flex-start;
    gap: 7px;
  }

  .rb-food-menu a {
    min-height: 36px;
    padding: 0 9px;
  }

  .rb-food-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .rb-food-label {
    font-size: 11px;
  }

  .rb-category-inner {
    width: calc(100% - 20px);
    padding: 16px 42px 14px;
    border-radius: 16px;
  }

  .rb-category-head {
    padding: 0 14px;
  }

  .rb-category-actions {
    display: block;
  }

  .rb-category-rail {
    padding: 0 0 5px;
    scroll-padding-left: 0;
  }

  .rb-category-rail li {
    flex-basis: 214px;
  }

  .rb-category-rail a {
    min-height: 78px;
    gap: 11px;
    padding: 8px 13px 8px 8px;
    font-size: 15px;
    justify-content: center;
    text-align: center;
  }

  .rb-category-photo,
  .rb-category-fallback {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .rb-main-content,
  .rb-archive-head,
  .rb-discovery-head {
    width: calc(100% - 20px);
  }

  .rb-discovery-head h1 {
    font-size: 26px;
  }

  .rb-loop {
    gap: 10px;
  }

  .rb-post-copy {
    min-height: 80px;
    padding: 11px;
  }

.rb-post-copy h2 {
    font-size: 20px;
  }
}

/* Recomiendu micro delivery food rail */
.rb-category-inner {
  overflow: hidden !important;
}

.rb-category-rail {
  position: relative !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  margin: 0 -54px !important;
  padding: 6px 64px 10px !important;
  background: linear-gradient(90deg, #fff 0%, #f4f7f8 10%, #f4f7f8 90%, #fff 100%) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  scroll-padding-left: 64px !important;
}

.rb-category-rail li {
  flex: 0 0 96px !important;
}

.rb-category-rail a {
  min-height: 44px !important;
  gap: 7px !important;
  justify-content: flex-start !important;
  padding: 5px 8px 5px 5px !important;
  border-color: #e3ecef !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 9px 20px rgba(7, 17, 47, .07) !important;
}

.rb-category-photo,
.rb-category-fallback {
  width: 30px !important;
  height: 30px !important;
  flex-basis: 30px !important;
  border: 2px solid #fff !important;
  box-shadow: 0 5px 12px rgba(7, 17, 47, .13) !important;
}

.rb-category-label {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  color: #394449 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: .95 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

@media (max-width: 620px) {
  .rb-category-inner {
    padding-right: 42px !important;
    padding-left: 42px !important;
  }

  .rb-category-rail {
    margin-right: -42px !important;
    margin-left: -42px !important;
    padding-right: 52px !important;
    padding-left: 52px !important;
    scroll-padding-left: 52px !important;
  }

  .rb-category-rail li {
    flex-basis: 96px !important;
  }
}

/* 1.2: tipografía fuerte y composición centrada */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--rb-display-font);
}

body {
  font-weight: 650;
}

.rb-header-main {
  justify-content: initial;
}

.rb-brand,
.rb-search button,
.rb-primary-nav a,
.rb-category-head h2,
.rb-category-rail a,
.rb-discovery-head h1,
.rb-archive-head h1,
.rb-post-copy h2 {
  font-family: var(--rb-display-font);
  font-weight: 800;
  letter-spacing: 0;
}

.rb-primary-nav ul {
  justify-content: center;
}

.rb-category-head {
  position: static;
  justify-content: center;
  text-align: center;
}

.rb-category-head > div:first-child {
  justify-items: center;
}

.rb-category-actions {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  pointer-events: none;
}

.rb-category-rail button,
.rb-category-inner > button,
.recomiendu-delivery-categories,
.recomiendu-delivery-categories-head,
.recomiendu-delivery-categories-actions,
button[data-category-direction] {
  display: none !important;
}

.rb-category-actions button[data-rb-category="prev"] {
  right: auto !important;
  left: 12px !important;
}

.rb-category-actions button[data-rb-category="next"] {
  right: 12px !important;
  left: auto !important;
}

.rb-site-header {
  border-bottom: 0 !important;
}

.rb-category-shell {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.rb-category-inner {
  border-top-color: #e3ebeb;
  border-bottom-color: #e3ebeb;
}

.rb-discovery-head,
.rb-archive-head {
  justify-items: center;
  text-align: center;
}

.rb-discovery-head p,
.rb-archive-head p {
  font-weight: 700;
}

.rb-post-copy {
  justify-items: center;
  text-align: center;
}

.rb-post-copy h2,
.rb-post-copy small {
  width: 100%;
  text-align: center;
}

.rb-post-copy small {
  font-weight: 900;
}

/* 2.3.21: estética app suave */
body,
html {
  background: var(--rb-page);
}

.rb-main-content {
  margin-top: 28px;
}

.rb-loop {
  gap: 34px 20px;
}

.rb-post-card {
  border-color: #d7e2eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 17, 47, .12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.rb-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(7, 17, 47, .16);
}

.rb-post-card .post-thumbnail,
.rb-post-card .recomiendu-listing-thumb {
  background: #edf3f8;
  border-radius: 8px 8px 0 0;
}

.rb-post-card img {
  border-radius: inherit;
}

.rb-post-copy {
  min-height: 126px;
  gap: 8px;
  padding: 24px 18px 26px;
  background: #fff;
}

.rb-post-copy h2 {
  color: #080b25;
  font-size: 29px;
  line-height: .92;
}

.rb-post-copy small {
  color: #7b858b;
  font-size: 13px;
}

@media (max-width: 620px) {
  .rb-category-actions {
    display: block;
  }

  .rb-category-actions button {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
}

/* 2.3.52: menu de comidas micro delivery */
.rb-category-inner {
  overflow: hidden !important;
}

.rb-category-rail {
  position: relative !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  margin: 0 -54px !important;
  padding: 6px 64px 10px !important;
  background: linear-gradient(90deg, #fff 0%, #f4f7f8 10%, #f4f7f8 90%, #fff 100%) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%) !important;
  scroll-padding-left: 64px !important;
}

.rb-category-rail li {
  flex: 0 0 96px !important;
}

.rb-category-rail a {
  min-height: 44px !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  padding: 5px 8px 5px 5px !important;
  border-color: #e3ecef !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 9px 20px rgba(7, 17, 47, .07) !important;
}

.rb-category-photo,
.rb-category-fallback {
  width: 30px !important;
  height: 30px !important;
  flex-basis: 30px !important;
  border: 2px solid #fff !important;
  box-shadow: 0 5px 12px rgba(7, 17, 47, .13) !important;
}

.rb-category-label {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  color: #394449 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: .95 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

@media (max-width: 620px) {
  .rb-category-inner {
    padding-right: 42px !important;
    padding-left: 42px !important;
  }

  .rb-category-rail {
    margin-right: -42px !important;
    margin-left: -42px !important;
    padding-right: 52px !important;
    padding-left: 52px !important;
    scroll-padding-left: 52px !important;
  }
}
