/* =====================================================
   RESTAURANTEXS — MAIN CSS
   Versión: 1.0.0 | Sistema de diseño completo
   ===================================================== */

/* -------------------------------------------------------
   VARIABLES DEL SISTEMA
------------------------------------------------------- */
:root {
    --cream:           #FAF7F2;
    --cream-dark:      #F0EBE0;
    --white:           #FFFFFF;
    --terracotta:      #C0522A;
    --terracotta-lt:   #E8735A;
    --terracotta-dk:   #8B3318;
    --gold:            #C9922B;
    --gold-light:      #F0C866;
    --dark:            #1A1208;
    --dark-mid:        #3D2E1A;
    --mid:             #7A6A55;
    --border:          rgba(90,65,35,0.15);
    --border-hover:    rgba(90,65,35,0.3);
    --radius:          10px;
    --radius-lg:       16px;
    --radius-xl:       24px;
    --shadow-sm:       0 2px 8px rgba(26,18,8,0.06);
    --shadow-md:       0 6px 24px rgba(26,18,8,0.10);
    --shadow-lg:       0 12px 40px rgba(26,18,8,0.14);
    --font-display:    'Fraunces', Georgia, serif;
    --font-body:       'DM Sans', system-ui, sans-serif;
    --max-width:       1200px;
    --section-pad:     56px 24px;
    --transition:      0.18s ease;
}

/* -------------------------------------------------------
   RESET LIGERO
------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--dark);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
ul, ol { list-style: none; }

/* -------------------------------------------------------
   UTILIDADES
------------------------------------------------------- */
.rxs-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.rxs-sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------
   TIPOGRAFÍA BASE
------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--dark);
}
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; }
h3 { font-size: clamp(16px, 2.5vw, 20px); font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p  { font-size: 15px; line-height: 1.65; }

/* -------------------------------------------------------
   BOTONES
------------------------------------------------------- */
.rxs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}
.rxs-btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}
.rxs-btn-primary:hover { background: var(--terracotta-dk); border-color: var(--terracotta-dk); }
.rxs-btn-ghost {
    background: transparent;
    color: var(--dark);
    border-color: var(--border-hover);
}
.rxs-btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }
.rxs-btn-pill { border-radius: 50px; }

/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */
.rxs-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
}
.rxs-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.rxs-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--terracotta);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    text-decoration: none;
}
.rxs-logo span { color: var(--gold); }
.rxs-nav {
    display: flex;
    gap: 2px;
    flex: 1;
    align-items: center;
}
.rxs-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--mid);
    padding: 6px 12px;
    border-radius: 8px;
    transition: all var(--transition);
}
.rxs-nav a:hover,
.rxs-nav a.active { background: var(--cream-dark); color: var(--dark); }
.rxs-header__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* Mobile hamburger */
.rxs-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    margin-left: auto;
}
.rxs-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}
.rxs-mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
}
.rxs-mobile-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.rxs-mobile-nav.is-open { display: flex; }

/* -------------------------------------------------------
   AD BANNER
------------------------------------------------------- */
.rxs-ad-banner {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px;
    text-align: center;
}
.rxs-ad-banner__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.rxs-ad-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mid);
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* -------------------------------------------------------
   HERO HOMEPAGE
------------------------------------------------------- */
.rxs-hero {
    background: var(--dark);
    padding: 72px 24px 80px;
    text-align: center;
    position: relative;
    overflow: visible;
}
.rxs-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle, rgba(240,200,102,1) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.rxs-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    position: relative;
}
.rxs-hero h1 {
    font-family: var(--font-display);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 14px;
    position: relative;
}
.rxs-hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}
.rxs-hero__sub {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    position: relative;
}
.rxs-search-bar {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    background: var(--white);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    gap: 8px;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.rxs-search-bar__icon {
    color: var(--mid);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.rxs-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark);
    background: transparent;
    min-width: 0;
}
.rxs-search-bar input::placeholder { color: var(--mid); }
.rxs-search-bar button {
    background: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: 40px;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    transition: background var(--transition);
}
.rxs-search-bar button:hover { background: var(--terracotta-dk); }
.rxs-hero__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    position: relative;
}
.rxs-hero__stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--gold-light);
}
.rxs-hero__stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* -------------------------------------------------------
   SECCIONES GENÉRICAS
