html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1 0 auto;
}
body > section.container,
body > section.container-fluid {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer {
    flex-shrink: 0;
    margin-top: auto;
}
/* ENLACES */
a {
    text-decoration: none !important;
    color: black !important;
}
a:hover {
    text-decoration: none !important;
    color: black !important;
}
a:visited, a:active, a:focus {
    text-decoration: none !important;
    /* color: inherit !important; */
}
/* Navbar links always white */
.navbar-register a, .navbar-register a:hover, .navbar-register a:visited, .navbar-register a:active, .navbar-register a:focus {
    color: white;
}
.navbar-register a i {
    color: white !important;
    font-size: 22px;
}
/* Footer links always white */
.footer a, .footer a:hover, .footer a:visited, .footer a:active, .footer a:focus {
    color: white !important;
}

/* Links always black */
.link-always-dark, .link-always-dark:hover, .link-always-dark:visited, .link-always-dark:active, .link-always-dark:focus {
    color: #000 !important;
}

.card-header {
    background-color: #8B1E3F !important;
    border-color: #8B1E3F !important;
    color: #ffffff !important;
}

.card-header i {
    color: #ffffff !important;
}

.card-header.bg-login {
    background-color: #8B1E3F !important;
    border-bottom: 1px solid rgba(139, 30, 63, 0.22);
    color: white !important;
}
.card-header a {
    color: white !important;
}

/* BUTTONS */
.btn-register, .btn-login, .btn-forgot {
    background-color: #8B1E3F !important;
    border-color: #8B1E3F !important;
    color: white !important;
}
.btn-register:hover, .btn-login:hover, .btn-forgot:hover {
    background-color: #4a3a5f !important;
    border-color: #4a3a5f !important;
    color: white !important;
}
/* NAVBAR */
.navbar-logo {
    height: 50px;
    width: auto;
}
.navbar-register {
    background-color: #8B1E3F;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.navbar-register .navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: white !important;
    letter-spacing: 1px;
}
.navbar-register .navbar-text {
    color: white;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}
/* Hamburger button */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}
.nav-hamburger:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
}
.nav-hamburger-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s ease, width 0.25s ease;
    transform-origin: center;
}
.nav-hamburger.active .nav-hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active .nav-hamburger-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-hamburger.active .nav-hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop overlay */
.nav-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 5040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.nav-drawer-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Side drawer */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 5050;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(.4,0,.2,1);
    box-shadow: -6px 0 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.nav-drawer.open {
    transform: translateX(0);
}

/* Drawer header */
.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background-color: #8B1E3F;
    /* background: linear-gradient(135deg, #6b5f7f 0%, #8B1E3F 100%); */
    flex-shrink: 0;
}
.nav-drawer-brand {
    font-size: 20px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}
.nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 16px;
}
.nav-drawer-close:hover {
    background: rgba(255, 255, 255, 0.28);
}
.nav-drawer-close i {
    color: white !important;
}

/* Drawer body */
.nav-drawer-body {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}
.nav-drawer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #3d3350 !important;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-bottom: 4px;
}
.nav-drawer-item:hover {
    background: #f3f0f7;
    transform: translateX(-3px);
    color: #3d3350 !important;
}
.nav-drawer-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: #8B1E3F;
    flex-shrink: 0;
}
.nav-drawer-item-icon i {
    font-size: 20px;
    color: white !important;
}
.nav-drawer-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.nav-drawer-item-label {
    font-size: 14px;
    font-weight: 600;
    color: #3d3350 !important;
    display: block;
}
.nav-drawer-item-sub {
    font-size: 12px;
    color: #7a6d8a !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    display: block;
}

/* Legacy link styles (kept for compatibility) */
.hero-web-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white !important;
}
.hero-web-text {
    color: white !important;
}

/* Mobile navbar adjustments */
@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
    }
    .navbar-register {
        padding: 12px 0;
    }
    .navbar-register .navbar-brand {
        font-size: 20px;
    }
    .navbar-register .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .navbar-register .d-flex {
        gap: 8px !important;
    }
}

@media (max-width: 480px) {
    .navbar-register .navbar-brand {
        font-size: 18px;
    }
}

/* FOOTER */
.form-overlap {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
/* CHECKBOX */
.form-check-input {
    border-color: #8B1E3F !important;
}
.form-check-input:checked {
    background-color: #8B1E3F !important;
    border-color: #8B1E3F !important;
}
.form-check-input:focus {
    border-color: #8B1E3F !important;
    box-shadow: 0 0 0 0.25rem rgba(90, 74, 111, 0.25) !important;
}
.footer {
    background-color: #8B1E3F;
    padding: 20px 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* Selector css */
.ts-wrapper.form-control {
    padding: 0 !important;
}
.ts-wrapper.multi .ts-control > div {
    margin: 0 0px 0px 0 !important;
}
.ts-wrapper{
    .ts-control,
    .ts-control input {
        font-size: 16px !important;
        border: none;
    }
    .ts-control .item, .ts-control .a{
        padding: 4px !important;
    }
    .ts-control .remove {
        font-size: 23px;
    }
}
.ts-wrapper:not(.has-items) .ts-control {
    padding: 9px 8px !important;
}
.ts-wrapper.has-items .ts-control {
    padding: 6px 0px 4px 8px !important;
}


.swiper-slide:first-child {
    margin-left: 0 !important; /* Asegurar que la primera imagen esté al ras */
}

.swiper-slide:last-child {
    margin-right: 0 !important;
}

/* Filter */
.container-filter-page {
    padding: 10px 150px 10px 150px;
}

/* Tablet landscape */
@media (max-width: 1200px) {
    .container-filter-page {
        padding: 10px 100px 10px 100px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container-filter-page {
        padding: 10px 50px 10px 50px;
    }
}

/* Mobile landscape */
@media (max-width: 600px) {
    .container-filter-page {
        padding: 10px 30px 10px 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container-filter-page {
        padding: 0px 10px 0px 10px;
    }
}

/* Responsive reorder for filter form on small screens
    - First row: category + province + exact location
    - Second row: search + submit
    - Optional "more" section below when enabled
*/
@media (max-width: 480px) {
    .filter-bar {
        display: grid;
        grid-template-columns: repeat(10, minmax(0, 1fr));
        gap: 8px;
        align-items: center;
    }

    .filter-item {
        min-width: 0;
        max-width: none;
    }

    .filter-item--category {
        order: 1;
        grid-column: span 5;
    }

    .filter-item--province {
        order: 2;
        grid-column: span 5;
    }

    .filter-item--residence {
        order: 4;
        grid-column: span 2;
        min-width: 62px !important;
        display: flex;
        justify-content: center;
    }

    .filter-item--search {
        order: 3;
        grid-column: span 5;
    }

    .filter-item--more {
        order: 6;
        flex-basis: 100%;
    }

    .filter-item--submit {
        order: 5;
        grid-column: span 3;
    }

    /* Make inputs take full width of their flex item */
    .filter-input-group,
    .filter-input,
    .filter-select-primary,
    .filter-dropdown-btn {
        width: 100% !important;
    }
}

/* Home */
.province-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

/* City links grid */
.city-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}
.city-link-btn,
.city-link-btn:visited {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fdf0f3;
    border: 1px solid #e8c4ce;
    color: #8B1E3F !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.city-link-btn:hover {
    background: #f7dce3;
    border-color: #8B1E3F;
    color: #741935 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(139, 30, 63, 0.15);
}
.province-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}
.province-card .province-card-header {
    /* border-radius: 12px 12px; */
    padding: 0px 18px;
}

.province-card .province-card-header--comfortable {
    padding: 12px 16px !important;
}

.province-card .province-card-header--comfortable .province-card-title {
    margin: 0;
    line-height: 1.2;
}
.province-card-body {
    padding: 24px;
}
.province-card-title {
    font-size: 18px;
    display: block;
}
.province-card-title:hover {
    color: #d01884;
}
.province-card-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.province-card-links.province-card-links-single {
    grid-template-columns: 1fr;
}
.province-card-links.province-card-links-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    justify-content: flex-start;
}
.province-card-links.province-card-links-categories a {
    flex: 0 0 auto;
}
.province-card-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    min-width: 0;
    color: #8B1E3F !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    background: #fdf0f3;
    border: 1px solid #e8c4ce;
    border-radius: 20px;
    padding: 6px 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.province-card-links a:visited,
.province-card-links a:active,
.province-card-links a:focus,
.province-card-links a.active {
    color: #8B1E3F !important;
}

.province-card-link-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
}

.province-card-link-count {
    flex: 0 0 auto;
    color: #999;
}

.province-card-links a:hover {
    background: #f7dce3;
    border-color: #8B1E3F;
    color: #741935;
    padding-left: 14px;
}

@media (max-width: 992px) {
    .province-card-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Home hero and search */
.container-top-pasion {
    padding: 20px 100px 20px 100px;
    position: relative;
    z-index: 0;
}

.home-section-gap {
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .home-section-gap {
        margin-top: 1.5rem;
    }
}

.location-seo-title-wrap {
    /* margin: 0 0 28px 0; */
    padding: 18px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fff8fa 100%);
    border: 1px solid rgba(139, 30, 63, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.location-seo-title {
    margin: 0;
    color: #2f3444;
    font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.2px;
    text-wrap: balance;
}

.location-empty-state {
    margin: 8px 0 0;
    width: 100%;
    max-width: none;
    text-align: center;
    padding: 34px 24px;
    border-radius: 18px;
    border: 1px solid rgba(139, 30, 63, 0.18);
    background: linear-gradient(145deg, #ffffff 0%, #fff6f9 100%);
    box-shadow: 0 14px 36px rgba(23, 32, 52, 0.1);
}

.location-empty-state .location-empty-state__text-wrap {
    width: 100%;
}

.container-location-page .location-empty-state-col {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
}

.location-empty-state__title--full {
    display: block;
    width: 100%;
}

.location-empty-state__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B1E3F 0%, #bf3a63 100%);
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 10px 24px rgba(139, 30, 63, 0.3);
}

.location-empty-state__title {
    margin: 0;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
    font-weight: 800;
    color: #222b3a;
    letter-spacing: -0.01em;
    text-align: center;
    width: 100%;
}

.location-empty-state__place {
    margin: 8px 0 0;
    color: #8B1E3F;
    text-align: center;
    font-size: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
    font-weight: 800;
}

.location-empty-state__place-connector {
    color: #222b3a;
}

.home-editorial-section {
    /* padding: 18px 100px 56px; */
    padding: 40px 100px 30px;
}

.home-editorial-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 34px 38px 36px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8fa 100%);
    border: 1px solid rgba(139, 30, 63, 0.1);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(18, 18, 18, 0.07);
}

