.border-red {
    border: #ff0000 1px solid !important;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px;
}

.alert-success {
    color: #0c9e30;
    background-color: #b3ebcc;
    border-color: #b3ebcc;
    padding: 10px;
}

.p10 {
    padding: 10px;
}

.dog-friendly {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e91e63;
    /* background: #142c78; */
    color: #fff;
    border-radius: 50%;
    padding: 7px 9px;
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



.dog-friendly-text {
    line-height: 1.2;
}

.dog-friendly-text a {
    color: var(--theme-color);
}

.dog-friendly-text a:hover {
    color: #c2185b;
}


/* Inline use override for .dog-friendly (not absolute) */
.dog-friendly--inline {
    position: static !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    /* păstrăm bulina perfectă */
    border-radius: 50%;
    background: #e91e63;
    color: #fff;
    line-height: 1;
    font-size: 14px;
}

/* containerul textual */
.dog-friendly-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
}



/* --- CARD & IMAGINE ------------------------------------------------------ */
.category-card {
    position: relative;
}

.category-img {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 12px 45px rgba(9, 23, 52, 0.08);
}

.category-img img {
    display: block;
    width: 100%;
    transition: transform .5s ease, filter .5s ease;
}

/* --- TEXT OVERLAY (stil Tavelo) ----------------------------------------- */
/* --- TEXT PESTE IMAGINE (TOT TIMPUL) ----------------------------------- */
.category-shadow-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(12px, 3vw, 28px);
    text-align: center;
    line-height: 1;
    max-width: 96%;
    margin: 0 auto;

    font-family: var(--heading-font);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 5.5vw, 4.4rem);
    letter-spacing: 0.08em;

    /* efect contur alb */
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #fff;
    color: #fff;
    paint-order: stroke fill;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    opacity: 0.95;
    /* permanent vizibil */
    pointer-events: none;
    /* nu blochează click-ul */
    transition: none;
    /* fără efect de fade */
}

/* --- EFECT PE IMAGINE (opțional: doar un mic hover vizual, fără text) --- */
@media (hover: hover) and (pointer: fine) {
    .category-img-link:hover img {
        transform: scale(1.05);
        filter: brightness(.8);
        transition: transform .4s ease, filter .4s ease;
    }
}

/* --- PE MOBILE ----------------------------------------------------------- */
@media (hover: none),
(pointer: coarse) {

    /* textul rămâne vizibil și pe mobil */
    .category-shadow-text {
        opacity: 1;
        -webkit-text-stroke: 1.8px #fff;
        font-size: clamp(1.8rem, 8vw, 3rem);
        letter-spacing: 0.06em;
    }

    /* ascundem titlul dublat de sub imagine */
    .deal-info.mobile-only {
        display: none !important;
    }
}

/* --- PE ECRANE MARI ------------------------------------------------------ */
@media (min-width: 1400px) {
    .category-shadow-text {
        font-size: clamp(2.4rem, 4.3vw, 4.8rem);
    }
}


.font-theme {
    color: var(--color-dark);
    font-family: var(--heading-font);
}



/* ============ Accommodation Header & Gallery ============ */

/* Titlul cazării */
.accommodation-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

/* Spațiere & comportament general în galerie */
.accommodation-header {
    /* container secțiune, opțional */
    /* padding-top: 1rem;
    padding-bottom: 1rem; */
}

.accommodation-gallery {
    /* rândul mare: stânga main + dreapta thumbs */
    width: 100%;
}

/* Imagini din galerie: efect suav la hover */
.accommodation-gallery img {
    display: block;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.accommodation-gallery img:hover {
    transform: scale(1.02);
}

/* Imagine principală (coloana stângă) */
.main-gallery-img {
    height: 460px;
    /* poți ajusta */
    object-fit: cover;
    border-radius: 12px;
}

/* Col dreapta (thumbs) – grilă 2×2 pe desktop */
.accommodation-gallery .right-thumbs {
    display: flex;
    flex-wrap: wrap;
}

.accommodation-gallery .right-thumbs .col-6 {
    padding: .25rem;
    /* spațiul dintre thumbs */
}

/* Link-ul devine containerul poziționat pt. overlay */
.accommodation-gallery .thumb-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* taie overlay-ul la colțuri rotunjite */
}

/* Thumbs – dimensiune & încadrări */
.small-gallery-img {
    height: 120px;
    /* ajustează după preferință */
    object-fit: cover;
    border-radius: 12px;
    /* vizual, overflow-ul link-ului asigură tăierea */
}