------------------------------------------------------- */
.rxs-section { padding: var(--section-pad); }
.rxs-section--white { background: var(--white); }
.rxs-section--cream { background: var(--cream); }
.rxs-section--cream-dark { background: var(--cream-dark); }
.rxs-section--dark { background: var(--dark); }

.rxs-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}
.rxs-section__title { margin-bottom: 4px; }
.rxs-section__subtitle { font-size: 14px; color: var(--mid); }
.rxs-section--dark .rxs-section__title { color: var(--white); }
.rxs-section--dark .rxs-section__subtitle { color: rgba(255,255,255,0.45); }
.rxs-section__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--terracotta);
    flex-shrink: 0;
    white-space: nowrap;
    transition: color var(--transition);
}
.rxs-section__title {
    margin-bottom: 4px;
    font-size: 26px;
}
.rxs-section__link:hover { color: var(--terracotta-dk); }
.rxs-section--dark .rxs-section__link { color: var(--gold-light); }

/* -------------------------------------------------------
   CITY GRID
------------------------------------------------------- */
.rxs-city-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.rxs-city-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition);
    text-decoration: none;
}
.rxs-city-card:hover { transform: translateY(-4px); }
.rxs-city-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rxs-city-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,8,2,0.88) 40%, rgba(15,8,2,0.08) 100%);
}
.rxs-city-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.rxs-city-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 14px;
}
.rxs-city-card__name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    display: block;
    line-height: 1.2;
    margin-bottom: 2px;
}
.rxs-city-card__count { font-size: 12px; color: rgba(255,255,255,0.55); }

/* -------------------------------------------------------
   RESTAURANT CARDS
------------------------------------------------------- */
.rxs-restaurant-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.rxs-restaurant-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--dark);
}
.rxs-restaurant-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.rxs-restaurant-card__media {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
    flex-shrink: 0;
}
.rxs-restaurant-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.rxs-restaurant-card:hover .rxs-restaurant-card__media img {
    transform: scale(1.03);
}
.rxs-restaurant-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 10px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.rxs-restaurant-card__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: all var(--transition);
}
.rxs-restaurant-card__fav:hover { background: var(--white); transform: scale(1.1); }
.rxs-restaurant-card__fav svg { width: 14px; height: 14px; }
.rxs-restaurant-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.rxs-restaurant-card__cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.rxs-cat-tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--terracotta);
    background: rgba(192,82,42,0.08);
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.rxs-restaurant-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 8px;
}
.rxs-restaurant-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    font-size: 13px;
}
.rxs-stars { color: var(--gold); letter-spacing: 1px; }
.rxs-rating { font-weight: 500; }
.rxs-reviews { color: var(--mid); }
.rxs-price { color: var(--mid); }
.rxs-restaurant-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: auto;
    gap: 8px;
    flex-wrap: wrap;
}
.rxs-status {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
}
.rxs-status--open   { background: rgba(39,120,60,0.12); color: #1e7a3a; }
.rxs-status--closes { background: rgba(192,82,42,0.1);  color: var(--terracotta); }
.rxs-status--closed { background: rgba(200,50,50,0.1);  color: #b52a2a; }
.rxs-city-loc { font-size: 12px; color: var(--mid); }

@media (max-width: 768px) {
    .rxs-status {
        font-size: 10px;
        padding: 2px 7px;
    }
    .rxs-city-loc {
        font-size: 11px;
    }
}

/* -------------------------------------------------------
   EDITORIAL SECTION
------------------------------------------------------- */
.rxs-editorial-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 18px;
}
.rxs-editorial-col { display: flex; flex-direction: column; gap: 18px; }
.rxs-editorial-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform var(--transition);
}
.rxs-editorial-card:hover { transform: scale(1.015); }
.rxs-editorial-card--large { aspect-ratio: 4/3; }
.rxs-editorial-card--small { aspect-ratio: 16/9; }
.rxs-editorial-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rxs-editorial-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,8,2,0.9) 40%, rgba(15,8,2,0.15) 100%);
}
.rxs-editorial-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}
.rxs-editorial-card__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-light);
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}
.rxs-editorial-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    line-height: 1.25;
}
.rxs-editorial-card--large .rxs-editorial-card__title { font-size: 22px; }
.rxs-editorial-card--small .rxs-editorial-card__title { font-size: 17px; }
.rxs-editorial-card__city {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
.rxs-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.45);
}
.rxs-footer__top {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 56px 24px 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.rxs-footer__logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
}
.rxs-footer__logo span { color: var(--gold); }
.rxs-footer__desc {
    font-size: 14px;
    line-height: 1.65;
    max-width: 240px;
}
.rxs-footer__col h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.rxs-footer__col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
    transition: color var(--transition);
    text-decoration: none;
}
.rxs-footer__col a:hover { color: var(--white); }
.rxs-footer__bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    gap: 16px;
    flex-wrap: wrap;
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 1100px) {
    .rxs-city-grid { grid-template-columns: repeat(4, 1fr); }
    .rxs-restaurant-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    :root { --section-pad: 40px 20px; }
    .rxs-city-grid { grid-template-columns: repeat(3, 1fr); }
    .rxs-restaurant-grid { grid-template-columns: repeat(2, 1fr); }
    .rxs-editorial-grid { grid-template-columns: 1fr; }
    .rxs-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .rxs-nav { display: none; }
    .rxs-header__actions .rxs-btn-ghost { display: none; }
    .rxs-header__actions .rxs-btn-primary { display: none; }
    .rxs-hamburger { display: flex; }
    .rxs-hero__stats { gap: 24px; }
}

