.place-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.place-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.place-img{
    width:100%;
    height:180px;
    object-fit:cover;
    flex-shrink: 0;
}

.place-body{
    padding:15px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.place-title{
    font-weight:700;
    font-size:18px;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.place-city{
    font-size:14px;
    color:#777;
    margin-top:8px;
}

.rating{
    font-size:14px;
    font-weight:600;
    color:#ff9800;
}

.btn-place{
    width:100%;
    background:#6A1B9A;
    color:white;
    margin-top:auto;
    border-radius:10px;
    padding: 9px 16px;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-place:hover{
    background:#4A148C;
    color:white;
}

.hotel-card{

display:flex;

background:#fff;

border-radius:15px;

overflow:hidden;

box-shadow:0 5px 15px rgba(0,0,0,.08);

transition:.3s;

}

.hotel-card:hover{

transform:translateY(-5px);

}

.hotel-img{

width:110px;

height:110px;

object-fit:cover;

}

.hotel-info{

padding:12px;

flex:1;

}

.hotel-info h6{

font-weight:700;

margin-bottom:5px;

}

.hotel-section{

background:#fff;

padding:20px;

border-radius:18px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.hotel-card{

display:flex;

margin-bottom:18px;

border-radius:15px;

overflow:hidden;

background:#fafafa;

transition:.3s;

}

.hotel-card:hover{

transform:translateY(-5px);

box-shadow:0 10px 20px rgba(0,0,0,.15);

}

.hotel-img{

width:120px;

height:120px;

object-fit:cover;

}

.hotel-info{

padding:15px;

flex:1;

}

.hotel-name{

font-weight:700;

margin-bottom:5px;

}

.hotel-price{

color:#6A1B9A;

font-weight:600;

margin-bottom:6px;

}

.hotel-rating{

color:#ff9800;

font-size:14px;

}

.restaurant-section{

background:#fff;

padding:20px;

border-radius:18px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.restaurant-card{

display:flex;

background:#fafafa;

border-radius:15px;

overflow:hidden;

transition:.3s;

}

.restaurant-card:hover{

transform:translateY(-5px);

box-shadow:0 10px 20px rgba(0,0,0,.12);

}

.restaurant-img{

width:110px;

height:110px;

object-fit:cover;

}

.restaurant-info{

padding:12px;

flex:1;

}

.city-card{

background:#fff;

border-radius:20px;

overflow:hidden;

box-shadow:0 8px 20px rgba(0,0,0,.08);

transition:.3s;

}

.city-card:hover{

transform:translateY(-8px);

}

.city-img{

width:100%;

height:220px;

object-fit:cover;

}

.city-body{

padding:20px;

}

.city-body h5{

font-weight:700;

margin-bottom:5px;

}

.city-body p{

color:#777;

margin-bottom:15px;

}

/* ===========================
   Popular Places Responsive
=========================== */

.place-card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.place-img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.place-body{
    flex:1;
    display:flex;
    flex-direction:column;
}

.btn-place{
    margin-top:auto;
}

@media(max-width:991px){

.place-img{
    height:210px;
}

}

@media(max-width:768px){

.place-img{
    height:230px;
}

.place-title{
    font-size:18px;
}

}

@media(max-width:576px){

.place-card{
    border-radius:18px;
}

.place-img{
    height:240px;
}

}

.place-title{
    font-weight:700;
    font-size:18px;
    min-height:48px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.place-city{
    font-size:14px;
    color:#777;
    min-height:22px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* ===========================
   Top Hotels Responsive
=========================== */

@media (max-width:991px){

.hotel-section{
    margin-top:25px;
}

.hotel-card{
    display:flex;
    align-items:center;
}

.hotel-img{
    width:120px;
    height:120px;
}

}

@media (max-width:768px){

.hotel-card{
    flex-direction:column;
    text-align:center;
}

.hotel-img{
    width:100%;
    height:220px;
}

.hotel-info{
    width:100%;
}

.hotel-rating{
    justify-content:center;
    display:flex;
    margin:8px 0;
}

}

@media (max-width:576px){

.hotel-img{
    height:200px;
}

.hotel-name{
    font-size:18px;
}

}

/* ===========================
   Featured Cities Responsive
=========================== */

@media(max-width:768px){

.city-img{
    height:220px;
}

.city-body{
    text-align:center;
}

}

@media(max-width:576px){

.city-img{
    height:200px;
}

}

.event-img{
    width:100%;
    height:220px;
    object-fit:cover;
}

@media(max-width:576px){

.event-img{
    height:190px;
}

}

/* ===========================
   Place Details Responsive
=========================== */

.place-hero-img{
    width:100%;
    height:420px;
    object-fit:cover;
    object-position:center 30%;
}

.place-info-card{
    position:sticky;
    top:100px;
}

@media(max-width:991px){

.place-hero-img{
    height:380px;
}

.place-info-card{
    position:static;
    margin-top:10px;
}

}

@media(max-width:768px){

.place-hero-img{
    height:280px;
}

.display-4{
    font-size:2rem;
}

.badge{
    font-size:13px;
}

.card-body{
    padding:20px!important;
}

}

@media(max-width:576px){

.place-hero-img{
    height:220px;
}

.display-4{
    font-size:1.7rem;
}

.fs-5{
    font-size:1rem!important;
}

.btn{
    padding:12px;
}

}

@media (max-width: 768px) {

    .position-relative > img:not(.weather-badge img),
    .position-relative > .card-img-top,
    .position-relative > .city-img,
    .position-relative > .place-img {
        height: 220px !important;
        object-fit: cover !important;
    }

    .weather-badge {
        top: 10px !important;
        right: 10px !important;
        padding: 4px 10px !important;
        font-size: 12px !important;
    }

    .weather-badge img {
        width: 22px !important;
        height: 22px !important;
        max-height: 22px !important;
        min-height: 22px !important;
        object-fit: contain !important;
    }

    .display-4 {
        font-size: 28px;
    }

}

@media(max-width:480px){
    .place-img,
    .city-img,
    .event-img{
        height:180px;
    }

    .hotel-section,
    .restaurant-section{
        padding:14px;
    }

    .hotel-card{
        flex-direction:column;
        text-align:left;
    }

    .hotel-img{
        width:100%;
        height:180px;
    }

    .restaurant-card{
        flex-direction:column;
    }

    .restaurant-img{
        width:100%;
        height:180px;
    }
}

@media(max-width:375px){
    .place-title{
        font-size:16px;
        min-height:auto;
    }

    .place-body,
    .city-body,
    .hotel-info,
    .restaurant-info{
        padding:12px;
    }
}

/* =========================================
   TourVista Discovery Grid & Outline Purple
   ========================================= */
.btn-outline-purple {
    border: 1.5px solid #6A1B9A !important;
    color: #6A1B9A !important;
    background: transparent !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 6px 20px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.btn-outline-purple:hover {
    background: #6A1B9A !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(106, 27, 154, 0.25) !important;
}

/* Customized Filter by City Button */
.btn-filter-city {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    background: #ffffff !important;
    color: #6A1B9A !important;
    border: 1.5px solid #6A1B9A !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.86rem !important;
    padding: 7px 18px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(106, 27, 154, 0.12) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-filter-city i {
    font-size: 0.85rem !important;
    transition: transform 0.2s ease !important;
}

.btn-filter-city:hover {
    background: linear-gradient(135deg, #6A1B9A, #8E24AA) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(106, 27, 154, 0.28) !important;
    transform: translateY(-2px) !important;
}

.btn-filter-city:hover i {
    transform: rotate(15deg) scale(1.15) !important;
}

@media (max-width: 576px) {
    .catalog-header-bar {
        margin-bottom: 20px !important;
    }
    .btn-filter-city {
        background: linear-gradient(135deg, rgba(106, 27, 154, 0.08), rgba(142, 36, 170, 0.12)) !important;
        padding: 7px 16px !important;
        font-size: 0.82rem !important;
    }
}

.places-header-row h3,
.hotel-section h4,
.event-section h4 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
}

.places-row {
    display: flex;
    flex-wrap: wrap;
}

.places-row .places-col,
.places-row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
}

.place-card {
    background: #ffffff !important;
    border: 1px solid #f0f0f5 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

.place-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12) !important;
}

.place-card .place-img {
    height: 180px !important;
    width: 100% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
}

.place-card .place-body {
    padding: 14px 16px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: auto !important;
}

.place-card .place-title {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #1e1e2f !important;
    min-height: 44px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 0 !important;
}

.place-card .place-city {
    font-size: 13.5px !important;
    color: #6c757d !important;
    margin-top: 6px !important;
    margin-bottom: 4px !important;
    min-height: auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.place-card .place-city i {
    color: #6c757d !important;
    margin-right: 4px !important;
}

.place-card .place-body p.text-muted {
    font-size: 13px !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
}

.place-card .btn-place {
    width: 100% !important;
    background: #6A1B9A !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 9px 16px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
    margin-top: auto !important;
    box-shadow: 0 4px 12px rgba(106, 27, 154, 0.2) !important;
    transition: all 0.2s ease !important;
}

.place-card .btn-place:hover,
.place-card .btn-place:focus {
    background: #4A148C !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(106, 27, 154, 0.35) !important;
    transform: translateY(-2px) !important;
}

.place-card .btn-place:active {
    background: #38006b !important;
    color: #ffffff !important;
    transform: translateY(0) !important;
}

.hotel-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef0f3;
}

.hotel-card {
    border: 1px solid #f1f3f6;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hotel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hotel-img {
    width: 85px !important;
    height: 85px !important;
    border-radius: 12px !important;
    object-fit: cover;
}

.hotel-price {
    font-size: 0.85rem !important;
    color: #6A1B9A !important;
    font-weight: 700 !important;
}

.event-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef0f3;
}

/* ===========================
   DARK MODE OVERRIDES
=========================== */
[data-theme="dark"] .hotel-section,
[data-theme="dark"] .event-section,
html[data-theme="dark"] .hotel-section,
html[data-theme="dark"] .event-section {
    background: #151124 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .hotel-section h4,
[data-theme="dark"] .event-section h4,
html[data-theme="dark"] .hotel-section h4,
html[data-theme="dark"] .event-section h4 {
    color: #ffffff !important;
}

[data-theme="dark"] .hotel-section small,
[data-theme="dark"] .event-section small,
html[data-theme="dark"] .hotel-section small,
html[data-theme="dark"] .event-section small {
    color: #94a3b8 !important;
}

[data-theme="dark"] .hotel-section .hotel-card,
html[data-theme="dark"] .hotel-section .hotel-card,
[data-theme="dark"] .event-section .event-card,
html[data-theme="dark"] .event-section .event-card {
    background: #1e1933 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .hotel-section .hotel-card:hover,
html[data-theme="dark"] .hotel-section .hotel-card:hover {
    background: #25203f !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .hotel-section .hotel-name,
html[data-theme="dark"] .hotel-section .hotel-name {
    color: #ffffff !important;
}

[data-theme="dark"] .hotel-section .hotel-price,
html[data-theme="dark"] .hotel-section .hotel-price {
    color: #c4b5fd !important;
}

[data-theme="dark"] .event-section .event-name,
html[data-theme="dark"] .event-section .event-name {
    color: #ffffff !important;
}

[data-theme="dark"] .event-section .event-date,
[data-theme="dark"] .event-section .event-venue,
html[data-theme="dark"] .event-section .event-date,
html[data-theme="dark"] .event-section .event-venue {
    color: #cbd5e1 !important;
}