.home-editorial-intro {
    max-width: none;
    margin-bottom: 26px;
}

.home-editorial-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(139, 30, 63, 0.08);
    color: #8B1E3F;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.home-editorial-title {
    margin: 0 0 14px;
    color: #202733;
    font-size: clamp(2rem, 1.45rem + 1.6vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
    text-wrap: pretty;
}

.home-editorial-lead,
.home-editorial-copy {
    margin: 0;
    color: #4d5562;
    font-size: 17px;
    line-height: 1.78;
}

.home-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.home-editorial-card,
.home-editorial-services {
    padding: 24px 24px 22px;
    background: #ffffff;
    border: 1px solid rgba(139, 30, 63, 0.1);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.home-editorial-card-title {
    margin: 0 0 12px;
    color: #8B1E3F;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.home-editorial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-editorial-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fdf0f3;
    border: 1px solid #efc2cf;
    color: #8B1E3F;
    font-size: 14px;
    font-weight: 700;
}
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    z-index: 3005;
    padding: 20px 0;
}
/* Location page hero: height auto based on content */
.hero-section--location {
    height: auto !important;
    padding: 20px 0 30px;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    padding-top: 10px;
}
.hero-form-container {
    position: relative;
    z-index: 3010;
    width: 100%;
}

/* CTA publish banner */
.hero-cta-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 20px 32px 18px;
    width: 100%;
    max-width: 500px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.hero-cta-banner:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
}
.hero-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #8B1E3F 0%, #b0284e 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(139, 30, 63, 0.55);
}
.hero-cta-badge i {
    font-size: 10px;
    color: #ffd700;
}
.hero-cta-headline {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
    line-height: 1.2;
}
.hero-cta-sub {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
    .hero-cta-headline {
        font-size: 20px;
    }
    .hero-cta-sub {
        font-size: 12px;
    }
}

/* Force flat navbar-like background on province card headers (no gradient) */
.province-card .card-header {
    background: #8B1E3F !important;
    color: #ffffff !important;
}


/* Hero search input */
.hero-search {
    width: 100%;
    max-width: 600px;
    position: relative;
}

/* Wrapper con icono de búsqueda */
.hero-search-inner {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.hero-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B1E3F;
    font-size: 18px;
    pointer-events: none;
    z-index: 10;
}

.hero-search .ts-wrapper {
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.hero-search .ts-wrapper .ts-control {
    border-radius: 50px !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.8) !important;
    padding: 10px 20px 10px 48px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(8px);
    color: #333 !important;
    transition: box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.hero-search .ts-wrapper .ts-control input::placeholder {
    color: #aaa !important;
    font-weight: 400;
}

.hero-search .ts-wrapper.focus .ts-control {
    border-color: #8B1E3F !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(139, 30, 63, 0.15) !important;
}

.hero-search .ts-wrapper .ts-dropdown {
    border-radius: 20px;
    border: 1px solid rgba(139, 30, 63, 0.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    margin-top: 8px;
    overflow: hidden;
    max-height: none !important;
    background: white;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}
.hero-search .ts-wrapper .ts-dropdown .ts-dropdown-content {
    max-height: none !important;
    overflow-y: visible !important;
}
.hero-search .ts-wrapper .ts-dropdown .option {
    font-size: 16px !important;
    padding: 14px 24px !important;
    color: #2d2d2d;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s ease, padding-left 0.15s ease;
}
.hero-search .ts-wrapper .ts-dropdown .option:last-child {
    border-bottom: none;
}
.hero-search .ts-wrapper .ts-dropdown .option.active,
.hero-search .ts-wrapper .ts-dropdown .option:hover {
    background: #fdf0f3 !important;
    color: #8B1E3F !important;
    padding-left: 28px !important;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 620px;
    width: 100%;
}
.category-tab {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 9px 20px;
    border-radius: 30px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}
.category-tab:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.category-tab.active {
    background: #8B1E3F;
    border-color: #8B1E3F;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}
.category-tab.active:hover {
    background: #741935;
    border-color: #741935;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .container-top-pasion {
        padding: 16px 10px 22px;
    }
    .location-seo-title-wrap {
        margin-bottom: 20px;
        padding: 14px 14px;
        border-radius: 12px;
    }
    .location-seo-title {
        font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem);
        line-height: 1.3;
    }
    .home-editorial-section {
        padding: 8px 10px 34px;
    }
    .home-editorial-shell {
        padding: 22px 16px 24px;
        border-radius: 18px;
    }
    .home-editorial-intro {
        margin-bottom: 18px;
    }
    .home-editorial-title {
        font-size: clamp(1.55rem, 1.2rem + 1.8vw, 2.1rem);
        line-height: 1.14;
    }
    .home-editorial-lead,
    .home-editorial-copy {
        font-size: 15px;
        line-height: 1.7;
    }
    .home-editorial-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 16px;
    }
    .home-editorial-card,
    .home-editorial-services {
        padding: 18px 16px;
        border-radius: 14px;
    }
    .home-editorial-card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .home-editorial-tags {
        gap: 8px;
    }
    .home-editorial-tags span {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 13px;
    }
    .container-top-pasion .row {
        --bs-gutter-x: 0.9rem;
        --bs-gutter-y: 0.9rem;
    }
    .province-card .province-card-header {
        padding: 8px 20px;
    }
    .province-card-body {
        padding: 14px 10px;
    }
    .province-card-links a {
        padding: 6px 10px;
        gap: 8px;
    }
    .hero-content {
        gap: 16px;
    }
    .category-tabs {
        gap: 8px;
        max-width: 100%;
    }
    .category-tab {
        font-size: 11px;
        padding: 8px 14px;
    }
}