@media (max-width: 600px) {
    :root { --section-pad: 32px 16px; }
    .rxs-city-grid { grid-template-columns: repeat(2, 1fr); }
    .rxs-restaurant-grid { grid-template-columns: 1fr; }
    .rxs-footer__top { grid-template-columns: 1fr; gap: 28px; }
    .rxs-header__actions { gap: 8px; }
    .rxs-hero { padding: 48px 20px 56px; }
    .rxs-hero__stats { gap: 16px; }
    .rxs-hero__stat-num { font-size: 22px; }
    .rxs-section__header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.rxs-city-hero__title em.rxs-gold,
.rxs-city-hero__title .rxs-gold,
.rxs-city-hero__desc em.rxs-gold,
.rxs-city-hero__desc .rxs-gold {
    font-style: italic;
    color: var(--gold-light);
}

/* ── Círculo parpadeante tipo latido ── */
.rxs-pulse {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    animation: rxs-heartbeat 1.4s ease-in-out infinite;
}

.rxs-pulse--open   { background: #1a6b34; }
.rxs-pulse--closed { background: #a01a1a; }

@keyframes rxs-heartbeat {
    0%   { transform: scale(1);    opacity: 1; }
    14%  { transform: scale(1.35); opacity: 0.85; }
    28%  { transform: scale(1);    opacity: 1; }
    42%  { transform: scale(1.2);  opacity: 0.9; }
    70%  { transform: scale(1);    opacity: 1; }
    100% { transform: scale(1);    opacity: 1; }
}

.rxs-city-carousel-wrap {
    position: relative;
    margin: 0 -16px; /* sangrar hasta los bordes en mobile */
}

.rxs-city-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 16px 16px;
}
.rxs-city-carousel::-webkit-scrollbar { display: none; }

.rxs-city-card {
    position: relative;
    flex-shrink: 0;
    width: 240px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rxs-city-card:hover {
    transform: translateY(-4px);
}

.rxs-city-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.rxs-city-card:hover .rxs-city-card__img {
    transform: scale(1.05);
}
.rxs-city-card__img--color {
    width: 100%;
    height: 100%;
}

.rxs-city-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 30%,
        rgba(0,0,0,0.75) 100%
    );
}

.rxs-city-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 10px;
    border-radius: 20px;
}

.rxs-city-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.rxs-city-card__name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.rxs-city-card__count {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}


.rxs-city-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    color: var(--dark);
}
.rxs-city-carousel__arrow:hover {
    background: var(--terracotta);
    color: #fff;
    box-shadow: 0 4px 16px rgba(192,82,42,0.3);
}
.rxs-city-carousel__arrow--prev { left: 0; }
.rxs-city-carousel__arrow--next { right: 0; }

