/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Prevent horizontal overflow on mobile — use clip not hidden to preserve sticky */
html, body { overflow-x: clip; }

/* Fix btn_1 inside main nav: centered text and aligned with nav */
.main-menu > ul > li > a.btn_1 {
    padding: 5px 15px !important;
    line-height: normal !important;
    color: #fff !important;
    margin-left: 8px !important;
}
.main-menu > ul > li > a.btn_1:hover {
    color: #fff !important;
    opacity: 1 !important;
}

/* Align top_menu icons with nav text */
ul#top_menu li a.login,
ul#top_menu li a.wishlist_bt_top {
    top: 13px !important;
}

/* Logo sizing — keep aspect ratio, control by height only */
#logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
}
header.header.sticky #logo img {
    height: 30px;
}
.navbar-brand img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* Mobile menu logo — constrain size + make white on green bg */
#header_menu img {
    max-height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* header_in: show only sticky logo (dark logo for white bg) */
header.header_in .logo_normal {
    display: none;
}
header.header_in .logo_sticky {
    display: inline-block;
}

/* Home header: transparent overlay on hero, white text/logo */
body.home-page header.header {
    position: fixed;
    background-color: transparent;
    border-bottom: 1px solid rgba(255,255,255,0);
}
body.home-page header.header #logo img.logo_normal {
    filter: brightness(0) invert(1);
}
/* Sticky: white bg, dark text, original logo */
body.home-page header.header.sticky {
    background-color: #fff;
    border-bottom: 1px solid #ededed;
}
body.home-page header.header.sticky #logo img.logo_normal {
    filter: none;
}

/* =============================================
   Hero Banner — ElTenedor style
   ============================================= */
.hero-banner {
    background: #fff;
    padding: 80px 0 40px;
}
.hero-banner .container {
    max-width: 1400px;
}
.hero-banner__card {
    background: #00584b;
    border-radius: 16px;
    position: relative;
    overflow: visible;
    padding: 55px 50px;
}
.hero-banner__content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}
.hero-banner__content h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px;
}
.hero-banner__content p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 25px;
}
.hero-banner__content .gp-search {
    max-width: 100%;
}
.hero-banner__content .gp-search__form {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
}
.hero-banner__content .gp-search__input {
    font-size: 16px;
    padding: 18px 12px;
}
.hero-banner__content .gp-search__btn {
    padding: 14px 28px;
    font-size: 15px;
}
.hero-banner__food-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 340px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 0 16px 0;
    pointer-events: none;
}
.hero-banner__food {
    position: absolute;
    right: 0;
    top: 50%;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateX(80px) translateY(-50%);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-banner__food--active {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
}
.hero-banner__food--exit {
    opacity: 0;
    transform: translateX(80px) translateY(-50%);
    transition: opacity 0.5s ease, transform 0.5s ease-in;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-banner__content {
        max-width: 65%;
    }
    .hero-banner__card {
        padding: 35px 30px;
    }
    .hero-banner__content h1 {
        font-size: 1.8rem;
    }
    .hero-banner__food-wrap {
        width: 250px;
    }
}
@media (max-width: 767px) {
    .hero-banner {
        padding: 70px 0 30px;
    }
    .hero-banner__card {
        padding: 30px 24px;
    }
    .hero-banner__content {
        max-width: 100%;
    }
    .hero-banner__content h1 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    .hero-banner__content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .hero-banner__food-wrap {
        display: none;
    }
}

/* Detail gallery grid - TheFork style */
.detail_gallery {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px;
    gap: 6px;
    border-radius: 12px;
    overflow: hidden;
}
.detail_gallery_main {
    display: block;
    grid-row: 1 / 3;
    overflow: hidden;
}
.detail_gallery_main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail_gallery_right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    grid-row: 1 / 3;
}
.detail_gallery_thumb {
    display: block;
    overflow: hidden;
    position: relative;
}
.detail_gallery_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail_gallery_thumb.gallery_more::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
}
.detail_gallery_thumb .gallery_count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
}
.detail_gallery_thumb .gallery_count i {
    margin-right: 4px;
}
@media (max-width: 767px) {
    .detail_gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 220px;
    }
    .detail_gallery_main {
        grid-row: auto;
    }
    .detail_gallery_right {
        grid-row: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 100px 100px;
    }
}

/* =============================================
   Gallery Tag Sections (photo cards in a row)
   ============================================= */
.detail_photo_sections {
    display: flex;
    gap: 16px;
    margin-top: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.detail_photo_sections > .menu_summary_photo {
    flex: 0 0 auto;
}

/* =============================================
   GuiaPana Search Bar - TheFork style
   ============================================= */

/* Main container */
.hero_single .gp-search,
.hero-banner__content .gp-search {
    max-width: 780px;
    margin: 0 auto;
}

/* Form row */
.gp-search__form {
    display: flex;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    overflow: visible;
}

/* Fields */
.gp-search__field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}
.gp-search__field--location {
    flex: 0 0 35%;
    border-right: 1px solid #e8e8e8;
}
.gp-search__field--query {
    flex: 1;
}
.gp-search__field > i {
    font-size: 16px;
    color: #32a067;
    padding-left: 14px;
    flex-shrink: 0;
}

/* Inputs */
.gp-search__input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 15px 10px;
    color: #333;
    background: transparent;
    width: 100%;
    min-width: 0;
}
.gp-search__input::placeholder {
    color: #999;
}

.gp-search__input--auto {
    color: #777;
}

/* Clear button */
.gp-search__clear {
    border: none;
    background: none;
    font-size: 18px;
    color: #ccc;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
    flex-shrink: 0;
}
.gp-search__clear:hover {
    color: #666;
}

/* Search button */
.gp-search__btn {
    border: none;
    background: #3F622A;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 28px;
    cursor: pointer;
    letter-spacing: 0.5px;
    border-radius: 0 5px 5px 0;
    white-space: nowrap;
    transition: background 0.2s;
}
.gp-search__btn:hover {
    background: #334F22;
}
/* While the typed text is being resolved against the search index */
.gp-search__btn.is-loading {
    opacity: 0.75;
    cursor: progress;
}