/* Location */
.footer-seo {
    max-width: none;
    margin: 0 0 40px 0;
    padding: 0 100px;
    .grid-stat {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 600;
        color: #1e293b;
        background: #f8f0f3;
        border: 1px solid rgba(139,30,63,0.14);
        border-radius: 20px;
        min-height: 36px;
        padding: 0 12px;
        white-space: nowrap;
    }
    .grid-stat i {
        color: #8B1E3F;
        font-size: 14px;
        line-height: 1;
    }
    .grid-stat--price {
        background: linear-gradient(135deg, #8B1E3F 0%, #C23B61 100%);
        border-color: transparent;
        color: #ffffff;
        height: 36px;
        padding: 0 14px;
        display: inline-flex;
        align-items: center;
    }
    .grid-stat--price i { color: #ffffff; font-size: 16px; }
    .grid-stat--wa, .grid-stat--tg {
        width: 36px;
        height: 36px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    .grid-stat--wa { background: #25D366; border-color: transparent; color:#fff; }
    .grid-stat--wa i { color: #ffffff; font-size: 16px; }
    .grid-stat--tg { background: #229ED9; border-color: transparent; color:#fff; }
    .grid-stat--tg i { color: #ffffff; font-size: 16px; }
    border-radius: 10px;
}
.location-links h2, .category-links h2 {
    margin: 0px;
    padding: 8px;
    font-size: 26px;
}
.location-links hr, .category-links hr {
    margin: 0px;
}
.location-links, .category-links {
    width: 100%;
    background-color: white;
    border: 1px solid #ced4da;
}

/* Grid link wrapper */
.grid-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}
.grid-link:hover, .grid-link:visited, .grid-link:active, .grid-link:focus {
    text-decoration: none !important;
    color: inherit !important;
}


/* All users */
/* Contact Actions */

/* Location grid cards */
.grid-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    background: white;
    height: 100%;
}
.grid-photo {
    position: relative;
}
.grid-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.grid-photo-img {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.grid-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.grid-flag-photo {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.grid-flag-photo img {
    height: 28px;
    width: 38px;
    border-radius: 6px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.grid-verified-photo {
    position: absolute;
    top: 50px;
    right: 16px;
    color: #8B1E3F; /* navbar color */
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}
.grid-price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(145deg, #6d1530 0%, #8B1E3F 60%, #a82050 100%);
    color: #fff;
    padding: 6px 13px 7px;
    border-radius: 10px;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(139,30,63,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
}
.grid-price-desde {
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.82;
    line-height: 1;
}
.grid-price-amount {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1;
}
.verified-badge {
    color: #0d6efd; /* Bootstrap primary blue for verified */
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}
.grid-location {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 5px 10px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}
.grid-location i {
    color: inherit; /* use same color as the label (white) */
    font-size: 18px;
}
.grid-body {
    padding: 14px 14px 8px 14px;
    min-height: 140px;
}
.grid-name-flag {
    height: 18px;
    width: 24px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.grid-name {
    font-size: 18px;
    font-weight: 700;
}
.grid-flag {
    font-size: 18px;
}
.grid-desc {
    margin: 0;
    font-size: 14px;
    color: #444;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.grid-meta {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    gap: 4px;
    color: #64748b;
    min-width: 0;
}
.grid-meta span {
    display: block;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.grid-meta i { color: #8B1E3F; flex-shrink: 0; }

/* Age + price stats row */
.grid-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.grid-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    /* color: #1e293b; */
    color: #8B1E3F !important;
    background: #f8f0f3;
    border: 1px solid rgba(139,30,63,0.14);
    border-radius: 20px;
    padding: 4px 10px;
    white-space: nowrap;
}
.grid-stat i {
    color: #8B1E3F;
    font-size: 14px;
    line-height: 1;
}
.grid-stat--price {
    background: linear-gradient(135deg, #8B1E3F 0%, #C23B61 100%);
    border-color: transparent;
    color: #ffffff;
    padding: 4px 10px;
}
.grid-stat--price i { color: #ffffff; font-size: 16px; }
.grid-stat--wa {
    background: #25D366;
    border-color: transparent;
    color: #ffffff;
    padding: 5px 5px;
    border-radius: 24px;
}
.grid-stat--wa i { color: #ffffff; font-size: 16px; }
.grid-stat--tg {
    background: #229ED9;
    border-color: transparent;
    color: #ffffff;
    padding: 5px 5px;
    border-radius: 24px;
}
.grid-stat--tg i { color: #ffffff; font-size: 16px; }
.grid-contact {
    display: flex;
    width: 100%;
    margin-top: auto;
}
.grid-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.grid-btn.phone {
    background: #40c063;
}
.grid-btn.phone:hover {
    background: #2da84f;
}
.grid-btn.whatsapp {
    background: #25d366;
}
.grid-btn.whatsapp:hover {
    background: #1fa854;
}

/* Single phone bar for grid cards */
.grid-contact-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(to right, #c4385f 0%, #8B1E3F 50%, #4e1020 100%);
    color: white !important;
    text-decoration: none !important;
    padding: 5px 10px;
    border-top: none;
    border-radius: 0 0 12px 12px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 -2px 8px rgba(139,30,63,0.2);
}
.grid-contact-full:hover, .grid-contact-full:visited, .grid-contact-full:active, .grid-contact-full:focus {
    color: white !important;
    text-decoration: none !important;
}
.grid-contact-full:hover {
    background: linear-gradient(to right, #d44070 0%, #a02349 50%, #6b1530 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(139,30,63,0.35);
    color: white !important;
}
.grid-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 16px;
}
.grid-contact-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.grid-contact-label {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.85;
}
.grid-contact-number {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/*  */
.container-location-page {
    /* padding: 40px 150px 40px 150px; */
    /* padding: 40px 100px 40px 100px; */
    padding: 40px 100px 10px 100px;
    position: relative;
    z-index: 0; /* Asegurar que las cards no se apilen sobre el carousel */
}

/* Filter form - professional look */
.filter-section {
    margin-top: 6px;
}
.filter-panel {
    background: #ffffff;
    border: 1px solid #e6e7ea;
    border-radius: 16px;
    padding: 18px 20px 20px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.filter-secondary {
    margin-bottom: 28px;
    position: relative;
    z-index: 3100;
}
.filter-secondary-bg {
    background: #7c6aa3;
    border-bottom: 1px solid #8b7ab4;
    padding: 10px 0;
    margin-bottom: 0px;
}
.hero-filter-wrapper .filter-secondary-bg {
    background: transparent;
    border-bottom: none;
    padding: 0;
}
.hero-filter-wrapper .filter-secondary {
    margin-bottom: 0;
}
.hero-filter-wrapper {
    width: 100%;
    max-width: 900px;
}
.location-seo-title-wrap {
    margin: 0 0 20px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fff8fa 100%);
    border: 1px solid rgba(139, 30, 63, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.location-seo-title {
    margin: 0;
    color: #2f3444;
    font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.2px;
    text-wrap: balance;
}
/* Centrado y estilo glass para los filtros dentro del hero */
.hero-filter-wrapper .container-filter-page {
    padding: 0;
}
.hero-filter-wrapper .formulario-box {
    margin: 0 auto;
}
.hero-filter-wrapper .filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 18px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hero-filter-wrapper .filter-item--search {
    flex: 1 1 0;
    min-width: 0;
}
.hero-filter-wrapper .filter-item--category,
.hero-filter-wrapper .filter-item--province {
    flex: 1 1 0;
    min-width: 0;
}
.hero-filter-wrapper .filter-item--province {
    position: relative;
    z-index: 20;
}
.hero-filter-wrapper .filter-item--more,
.hero-filter-wrapper .filter-item--submit {
    flex: 0 0 auto;
}
.hero-filter-wrapper .filter-dark-input {
    background: #fff !important;
    border: 2px solid rgba(139, 30, 63, 0.35) !important;
    color: #222 !important;
    border-radius: 14px !important;
    height: 54px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 2px 8px rgba(139,30,63,0.15);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.hero-filter-wrapper .filter-dark-input::placeholder {
    color: #aaa !important;
    font-weight: 400;
}
.hero-filter-wrapper .filter-dark-input:focus {
    border-color: #8B1E3F !important;
    box-shadow: 0 0 0 4px rgba(139, 30, 63, 0.22), 0 4px 16px rgba(0,0,0,0.15) !important;
    background-color: #fff !important;
    color: #111 !important;
    transform: translateY(-1px);
}
/* Flecha moderna para el select de categoría */
.hero-filter-wrapper .filter-select-primary {
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B1E3F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 18px 18px !important;
    padding-right: 40px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
}
.hero-filter-wrapper .ts-wrapper {
    height: 54px;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}
.hero-filter-wrapper .filter-item--province,
.hero-filter-wrapper .filter-item--province .filter-input-group {
    width: 100%;
}
.hero-filter-wrapper .ts-wrapper .ts-control {
    background: #fff !important;
    border: 2px solid rgba(139, 30, 63, 0.35) !important;
    border-radius: 14px !important;
    color: #222 !important;
    min-height: 54px !important;
    height: 54px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 2px 8px rgba(139,30,63,0.15) !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    font-size: 15px;
    font-weight: 500;
    cursor: text;
}
.hero-filter-wrapper .ts-wrapper .ts-control input {
    font-size: 15px !important;
    color: #222 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 54px !important;
    font-weight: 500 !important;
}
.hero-filter-wrapper .ts-wrapper .ts-control input::placeholder {
    color: #999 !important;
}
.hero-filter-wrapper .ts-wrapper.focus .ts-control {
    border-color: #8B1E3F !important;
    box-shadow: 0 0 0 4px rgba(139, 30, 63, 0.22), 0 4px 16px rgba(0,0,0,0.15) !important;
    background: #fff !important;
    transform: translateY(-1px);
}
/* Hide Tom Select's native caret */
.hero-filter-wrapper .ts-wrapper .ts-control .ts-dropdown-arrow,
.hero-filter-wrapper .ts-wrapper > .ts-dropdown-arrow,
.hero-filter-wrapper .ts-wrapper.single .ts-control::after,
.hero-filter-wrapper .ts-wrapper .ts-dropdown-arrow {
    display: none !important;
}
/* Custom chevron arrow for TomSelect */
.hero-filter-wrapper .filter-item--province .filter-input-group {
    position: relative;
}
.hero-filter-wrapper .filter-item--province .filter-input-group::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B1E3F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    pointer-events: none;
    z-index: 2;
}
/* Make room for the arrow inside the TomSelect input */
.hero-filter-wrapper .filter-item--province .ts-wrapper .ts-control {
    padding-right: 22px !important;
}

/* Location pagination */
.location-pagination .page-link {
    color: #2f3444;
}

.location-pagination .page-item.active .page-link {
    background-color: #8B1E3F;
    border-color: #8B1E3F;
    color: #ffffff !important;
}

.location-pagination .page-item.active .page-link i {
    color: #ffffff;
}
/* Dropdown styles */
.hero-filter-wrapper .ts-wrapper .ts-dropdown {
    border-radius: 16px;
    border: 1px solid rgba(139, 30, 63, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    margin-top: 6px;
    overflow: hidden;
    background: #fff;
    z-index: 9999 !important;
}

.ts-dropdown {
    z-index: 9999 !important;
}

.city-selector-dropdown {
    border-radius: 16px !important;
    border: 1px solid rgba(139, 30, 63, 0.22) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff9fb 100%) !important;
    box-shadow: 0 22px 52px rgba(12, 12, 18, 0.24), 0 8px 22px rgba(139, 30, 63, 0.18) !important;
    overflow: hidden !important;
}

.city-selector-dropdown .ts-dropdown-content {
    max-height: min(48vh, 360px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 30, 63, 0.38) rgba(0, 0, 0, 0.04);
}

.city-selector-dropdown .option {
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    color: #2d2d2d !important;
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(139, 30, 63, 0.08);
    transition: background-color 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

.city-selector-dropdown .option:last-child {
    border-bottom: 0;
}

.city-selector-dropdown .option.active,
.city-selector-dropdown .option:hover,
.city-selector-dropdown .option.selected {
    background: #fdf0f3 !important;
    color: #8B1E3F !important;
    padding-left: 24px !important;
}
.hero-filter-wrapper .ts-wrapper .ts-dropdown .ts-dropdown-content {
    max-height: none !important;
    overflow-y: visible !important;
}
.hero-filter-wrapper .ts-wrapper .ts-dropdown .option {
    font-size: 15px !important;
    padding: 13px 20px !important;
    color: #2d2d2d;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s ease, padding-left 0.15s ease;
}
.hero-filter-wrapper .ts-wrapper .ts-dropdown .option:last-child {
    border-bottom: none;
}
.hero-filter-wrapper .ts-wrapper .ts-dropdown .option.active,
.hero-filter-wrapper .ts-wrapper .ts-dropdown .option:hover {
    background: #fdf0f3 !important;
    color: #8B1E3F !important;
    padding-left: 26px !important;
}
.hero-filter-wrapper .filter-submit-compact {
    background: linear-gradient(135deg, #8B1E3F 0%, #b0244f 100%) !important;
    border-color: #8B1E3F !important;
    color: #fff !important;
    border-radius: 14px !important;
    height: 54px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(139, 30, 63, 0.5), 0 2px 6px rgba(0,0,0,0.18);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    padding: 0 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.hero-filter-wrapper .filter-submit-compact:hover {
    background: linear-gradient(135deg, #741935 0%, #9a1f44 100%) !important;
    border-color: #741935 !important;
    box-shadow: 0 8px 24px rgba(139, 30, 63, 0.65), 0 2px 8px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}
.hero-filter-wrapper .filter-modal-trigger-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    position: relative;
    z-index: 5;
}
.hero-filter-wrapper .filter-modal-trigger {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.hero-filter-wrapper .filter-modal-trigger:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}
.hero-filter-wrapper .filter-modal-trigger i {
    font-size: 16px;
    color: #ffffff;
}
.hero-filter-wrapper .filter-modal-trigger__badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #8B1E3F;
    color: #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}
.hero-filter-wrapper .filter-modal-trigger.has-active-filters {
    background: linear-gradient(135deg, #8B1E3F 0%, #b0244f 100%) !important;
    border-color: #8B1E3F !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(139, 30, 63, 0.5), 0 2px 6px rgba(0,0,0,0.18);
}
.hero-filter-wrapper .filter-modal-trigger.has-active-filters i {
    color: #ffffff !important;
}
.filter-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 16, 0.48);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 5200;
}
.filter-modal-backdrop.is-open {
    opacity: 1;
}
.filter-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 5210;
}
.filter-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.filter-modal__panel {
    width: min(100%, 460px);
    max-height: min(88vh, 760px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.22s ease;
}
.filter-modal.is-open .filter-modal__panel {
    transform: translateY(0) scale(1);
}
.filter-modal__header {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #eceef2;
}
.filter-modal__icon-btn,
.filter-modal__clear {
    border: 0;
    background: transparent;
    padding: 0;
}
.filter-modal__icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8B1E3F;
}
.filter-modal__icon-btn i {
    color: inherit;
    font-size: 20px;
}
.filter-modal__title {
    margin: 0;
    text-align: center;
    font-size: 1.65rem;
    font-weight: 800;
    color: #1c2434;
}
.filter-modal__clear {
    color: #a4a1a6;
    font-size: 1rem;
    font-weight: 700;
}
.filter-modal__body {
    overflow-y: auto;
}
.filter-modal__section {
    padding: 24px 22px;
    border-bottom: 1px solid #eceef2;
}
.filter-modal__section--checkbox {
    padding-bottom: 18px;
}
.filter-modal__heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #202632;
    margin-bottom: 8px;
}
.filter-modal__value {
    font-size: 1.45rem;
    color: #232a38;
    margin-bottom: 18px;
    font-weight: 500;
}
.filter-check-card {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
}
.filter-check-card__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.filter-check-card__box {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 2px solid rgba(139, 30, 63, 0.7);
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
}
.filter-check-card__box::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}
.filter-check-card__input:checked + .filter-check-card__box {
    background: #8B1E3F;
    border-color: #8B1E3F;
}
.filter-check-card__input:checked + .filter-check-card__box::after {
    opacity: 1;
}
.filter-check-card__text {
    font-size: 1.12rem;
    font-weight: 700;
    color: #252c39;
}
.filter-range {
    position: relative;
    height: 28px;
}
.filter-range__track,
.filter-range__fill {
    position: absolute;
    top: 50%;
    height: 5px;
    border-radius: 999px;
    transform: translateY(-50%);
}
.filter-range__track {
    left: 0;
    right: 0;
    background: #d9dee6;
}
.filter-range__fill {
    background: #8B1E3F;
}
.filter-range__input {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 22px;
    margin: 0;
    appearance: none;
    background: transparent;
    pointer-events: none;
    transform: translateY(-50%);
}
.filter-range__input::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #8B1E3F;
    border: 0;
    box-shadow: 0 2px 6px rgba(139, 30, 63, 0.35);
    pointer-events: auto;
    cursor: pointer;
    margin-top: -8.5px;
}
.filter-range__input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #8B1E3F;
    border: 0;
    box-shadow: 0 2px 6px rgba(139, 30, 63, 0.35);
    pointer-events: auto;
    cursor: pointer;
}
.filter-range__input::-webkit-slider-runnable-track {
    height: 5px;
    background: transparent;
}
.filter-range__input::-moz-range-track {
    height: 5px;
    background: transparent;
}
.filter-modal__footer {
    padding: 18px 22px 22px;
    background: #ffffff;
}
.filter-modal__apply {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #8B1E3F 0%, #b0244f 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(139, 30, 63, 0.24);
}
body.filter-modal-open {
    overflow: hidden;
}
.hero-filter-wrapper .filter-dropdown-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
    border-radius: 12px !important;
    height: 46px;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(4px);
}
.hero-filter-wrapper .filter-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}
@media (max-width: 768px) {
    .hero-filter-wrapper {
        max-width: 500px;
    }
    .hero-filter-wrapper .filter-bar {
        padding: 12px;
        gap: 8px;
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: center;
    }
    .hero-filter-wrapper .filter-item {
        min-width: 0;
        max-width: none;
    }
    .hero-filter-wrapper .filter-item--category {
        order: 1;
        grid-column: span 6;
    }
    .hero-filter-wrapper .filter-item--province {
        order: 2;
        grid-column: span 6;
    }
    .hero-filter-wrapper .filter-item--residence {
        order: 4;
        grid-column: span 2;
        min-width: 70px;
        display: flex;
        justify-content: center;
    }
    .hero-filter-wrapper .filter-item--search {
        order: 3;
        grid-column: span 8;
    }
    .hero-filter-wrapper .filter-item--submit {
        order: 5;
        grid-column: span 4;
    }
    .hero-filter-wrapper .filter-item--submit .filter-submit-compact {
        width: 100%;
    }
    .hero-filter-wrapper .filter-modal-trigger-wrap {
        margin-top: 12px;
    }
    .hero-filter-wrapper .filter-modal-trigger {
        width: 32%;
        justify-content: center;
        min-height: 36px;
        font-size: 13px;
    }
    .hero-filter-wrapper .filter-dark-input,
    .hero-filter-wrapper .filter-submit-compact {
        height: 46px !important;
        font-size: 14px;
    }
    .hero-filter-wrapper .ts-wrapper,
    .hero-filter-wrapper .ts-wrapper .ts-control {
        height: 46px !important;
        min-height: 46px !important;
    }
    .hero-filter-wrapper .ts-wrapper .ts-control {
        padding-top: 0 !important;
    }
    .hero-filter-wrapper .filter-item--more {
        display: none;
    }
    .filter-modal {
        align-items: flex-end;
        padding: 0;
    }
    .filter-modal__panel {
        width: 100%;
        max-height: 92vh;
        border-radius: 22px 22px 0 0;
    }
    .filter-modal__header {
        padding: 16px 16px 12px;
    }
    .filter-modal__title {
        font-size: 1.35rem;
    }
    .filter-modal__section {
        padding: 20px 16px;
    }
    .filter-modal__value {
        font-size: 1.2rem;
    }
    .filter-modal__footer {
        padding: 16px;
    }
    .filter-range__input::-webkit-slider-thumb {
        margin-top: -8.5px;
    }
}
.filter-secondary .col-12 {
    padding: 0px;
}
.filter-secondary-panel {
    background: transparent;
    border: 0;
    padding: 0;
    position: relative;
    z-index: 3101;
}
.filter-bar {
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.filter-item {
    flex: 0 0 auto;
    min-width: 130px;
}
.filter-item--search {
    flex: 2 0 300px;
    min-width: 220px;
}
.filter-item--category,
.filter-item--province {
    flex: 1 0 190px;
    min-width: 170px;
}
.filter-item--more {
    flex: 0 0 120px;
    min-width: 120px;
}
.filter-item--submit {
    flex: 0 0 140px;
    min-width: 140px;
}
.filter-compact-label {
    font-size: 11px;
    color: #c9c9c9;
    margin-bottom: 4px;
}
.filter-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.filter-input-group i {
    position: absolute;
    left: 12px;
    color: #9aa0a6;
    font-size: 16px;
}
.filter-dark-input {
    background: #1f1f1f;
    border: 1px solid #4a4a4a;
    color: #f3f3f3;
    padding-left: 36px;
    height: 44px;
}
.filter-select-primary {
    height: 44px;
}
.filter-dark-input::placeholder {
    color: #9aa0a6;
}
.filter-dark-input:focus {
    border-color: #7c6aa3;
    box-shadow: 0 0 0 0.2rem rgba(124, 106, 163, 0.25);
    background: #1f1f1f;
    color: #ffffff;
}
.filter-inline-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.filter-submit-compact {
    height: 44px;
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    background: transparent;
    border-color: #dcd7ea;
    color: #ffffff;
}
.filter-submit-compact:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
}
.filter-dropdown {
    width: 100%;
}
.filter-dropdown-btn {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    font-weight: 600;
    background: transparent;
    border-color: #dcd7ea;
    color: #ffffff;
}
.filter-dropdown-btn:hover,
.filter-dropdown-btn:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: none;
}
.filter-dropdown-menu {
    background: #2c2c2c;
    border: 1px solid #4a4a4a;
    border-radius: 12px;
    min-width: 380px;
    z-index: 3200 !important;
    width: 200px;
}

.filter-secondary .dropdown-menu {
    z-index: 3200 !important;
}
.filter-dropdown-title {
    font-size: 12px;
    font-weight: 700;
    color: #cfc9e6;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    /* .filter-secondary-panel {
        padding: 12px;
    } */
    .filter-dark-input {
        height: 42px;
    }
}
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.filter-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #2d2d2d;
}
.filter-subtitle {
    margin: 2px 0 0 0;
    font-size: 14px;
    color: #6c757d;
}
.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-submit {
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    background: #8B1E3F;
    border-color: #8B1E3F;
}
.filter-submit:hover {
    background: #4a3c5c;
    border-color: #4a3c5c;
}
.filter-label {
    font-weight: 600;
    font-size: 13px;
    color: #4c4f56;
    margin-bottom: 6px;
}
.filter-label i {
    color: #8B1E3F;
    margin-right: 6px;
}
.filter-input,
.filter-panel .form-select {
    border-radius: 12px;
    border: 1px solid #d8dde3;
    padding: 10px 12px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-input:focus,
.filter-panel .form-select:focus {
    border-color: #8B1E3F;
    box-shadow: 0 0 0 0.2rem rgba(90, 74, 111, 0.15);
}
.filter-primary-row {
    background: #f8f7fb;
    border: 1px dashed #d6d1df;
    border-radius: 12px;
    padding: 12px;
}
.filter-select-primary {
    border-width: 2px;
    border-color: #8B1E3F;
    font-weight: 600;
}
.filter-select-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(90, 74, 111, 0.2);
}

@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-actions {
        width: 100%;
    }
    .filter-submit {
        width: 100%;
    }
}

/* Tablet landscape */
@media (max-width: 1200px) {
    .container-location-page {
        padding: 10px 150px 40px 150px;
        position: relative;
        z-index: 0; /* Asegurar que las cards no se apilen sobre el carousel */
        margin-top: 40px; /* separa las cards del carousel para evitar solapamiento */
    }
}
/* Tablet */
@media (max-width: 768px) {
    .container-location-page {
        padding: 10px 50px 30px 50px;
    }

    .location-seo-title-wrap {
        margin-bottom: 8px;
        padding: 14px 14px;
        border-radius: 12px;
    }

    .location-seo-title {
        font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem);
        line-height: 1.3;
    }
}

/* Mobile landscape */
@media (max-width: 600px) {
    .container-location-page .row {
        --bs-gutter-x: 0.75rem;
    }
    .container-location-page {
        padding: 10px 30px 25px 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container-location-page .row {
        --bs-gutter-x: 0.5rem;
    }
    .container-location-page {
        padding: 0px 10px 0px 10px;
    }
    .grid-flag-photo img {
        width: 28px;
        height: 22px;
    }
    .grid-verified-photo {
        top: 44px;
        font-size: 18px;
    }
    .grid-price-badge {
        padding: 5px 10px 6px;
    }
    .grid-price-desde {
        font-size: 8px;
    }
    .grid-price-amount {
        font-size: 13px;
    }
    .grid-body {
        padding: 10px 6px 10px 6px;
        min-height: 110px;
    }
    .grid-name {
        font-size: 13px;
    }
    .grid-desc {
        font-size: 13px;
    }
    .grid-meta {
        font-size: 12px;
    }
    .grid-meta-location,
    .grid-meta-age {
        font-size: 10px;
    }
    .grid-meta-price {
        font-size: 13px;
    }
    .grid-stats {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
    }
    .grid-stats .grid-stat {
        justify-content: center;
    }
    .grid-stat,
    .grid-stat--price {
        font-size: 11px;
        gap: 4px;
        padding: 2px 7px;
    }
    .grid-stat i,
    .grid-stat--price i {
        font-size: 12px;
    }
    .grid-contact-full {
        padding: 4px 8px;
        gap: 8px;
    }
    .grid-contact-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .grid-contact-label {
        font-size: 9px;
    }
    .grid-contact-number {
        font-size: 13px;
    }
}

/* Mejorar labels de datos personales y perfil público */
.label-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

/* Save/publish ad button */
.btn-save-ad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffffff;
    background: linear-gradient(135deg, #a8294f 0%, #6b1530 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(139, 30, 63, 0.3);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-save-ad:hover,
.btn-save-ad:focus {
    background: linear-gradient(135deg, #9b2347 0%, #5a1228 100%);
    box-shadow: 0 6px 22px rgba(139, 30, 63, 0.42);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-save-ad:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(139, 30, 63, 0.25);
}

.btn-save-ad i {
    font-size: 1.1em;
}

.label-value {
    font-size: 16px;
    color: #23202a;
    margin-bottom: 0.32rem;
    word-break: break-word;
    letter-spacing: 0.01em;
}
.container-memmber-page {
    padding: 10px 150px 40px 150px;
}
/* a:visited, a:active, a:focus {
    color: white !important;
} */
.breadcrumb-item a, .visits {
    color: #5a6278 !important;
}
.visits {
    float: inline-end;
}

/* Tablet landscape */
@media (max-width: 1200px) {
    .container-memmber-page {
        padding: 10px 100px 40px 100px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container-memmber-page {
        padding: 10px 50px 30px 50px;
    }
}

/* Mobile landscape */
@media (max-width: 600px) {
    .container-memmber-page {
        padding: 10px 30px 25px 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container-memmber-page {
        padding: 0px 10px 20px 10px;
    }
}

@media (min-width: 992px) {
    .gallery-sticky-desktop {
        position: sticky;
        top: 18px;
        align-self: flex-start;
    }
}

/* Members dashboard/edit shared styles */
.member-action-btn {
    border-color: #8B1E3F;
    color: #6b1530;
    background-color: #ffffff;
    font-weight: 600;
}

.member-action-btn i {
    color: inherit;
}

.container-member-page {
    margin-top: 28px;
}

.container-member-page .member-action-btn:hover,
.container-member-page .member-action-btn:focus {
    border-color: #8B1E3F;
    background-color: #8B1E3F;
    color: #ffffff !important;
}

.container-member-page .member-action-btn:hover i,
.container-member-page .member-action-btn:focus i {
    color: #ffffff !important;
}

.container-member-page .member-action-btn--solid {
    border-color: #8B1E3F;
    background-color: #8B1E3F;
    color: #ffffff;
}

.container-member-page .member-action-btn--solid:hover,
.container-member-page .member-action-btn--solid:focus {
    border-color: #7a1c38;
    background-color: #7a1c38;
    color: #ffffff;
}

.member-actions-row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.member-actions-row .btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.upload-drop-zone {
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 14px;
    background: #f9fafb;
}

.member-navbar-badge {
    background: linear-gradient(135deg, #6b1530 0%, #8B1E3F 100%) !important;
    color: #ffffff;
}

.member-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #a8294f 0%, #8B1E3F 100%);
    box-shadow: 0 2px 8px rgba(139, 30, 63, 0.25);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.member-logout-btn i {
    font-size: 1em;
}

.member-logout-btn:hover,
.member-logout-btn:focus {
    background: linear-gradient(135deg, #9b2347 0%, #6b1530 100%);
    box-shadow: 0 4px 14px rgba(139, 30, 63, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

.member-page-title {
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0.25rem 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #1f2937;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.member-page-title i {
    color: #1f2937;
    font-size: 1.1em;
}

.container-member-page .member-back-btn,
.container-member-page .member-back-btn:visited,
.container-member-page .member-back-btn:focus,
.container-member-page .member-back-btn:active {
    background-color: #b13f67 !important;
    border-color: #b13f67 !important;
    color: #ffffff !important;
    font-weight: 700;
}

.container-member-page .member-back-btn i {
    color: #ffffff !important;
}

.container-member-page .member-back-btn:hover {
    background-color: #9e345a !important;
    border-color: #9e345a !important;
    color: #ffffff !important;
}

@media (max-width: 576px) {
    .container-member-page .member-back-btn,
    .container-member-page .member-back-btn:visited,
    .container-member-page .member-back-btn:focus,
    .container-member-page .member-back-btn:active,
    .container-member-page .member-back-btn:hover {
        padding: 0.3rem 0.55rem !important;
        font-size: 0.78rem !important;
        border-radius: 8px !important;
        line-height: 1.1;
    }

    .container-member-page .member-back-btn i {
        font-size: 0.8rem;
    }
}

.card-header.tp-card-header {
    background: #8B1E3F !important;
    color: #ffffff !important;
}

/* ── Listing section ─────────────────────────────────────────── */
.listing-panel {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.listing-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.listing-panel-icon {
    font-size: 1.1rem;
    color: #374151;
}

.listing-panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.listing-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 20px;
    background: #8B1E3F;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-new-listing {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #a8294f 0%, #8B1E3F 100%);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(139, 30, 63, 0.22);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-new-listing:hover,
.btn-new-listing:focus {
    background: linear-gradient(135deg, #9b2347 0%, #6b1530 100%);
    box-shadow: 0 4px 14px rgba(139, 30, 63, 0.32);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Add more listings row */
.listing-add-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 0.4rem;
    border-top: 1px dashed #e5e7eb;
    background: #f9fafb;
}

/* Empty state */
.listing-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    gap: 0.4rem;
}

.listing-empty-icon {
    font-size: 3rem;
    color: #d4909f;
    margin-bottom: 0.5rem;
}

.listing-empty-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
}

.listing-empty-sub {
    font-size: 0.88rem;
    color: #9ca3af;
    margin: 0 0 0.75rem;
}

/* Table */
.listing-table-wrapper {
    overflow-x: auto;
}

.listing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.listing-table thead tr {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.listing-table thead th {
    padding: 0.7rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8B1E3F;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.listing-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.listing-table tbody tr:last-child {
    border-bottom: none;
}

.listing-table tbody tr:hover {
    background: #f9fafb;
}

.listing-table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    color: #374151;
}

.listing-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: block;
}

.listing-title {
    font-weight: 600;
    color: #1f2937;
}

.listing-meta {
    color: #8B1E3F;
    font-size: 0.87rem;
}

.listing-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.listing-status--active {
    background: #e6f9f0;
    color: #1a8a56;
}

.listing-status--review {
    background: #fff4e0;
    color: #b36a00;
}

.listing-status--inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-listing-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    border: 1.5px solid #d4909f;
    background: #ffffff;
    color: #8B1E3F !important;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-listing-edit:visited {
    color: #8B1E3F !important;
}

.btn-listing-edit:hover,
.btn-listing-edit:focus {
    background: linear-gradient(135deg, #a8294f 0%, #8B1E3F 100%);
    border-color: #8B1E3F;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(139, 30, 63, 0.22);
}

@media (max-width: 576px) {
    .container-member-page {
        margin-top: 8px;
    }
    .member-actions-row .btn {
        font-size: 0.78rem;
        padding: 0.35rem 0.3rem;
        line-height: 1.1;
        white-space: normal;
    }

    .member-actions-row .btn i {
        margin-right: 0.2rem !important;
    }

    .member-page-title {
        font-size: 1.1rem;
        padding: 0.75rem 0.8rem;
        letter-spacing: 0.03em;
    }
}

/* Profile card (right column) — enhanced, more prominent and readable */
.profile-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
    border-radius: 14px;
    border: 2px solid rgba(139,30,63,0.30);
    box-shadow: 0 8px 32px rgba(139,30,63,0.10), 0 2px 8px rgba(15,23,42,0.06);
    overflow: visible;
}
.profile-card .card-body {
    padding: 22px;
}
.profile-card .d-flex.align-items-center.mb-3.pb-2.border-bottom {
    padding-bottom: 8px;
    border-bottom: none;
}
.profile-card h2.h3 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 0 rgba(15,23,42,0.03);
}
.profile-card .card.bg-light {
    border-radius: 10px;
    border: 1px solid rgba(15,23,42,0.03);
}
.profile-card .member-contact-cta { gap: 16px; }
.profile-card .member-cta-btn { padding: 14px 20px; border-radius: 12px; font-size: 15px; }
.profile-card hr { border-color: rgba(15,23,42,0.06); }

/* subtle accent line under header */
/* Title underline removed per user request */

/* Unified small info icons (Edad, Precio, Ubicación) */
.profile-card .info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,0.04);
    box-shadow: 0 8px 20px rgba(16,24,40,0.06);
    color: #111827;
}
.profile-card .info-icon i { color: #111827 !important; font-size: 1.125rem; font-weight: 700; }

/* Price value override to black */
.profile-card .price-value { color: #000 !important; font-weight: 800; }

/* Slightly bolder title for more presence */
.profile-card h2.h3 {
    font-weight: 800;
}

/* Modernize the profile info cards (age / price / location) */
.profile-card .card.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.04);
    padding: 0;
    box-shadow: 0 6px 18px rgba(15,23,42,0.03);
}
.profile-card .card.bg-light .card-body {
    padding: 14px 16px;
}
.profile-card .card.bg-light .info-label {
    font-size: 0.78rem;
    color: #6b7280;
    text-transform: none;
    letter-spacing: 0.02em;
}
.profile-card .card.bg-light .info-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}
.profile-card .card.bg-light .d-flex.align-items-center {
    gap: 12px;
}

/* Make the location row stand out more */
.profile-card .card.bg-light a.text-reset .info-value {
    color: #0f172a;
}

/* CTA refinement inside profile-card */
.profile-card .member-cta-btn {
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 15px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
    transition: transform .18s ease, box-shadow .18s ease;
}
.profile-card .member-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(15,23,42,0.08); }

/* Reduce visual noise: subtle separators and spacing */
.profile-card .row.g-2.mb-3 { margin-bottom: 20px; }
.profile-card .card-body p { color: #475569; line-height: 1.7; }

/* Small responsive tweaks */
@media (max-width: 768px) {
    .profile-card .member-cta-btn { padding: 12px 14px; font-size: 14px; }
    .profile-card .info-icon { width: 40px; height: 40px; min-width: 40px; }
}

@media (max-width: 992px) {
    .profile-card .card-body { padding: 16px; }
    .profile-card h2.h3 { font-size: 1.35rem; }
}

/* ── Subida de imágenes (modal) ──────────────────────────── */
.modal-upload-images {
    max-width: 520px;
}

/* Report modal refinement */
#formReportModal .modal-dialog.report-modal-dialog {
    max-width: 680px;
}

#formReportModal .report-modal {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(139, 30, 63, 0.2) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff8fa 100%) !important;
    box-shadow: 0 24px 70px rgba(10, 12, 20, 0.35);
}

#formReportModal .report-modal__header {
    background: linear-gradient(135deg, #8B1E3F 0%, #a8294f 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding: 16px 58px 16px 18px !important;
}

#formReportModal .report-modal__title {
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#formReportModal .report-modal__header .btn-close {
    filter: invert(1) brightness(200%);
    opacity: 0.92;
}

#formReportModal .report-modal__header .btn-close:hover {
    opacity: 1;
    transform: scale(1.06);
}

#formReportModal .modal-body {
    padding: 16px 16px 10px;
}

#formReportModal .report-modal__textarea {
    min-height: 200px;
    border-radius: 14px;
    border: 1px solid #d7dbe2;
    background: #ffffff;
    color: #1f2937;
    font-size: 1.05rem;
    line-height: 1.5;
    padding: 14px 16px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
    resize: vertical;
}

#formReportModal .report-modal__textarea::placeholder {
    color: #8a93a0;
}

#formReportModal .report-modal__textarea:focus {
    border-color: #8B1E3F;
    box-shadow: 0 0 0 0.2rem rgba(139, 30, 63, 0.16);
}

#formReportModal .report-modal__footer {
    padding: 4px 16px 16px;
    justify-content: flex-end;
}

#formReportModal .report-modal__submit {
    border: 0;
    border-radius: 12px;
    padding: 12px 26px;
    min-height: 46px;
    background: linear-gradient(135deg, #8B1E3F 0%, #bb2f5b 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(139, 30, 63, 0.28);
}

#formReportModal .report-modal__submit:hover,
#formReportModal .report-modal__submit:focus {
    background: linear-gradient(135deg, #761936 0%, #a1284f 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

#alreadySendReportModal .report-sent-modal {
    border-radius: 14px;
    background: linear-gradient(135deg, #182532 0%, #22374a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

#alreadySendReportModal .report-sent-modal__body {
    padding: 16px 52px 16px 16px !important;
}

#alreadySendReportModal .report-sent-modal__text {
    color: #f3f7fb;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 576px) {
    #formReportModal .modal-dialog.report-modal-dialog {
        margin: 0.85rem;
    }

    #formReportModal .report-modal__header {
        padding: 14px 52px 14px 16px !important;
    }

    #formReportModal .report-modal__title {
        font-size: 1rem;
    }

    #formReportModal .modal-body {
        padding: 16px;
    }

    #formReportModal .report-modal__textarea {
        min-height: 150px;
        font-size: 1rem;
        padding: 12px 12px;
    }

    #formReportModal .report-modal__footer {
        padding: 6px 16px 16px;
    }

    #formReportModal .report-modal__submit {
        width: 100%;
        min-height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .modal-upload-images {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
}