/* Ocultar flechas en mobile â€” el swipe es suficiente */
@media (max-width: 768px) {
    .rxs-city-carousel__arrow  { display: none; }
    .rxs-city-carousel-wrap    { margin: 0 -20px; overflow: hidden; }
    .rxs-city-carousel         { 
        padding: 8px 20px 16px; 
        gap: 12px;
        scroll-padding-left: 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .rxs-city-card { 
        width: 200px; 
        height: 280px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    .rxs-city-carousel::before,
    .rxs-city-carousel::after {
        content: '';
        flex-shrink: 0;
        width: 1px;
    }
}

@media (min-width: 769px) {
    .rxs-city-carousel-wrap { margin: 0; }
    .rxs-city-carousel      { padding: 8px 4px 16px; }
}
.rxs-city-carousel {
    scroll-padding-left: 16px;
}

.rxs-rest-carousel-wrap {
    position: relative;
    margin: 0 -16px;
}

.rxs-rest-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 16px 16px;
}
.rxs-rest-carousel::-webkit-scrollbar { display: none; }

.rxs-rest-card {
    flex-shrink: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    scroll-snap-align: start;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.rxs-rest-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.rxs-rest-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: var(--dark);
}

/* Foto */
.rxs-rest-card__media {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
    flex-shrink: 0;
}
.rxs-rest-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.rxs-rest-card:hover .rxs-rest-card__media img {
    transform: scale(1.04);
}
.rxs-rest-card__media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

/* Badge */
.rxs-rest-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--terracotta);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 2;
}

/* Favorito */
.rxs-rest-card__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: all var(--transition);
}
.rxs-rest-card__fav:hover { background: var(--white); transform: scale(1.1); }
.rxs-rest-card__fav svg  { width: 14px; height: 14px; }
.rxs-rest-card__fav.is-saved svg { fill: var(--terracotta); stroke: var(--terracotta); }

/* Body */
.rxs-rest-card__body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rxs-rest-card__cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.rxs-rest-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 8px;
}
.rxs-rest-card__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .rxs-rest-card__meta {
        font-size: 11px;
        gap: 3px;
    }
}

.rxs-rest-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: auto;
    gap: 8px;
    font-size: 12px;
}

.rxs-rest-carousel__arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    color: var(--dark);
}
.rxs-rest-carousel__arrow:hover {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(192,82,42,0.3);
}
.rxs-rest-carousel__arrow--prev { left: 0; }
.rxs-rest-carousel__arrow--next { right: 0; }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
    .rxs-rest-carousel__arrow { display: none; }
    .rxs-rest-carousel-wrap   { margin: 0 -20px; }
    .rxs-rest-carousel        { padding: 8px 20px 16px; gap: 12px; }
    .rxs-rest-card            { width: 240px; }
}

@media (min-width: 769px) {
    .rxs-rest-carousel-wrap { margin: 0; }
    .rxs-rest-carousel      { padding: 8px 4px 16px; }
    .rxs-rest-card          { width: 280px; }
}

/* ── Buscador header ── */
.rxs-header-search {
    position: relative;
    display: flex;
    align-items: center;
}
.rxs-header-search__toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.rxs-header-search__toggle:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}
.rxs-header-search__box {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    background: var(--white);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    z-index: 300;
}
.rxs-header-search__box.is-open {
    display: flex;
}
.rxs-header-search__icon {
    color: var(--mid);
    flex-shrink: 0;
}
.rxs-header-search__box input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--dark);
    background: transparent;
    min-width: 0;
}
.rxs-header-search__box input::placeholder { color: var(--mid); }
.rxs-header-search__close {
    background: none;
    border: none;
    color: var(--mid);
    cursor: pointer;
    font-size: 14px;
    padding: 2px 4px;
    flex-shrink: 0;
    line-height: 1;
    transition: color var(--transition);
}
.rxs-header-search__close:hover { color: var(--dark); }

/* Resultados */
.rxs-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: -12px;
    right: -12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    z-index: 400;
    max-height: 400px;
    overflow-y: auto;
}
.rxs-search-results.is-open { display: block; }

.rxs-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--dark);
    transition: background var(--transition);
    border-bottom: 1px solid var(--border);
}
.rxs-search-result:last-child { border-bottom: none; }
.rxs-search-result:hover { background: var(--cream); }