/* Compact search in listing page header */
.page_header .gp-search__form {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
}
.page_header .gp-search__input {
    font-size: 13px;
    padding: 10px 8px;
}
.page_header .gp-search__field > i {
    font-size: 14px;
    padding-left: 10px;
}
.page_header .gp-search__btn {
    font-size: 12px;
    padding: 0 16px;
}
.page_header .gp-search__field--location {
    flex: 0 0 38%;
}

/* Dropdown panels */
.gp-search__panel {
    position: absolute;
    top: calc(100% + 4px);
    left: -1px;
    right: -1px;
    z-index: 10000;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.18);
    border: 1px solid #e0e0e0;
    max-height: 480px;
    overflow-y: auto;
    padding: 8px 0;
}
.gp-search__panel--query {
    min-width: 460px;
    left: 0;
    right: auto;
}

/* Sources */
.aa-Source + .aa-Source {
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
    padding-top: 4px;
}
.aa-SourceHeader {
    padding: 10px 20px 6px;
}
.aa-SourceHeaderTitle {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #999;
}

/* List */
.aa-List {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aa-Item {
    margin: 0;
}

/* Item links */
.aa-ItemLink {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    gap: 14px;
    transition: background 0.15s;
}
.aa-ItemLink:hover,
.aa-Item:hover .aa-ItemLink {
    background: #f5f9f7;
    text-decoration: none;
    color: #333;
}

/* Icons — category type */
.aa-ItemIcon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5ee;
    border-radius: 10px;
    font-size: 18px;
    color: #00524a;
}
/* Icons — restaurant image */
.aa-ItemIcon--picture {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 10px;
}
.aa-ItemIcon--picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Icons — location pin */
.aa-ItemIcon--location {
    background: #f0f0f0;
    color: #666;
}

/* Content */
.aa-ItemContent {
    flex: 1;
    min-width: 0;
}
.aa-ItemTitle {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-spacing: 0;
}
.aa-ItemTitle mark {
    background: transparent;
    font-weight: inherit;
    color: #00524a;
    padding: 0;
    margin: 0;
}
.aa-ItemSubtitle {
    font-size: 13px;
    color: #999;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rating badge */
.aa-ItemRating {
    background: #00524a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    min-width: 36px;
    text-align: center;
}

/* Explore quick-link icons */
.aa-ItemIcon--explore {
    background: #f5f0ff;
    color: #6b21a8;
}

/* =============================================
   Location landing search bar
   ============================================= */
.gp-location-search {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0 0;
    position: sticky;
    top: 0;
    z-index: 999;
}
.gp-location-search .gp-search__form {
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}
.gp-location-search .gp-search__location-label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    padding: 14px 10px;
    white-space: nowrap;
}

/* =============================================
   Filter chips - TheFork style
   ============================================= */
.gp-chips {
    padding: 12px 0;
    overflow: hidden;
}
.gp-chips__scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.gp-chips__scroll::-webkit-scrollbar {
    display: none;
}
a.gp-chip,
a.gp-chip:link,
a.gp-chip:visited {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 7px 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background: #fff !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.15s !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}
a.gp-chip:hover {
    border-color: #32a067 !important;
    color: #32a067 !important;
    text-decoration: none !important;
}
a.gp-chip.gp-chip--active,
a.gp-chip.gp-chip--active:link,
a.gp-chip.gp-chip--active:visited {
    background: #00524a !important;
    color: #fff !important;
    border-color: #00524a !important;
}
a.gp-chip.gp-chip--active:hover {
    background: #00403a !important;
    border-color: #00403a !important;
    color: #fff !important;
}
a.gp-chip.gp-chip--clear,
a.gp-chip.gp-chip--clear:link,
a.gp-chip.gp-chip--clear:visited {
    border-color: #e74c3c !important;
    color: #e74c3c !important;
    background: #fff !important;
}
a.gp-chip.gp-chip--clear:hover {
    background: #e74c3c !important;
    color: #fff !important;
}
a.gp-chip i {
    font-size: 14px;
}

/* =============================================
   Detail Header overrides (needs custom.css priority)
   ============================================= */
.detail_page_head .gp-detail-header__tags-row a {
    color: #00584b !important;
    font-weight: 600 !important;
}
.detail_page_head .gp-detail-header__tags-row a:hover {
    color: #003d34 !important;
}
.detail_page_head .gp-detail-header__price {
    font-weight: 700 !important;
    color: #1a1a2e !important;
}
.detail_page_head .gp-detail-header__meta a {
    color: #00584b !important;
    font-weight: 500 !important;
}

/* Responsive */
@media (max-width: 767px) {
    .gp-search__form {
        flex-direction: column;
        border-radius: 8px;
    }
    .gp-search__field--location {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }
    .gp-search__btn {
        border-radius: 0 0 8px 8px;
        padding: 14px;
        width: 100%;
    }
    .gp-search__panel {
        left: 0;
        right: 0;
    }
    .gp-search__panel--query {
        min-width: auto;
    }
}

/* =============================================
   HOMEPAGE V2 — World-Class Redesign
   ============================================= */

/* --- Hero Kenburns --- */
.hero_single.kenburns_slider {
    min-height: 85vh;
    position: relative;
    background: #1a2a25;
}
.hero_single.kenburns_slider > .vegas-overlay {
    background: rgba(0, 0, 0, 0.55) !important;
    z-index: 1 !important;
}
.hero_single.kenburns_slider .opacity-mask {
    display: flex;
    align-items: center;
    min-height: 85vh;
    padding: 120px 0 80px;
    position: relative;
    z-index: 3;
}
.hero_single.kenburns_slider h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero_single.kenburns_slider p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}
.hero_single.kenburns_slider .gp-search {
    max-width: 700px;
}
.hero_single.kenburns_slider .gp-search__form {
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    border-radius: 8px;
}

