 /* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f5f7;
    color: #333;
}

/* --- Header Styles --- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #008cff;
    text-decoration: none;
}

.logo span {
    color: #ff9f00;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #008cff;
}

.btn-advertise {
    background-color: #ff9f00;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600 !important;
}

.btn-advertise:hover {
    background-color: #e08b00;
}

/* --- Hero / Search Section --- */
.hero-section {
    background: linear-gradient(135deg, #0056b3 0%, #008cff 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Search Bar Wrapper */
.search-container {
    display: flex;
    background: white;
    border-radius: 8px;
    max-width: 750px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.location-box {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-right: 1px solid #e0e0e0;
    background: #fafafa;
    width: 30%;
}

.location-box i {
    color: #ff9f00;
    margin-right: 8px;
}

.location-box input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    padding: 0 15px;
    width: 70%;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    padding: 15px 5px;
}

.search-btn {
    background-color: #ff9f00;
    border: none;
    color: white;
    padding: 0 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.search-btn:hover {
    background-color: #e08b00;
}

/* --- Main Content / Categories --- */
.main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: #222;
    position: relative;
    padding-bottom: 5px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #008cff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    margin-bottom: 5px;
}

.category-card {
    background: white;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eaeaea;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #008cff;
}

.category-card i {
    font-size: 28px;
    color: #008cff;
    margin-bottom: 12px;
    display: block;
}

.category-card span {
    font-size: 14px;
    font-weight: 500;
}

/* --- Footer Styles --- */
footer {
    background-color: #222;
    color: #bbb;
    padding: 40px 20px 20px 20px;
    margin-top: 60px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #ff9f00;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    text-align: center;
    font-size: 13px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .search-container {
        flex-direction: column;
        border-radius: 6px;
    }

    .location-box, .search-box {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .search-btn {
        padding: 12px;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 24px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .category-card i {
        font-size: 22px;
    }

    .category-card span {
        font-size: 12px;
    }
}
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#f5f5f5;
}

.app{
max-width:430px;
margin:auto;
background:#fff;
min-height:100vh;
}

.header{
display:flex;
align-items:center;
gap:15px;
padding:18px;
font-size:22px;
}

.logo{
font-size:32px;
font-weight:700;
margin-right:auto;
}

.blue{
color:#1573d6;
}

.orange{
color:#ff8a00;
}

.use-app{
border:1px solid #d5e7ff;
background:#eef6ff;
color:#1976d2;
padding:10px 16px;
border-radius:25px;
font-weight:600;
}

.search-box{
margin:0 15px;
border:2px solid #ccc;
border-radius:12px;
display:flex;
align-items:center;
padding:12px 15px;
}

.search-box input{
border:none;
outline:none;
font-size:18px;
flex:1;
font-weight:600;
}

.search-box i{
font-size:20px;
}

.fa-microphone{
color:#ff8a00;
}

.banner{
margin:18px 15px;
background:#d29524;
border-radius:12px;
padding:18px;
display:flex;
align-items:center;
position:relative;
overflow:hidden;
}

.banner-content{
color:white;
width:55%;
}

.banner h3{
font-size:24px;
margin-bottom:8px;
}

.banner p{
font-size:18px;
}

.banner-food img{
width:110px;
height:110px;
object-fit:cover;
border-radius:50%;
}

.call-btn{
position:absolute;
right:15px;
top:50%;
transform:translateY(-50%);
background:#ffd400;
border:none;
padding:10px 18px;
border-radius:8px;
font-size:18px;
font-weight:600;
}

.filters{
display:flex;
gap:10px;
padding:0 15px;
overflow:auto;
}

.filters button{
border:1px solid #ddd;
background:#fff;
padding:12px 18px;
border-radius:10px;
font-size:16px;
}
/* --- Global Configuration Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f7f9fc;
    color: #222222;
}

/* --- Fixed Top Sticky Header Styles --- */
.jd-header {
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #008cff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: #ff9f00;
}

/* Dual Search Inputs Container styling */
.header-search {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 6px;
    overflow: hidden;
    width: 50%;
    max-width: 600px;
}

.input-loc {
    display: flex;
    align-items: center;
    padding-left: 12px;
    width: 30%;
    background: #f8f9fa;
    border-right: 1px solid #ced4da;
}

.input-loc i {
    color: #ff9f00;
    margin-right: 6px;
}

.input-query {
    display: flex;
    align-items: center;
    padding-left: 12px;
    width: 70%;
    background: #fff;
}

.input-query i {
    color: #6c757d;
    margin-right: 6px;
}

.header-search input {
    border: none;
    outline: none;
    padding: 10px 4px;
    font-size: 14px;
    width: 100%;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #495057;
}

.free-listing-btn {
    background: transparent;
    border: 1px solid #008cff;
    color: #008cff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.header-actions i {
    font-size: 20px;
    cursor: pointer;
}

.user-avatar {
    background-color: #008cff;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
}

/* --- Secondary Filter Ribbon Row Styles --- */
.filters-ribbon {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.filters-container::-webkit-scrollbar {
    display: none;
}

.filter-item {
    background: #ffffff;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.filter-item.active {
    background-color: #f1f3f5;
    border-color: #495057;
    font-weight: 600;
}

/* --- Layout Main Area Elements Styles --- */
.results-layout {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px;
}

.main-column {
    max-width: 760px; /* Aligns smoothly with standard search vertical stack specs */
}

.page-title {
    font-size: 16px;
    color: #495057;
    margin-bottom: 20px;
    font-weight: 600;
}

/* --- Directory Component Cards Styling --- */
.hotel-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    overflow: hidden;
}

.card-body {
    display: flex;
    padding: 20px;
    gap: 20px;
}

/* Left Media Gallery Styles */
.gallery-wrapper {
    flex: 0 0 160px;
}

.featured-img-box {
    width: 160px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #e9ecef;
}

.featured-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-actions {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6c757d;
    margin-top: 8px;
    font-weight: 500;
    cursor: pointer;
}

/* Right Meta Content Panel Styles */
.hotel-details {
    flex: 1;
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.hotel-name {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
}

.verified-badge {
    font-size: 12px;
    color: #008cff;
    font-weight: 700;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rating-badge {
    background-color: #10813c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.rating-badge.text-amber {
    background-color: #ff9f00;
}

.rating-text {
    font-size: 13px;
    color: #6c757d;
    font-weight: bold;
}

.divider {
    color: #ced4da;
}

.locality-text {
    font-size: 13px;
    color: #495057;
    font-weight: 500;
}

.amenities-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.tag {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
}

.status-info {
    font-size: 12px;
    margin-bottom: 14px;
}

.open-status {
    color: #10813c;
    font-weight: 700;
}

.open-status.text-green {
    color: #ff9f00;
}

/* Comment Box Snippet Box */
.review-snippet {
    display: flex;
    gap: 8px;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    align-items: flex-start;
}

.review-snippet i {
    color: #6c757d;
    font-size: 14px;
    margin-top: 2px;
}

.review-snippet p {
    font-size: 12px;
    color: #495057;
    line-height: 1.4;
    font-style: italic;
}

/* --- Cards Footer Action Bars Component Styles --- */
.card-actions-bar {
    display: flex;
    border-top: 1px solid #e9ecef;
    background: #fafbfc;
}

.card-actions-bar button {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-call {
    background-color: #ffffff;
    color: #008cff;
    border-right: 1px solid #e9ecef !important;
    transition: background 0.15s;
}

.btn-call:hover {
    background-color: #f1f3f5;
}

.btn-price {
    background-color: #ffffff;
    color: #ff9f00;
    transition: background 0.15s;
}

.btn-price:hover {
    background-color: #f1f3f5;
}

/* --- Viewport Media Adaptability Rules --- */
@media(max-width: 768px) {
    .header-search {
        display: none; /* Emulates native app header scaling patterns natively on devices */
    }
    .card-body {
        flex-direction: column;
    }
    .gallery-wrapper {
        flex: unset;
        width: 100%;
    }
    .featured-img-box {
        width: 100%;
        height: 160px;
    }
}


.hotel-name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.hotel-name a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.hotel-name a:hover {
    color: #0d6efd;
}

.hotel-name a:visited {
    color: #222;
}


/* --- hotel dtls.html --- */

/* --- Isolated Scope Styles with unique prefixes --- */

.jd-mresp-wrapper {
     width:100%;
    max-width:100%;
    margin:auto;/* Base container layout configured for smart mobile touch viewports */
    background-color: #ffffff;
   position: relative;
    padding-bottom: 72px; /* Bottom safety clearing for structural dock */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}
.jd-mresp-button-matrix{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    padding:10px;
    width:100%;
}

.jd-mresp-action-control{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px;
    border-radius:8px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    color:#fff;
    width:100%;
    min-height:50px;
}

.jd-mresp-action-control i{
    font-size:18px;
}

@media (max-width:768px){

    .jd-mresp-button-matrix{
        grid-template-columns:repeat(2,1fr);
    }

    .jd-mresp-action-control{
        font-size:14px;
        padding:10px;
    }
}
/* --- Hero Image Module Block --- */
.jd-mresp-hero-cover {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.jd-mresp-hero-inner {
    width: 100%;
    color: #ffffff;
}

.jd-mresp-biz-name {
    font-size: 32px;
    font-weight: 800;
    color:  #4FC3F7;
    margin-bottom: 10px;
    letter-spacing: -0.8px;
    line-height: 1.15;
    
}

.jd-mresp-rating-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.jd-mresp-star-icons i {
    color: #ffa502;
    font-size: 13px;
}

.jd-mresp-rating-val {
    font-weight: 700;
    font-size: 14px;
}

.jd-mresp-review-count {
    color: #f1f2f6;
    font-size: 13px;
}

.jd-mresp-media-trigger {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

/* --- Text Info Bar Metadata Strip --- */
.jd-mresp-meta-strip {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f2f6;
}

.jd-mresp-category-text {
    font-size: 15px;
    color: #57606f;
    margin: 0 0 4px 0;
}

.jd-mresp-schedule-text {
    font-size: 13.5px;
    color: #57606f;
    margin: 0;
}

.jd-mresp-badge-open {
    color: #2ed573;
    font-weight: 700;
}

.jd-mresp-hours-link {
    color: #0076d6;
    font-weight: 600;
    cursor: pointer;
}

/* --- Interactive Action Control Grid --- */
.jd-mresp-button-matrix {
    display: flex;
    gap: 10px;
    padding: 12px 20px;
}

.jd-mresp-action-control {
    flex: 1;
    background: #ffffff;
    border: 1px solid #ced4da;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2f3542;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- App Segments Horizontal Ribbon Tab --- */
.jd-mresp-tab-ribbon {
    display: flex;
    border-bottom: 2px solid #f1f2f6;
    margin-top: 8px;
    overflow-x: auto;
}

.jd-mresp-tab-ribbon::-webkit-scrollbar {
    display: none;
}

.jd-mresp-tab-node {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #747d8c;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    position: relative;
}

.jd-mresp-tab-node.active {
    color: #2f3542;
}

.jd-mresp-tab-node.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #ff4757; /* Matches the vibrant bottom red indicator bar */
}

/* --- Booking & Conversion Panels --- */
.jd-mresp-form-panel {
    padding: 24px 20px;
}

.jd-mresp-panel-heading {
    font-size: 17px;
    font-weight: 700;
    color: #2f3542;
    margin: 0 0 16px 0;
}

.jd-mresp-lead-capture {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jd-mresp-selection-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #f1f2f6;
    border-radius: 8px;
    cursor: pointer;
}

.jd-mresp-selection-label {
    font-size: 14.5px;
    font-weight: 500;
    color: #2f3542;
}

.jd-mresp-selection-row input[type="radio"] {
    display: none;
}

/* Fully custom cross-device radio buttons */
.jd-mresp-radio-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #ced4da;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.jd-mresp-selection-row input[type="radio"]:checked + .jd-mresp-radio-indicator {
    border-color: #1289a7;
}

.jd-mresp-selection-row input[type="radio"]:checked + .jd-mresp-radio-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #1289a7;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Master conversion CTA button styling */
.jd-mresp-cta-submit {
    background-color: #ff4757;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}

.jd-mresp-trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 12px;
    color: #747d8c;
}

.jd-mresp-metric strong {
    color: #2ed573;
}

/* --- Mobile Bottom Nav Dock (Hidden gracefully on desktop viewports) --- */
.jd-mresp-mobile-dock {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    border-top: 1px solid #f1f2f6;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 9999;
}

.jd-mresp-dock-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #a4b0be;
    gap: 4px;
}

.jd-mresp-dock-link i {
    font-size: 18px;
}

.jd-mresp-dock-link span {
    font-size: 10px;
    font-weight: 600;
}

.jd-mresp-dock-link.active {
    color: #ff4757;
}

/* --- DESKTOP MONITORS / SYSTEM MEDIA OVERRIDES --- */
@media screen and (min-width: 768px) {
    /* When viewing on a standard computer browser window, standard structure adjusts natively */
    .jd-mresp-wrapper{
        
        border-radius:12px;
        overflow:hidden;
        border:1px solid #e1e4e8;
        padding-left:50px;
        padding-right:50px;
    }

    .jd-mresp-mobile-dock{
        display:none !important;
    }

    .jd-mresp-hero-cover {
        padding: 30px;
    }

    .jd-mresp-biz-name {
        font-size: 32px;
    }

    .jd-mresp-button-matrix {
        max-width: 460px;
    }

    /* Removes navigation tools meant exclusively for mobile smartphone displays */
    .jd-mresp-mobile-dock {
        display: none !important;
    }
}

/* --- Side-Swipe Image Gallery Component Layout --- */

/* --- Ultra-Isolated Swipeable Gallery Layout --- */

.jd-gallery-wrapper {
    width: 100% !important;
    margin-bottom: 14px !important;
    overflow: hidden !important; /* Clips the browser's native scrollbar */
    display: block !important;
}

.jd-gallery-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* CRITICAL: Force items to stay on a single line */
    gap: 12px !important;
    overflow-x: auto !important; /* Enables horizontal swiping */
    overflow-y: hidden !important;
    width: 100% !important;
    padding: 2px 4px 6px 4px !important;
    box-sizing: border-box !important;
    
    /* Native Scrollbar Hiding Techniques */
    -webkit-overflow-scrolling: touch; /* Smooth inertia scrolling on iOS */
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari, and newer Opera builds */
.jd-gallery-scroll-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.jd-gallery-item {
    flex: 0 0 auto !important; /* CRITICAL: Prevents images from compressing or shrinking */
    width: 44% !important; /* Controls the exact width so the next image peeks out */
    min-width: 150px !important; /* Safe zone bounds */
    height: 125px !important; /* Exact aspect height ratio from your screenshot */
    border-radius: 10px !important;
    overflow: hidden !important;
    background-color: #f3f4f6;
}

.jd-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Forces image to crop evenly without squeezing */
    display: block !important;
}

/* System Monitor / Desktop Adjustments */
@media screen and (min-width: 768px) {
    .jd-gallery-item {
        width: 31% !important; /* Shows 3 full cards side-by-side on desktop */
        height: 150px !important;
    }
}

.photo-trigger{
    cursor:pointer;
    font-weight:600;
    color:#007bff;
}.lightbox{
    display:none;
    position:fixed;
    inset:0;
    z-index:99999;
}

/* blurred background */
.lightbox-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}

/* image container */
.lightbox-content{
    position:relative;
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* image */
.lightbox-content img{
    max-width:90%;
    max-height:85vh;
    border-radius:14px;
    box-shadow:0 10px 40px rgba(0,0,0,0.5);
    z-index:2;
}

/* close button */
.close-btn{
    position:absolute;
    top:20px;
    right:25px;
    color:#fff;
    font-size:42px;
    cursor:pointer;
    z-index:3;
}

/* navigation buttons */
.nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    color:#fff;
    font-size:26px;
    cursor:pointer;
    z-index:3;
}

.prev{ left:25px; }
.next{ right:25px; }

.nav-btn:hover{
    background:rgba(255,255,255,0.3);
}
#lightboxImage{
    transition: opacity 0.2s ease;
}
.popup-overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    z-index:9999;
}

.popup-box{
    background:#fff;
    width:400px;
    max-width:90%;
    padding:25px;
    border-radius:10px;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
}

.close-btn{
    float:right;
    font-size:24px;
    cursor:pointer;
}
.photo-slider{
    width:100%;
    overflow:hidden;
    position:relative;
}

.slider-track{
    display:flex;
    gap:20px;
    width:max-content;
    animation: marquee 20s linear infinite;
}

.photo-item{
    flex:0 0 auto;
    width:220px;
}

.photo-item img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:10px;
}

.photo-slider:hover .slider-track{
    animation-play-state:paused;
}

@keyframes marquee{
    0%{
        transform:translateX(0);
    }
    100%{
        transform:translateX(-50%);
    }
}
.gallery-img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
}