.rxs-search-result__thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--cream-dark);
}
.rxs-search-result__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.rxs-search-result__info { flex: 1; min-width: 0; }
.rxs-search-result__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rxs-search-result__sub {
    font-size: 12px;
    color: var(--mid);
    margin-top: 1px;
}
.rxs-search-result__rating {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    flex-shrink: 0;
}
.rxs-search-empty {
    padding: 20px 14px;
    text-align: center;
    font-size: 14px;
    color: var(--mid);
}
.rxs-search-loading {
    padding: 16px 14px;
    text-align: center;
    font-size: 13px;
    color: var(--mid);
}
.rxs-search-footer {
    padding: 10px 14px;
    border-top: 1px solid var(--border);
    background: var(--cream);
}
.rxs-search-footer a {
    font-size: 13px;
    color: var(--terracotta);
    font-weight: 500;
    text-decoration: none;
}
.rxs-search-footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .rxs-header-search__box {
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        transform: none;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    .rxs-search-results {
        position: fixed;
        top: 114px;
        left: 0;
        right: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        max-height: calc(100vh - 114px);
    }
}

.rxs-hero-search-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.rxs-hero-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    z-index: 300;
    max-height: 380px;
    overflow-y: auto;
    text-align: left;
}
.rxs-hero-search-results.is-open { display: block; }

/* ═══════════════════════════════════════════════════════
   ARTÍCULOS DEL BLOG
═══════════════════════════════════════════════════════ */

/* Hero del artículo */
.rxs-article__hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-color: var(--dark);
}
.rxs-article__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
.rxs-article__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
    width: 100%;
    text-align: center;
}
.rxs-article__cat {
    display: inline-block;
    background: var(--terracotta);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 16px;
}
.rxs-article__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 52px);
    color: var(--white);
    line-height: 1.15;
    margin: 0 0 16px;
}
.rxs-article__meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 13px;
    color: rgba(255,255,255,.7);
}

/* Wrap del contenido */
.rxs-article__wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

@media (max-width: 768px) {
    .rxs-article__wrap {
        padding: 32px 20px 60px;
        max-width: 90%;
    }
}
.rxs-article__wrap--lista {
    max-width: 860px;
}

/* Contenido del artículo */
.rxs-article__content {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.8;
    color: var(--dark);
}
.rxs-article__content h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    color: var(--dark);
    margin: 48px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cream-dark);
}
.rxs-article__content h3 {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--dark);
    margin: 36px 0 12px;
}
.rxs-article__content p { margin: 0 0 20px; }
.rxs-article__content img {
    width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}
.rxs-article__content ul,
.rxs-article__content ol {
    padding-left: 24px;
    margin: 0 0 20px;
}
.rxs-article__content li { margin-bottom: 8px; }
.rxs-article__content a {
    color: var(--terracotta);
    text-decoration: underline;
}
.rxs-article__content blockquote {
    border-left: 4px solid var(--terracotta);
    margin: 32px 0;
    padding: 16px 24px;
    background: var(--cream);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--mid);
}

/* ── Shortcodes editoriales ── */
.rxs-sc-block {
    margin: 40px 0;
    padding: 32px;
    background: var(--cream);
    border-radius: 16px;
}
.rxs-sc-block__title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--dark);
    margin: 0 0 20px;
    border: none !important;
    padding: 0 !important;
}
.rxs-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.rxs-editorial-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: block;
}
.rxs-editorial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.rxs-editorial-card__img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cream-dark);
}
.rxs-editorial-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 !important;
    transition: transform .4s ease;
}
.rxs-editorial-card:hover .rxs-editorial-card__img-wrap img {
    transform: scale(1.05);
}
.rxs-editorial-card__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.rxs-editorial-card__rating {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,.7);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}
.rxs-editorial-card__body {
    padding: 12px 14px;
}
.rxs-editorial-card__name {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--dark);
    line-height: 1.3;
    border: none !important;
    padding: 0 !important;
}
.rxs-editorial-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    font-size: 11px;
    color: var(--mid);
}