/* City text rotator */
.hero-city-rotator {
    display: inline-block;
    position: relative;
    min-width: 180px;
}
.hero-city {
    display: none;
    color: var(--gp-accent, #32a067);
}
.hero-city--active {
    display: inline;
    animation: cityFadeIn 0.6s ease;
}
@keyframes cityFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search wrapper in hero */
.hero-search-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.hero-search-wrapper .gp-search__form {
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Trending pills centered */
/* Trending pills */
.hero-trending {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.hero-trending__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 10px;
}
.hero-trending__label {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
}
.hero-trending__pill {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    padding: 8px 18px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}
.hero-trending__pill:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .hero_single.kenburns_slider {
        min-height: 75vh;
    }
    .hero_single.kenburns_slider .opacity-mask {
        min-height: 75vh;
        padding: 100px 0 60px;
    }
    .hero_single.kenburns_slider h1 {
        font-size: 2.2rem;
    }
}
@media (max-width: 767px) {
    .hero_single.kenburns_slider {
        min-height: 70vh;
    }
    .hero_single.kenburns_slider .opacity-mask {
        min-height: 70vh;
        padding: 80px 0 40px;
    }
    .hero_single.kenburns_slider h1 {
        font-size: 1.75rem;
    }
    .hero_single.kenburns_slider p {
        font-size: 1rem;
    }
    .hero-trending__pill {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* --- Stats with icons --- */
.gp-stats__icon {
    display: block;
    font-size: 26px;
    color: var(--gp-accent, #32a067);
    margin-bottom: 4px;
}

/* --- Categories Grid (replaces carousel) --- */
.categories_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}
.categories_grid__card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    display: block;
    cursor: pointer;
}
.categories_grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.categories_grid__card:hover .categories_grid__img {
    transform: scale(1.08);
}
.categories_grid__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
    transition: background 0.3s;
}
.categories_grid__card:hover .categories_grid__overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%);
}
.categories_grid__content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px;
    color: #fff;
    z-index: 2;
}
.categories_grid__icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
    opacity: 0.9;
}
.categories_grid__content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px;
    color: #fff;
}
.categories_grid__content span {
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 991px) {
    .categories_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 575px) {
    .categories_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .categories_grid__content {
        padding: 12px;
    }
    .categories_grid__content h3 {
        font-size: 14px;
    }
    .categories_grid__icon {
        font-size: 22px;
    }
}

/* --- Restaurant card strip — fix badge/score alignment --- */
.strip ul {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px !important;
}
.strip ul li {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding-top: 0 !important;
    float: none !important;
}
.strip ul li:last-child {
    float: none !important;
    margin-left: auto;
}
.badge_featured {
    display: inline-block;
    background: linear-gradient(135deg, var(--gp-gold, #f5a623) 0%, #e6941a 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.loc_open, .loc_closed {
    top: 0 !important;
}
.score {
    display: flex !important;
    align-items: center;
}
.score span {
    top: 0 !important;
}

/* =============================================
   Unified Restaurant Card (.gp-card)
   ============================================= */
.gp-card {
    display: block;
    text-decoration: none;
    color: #333;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 20px;
    cursor: pointer;
}
.gp-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: #333;
}

/* Image container */
.gp-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f0f0f0;
}
.gp-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gp-card:hover .gp-card__img img {
    transform: scale(1.04);
}

/* Badges — top left on image */
.gp-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.gp-card__badge {
    display: inline-block;
    padding: 3px 9px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 4px;
    line-height: 1.4;
}
.gp-card__badge--featured {
    background: linear-gradient(135deg, #f5a623 0%, #f7c948 100%);
    color: #5c3d00;
}
.gp-card__badge--delivery {
    background: rgba(0,0,0,0.55);
    color: #fff;
    backdrop-filter: blur(4px);
}
.gp-card__badge--promo {
    background: #00B67A;
    color: #fff;
}

/* Body / text content */
.gp-card__body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px 16px;
}
.gp-card__info {
    flex: 1;
    min-width: 0;
}

/* Score — right side of body, stacked vertically & centered */
.gp-card__score {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    min-width: 52px;
}
.gp-card__score-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    background: #3F622A;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px 8px 8px 0;
}
.gp-card__score-number--excellent { background: #3F622A; }
.gp-card__score-number--good { background: #7ab648; }
.gp-card__score-label {
    display: block;
    font-size: 11px;
    color: #555;
    font-weight: 600;
    line-height: 1.2;
}
.gp-card__score-reviews {
    font-size: 10px;
    color: #999;
    line-height: 1.2;
}
.gp-card__name {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 3px;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gp-card__location {
    font-size: 12px;
    color: #888;
    margin: 0 0 8px;
}
.gp-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.gp-card__category {
    display: inline-block;
    padding: 2px 8px;
    background: #f3f4f6;
    color: #3F622A;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
}
.gp-card__price {
    font-size: 12px;
    color: #3F622A;
    font-weight: 600;
}
.gp-card__reviews {
    font-size: 11px;
    color: #999;
}

/* Inside owl-carousel items */
.owl-carousel .gp-card {
    margin-bottom: 0;
}

/* --- Cities Grid --- */
.cities_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}
.cities_grid__card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 180px;
    display: block;
    cursor: pointer;
}
.cities_grid__card--large {
    grid-row: span 2;
    min-height: 376px;
}
.cities_grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    transition: transform 0.4s ease;
}
.cities_grid__card:hover .cities_grid__img {
    transform: scale(1.05);
}
.cities_grid__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
}
.cities_grid__content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    color: #fff;
    z-index: 2;
}
.cities_grid__content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
}
.cities_grid__card--large .cities_grid__content h3 {
    font-size: 28px;
}
.cities_grid__content span {
    font-size: 14px;
    opacity: 0.85;
}

@media (max-width: 991px) {
    .cities_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cities_grid__card--large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 220px;
    }
}
@media (max-width: 575px) {
    .cities_grid {
        grid-template-columns: 1fr;
    }
    .cities_grid__card--large {
        grid-column: span 1;
        min-height: 200px;
    }
    .cities_grid__card {
        min-height: 160px;
    }
}