/* Overlay „+X more” exact peste imagine */
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: inherit;
    /* egal cu img */
    pointer-events: none;
}

.st-2r {
    margin-top: 2.1rem;
}

/* Implicit: overlay-ul pentru desktop e vizibil doar unde îl randăm, cel de mobil e ascuns */
.overlay-desktop {
    display: flex;
}

.overlay-mobile {
    display: none;
}

/* ---------- Responsive ---------- */

/* Tablete & down */
@media (max-width: 991.98px) {
    .main-gallery-img {
        height: 360px;
    }

    .small-gallery-img {
        height: 110px;
    }

    .st-2r {
        margin-top: 2px;
    }
}

/* Mobile (<768px): thumbs doar 2 pe un rând; overlay pe al 2-lea thumb
     restul thumbs sunt ascunse în layout (rămân în lightbox) */
@media (max-width: 767.98px) {
    .main-gallery-img {
        height: 400px;
    }

    .small-gallery-img {
        height: 110px;
    }

    /* ascunde tot ce e după al doilea thumb din grila vizibilă */
    .accommodation-gallery .right-thumbs>.col-6:nth-child(n+3) {
        display: none !important;
    }

    /* folosim overlay-ul specific mobilului */
    .overlay-desktop {
        display: none;
    }

    .overlay-mobile {
        display: flex;
    }
}

/* Micro-telefoane */
@media (max-width: 399.98px) {
    .main-gallery-img {
        height: 260px;
    }

    .small-gallery-img {
        height: 100px;
    }
}



/* Meta bar sub titlu */
.accommodation-meta {
    row-gap: .5rem;
}

.acm-meta-item {
    font-weight: 600;
    color: #344;
}

.acm-meta-item i {
    vertical-align: middle;
}

.acm-show-map-link {
    text-decoration: none;
    color: var(--theme-color, #0d6efd);
}

.acm-show-map-link:hover {
    text-decoration: underline;
}

/* Dogs badge (dreapta) */
.dogs-badge {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(9, 23, 52, .08);
    text-decoration: none;
    color: #19324d;
}

.dogs-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .1);
    color: #0d6efd;
    font-size: 1rem;
}

.dogs-badge-text {
    font-weight: 700;
    line-height: 1.1;
}

.dogs-badge-text small {
    font-weight: 600;
    opacity: .7;
}

/* Map embed */
.map-embed-wrapper iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* Responsive */
@media (max-width: 575.98px) {
    .dogs-badge-text small {
        display: none;
    }

    .map-embed-wrapper iframe {
        height: 300px;
    }
}


.dog-icon {
    font-size: 40px;
    /* color: var(--theme-color, #0d6efd); */
    color: #e91e63;
}

/* Ancore ca "taburi" */
.acm-anchor-nav .acm-pill {
    background: #f2f5ff;
    color: #0d2a7a;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
}

.acm-anchor-nav .acm-pill:hover,
.acm-anchor-nav .acm-pill:focus {
    background: #e7edff;
    color: #0a2468;
    text-decoration: none;
}

/* Chips pentru highlights */
.acm-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(20, 44, 120, .08);
    color: #142c78;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid rgba(20, 44, 120, .12);
}

/* Collapsible generic */
.acm-collapsible {
    position: relative;
    overflow: hidden;
    transition: max-height .3s ease;
    max-height: 220px;
    /* collapsed */
}

.acm-collapsible[data-collapsed="false"] {
    max-height: 9999px;
    /* expanded */
}

.acm-collapsible-body> :last-child {
    margin-bottom: 0;
}

/* Fade jos când e colapsat */
.acm-collapsible[data-collapsed="true"] .acm-collapsible-fade {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.acm-collapsible[data-collapsed="false"] .acm-collapsible-fade {
    display: none;
}

/* Highlights card */
.acm-highlights-card {
    background: #eaf7fb;
    /* ton deschis, uniform */
    border: 1px solid rgba(13, 42, 122, .08);
    border-radius: 18px;
    padding: 18px 20px;
}

.acm-highlights-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 16px;
}

.acm-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #0d2a7a;
    font-weight: 600;
}

.acm-highlights-list i {
    margin-top: 2px;
}

.text-theme {
    color: var(--theme-color);
}

/* Învelitor pentru tab-uri, doar cât conținutul */
.filter-tabs-wrapper {
    display: inline-flex;
    /* DOAR cât țin tab-urile */
    align-items: center;
    justify-content: flex-start;
    background: #eaf7f8;
    /* culoarea dorită */
    border-radius: 25px;
    /* colțuri rotunjite */
    padding: 10px 18px;
    /* spațiu interior */
    width: auto !important;
    /* forțează eliminarea întinderii complete */
}