/* Card ciudad */
.rxs-editorial-card--city .rxs-editorial-card__img-wrap {
    aspect-ratio: 3/4;
}
.rxs-editorial-card__city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}
.rxs-editorial-card__city-name {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    display: block;
}
.rxs-editorial-card__city-count {
    color: rgba(255,255,255,.7);
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .rxs-article__hero { min-height: 360px; }
    .rxs-article__wrap { padding: 32px 16px 60px; }
    .rxs-article__content { font-size: 16px; }
    .rxs-editorial-grid { grid-template-columns: repeat(2, 1fr); }
    .rxs-sc-block { padding: 20px 16px; }
}
@media (max-width: 480px) {
    .rxs-editorial-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════
   BLOG — LISTADO
═══════════════════════════════════════════════════════ */

.rxs-blog-hero {
    background: var(--dark);
    padding: 80px 24px 60px;
    text-align: center;
}
.rxs-blog-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 48px);
    color: var(--white);
    margin: 12px 0 16px;
    line-height: 1.2;
}
.rxs-blog-hero h1 em {
    color: var(--gold);
    font-style: italic;
}
.rxs-blog-hero .rxs-hero__sub {
    color: rgba(255,255,255,.7);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}

.rxs-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.rxs-blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.rxs-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.rxs-blog-card__img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--cream-dark);
}
.rxs-blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.rxs-blog-card:hover .rxs-blog-card__img img {
    transform: scale(1.05);
}
.rxs-blog-card__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.rxs-blog-card__cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.rxs-blog-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.rxs-blog-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
    color: var(--dark);
}
.rxs-blog-card__excerpt {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rxs-blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--mid);
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: auto;
}
.rxs-blog-card__read {
    color: var(--terracotta);
    font-weight: 600;
}

/* Paginación blog */
.rxs-blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.rxs-blog-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.rxs-blog-pagination .page-numbers li a,
.rxs-blog-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
    transition: all var(--transition);
}
.rxs-blog-pagination .page-numbers li a:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}
.rxs-blog-pagination .page-numbers li span.current {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--white);
    font-weight: 700;
}

@media (max-width: 900px) {
    .rxs-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .rxs-blog-grid { grid-template-columns: 1fr; }
    .rxs-blog-hero { padding: 60px 16px 40px; }
}

/* ═══════════════════════════════════════════════════════
   SHORTCODE — ITEM DE LISTA EDITORIAL
═══════════════════════════════════════════════════════ */

.rxs-lista-item {
    background: var(--cream);
    border-radius: 16px;
    padding: 20px 32px 32px;
    margin: 0 0 24px;
    border-bottom: none;
    position: relative;
}

@media (max-width: 768px) {
    .rxs-lista-item {
        padding: 20px 16px 24px;
    }
    .rxs-lista-item__num {
        font-size: 32px;
    }
    .rxs-lista-item__nombre {
        font-size: 20px;
    }
    .rxs-lista-item__img {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
    }
    .rxs-lista-tag {
    font-size: 12px;
    padding: 4px 10px;
    width: auto;
    display: inline-flex;
}
}
.rxs-lista-item:last-of-type {
    margin-bottom: 0;
}
.rxs-lista-item:last-of-type {
    border-bottom: none;
}

.rxs-lista-item__header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.rxs-lista-item__num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
    flex-shrink: 0;
}

.rxs-lista-item__nombre {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
    border: none !important;
    padding: 0 !important;
}

.rxs-lista-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.rxs-lista-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 400;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--dark);
    width: auto;
    align-self: flex-start;
}

.rxs-lista-tag--precio {
    font-family: var(--font-body);
}

.rxs-lista-tag--dificultad {
    font-family: var(--font-body);
}

.rxs-lista-tag--facil {
    border-color: #16a34a;
    color: #16a34a;
}
.rxs-lista-tag--intermedio {
    border-color: #d97706;
    color: #d97706;
}
.rxs-lista-tag--dificil {
    border-color: #dc2626;
    color: #dc2626;
}

.rxs-lista-tag--recomendado {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--cream);
    font-weight: 500;
}

.rxs-lista-item__img {
    margin: 0 0 20px;
}

.rxs-lista-item__img img {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rxs-lista-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 !important;
}

.rxs-lista-item__credito {
    font-size: 12px;
    color: var(--mid);
    font-style: italic;
    margin-top: 6px;
    display: block;
    text-align: center;
}

.rxs-lista-item__contenido {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 20px;
}

.rxs-lista-item__contenido p {
    margin: 0 0 12px;
}

.rxs-lista-item__contenido strong {
    color: var(--dark);
    font-weight: 600;
}

.rxs-lista-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    color: var(--dark);
    border: none;
    border-left: 4px solid var(--terracotta);
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
    box-shadow: var(--shadow-sm);
}