#uploadDropZone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    transition: background .15s;
}

#uploadDropZoneLabel {
    cursor: pointer;
}

#exampleModal .modal-action-btn-upload {
    border-color: #8B1E3F;
    background-color: #8B1E3F;
    color: #ffffff;
    font-weight: 600;
}

#exampleModal .modal-action-btn-upload:hover,
#exampleModal .modal-action-btn-upload:focus {
    border-color: #7a1c38;
    background-color: #7a1c38;
    color: #ffffff;
}
/* Contact CTA buttons */
.member-contact-cta {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.member-cta-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.member-cta-btn i {
    font-size: 22px;
    flex-shrink: 0;
}
.member-cta-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.member-cta-btn span small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.member-cta-btn:hover {
    transform: translateY(-2px);
    filter: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.member-cta-phone {
    background: linear-gradient(135deg, #8B1E3F 0%, #6b1530 100%);
    box-shadow: 0 4px 14px rgba(139,30,63,0.35);
}
.member-cta-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c4a 100%);
    box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.member-cta-telegram {
    background: linear-gradient(135deg, #2aabee 0%, #1a7ab5 100%);
    box-shadow: 0 4px 14px rgba(42,171,238,0.35);
}
@media (max-width: 768px) {
    .member-contact-cta-mobile {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        overflow: hidden;
        border-radius: 0;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2140;
        margin-bottom: 0;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
        background: #ffffff;
        border: 0;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    .member-contact-cta-mobile .member-cta-btn {
        min-width: 0;
        width: 100%;
        height: 48px;
        border-radius: 12px;
        padding: 0 10px;
        font-size: 14px;
        gap: 6px;
        box-shadow: none;
        justify-content: center;
        align-items: center;
        line-height: 1;
        white-space: nowrap;
    }
    .member-contact-cta-mobile .member-cta-phone {
        background: #8B1E3F;
    }
    .member-contact-cta-mobile .member-cta-whatsapp {
        background: #1fa750;
    }
    .member-contact-cta-mobile .member-cta-btn i {
        font-size: 16px;
    }
    .member-contact-cta-mobile .member-cta-btn span {
        display: inline-flex;
        align-items: center;
        flex-direction: row;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .member-contact-cta-mobile .member-cta-btn span small {
        display: none;
    }

    .member-page {
        padding-bottom: calc(var(--member-mobile-cta-height, 96px) + 8px);
    }

    .container-memmber-page {
        padding-bottom: 20px;
    }

    .member-page .footer,
    .member-page footer {
        margin-bottom: 0;
    }

    .member-contact-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        align-items: stretch;
    }
    .member-contact-cta .member-cta-phone {
        grid-column: 1;
        background: #8B1E3F;
    }
    .member-contact-cta .member-cta-whatsapp {
        grid-column: 2;
    }
    .member-contact-cta .member-cta-telegram {
        display: none;
    }
    .member-contact-cta .member-cta-btn {
        min-width: 0;
        width: 100%;
        font-size: 14px;
        padding: 11px 10px;
        gap: 8px;
        border-radius: 10px;
        justify-content: center;
    }
    .member-contact-cta .member-cta-btn i {
        font-size: 18px;
    }
    .member-contact-cta .member-cta-btn span {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    .member-contact-cta .member-cta-btn span small {
        display: none;
    }
    .member-contact-cta .member-cta-phone span {
        font-weight: 700;
    }
}

/* Gallery carousel nav buttons — same style as VIP carousel */
.gallery-nav-btn {
    width: 40px !important;
    height: 40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(163, 50, 80, 0.82) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(139,30,63,0.35) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
}
.gallery-nav-btn:hover {
    background: rgba(187, 60, 95, 0.95) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(139,30,63,0.5) !important;
}
.gallery-nav-btn i {
    font-size: 18px;
    color: #fff;
    font-weight: 900;
}
.gallery-nav-btn .carousel-control-prev-icon,
.gallery-nav-btn .carousel-control-next-icon {
    display: none;
}
.carousel-control-prev.gallery-nav-btn { left: 10px; }
.carousel-control-next.gallery-nav-btn { right: 10px; }

/* Breadcrumb bar */
/* breadcrumb styles removed per revert request */

/* Professional breadcrumb card */
.breadcrumb-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    border-radius: 10px;
    padding: 0; /* padding handled in card-body */
    margin-bottom: 10px;
    border: 1px solid rgba(139,30,63,0.12);
    box-shadow: 0 8px 22px rgba(15,23,42,0.06);
    overflow: visible;
}
/* removed decorative left accent per request */
.breadcrumb-card .card-body {
    padding: 12px 18px;
}
.breadcrumb-left .breadcrumb-icon i {
    color: #8B1E3F;
    font-size: 18px;
}
.breadcrumb-link {
    color: #222;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    letter-spacing: 0.12px;
}
.breadcrumb-link .breadcrumb-cat {
    color: #8B1E3F;
}
.breadcrumb-link .breadcrumb-sep {
    color: #b9b9bd;
    margin: 0 6px;
}
.breadcrumb-link .breadcrumb-prov {
    color: #4b5563;
    font-weight: 600;
}

/* Visits pill (right) */
.visits-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.92);
    color: #8B1E3F;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 22px;
    border: 1px solid rgba(139,30,63,0.18);
    box-shadow: 0 8px 22px rgba(139,30,63,0.06);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    white-space: nowrap;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.visits-badge i { color: #8B1E3F; font-size: 13px; }
.visits-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(139,30,63,0.08); }

/* Ensure breadcrumb links are visible despite generic link rules */
.breadcrumb-card a { color: inherit !important; }

@media (max-width: 768px) {
    .breadcrumb-card .card-body { padding: 10px 12px; }
    .visits-badge { padding: 5px 8px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   Profile Info Grid (Edad / Precio / Ubicación)
   ═══════════════════════════════════════════════════════════ */
.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.profile-info-item--full {
    grid-column: 1 / -1;
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    transition: box-shadow .18s ease, transform .18s ease;
}
.profile-info-item:hover {
    box-shadow: 0 8px 22px rgba(15,23,42,0.08);
    transform: translateY(-2px);
}

/* Icon circle — brand colour, white icon */
.profile-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B1E3F 0%, #C23B61 100%);
    box-shadow: 0 8px 20px rgba(139,30,63,0.22);
    flex-shrink: 0;
}
.profile-info-icon i {
    font-size: 1.25rem;
    color: #ffffff !important;
    line-height: 1;
}

/* Text stack */
.profile-info-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.profile-info-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}
.profile-info-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-info-link {
    color: #0f172a !important;
    text-decoration: none !important;
    white-space: normal;
}
.profile-info-link:hover {
    color: #8B1E3F !important;
}

.profile-info-link:visited,
.profile-info-link:focus,
.profile-info-link:active {
    color: #0f172a !important;
}

.member-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.member-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 8px 8px;
    background: #ffffff;
    transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.member-service-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.member-service-item-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.member-service-item-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.member-service-item.is-active {
    border-color: rgba(22, 163, 74, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.member-service-item.is-active .member-service-item-icon {
    background: #16a34a;
    color: #ffffff;
}

.member-service-item.is-active .member-service-item-text {
    color: #0f7a45;
}

.member-service-item.is-inactive {
    border-color: rgba(220, 38, 38, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
}

.member-service-item.is-inactive .member-service-item-icon {
    background: #dc2626;
    color: #ffffff;
}

.member-service-item.is-inactive .member-service-item-text {
    color: #c81e35;
}

@media (max-width: 992px) {
    .member-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .member-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .profile-info-item--full {
        grid-column: 1;
    }
    .profile-info-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    .profile-info-icon i { font-size: 1.1rem; }
}

/* ═══════════════════════════════════════════════════════════
   Profile Sections (Sobre mí / Servicios / Ubicación)
   ═══════════════════════════════════════════════════════════ */
.profile-section {
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.profile-section:last-child { margin-bottom: 0; }

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f4;
}
.profile-section-title i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, #8B1E3F 0%, #C23B61 100%);
    color: #ffffff;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(139,30,63,0.28);
}

.profile-section-body {
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   Profile Card Header (flag + title)
   ═══════════════════════════════════════════════════════════ */
.profile-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    margin: -1rem -1rem 22px -1rem;
    border-bottom: 1px solid #f0f0f4;
    border-radius: 10px 10px 0 0;
    background: #ffffff;
}

.profile-flag {
    width: 44px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.16);
    flex-shrink: 0;
}

.profile-card-header-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-title {
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, #0f172a 0%, #8B1E3F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .profile-card-header {
        margin: -0.75rem -0.75rem 18px -0.75rem;
        padding: 16px 16px 16px 18px;
    }
    .profile-title { font-size: 1.25rem; }
    .profile-flag { width: 36px; height: 26px; }
}

/* Member */
/* Mejorar labels de datos personales y perfil público */
.label-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

/* Save/publish ad button */
.btn-save-ad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffffff;
    background: linear-gradient(135deg, #a8294f 0%, #6b1530 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(139, 30, 63, 0.3);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-save-ad:hover,
.btn-save-ad:focus {
    background: linear-gradient(135deg, #9b2347 0%, #5a1228 100%);
    box-shadow: 0 6px 22px rgba(139, 30, 63, 0.42);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-save-ad:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(139, 30, 63, 0.25);
}

.btn-save-ad i {
    font-size: 1.1em;
}

.label-value {
    font-size: 16px;
    color: #23202a;
    margin-bottom: 0.32rem;
    word-break: break-word;
    letter-spacing: 0.01em;
}
.container-memmber-page {
    padding: 10px 150px 40px 150px;
}
/* a:visited, a:active, a:focus {
    color: white !important;
} */
.breadcrumb-item a, .visits {
    color: #5a6278 !important;
}
.visits {
    float: inline-end;
}

/* Tablet landscape */
@media (max-width: 1200px) {
    .container-memmber-page {
        padding: 10px 100px 40px 100px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container-memmber-page {
        padding: 10px 50px 30px 50px;
    }
}

/* Mobile landscape */
@media (max-width: 600px) {
    .container-memmber-page {
        padding: 10px 30px 25px 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container-memmber-page {
        padding: 0px 10px 20px 10px;
    }
}

@media (min-width: 992px) {
    .gallery-sticky-desktop {
        position: sticky;
        top: 18px;
        align-self: flex-start;
    }
}

/* Members dashboard/edit shared styles */
.member-action-btn {
    border-color: #8B1E3F;
    color: #6b1530;
    background-color: #ffffff;
    font-weight: 600;
}

.member-action-btn i {
    color: inherit;
}

.container-member-page {
    margin-top: 28px;
}

.container-member-page .member-action-btn:hover,
.container-member-page .member-action-btn:focus {
    border-color: #8B1E3F;
    background-color: #8B1E3F;
    color: #ffffff !important;
}

.container-member-page .member-action-btn:hover i,
.container-member-page .member-action-btn:focus i {
    color: #ffffff !important;
}

.container-member-page .member-action-btn--solid {
    border-color: #8B1E3F;
    background-color: #8B1E3F;
    color: #ffffff;
}

.container-member-page .member-action-btn--solid:hover,
.container-member-page .member-action-btn--solid:focus {
    border-color: #7a1c38;
    background-color: #7a1c38;
    color: #ffffff;
}

.member-actions-row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.member-actions-row .btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.upload-drop-zone {
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 14px;
    background: #f9fafb;
}

.member-navbar-badge {
    background: linear-gradient(135deg, #6b1530 0%, #8B1E3F 100%) !important;
    color: #ffffff;
}

.member-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #a8294f 0%, #8B1E3F 100%);
    box-shadow: 0 2px 8px rgba(139, 30, 63, 0.25);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.member-logout-btn i {
    font-size: 1em;
}

.member-logout-btn:hover,
.member-logout-btn:focus {
    background: linear-gradient(135deg, #9b2347 0%, #6b1530 100%);
    box-shadow: 0 4px 14px rgba(139, 30, 63, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

.member-page-title {
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0.25rem 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #1f2937;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.member-page-title i {
    color: #1f2937;
    font-size: 1.1em;
}

.card-header.tp-card-header {
    background: #8B1E3F !important;
    color: #ffffff !important;
}

/* ── Listing section ─────────────────────────────────────────── */
.listing-panel {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.listing-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.listing-panel-icon {
    font-size: 1.1rem;
    color: #374151;
}

.listing-panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.listing-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 20px;
    background: #8B1E3F;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-new-listing {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #a8294f 0%, #8B1E3F 100%);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(139, 30, 63, 0.22);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-new-listing:hover,
.btn-new-listing:focus {
    background: linear-gradient(135deg, #9b2347 0%, #6b1530 100%);
    box-shadow: 0 4px 14px rgba(139, 30, 63, 0.32);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Add more listings row */
.listing-add-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 0.4rem;
    border-top: 1px dashed #e5e7eb;
    background: #f9fafb;
}

/* Empty state */
.listing-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    gap: 0.4rem;
}

.listing-empty-icon {
    font-size: 3rem;
    color: #d4909f;
    margin-bottom: 0.5rem;
}

.listing-empty-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
}

.listing-empty-sub {
    font-size: 0.88rem;
    color: #9ca3af;
    margin: 0 0 0.75rem;
}

/* Table */
.listing-table-wrapper {
    overflow-x: auto;
}

.listing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.listing-table thead tr {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.listing-table thead th {
    padding: 0.7rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8B1E3F;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.listing-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.listing-table tbody tr:last-child {
    border-bottom: none;
}

.listing-table tbody tr:hover {
    background: #f9fafb;
}

.listing-table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    color: #374151;
}

.listing-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: block;
}

.listing-title {
    font-weight: 600;
    color: #1f2937;
}

.listing-meta {
    color: #8B1E3F;
    font-size: 0.87rem;
}

.listing-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.listing-status--active {
    background: #e6f9f0;
    color: #1a8a56;
}

.listing-status--review {
    background: #fff4e0;
    color: #b36a00;
}

.listing-status--inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-listing-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    border: 1.5px solid #d4909f;
    background: #ffffff;
    color: #8B1E3F !important;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-listing-edit:visited {
    color: #8B1E3F !important;
}

.btn-listing-edit:hover,
.btn-listing-edit:focus {
    background: linear-gradient(135deg, #a8294f 0%, #8B1E3F 100%);
    border-color: #8B1E3F;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(139, 30, 63, 0.22);
}

@media (max-width: 576px) {
    .container-member-page {
        margin-top: 8px;
    }
    .member-actions-row .btn {
        font-size: 0.78rem;
        padding: 0.35rem 0.3rem;
        line-height: 1.1;
        white-space: normal;
    }

    .member-actions-row .btn i {
        margin-right: 0.2rem !important;
    }

    .member-page-title {
        font-size: 1.1rem;
        padding: 0.75rem 0.8rem;
        letter-spacing: 0.03em;
    }
}

/* Profile card (right column) — enhanced, more prominent and readable */
.profile-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
    border-radius: 14px;
    border: 2px solid rgba(139,30,63,0.30);
    box-shadow: 0 8px 32px rgba(139,30,63,0.10), 0 2px 8px rgba(15,23,42,0.06);
    overflow: visible;
}
.profile-card .card-body {
    padding: 22px;
}
.profile-card .d-flex.align-items-center.mb-3.pb-2.border-bottom {
    padding-bottom: 8px;
    border-bottom: none;
}
.profile-card h2.h3 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 0 rgba(15,23,42,0.03);
}
.profile-card .card.bg-light {
    border-radius: 10px;
    border: 1px solid rgba(15,23,42,0.03);
}
.profile-card .member-contact-cta { gap: 16px; margin-bottom: 0px;}
.profile-card .member-cta-btn { padding: 14px 20px; border-radius: 12px; font-size: 15px; }
.profile-card hr { border-color: rgba(15,23,42,0.06); }

/* subtle accent line under header */
/* Title underline removed per user request */

/* Unified small info icons (Edad, Precio, Ubicación) */
.profile-card .info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,0.04);
    box-shadow: 0 8px 20px rgba(16,24,40,0.06);
    color: #111827;
}
.profile-card .info-icon i { color: #111827 !important; font-size: 1.125rem; font-weight: 700; }

/* Price value override to black */
.profile-card .price-value { color: #000 !important; font-weight: 800; }

/* Slightly bolder title for more presence */
.profile-card h2.h3 {
    font-weight: 800;
}

/* Modernize the profile info cards (age / price / location) */
.profile-card .card.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.04);
    padding: 0;
    box-shadow: 0 6px 18px rgba(15,23,42,0.03);
}
.profile-card .card.bg-light .card-body {
    padding: 14px 16px;
}
.profile-card .card.bg-light .info-label {
    font-size: 0.78rem;
    color: #6b7280;
    text-transform: none;
    letter-spacing: 0.02em;
}
.profile-card .card.bg-light .info-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}
.profile-card .card.bg-light .d-flex.align-items-center {
    gap: 12px;
}

/* Make the location row stand out more */
.profile-card .card.bg-light a.text-reset .info-value {
    color: #0f172a;
}

/* CTA refinement inside profile-card */
.profile-card .member-cta-btn {
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 15px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
    transition: transform .18s ease, box-shadow .18s ease;
    margin-bottom: 18px;
}
.profile-card .member-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(15,23,42,0.08); }

/* Reduce visual noise: subtle separators and spacing */
.profile-card .row.g-2.mb-3 { margin-bottom: 20px; }
.profile-card .card-body p { color: #475569; line-height: 1.7; }

/* Small responsive tweaks */
@media (max-width: 768px) {
    .profile-card .member-cta-btn { padding: 12px 14px; font-size: 14px; }
    .profile-card .info-icon { width: 40px; height: 40px; min-width: 40px; }
}

@media (max-width: 992px) {
    .profile-card .card-body { padding: 16px; }
    .profile-card h2.h3 { font-size: 1.35rem; }
    .profile-card .member-cta-btn { margin-bottom: 0px; }
}

/* ── Subida de imágenes (modal) ──────────────────────────── */
.modal-upload-images {
    max-width: 520px;
}

@media (max-width: 576px) {
    .modal-upload-images {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
}

#uploadDropZone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    transition: background .15s;
}

#uploadDropZoneLabel {
    cursor: pointer;
}

#exampleModal .modal-action-btn-upload {
    border-color: #8B1E3F;
    background-color: #8B1E3F;
    color: #ffffff;
    font-weight: 600;
}

#exampleModal .modal-action-btn-upload:hover,
#exampleModal .modal-action-btn-upload:focus {
    border-color: #7a1c38;
    background-color: #7a1c38;
    color: #ffffff;
}
/* Contact CTA buttons */
.member-contact-cta {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.member-cta-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    cursor: pointer;
}
.member-cta-btn i {
    font-size: 22px;
    flex-shrink: 0;
}
.member-cta-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.member-cta-btn span small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.member-cta-btn:hover {
    transform: translateY(-2px);
    filter: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    color: #fff !important;
}
.member-cta-phone {
    background: linear-gradient(135deg, #8B1E3F 0%, #6b1530 100%);
    box-shadow: 0 4px 14px rgba(139,30,63,0.35);
}
.member-cta-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c4a 100%);
    box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.member-cta-telegram {
    background: linear-gradient(135deg, #2aabee 0%, #1a7ab5 100%);
    box-shadow: 0 4px 14px rgba(42,171,238,0.35);
}
@media (max-width: 480px) {
    .member-contact-cta {
        gap: 8px;
    }
    .member-cta-btn {
        font-size: 14px;
        padding: 10px 12px;
        gap: 8px;
    }
    .member-cta-btn i {
        font-size: 20px;
    }
}

/* Gallery carousel nav buttons — same style as VIP carousel */
.gallery-nav-btn {
    width: 40px !important;
    height: 40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(163, 50, 80, 0.82) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(139,30,63,0.35) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
}
.gallery-nav-btn:hover {
    background: rgba(187, 60, 95, 0.95) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(139,30,63,0.5) !important;
}
.gallery-nav-btn i {
    font-size: 18px;
    color: #fff;
    font-weight: 900;
}
.gallery-nav-btn .carousel-control-prev-icon,
.gallery-nav-btn .carousel-control-next-icon {
    display: none;
}
.carousel-control-prev.gallery-nav-btn { left: 10px; }
.carousel-control-next.gallery-nav-btn { right: 10px; }

/* Breadcrumb bar */
/* breadcrumb styles removed per revert request */

/* Professional breadcrumb card */
.breadcrumb-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    border-radius: 10px;
    padding: 0; /* padding handled in card-body */
    margin-bottom: 10px;
    border: 1px solid rgba(139,30,63,0.12);
    box-shadow: 0 8px 22px rgba(15,23,42,0.06);
    overflow: visible;
}
/* removed decorative left accent per request */
.breadcrumb-card .card-body {
    padding: 12px 18px;
}
.breadcrumb-left .breadcrumb-icon i {
    color: #8B1E3F;
    font-size: 18px;
}
.breadcrumb-link {
    color: #222;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    letter-spacing: 0.12px;
}
.breadcrumb-link .breadcrumb-cat {
    color: #8B1E3F;
}
.breadcrumb-link .breadcrumb-sep {
    color: #b9b9bd;
    margin: 0 6px;
}
.breadcrumb-link .breadcrumb-prov {
    color: #4b5563;
    font-weight: 600;
}

/* Visits pill (right) */
.visits-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.92);
    color: #8B1E3F;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 22px;
    border: 1px solid rgba(139,30,63,0.18);
    box-shadow: 0 8px 22px rgba(139,30,63,0.06);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    white-space: nowrap;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.visits-badge i { color: #8B1E3F; font-size: 13px; }
.visits-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(139,30,63,0.08); }

/* Ensure breadcrumb links are visible despite generic link rules */
.breadcrumb-card a { color: inherit !important; }

@media (max-width: 768px) {
    .breadcrumb-card .card-body { padding: 10px 12px; }
    .visits-badge { padding: 5px 8px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   Profile Info Grid (Edad / Precio / Ubicación)
   ═══════════════════════════════════════════════════════════ */
.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.profile-info-item--full {
    grid-column: 1 / -1;
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    transition: box-shadow .18s ease, transform .18s ease;
}
.profile-info-item:hover {
    box-shadow: 0 8px 22px rgba(15,23,42,0.08);
    transform: translateY(-2px);
}

/* Icon circle — brand colour, white icon */
.profile-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B1E3F 0%, #C23B61 100%);
    box-shadow: 0 8px 20px rgba(139,30,63,0.22);
    flex-shrink: 0;
}
.profile-info-icon i {
    font-size: 1.25rem;
    color: #ffffff !important;
    line-height: 1;
}

/* Text stack */
.profile-info-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.profile-info-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}
.profile-info-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-info-link {
    color: #0f172a !important;
    text-decoration: none !important;
    white-space: normal;
}
.profile-info-link:hover {
    color: #8B1E3F !important;
}

.profile-info-link:visited,
.profile-info-link:focus,
.profile-info-link:active {
    color: #0f172a !important;
}

@media (max-width: 480px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .profile-info-item--full {
        grid-column: 1;
    }
    .profile-info-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    .profile-info-icon i { font-size: 1.1rem; }
}

/* ═══════════════════════════════════════════════════════════
   Profile Sections (Sobre mí / Servicios / Ubicación)
   ═══════════════════════════════════════════════════════════ */
.profile-section {
    background: #ffffff;
    border: 1px solid #e5e8ed;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.profile-section:last-child { margin-bottom: 0; }

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f4;
}
.profile-section-title i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, #8B1E3F 0%, #C23B61 100%);
    color: #ffffff;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(139,30,63,0.28);
}

.profile-section-body {
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   Profile Card Header (flag + title)
   ═══════════════════════════════════════════════════════════ */
.profile-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    margin: -1rem -1rem 22px -1rem;
    border-bottom: 1px solid #f0f0f4;
    border-radius: 10px 10px 0 0;
    background: #ffffff;
}

.profile-flag {
    width: 44px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.16);
    flex-shrink: 0;
}

.profile-card-header-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-title {
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, #0f172a 0%, #8B1E3F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .profile-card-header {
        margin: -0.75rem -0.75rem 18px -0.75rem;
        padding: 16px 16px 16px 18px;
    }
    .profile-title { font-size: 1.25rem; }
    .profile-flag { width: 36px; height: 26px; }
}