.swiper{
    padding:10px 0;
}
.nav-tabs .nav-link{
    border:none;
    color:#555;
    font-weight:600;
    padding:12px 25px;
}

.nav-tabs .nav-link.active{
    background:#0d6efd;
    color:#fff;
    border-radius:8px 8px 0 0;
}

.tab-content{
    border-radius:0 10px 10px 10px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}
/* =========================
   MOBILE RESPONSIVE FIXES
   ========================= */
@media screen and (max-width:768px){

    /* Full width container */
    .jd-mresp-wrapper{
       
        margin:0 !important;
        padding:0 !important;
        border-radius:0 !important;
        box-shadow:none !important;
    }

    /* Hero image */
    .jd-mresp-hero-cover{
     
    }

    .jd-mresp-biz-name{
        font-size:24px !important;
        line-height:1.3;
        padding-left:15px !important;
        padding-right:15px !important;
    }

    /* Bootstrap tabs */
    .nav-tabs{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        white-space:nowrap;
        scrollbar-width:none;
    }

    .nav-tabs::-webkit-scrollbar{
        display:none;
    }

    .nav-tabs .nav-item{
        flex:1 0 auto;
    }

    .nav-tabs .nav-link{
        padding:10px 15px !important;
        font-size:14px;
    }

    /* Buttons */
    .jd-mresp-button-matrix{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:8px !important;
        padding:10px !important;
        width:100% !important;
        max-width:100% !important;
    }

    .jd-mresp-action-control{
        width:100% !important;
        min-height:48px;
        font-size:13px !important;
        padding:10px 5px !important;
    }

    .jd-mresp-action-control i{
        font-size:16px;
    }

    /* Gallery */
   .swiper-slide{
        width:auto !important;
    }

    .gallery-img{
        width:100% !important;
        height:180px !important;
        object-fit:cover;
        border-radius:10px;
    }
    /* Tab content */
    .tab-content{
        margin:10px;
        padding:5px;
    }

    /* Services */
    .jd-mresp-selection-row{
        padding:12px !important;
    }

    .jd-mresp-selection-label{
        font-size:13px !important;
    }

    /* Form button */
    .jd-mresp-cta-submit{
        width:100%;
    }

    /* Fix long text */
    p,h1,h2,h3,h4,h5,h6{
        word-wrap:break-word;
        overflow-wrap:break-word;
    }

}