/* Elimină complet întinderea pe 100% din container */
.filter-controls {
    background: transparent !important;
    width: auto !important;
    display: block;
}

.filter-controls .filter-btns {
    margin: 0;
    padding: 0;
    list-style: none;
    width: auto;
}

/* Butoanele rămân ca în tema originală */
.filter-controls .filter-btns li {
    cursor: pointer;
    transition: all 0.2s ease;
}


.accommodation-features {
    line-height: 1;
}

.accommodation-features .af-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--heading-color, #222);
}

.accommodation-features .af-item i {
    font-size: 1.05rem;
    opacity: .9;
}



.align-tl-40 {
    top: 40%;
    left: 42%;
}

.prb15 {
    padding-right: 15px !important;
    padding-bottom: 15px !important;
}


/* listă de facilități stil „check” pe 3 coloane */
.facilities-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    column-gap: 32px;
}

.facilities-list.columns-3 {
    columns: 1;
}

@media (min-width: 576px) {
    .facilities-list.columns-3 {
        columns: 2;
    }
}

@media (min-width: 992px) {
    .facilities-list.columns-3 {
        columns: 3;
    }
}

.facilities-list li {
    break-inside: avoid;
    display: flex;
    align-items: center;
    line-height: 1.6;
    padding: 4px 0;
    color: var(--bs-body-color);
}

.facilities-list li i {
    font-size: 1rem;
}

/* opțional: aspect acordeon mai aerisit */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: .5rem;
    overflow: hidden;
    margin-bottom: .75rem;
}

.accordion-button {
    background: #e7f7f8;
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
}

/* ===== Global Search (vh-gs-*) ===== */
.vh-gs-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    z-index: 11000;
}

.vh-gs-overlay.vh-gs-active {
    display: flex;
}

.vh-gs-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    width: 90%;
    background: #fff;
    padding: 10px 14px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .12);
    border: 1px solid rgba(16, 24, 40, .08);
}

.vh-gs-input {
    flex: 1;
    height: 44px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
}

.vh-gs-btn {
    border: none;
    outline: none;
    background: var(--theme-color, #1a73e8);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.vh-gs-btn:hover {
    background: #155fc0;
}

.vh-gs-close {
    position: absolute;
    top: 28px;
    right: 38px;
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    color: #444;
    cursor: pointer;
    transition: color .2s;
}

.vh-gs-close:hover {
    color: var(--theme-color, #1a73e8);
}

/* trigger icon */
.vh-gs-trigger i {
    font-size: 1.1rem;
    cursor: pointer;
}

/* === Footer: zona de aplicații === */
.footer-apps-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* Logo + text Bella Italia Holidays */
.footer-apps-stack .app-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-apps-stack .app-brand img {
    width: 30px;
    /* mult mai mic decât restul */
    height: auto;
    display: block;
}

.footer-apps-stack .app-brand span {
    font-weight: 500;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
}

/* Butoanele de magazin */
.footer-apps-stack a {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.footer-apps-stack a img {
    display: block;
    width: 140px;
    height: auto;
}


.developed-by {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.developed-by a {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 500;
}

.developed-by a:hover {
    text-decoration: underline;
}


/* ===== Footer – Catalog CTA ===== */
.footer-catalog-cta {
    padding: 24px 0 8px;
    /* aer deasupra, aproape de copyright */
}

.footer-catalog-cta .catalog-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 64px;
    max-width: 980px;
    /* pilulă mai lată pe mijloc */
    margin: 0 auto;
    /* centrează în container */
    padding: 0 28px;
    border-radius: 40px;
    border: 2px solid rgba(33, 199, 198, .55);
    /* în ton cu tema Tavelo */
    background: rgba(255, 255, 255, .04);
    /* ușor „glass” peste fundal */
    color: #e9f7ff;
    font-weight: 700;
    letter-spacing: .2px;
    text-decoration: none;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.footer-catalog-cta .catalog-pill i {
    font-size: 22px;
    line-height: 1;
}

.footer-catalog-cta .catalog-pill:hover {
    background: rgba(33, 199, 198, .12);
    border-color: rgba(33, 199, 198, .85);
    transform: translateY(-1px);
}

/* Mobile fine-tune */
@media (max-width: 576px) {
    .footer-catalog-cta .catalog-pill {
        height: 56px;
        font-weight: 600;
        gap: 10px;
    }

    .footer-catalog-cta .catalog-pill i {
        font-size: 20px;
    }
}