/* --- Popular Dishes Horizontal Scroll --- */
.dishes_scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.dishes_scroll::-webkit-scrollbar {
    display: none;
}
.dishes_scroll__item {
    flex: 0 0 auto;
    text-align: center;
    width: 120px;
    text-decoration: none;
    color: var(--gp-text, #1a1a2e);
    cursor: pointer;
    transition: transform 0.2s;
}
.dishes_scroll__item:hover {
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--gp-text, #1a1a2e);
}
.dishes_scroll__img-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    border: 3px solid var(--gp-border-light, #f0f1f3);
    transition: border-color 0.2s;
}
.dishes_scroll__item:hover .dishes_scroll__img-wrap {
    border-color: var(--gp-accent, #32a067);
}
.dishes_scroll__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dishes_scroll__item h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;
    line-height: 1.3;
}
.dishes_scroll__item span {
    font-size: 12px;
    color: var(--gp-text-muted, #8e8ea0);
}

/* --- Experiences Grid --- */
.experiences_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.experiences_grid__card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3/2;
    display: block;
    cursor: pointer;
}
.experiences_grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    transition: transform 0.4s ease;
}
.experiences_grid__card:hover .experiences_grid__img {
    transform: scale(1.08);
}
.experiences_grid__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0) 100%);
}
.experiences_grid__content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px;
    color: #fff;
    z-index: 2;
    text-align: center;
}
.experiences_grid__content i {
    font-size: 24px;
    display: block;
    margin-bottom: 6px;
    opacity: 0.9;
}
.experiences_grid__content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px;
    color: #fff;
}
.experiences_grid__content span {
    font-size: 12px;
    opacity: 0.8;
}