.rxs-lista-btn:hover {
    background: var(--terracotta);
    color: var(--white);
}

/* ── Contenido items de lista ── */
.rxs-lista-item__contenido h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--terracotta);
    margin: 24px 0 8px;
    padding-bottom: 0;
    border-bottom: none;
    text-transform: none;
    letter-spacing: 0;
}

.rxs-lista-item__contenido h3:first-child {
    margin-top: 0;
}

.rxs-lista-item__contenido p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark);
    margin: 0 0 12px;
}

.rxs-lista-item__contenido ul,
.rxs-lista-item__contenido ol {
    padding-left: 20px;
    margin: 0 0 16px;
}

.rxs-lista-item__contenido li {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.7;
}

.rxs-lista-item__contenido {
    position: relative;
}

.rxs-lista-item__contenido.is-collapsed {
    max-height: 120px;
    overflow: hidden;
}

.rxs-lista-item__contenido-wrap {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.rxs-lista-ver-mas-wrap {
    position: relative;
    text-align: center;
    margin-top: -80px;
    padding-top: 80px;
    background: linear-gradient(to bottom, rgba(245,240,232,0) 0%, var(--cream) 70%);
    pointer-events: none;
    z-index: 1;
}

.rxs-lista-ver-mas-wrap .rxs-lista-ver-mas {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    font-family: var(--font-body);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.rxs-lista-ver-mas-wrap .rxs-lista-ver-mas:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

/* ═══════════════════════════════════════════════════════
   FAQ ACORDEÓN
═══════════════════════════════════════════════════════ */
.rxs-faq {
    margin: 48px 0;
}

.rxs-faq__titulo {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    color: var(--dark);
    margin-bottom: 24px;
}

.rxs-faq__lista {
}

.rxs-faq__item {
    border-bottom: 1px solid var(--border);
}



.rxs-faq__pregunta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    gap: 16px;
    transition: color var(--transition);
}

.rxs-faq__pregunta:hover {
    color: var(--terracotta);
}

.rxs-faq__icono {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.rxs-faq__icono::before,
.rxs-faq__icono::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.rxs-faq__icono::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rxs-faq__icono::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rxs-faq__pregunta[aria-expanded="true"] .rxs-faq__icono::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.rxs-faq__pregunta[aria-expanded="true"] {
    color: var(--terracotta);
}

.rxs-faq__respuesta {
    overflow: hidden;
}

.rxs-faq__respuesta[hidden] {
    display: none;
}

.rxs-faq__respuesta-inner {
    padding: 0 0 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted, #666);
}

.rxs-faq__respuesta-inner p {
    margin-bottom: 12px;
}

.rxs-faq__respuesta-inner p:last-child {
    margin-bottom: 0;
}

.rxs-schedule-hours {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ── Carousel del blog ── */
.rxs-blog-carousel-wrap {
    position: relative;
}
.rxs-blog-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.rxs-blog-carousel::-webkit-scrollbar { display: none; }

.rxs-blog-card--carousel {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
    color: var(--white);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}
.rxs-blog-card--carousel:hover {
    transform: translateY(-3px);
}
.rxs-blog-card--carousel .rxs-blog-card__img {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.rxs-blog-card--carousel .rxs-blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.rxs-blog-card--carousel:hover .rxs-blog-card__img img {
    transform: scale(1.05);
}
.rxs-blog-card--carousel .rxs-blog-card__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.rxs-blog-card--carousel .rxs-blog-card__cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.rxs-blog-card--carousel .rxs-blog-card__body {
    padding: 16px;
    flex: 1;
}
.rxs-blog-card--carousel .rxs-blog-card__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 8px;
    line-height: 1.3;
}
.rxs-blog-card--carousel .rxs-blog-card__meta {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .rxs-blog-card--carousel { flex: 0 0 260px; }
}

/* ── Filtros mobile desplegable ── */
.rxs-filters-mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .rxs-filters-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: var(--dark);
        cursor: pointer;
        margin-bottom: 8px;
    }
    .rxs-filters-mobile-toggle svg {
        transition: transform var(--transition);
    }
    .rxs-filters-mobile-toggle.is-open svg {
        transform: rotate(180deg);
    }
    .rxs-city-sidebar {
        display: none;
    }
    .rxs-city-sidebar.is-open {
        display: block;
    }
}