@media (max-width: 991px) {
    .experiences_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .experiences_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* --- Blog Home Cards --- */
.blog_home__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.blog_home__card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.blog_home__card a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog_home__card figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.blog_home__card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.blog_home__card:hover figure img {
    transform: scale(1.05);
}
.blog_home__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gp-primary, #00584b);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.blog_home__body {
    padding: 18px;
}
.blog_home__body h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.35;
    color: var(--gp-text, #1a1a2e);
}
.blog_home__body p {
    font-size: 14px;
    color: var(--gp-text-secondary, #5a5a72);
    margin: 0 0 10px;
    line-height: 1.5;
}
.blog_home__body small {
    font-size: 12px;
    color: var(--gp-text-muted, #8e8ea0);
}

/* --- Testimonials --- */
.testimonial_card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
}
.testimonial_card__rating {
    margin-bottom: 14px;
}
.testimonial_card__rating i {
    color: var(--gp-gold, #f5a623);
    font-size: 18px;
    margin: 0 1px;
}
.testimonial_card blockquote {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gp-text-secondary, #5a5a72);
    font-style: italic;
    margin: 0 0 16px;
    padding: 0;
    border: none;
}
.testimonial_card__author {
    font-size: 14px;
}
.testimonial_card__author strong {
    display: block;
    color: var(--gp-text, #1a1a2e);
    font-weight: 600;
}
.testimonial_card__author em {
    font-size: 13px;
    color: var(--gp-text-muted, #8e8ea0);
    font-style: normal;
}
.testimonial_card__author a {
    color: var(--gp-primary, #00584b);
    text-decoration: none;
}
.testimonial_card__author a:hover {
    text-decoration: underline;
}

/* --- CTA Owner Section --- */
.cta_owner {
    background: linear-gradient(135deg, var(--gp-primary-dark, #003d34) 0%, var(--gp-primary, #00584b) 100%);
    padding: 80px 0;
    margin-top: 20px;
}
.cta_owner__visual {
    position: relative;
}
.cta_owner__img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    object-fit: cover;
    max-height: 400px;
}
.cta_owner__content {
    color: #fff;
    padding-left: 40px;
}
.cta_owner__content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
}
.cta_owner__content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 24px;
}
.cta_owner__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.cta_owner__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}
.cta_owner__feature i {
    font-size: 20px;
    color: var(--gp-accent, #32a067);
    width: 24px;
    text-align: center;
}
.cta_owner__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cta_owner__buttons .btn_1 {
    background: var(--gp-cta, #cd232e);
    border: 2px solid var(--gp-cta, #cd232e);
    color: #fff;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}
.cta_owner__buttons .btn_1:hover {
    background: var(--gp-cta-hover, #b01e28);
    border-color: var(--gp-cta-hover, #b01e28);
}
.cta_owner__buttons .btn_1.outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
}
.cta_owner__buttons .btn_1.outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

@media (max-width: 991px) {
    .cta_owner {
        padding: 50px 0;
    }
    .cta_owner__content {
        padding-left: 0;
        text-align: center;
    }
    .cta_owner__content h2 {
        font-size: 1.6rem;
    }
    .cta_owner__features {
        align-items: center;
    }
    .cta_owner__buttons {
        justify-content: center;
    }
}

/* Fix restaurant cards: use object-fit instead of translate hack */
.carousel_4 .strip figure img,
.strip figure img {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    -webkit-transform: scale(1) !important;
    transform: scale(1) !important;
}
.carousel_4 .strip figure:hover img,
.strip figure:hover img {
    -webkit-transform: scale(1.05) !important;
    transform: scale(1.05) !important;
}

/* ===== Chain location cards (chain detail page) ===== */
.gp-chain-locations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.gp-chain-loc {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.gp-chain-loc:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.gp-chain-loc__link {
    display: flex;
    text-decoration: none;
    color: inherit;
}
.gp-chain-loc__image {
    width: 120px;
    min-height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f5f5f5;
}
.gp-chain-loc__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gp-chain-loc__body {
    padding: 12px;
    flex: 1;
    min-width: 0;
}
.gp-chain-loc__name {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #1a1a2e;
}
.gp-chain-loc__address {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}
.gp-chain-loc__address i {
    color: #00584b;
    margin-right: 4px;
}
.gp-chain-loc__meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}
.gp-chain-loc__sep {
    margin: 0 4px;
}
.gp-chain-loc__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.gp-chain-loc__rating-score {
    background: #00584b;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
}
.gp-chain-loc__rating-label {
    font-weight: 500;
    color: #333;
}
.gp-chain-loc__rating-count {
    color: #999;
    font-size: 12px;
}

/* === Footer SEO Spider Web === */
.gp-footer-crosslinks { padding: 15px 0; }
.gp-footer-crosslinks h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.gp-footer-crosslinks__grid { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.gp-footer-crosslinks__grid a { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none; white-space: nowrap; }
.gp-footer-crosslinks__grid a:hover { color: #fff; text-decoration: underline; }

/* === AI SEO: Citeable intro text === */
.gp-seo-intro { font-size: 15px; color: #555; line-height: 1.6; margin: 8px 0 16px; max-width: 680px; }
.gp-seo-intro-section { margin: 24px 0 0; padding: 20px 0; border-top: 1px solid #eff0f0; }
.gp-seo-intro-section p { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0; }

/* === AI SEO: Structured landing content === */
.gp-seo-content { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid #eff0f0; }
.gp-seo-content h2 { font-size: 17px; font-weight: 600; color: #1a1a2e; margin: 20px 0 8px; }
.gp-seo-content h2:first-child { margin-top: 0; }
.gp-seo-content p { font-size: 14px; color: #6b7280; line-height: 1.65; margin: 0 0 8px; }
.gp-seo-content ul { padding-left: 20px; margin: 0 0 12px; }
.gp-seo-content li { font-size: 14px; color: #6b7280; line-height: 1.6; margin-bottom: 4px; }

.gp-seo-content__intro { margin-bottom: 16px; }
.gp-seo-content__intro p { font-size: 15px; color: #555; }

.gp-seo-content__highlights { background: #f8faf6; border-radius: 8px; padding: 16px 20px; margin-bottom: 16px; }
.gp-seo-content__highlights h2 { margin-top: 0; font-size: 15px; color: #3F622A; }
.gp-seo-content__highlights li { color: #555; }

.gp-seo-content__tip { background: #fffbeb; border-left: 3px solid #f5a623; padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; }
.gp-seo-content__tip h2 { margin-top: 0; font-size: 15px; color: #92400e; }
.gp-seo-content__tip p { color: #78350f; }

.gp-seo-content__faq { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eff0f0; }
.gp-seo-faq-item { margin-bottom: 16px; }
.gp-seo-faq-item h3 { font-size: 15px; font-weight: 600; color: #1a1a2e; margin: 0 0 6px; }
.gp-seo-faq-item p { font-size: 14px; color: #6b7280; margin: 0; line-height: 1.6; }

/* === SEO: Related restaurants & links === */
.gp-related-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; }
.gp-related-section h2, .gp-related-section h3 { font-size: 20px; font-weight: 600; color: #1a1a2e; margin-bottom: 16px; }
a.gp-related-card { display: block; padding: 12px; border: 1px solid #e8e8e8; border-radius: 8px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.gp-related-card:hover { border-color: #3F622A; box-shadow: 0 2px 8px rgba(63,98,42,.1); text-decoration: none; }
.gp-related-card__name { font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-related-card__meta { font-size: 12px; color: #888; display: flex; gap: 8px; }
.gp-related-card__meta span:first-child { color: #f5a623; font-weight: 600; }
.gp-seo-links__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-seo-links__grid a { display: inline-block; padding: 6px 14px; border: 1px solid #ddd; border-radius: 16px; font-size: 13px; color: #333; text-decoration: none; transition: all .15s; }
.gp-seo-links__grid a:hover { border-color: #3F622A; color: #3F622A; background: #f8faf7; text-decoration: none; }

/* === Landing: Internal links spider web === */
.gp-internal-links { margin-top: 32px; padding-top: 24px; border-top: 1px solid #eee; }
.gp-internal-links h3 { font-size: 17px; font-weight: 600; color: #1a1a2e; margin-bottom: 12px; }
.gp-internal-links__grid { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.gp-internal-links__grid a { font-size: 13px; color: #3F622A; text-decoration: none; padding: 4px 0; white-space: nowrap; }
.gp-internal-links__grid a:hover { text-decoration: underline; }
.gp-internal-links__grid a small { color: #999; font-weight: 400; }

/* === Landing: "También cerca" section for thin pages === */
.gp-nearby-section { margin-top: 32px; padding-top: 28px; border-top: 2px solid #3F622A; }
.gp-nearby-header { margin-bottom: 16px; }
.gp-nearby-header h2 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin: 0 0 4px; }
.gp-nearby-header p { font-size: 14px; color: #6b7280; margin: 0; }
.gp-nearby-label { font-size: 12px; color: #3F622A; font-weight: 600; margin: 20px 0 6px 4px; }
.gp-nearby-label i { font-size: 11px; margin-right: 2px; }

/* ============================================
   TheFork-style Booking Widget
   ============================================ */

.booking-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Header */
.bw-header { padding: 20px 20px 10px; }
.bw-header h3 { font-size: 22px; font-weight: 800; margin: 0 0 4px; color: #1a1a1a; }
.bw-subtitle { color: #32a067; font-size: 13px; font-weight: 500; }

/* Social proof bar */
.bw-social-proof { text-align: center; padding: 8px 20px; font-size: 13px; color: #555; background: #f8f8f8; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }

/* Step indicator (pill bar) */
.bw-stepper { display: flex; align-items: center; justify-content: center; padding: 12px 15px; gap: 4px; background: #1a3c34; border-radius: 30px; margin: 10px 15px; }
.bw-step { display: flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 20px; color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 500; transition: all 0.2s; cursor: pointer; white-space: nowrap; }
.bw-step i { font-size: 14px; }
.bw-step.active { background: #fff; color: #1a3c34; }
.bw-step.completed { color: rgba(255,255,255,0.9); }
.bw-step-arrow { color: rgba(255,255,255,0.3); font-size: 16px; font-weight: 700; }

/* Panels */
.bw-panel { padding: 15px 20px 20px; }
.bw-panel-title { font-size: 17px; font-weight: 700; color: #1a1a1a; margin-bottom: 15px; }

/* Calendar */
.bw-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.bw-cal-header strong { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.bw-cal-nav { background: none; border: none; font-size: 22px; color: #666; padding: 4px 10px; cursor: pointer; border-radius: 4px; line-height: 1; }
.bw-cal-nav:hover { background: #f0f0f0; }
.bw-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin-bottom: 8px; }
.bw-cal-weekdays span { font-size: 12px; color: #999; font-weight: 500; text-transform: lowercase; }
.bw-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.bw-cal-day { text-align: center; padding: 6px 2px; border-radius: 6px; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.bw-cal-num { font-size: 14px; font-weight: 500; color: #1a1a1a; line-height: 1.2; }
.bw-cal-disabled { opacity: 0.35; pointer-events: none; }
.bw-cal-disabled .bw-cal-num { color: #999; }
.bw-cal-other { visibility: hidden; }
.bw-cal-available { cursor: pointer; transition: background 0.15s; }
.bw-cal-available:hover { background: #f0f0f0; }
.bw-cal-selected { background: #1a3c34 !important; border-radius: 6px; }
.bw-cal-selected .bw-cal-num { color: #fff; }
.bw-cal-selected .bw-cal-discount { color: #90EE90; }
.bw-cal-today .bw-cal-num { text-decoration: underline; }
.bw-cal-discount { font-size: 10px; color: #32a067; font-weight: 700; line-height: 1; margin-top: 1px; }

/* Time slots */
.bw-slot-group { margin-bottom: 20px; }
.bw-slot-group-title { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; margin-top: 5px; }
.bw-slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bw-slot-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; border: 1px solid #ddd; border-radius: 8px; background: #fff; cursor: pointer; transition: all 0.15s; }
.bw-slot-btn:hover { border-color: #1a3c34; background: #f8faf9; }
.bw-slot-time { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.bw-slot-badge { font-size: 10px; color: #32a067; font-weight: 700; margin-top: 1px; }
.bw-slot-discount { border-color: #c8e6c9; background: #f0faf5; }
.bw-slot-selected { border-color: #1a3c34 !important; background: #1a3c34 !important; }
.bw-slot-selected .bw-slot-time, .bw-slot-selected .bw-slot-badge { color: #fff; }

/* Party size grid */
.bw-party-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.bw-party-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; border: 1px solid #ddd; border-radius: 8px; background: #fff; cursor: pointer; transition: all 0.15s; }
.bw-party-btn:hover { border-color: #1a3c34; }
.bw-party-num { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.bw-party-badge { font-size: 11px; color: #32a067; font-weight: 700; margin-top: 2px; }
.bw-party-discount { border-color: #c8e6c9; background: #f0faf5; }
.bw-party-selected { border-color: #1a3c34 !important; background: #1a3c34 !important; }
.bw-party-selected .bw-party-num, .bw-party-selected .bw-party-badge { color: #fff; }

/* Offer cards */
.bw-offer-card { border: 1px solid #ddd; border-radius: 10px; padding: 16px; margin-bottom: 10px; cursor: pointer; transition: all 0.15s; }
.bw-offer-card:hover { border-color: #32a067; }
.bw-offer-selected { border-color: #32a067; background: #f0faf5; }
.bw-offer-radio { flex-shrink: 0; margin-left: 8px; }
.bw-offer-radio input[type="radio"] { width: 18px; height: 18px; accent-color: #1a3c34; }

/* Links and buttons */
.bw-link-btn { background: none; border: none; color: #1a1a1a; font-size: 14px; font-weight: 600; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 6px; }
.bw-link-btn:hover { color: #32a067; }
.bw-promo-details-link { color: #1a1a1a; font-weight: 600; text-decoration: underline; }
.bw-continue-btn { margin-top: 15px; background: #1a3c34 !important; border-color: #1a3c34 !important; }
.bw-continue-btn:hover { background: #143029 !important; }
.bw-disclaimer { font-size: 12px; color: #999; margin-top: 15px; margin-bottom: 0; line-height: 1.4; }
.bw-more-people { text-align: center; margin-top: 8px; }
/* Hide stray text nodes from Foogra theme JS */
.booking-widget { font-size: 0; }
.booking-widget > * { font-size: 14px; }
.bw-wishlist-wrap { padding: 0 20px 20px; }
.bw-wishlist-wrap .btn_1.outline { border-color: #ddd; color: #555; font-size: 13px; }
.bw-wishlist-wrap .btn_1.outline:hover { border-color: #1a3c34; color: #1a3c34; }

/* ─── CTA Widget (sidebar desktop) ─── */
.cta-widget { font-size: 14px !important; }
.cta-widget .bw-header h3 { font-size: 22px; font-weight: 800; margin: 0 0 4px; color: #1a1a1a; }
.cta-widget__body { padding: 12px 16px 8px; }
.cta-widget__btn {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; margin-bottom: 8px;
    border: 1px solid #eee; border-radius: 10px;
    background: #fff; color: #1a1a1a;
    text-decoration: none; cursor: pointer;
    transition: all 0.2s ease;
}
.cta-widget__btn:hover {
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
    text-decoration: none; color: #1a1a1a;
}
.cta-widget__icon {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; flex-shrink: 0;
}
.cta-widget__btn--whatsapp .cta-widget__icon { background: #25D366; }
.cta-widget__btn--call .cta-widget__icon { background: #1a3c34; }
.cta-widget__btn--delivery .cta-widget__icon { background: #ff6b00; }
.cta-widget__btn--instagram .cta-widget__icon {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.cta-widget__label { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.cta-widget__label strong { font-size: 14px; font-weight: 700; }
.cta-widget__label small { font-size: 12px; color: #999; font-weight: 400; }
.cta-widget__arrow { font-size: 12px; color: #ccc; transition: transform 0.2s; }
.cta-widget__btn:hover .cta-widget__arrow { transform: translateX(3px); color: #999; }
.cta-widget__empty {
    text-align: center; padding: 24px 16px;
    color: #999; font-size: 13px; line-height: 1.5;
}
.cta-widget__empty i { font-size: 32px; display: block; margin-bottom: 12px; color: #ddd; }
.cta-widget__empty p { margin: 0; }
.cta-widget__empty strong { color: #555; }

/* Hover accent lines */
.cta-widget__btn--whatsapp:hover { border-left: 3px solid #25D366; }
.cta-widget__btn--call:hover { border-left: 3px solid #1a3c34; }
.cta-widget__btn--delivery:hover { border-left: 3px solid #ff6b00; }
.cta-widget__btn--instagram:hover { border-left: 3px solid #dc2743; }

/* ─── CTA Mobile Bar ─── */
.cta-mobile-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 1050; background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; gap: 8px;
}
.cta-mobile-bar__btn {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 4px;
    padding: 10px 8px; border-radius: 12px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
    text-decoration: none; color: #fff;
    transition: all 0.2s ease; cursor: pointer;
    min-height: 52px;
}
.cta-mobile-bar__btn i { font-size: 18px; }
.cta-mobile-bar__btn span { line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cta-mobile-bar__btn:hover { text-decoration: none; color: #fff; opacity: 0.9; }
.cta-mobile-bar__btn--whatsapp { background: #25D366; }
.cta-mobile-bar__btn--call { background: #1a3c34; }
.cta-mobile-bar__btn--delivery { background: #ff6b00; }
.cta-mobile-bar__btn--instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
/* Active/pressed state for mobile */
.cta-mobile-bar__btn:active { transform: scale(0.96); }
/* Push El Pana FAB above CTA bar on mobile */
@media (max-width: 991px) {
    .has-mobile-cta .pana-fab { bottom: 100px !important; }
    .has-mobile-cta #toTop { bottom: 100px !important; }
}

/* Modal styles */
.bw-modal-header { background: #fff; border-bottom: 1px solid #eee; padding: 15px 20px; }
.bw-modal-title { font-size: 13px; font-weight: 600; color: #555; letter-spacing: 1px; text-transform: uppercase; }
.bw-summary-pill { display: inline-block; padding: 6px 16px; border: 1px solid #ddd; border-radius: 20px; font-size: 13px; color: #1a1a1a; margin-top: 8px; }
.bw-summary-discount { background: #c8e6c9; color: #1b5e20; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.bw-modal-footer { flex-direction: column; align-items: stretch; }
.bw-modal-footer .btn_1 { background: #1a3c34; border-color: #1a3c34; }
.bw-modal-footer .btn_1:hover { background: #143029; }
.bw-social-login { display: flex; flex-direction: column; gap: 10px; }
.bw-btn-social { display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }
.bw-btn-google { background: #fff; border: 1px solid #ddd; color: #555; }
.bw-btn-google:hover { background: #f8f8f8; color: #333; text-decoration: none; }
.bw-trust-signals small { display: block; line-height: 1.8; }
.bw-promo-banner { background: linear-gradient(135deg, #f0faf5 0%, #e8f5e9 100%); border-radius: 8px; padding: 14px; margin-bottom: 15px; }
.bw-user-card { padding: 12px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 10px; }
.bw-user-avatar { width: 40px; height: 40px; background: #e8e8e8; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #999; font-size: 20px; }
.bw-email-continue { background: #ccc; border-color: #ccc; color: #fff; }
.bw-email-continue:not(:disabled) { background: #1a3c34; border-color: #1a3c34; }

/* Mobile responsive */
@media (max-width: 991px) {
    .bw-stepper { padding: 8px 10px; margin: 8px 10px; }
    .bw-step { padding: 5px 8px; font-size: 12px; }
    .bw-party-grid { grid-template-columns: repeat(3, 1fr); }
}


/* =============================================
   Clean Header — TheFork-style minimal
   ============================================= */
.gp-header-clean .main-menu,
.gp-header-clean .open_close,
.gp-header-clean #top_menu { display: none !important; }

.gp-header-clean > .container {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}
.gp-header-clean #logo {
    float: none !important;
    flex-shrink: 0;
    width: auto !important;
    text-align: left !important;
}

.gp-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Mobile header adjustments */
@media (max-width: 991px) {
    .gp-header-clean > .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .gp-header-clean #logo img {
        height: 28px;
        width: auto;
    }
    .gp-header-login span {
        display: none;
    }
    .gp-header-login {
        padding: 6px;
        border: none;
        width: 36px;
        height: 36px;
        justify-content: center;
    }
    .gp-header-login i {
        font-size: 22px;
    }
    .gp-header-actions {
        gap: 8px;
    }
    .gp-header-avatar {
        width: 32px;
        height: 32px;
    }
    .gp-header-avatar__initial {
        font-size: 13px;
    }
    .gp-header-fav {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* — Not logged in: "Iniciar sesión" link — */
.gp-header-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 7px 18px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    transition: all 0.2s ease;
}
.gp-header-login:hover {
    color: #fff;
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    text-decoration: none;
}
.gp-header-login i { font-size: 18px; }

/* Sticky/scrolled state */
.sticky .gp-header-login {
    color: #333;
    border-color: rgba(0,0,0,0.2);
}
.sticky .gp-header-login:hover {
    color: #111;
    background: rgba(0,0,0,0.05);
    border-color: #333;
}

/* — Logged in: favorites icon — */
.gp-header-fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.2s ease;
}
.gp-header-fav:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}
.sticky .gp-header-fav { color: #555; }
.sticky .gp-header-fav:hover { background: rgba(0,0,0,0.06); color: #333; }

/* — Logged in: avatar button — */
.gp-header-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: #00B67A;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}
.gp-header-avatar:hover {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.sticky .gp-header-avatar {
    border-color: rgba(0,0,0,0.15);
}
.sticky .gp-header-avatar:hover {
    border-color: #00B67A;
    box-shadow: 0 0 0 3px rgba(0,182,122,0.15);
}
.gp-header-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.gp-header-avatar__initial {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    user-select: none;
}

/* header_in pages (detail, inner) — dark text by default */
.header_in .gp-header-login {
    color: #333;
    border-color: rgba(0,0,0,0.2);
}
.header_in .gp-header-login:hover {
    color: #111;
    background: rgba(0,0,0,0.05);
    border-color: #333;
}
.header_in .gp-header-fav { color: #555; }
.header_in .gp-header-fav:hover { background: rgba(0,0,0,0.06); color: #333; }
.header_in .gp-header-avatar { border-color: rgba(0,0,0,0.15); }
.header_in .gp-header-avatar:hover { border-color: #00B67A; box-shadow: 0 0 0 3px rgba(0,182,122,0.15); }

/* =============================================
   Shared User Dropdown (_user_dropdown.html)
   ============================================= */
.gp-user-dropdown {
    position: fixed;top: 55px;right: 20px;
    background: #fff;border: 1px solid #e5e7eb;border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);min-width: 240px;
    z-index: 99999;overflow: hidden;
}
.gp-user-dropdown__header { padding: 14px 16px; }
.gp-user-dropdown__header strong { display:block;font-size:14px;color:#111827; }
.gp-user-dropdown__email { display:block !important;font-size:12px !important;color:#9ca3af !important;margin-top:2px; }
.gp-user-dropdown__badge { display:inline-block !important;background:#e8f5e9 !important;color:#00875a !important;font-size:11px !important;font-weight:600;padding:2px 8px;border-radius:10px;margin-top:6px; }
.gp-user-dropdown__sep { height:1px;background:#f3f4f6; }
.gp-user-dropdown__link { display:flex !important;align-items:center !important;gap:10px !important;padding:10px 16px !important;font-size:13px !important;color:#374151 !important;text-decoration:none !important;background:transparent !important;border:none !important;margin:0 !important;width:100% !important;transition:background 0.15s !important; }
.gp-user-dropdown__link:hover { background:#f9fafb !important;color:#111827 !important; }
.gp-user-dropdown__link i { font-size:16px !important;color:#9ca3af !important;width:20px !important;text-align:center !important; }
.gp-user-dropdown__danger,.gp-user-dropdown__danger i { color:#dc3545 !important; }

/* =============================================
   MOBILE FULLSCREEN SEARCH — TheFork-style
   ============================================= */

/* Overlay — fullscreen on mobile only */
.ms-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Steps */
.ms-step {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.ms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}
.ms-header__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.ms-header__close {
    border: none;
    background: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

/* Search field */
.ms-search-field {
    display: flex;
    align-items: center;
    margin: 12px 16px;
    border: 2px solid #00524a;
    border-radius: 10px;
    background: #fff;
    padding: 0 12px;
    transition: border-color 0.2s;
}
.ms-search-field:focus-within {
    border-color: #32a067;
    box-shadow: 0 0 0 3px rgba(50,160,103,0.12);
}
.ms-search-field__icon {
    font-size: 16px;
    color: #00524a;
    flex-shrink: 0;
}
.ms-search-field__input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 14px 10px;
    color: #1a1a1a;
    background: transparent;
    min-width: 0;
}
.ms-search-field__input::placeholder {
    color: #999;
}
.ms-search-field__clear {
    border: none;
    background: none;
    font-size: 20px;
    color: #bbb;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.ms-search-field__clear:hover {
    color: #666;
}

/* Near me button */
.ms-nearme {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 16px 8px;
    padding: 14px 16px;
    border: none;
    background: #f0faf5;
    border-radius: 10px;
    cursor: pointer;
    width: calc(100% - 32px);
    text-align: left;
    transition: background 0.15s;
}
.ms-nearme:hover {
    background: #e0f5eb;
}
.ms-nearme__icon {
    color: #00524a;
    font-size: 18px;
}
.ms-nearme__text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}
.ms-nearme__arrow {
    color: #00524a;
    font-size: 14px;
}

/* Section labels */
.ms-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #999;
    padding: 16px 20px 8px;
}
.ms-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}
.ms-section-header .ms-section-label {
    padding-right: 0;
}
.ms-section-clear {
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 700;
    color: #00524a;
    cursor: pointer;
    letter-spacing: 0.5px;
}

/* Results list */
.ms-results {
    flex: 1;
}

/* Location items */
.ms-loc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.12s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.ms-loc-item:hover,
.ms-loc-item:active {
    background: #f5f9f7;
}
.ms-loc-item__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 16px;
    color: #666;
}
.ms-loc-item__info {
    flex: 1;
    min-width: 0;
}
.ms-loc-item__name {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    display: block;
}
.ms-loc-item__sub {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 2px;
}

/* City chip (step 2) */
.ms-city-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 16px 0;
    padding: 8px 14px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
}
.ms-city-chip i {
    font-size: 14px;
    color: #00524a;
}
.ms-city-chip__change {
    border: none;
    background: none;
    color: #00524a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
    text-decoration: underline;
}

/* See all button */
.ms-see-all {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 16px;
    padding: 14px 16px;
    background: #f0faf5;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a1a;
    transition: background 0.15s;
}
.ms-see-all:hover {
    background: #e0f5eb;
    text-decoration: none;
    color: #1a1a1a;
}
.ms-see-all__icon {
    color: #00524a;
    font-size: 18px;
}
.ms-see-all__text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
}
.ms-see-all__arrow {
    color: #00524a;
    font-size: 14px;
}

/* Recent searches */
.ms-recent-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.12s;
}
.ms-recent-item:hover {
    background: #f5f9f7;
}
.ms-recent-item__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}
.ms-recent-item__info {
    flex: 1;
    min-width: 0;
}
.ms-recent-item__label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}
.ms-recent-item__sub {
    font-size: 12px;
    color: #999;
    margin-top: 1px;
}
.ms-recent-item__remove {
    border: none;
    background: none;
    color: #ccc;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}
.ms-recent-item__remove:hover {
    color: #999;
}

/* Trends */
.ms-trend-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: #1a1a1a;
    transition: background 0.12s;
}
.ms-trend-item:hover {
    background: #f5f9f7;
    text-decoration: none;
    color: #1a1a1a;
}
.ms-trend-item__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
}
.ms-trend-item__icon--category {
    background: #e8f5ee;
    color: #00524a;
}
.ms-trend-item__icon--best {
    background: #fff8e1;
    color: #f59e0b;
}
.ms-trend-item__icon--offer {
    background: #fce4ec;
    color: #e91e63;
}
.ms-trend-item__icon--dish {
    background: #e3f2fd;
    color: #1976d2;
}
.ms-trend-item__icon--picture {
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 10px;
}
.ms-trend-item__icon--picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ms-trend-item__info {
    flex: 1;
    min-width: 0;
}
.ms-trend-item__sub {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    display: block;
}
.ms-trend-item__label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    display: block;
}
.ms-trend-item__arrow {
    color: #ccc;
    font-size: 14px;
}

/* Query results (step 2 autocomplete) */
.ms-query-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    text-decoration: none;
    color: #1a1a1a;
    transition: background 0.12s;
}
.ms-query-item:hover {
    background: #f5f9f7;
    text-decoration: none;
    color: #1a1a1a;
}
.ms-query-item__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5ee;
    border-radius: 10px;
    font-size: 18px;
    color: #00524a;
}
.ms-query-item__icon--picture {
    background: #f0f0f0;
    overflow: hidden;
}
.ms-query-item__icon--picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ms-query-item__info {
    flex: 1;
    min-width: 0;
}
.ms-query-item__name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    display: block;
}
.ms-query-item__sub {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    display: block;
}
.ms-query-item__rating {
    background: #00524a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Slide animation */
.ms-step {
    transition: transform 0.3s ease, opacity 0.25s ease;
}
.ms-step--slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
    position: absolute;
    inset: 0;
}

/* Desktop: never show mobile overlay */
@media (min-width: 768px) {
    .ms-overlay {
        display: none !important;
    }
}
