/**
 * Single Listing Page Styles — Gyms, Trainers, Communities & Events
 * High-Contrast, WCAG AA Compliant, Modern Light Aesthetic
 * Conversion-focused design with responsive layout & mobile action bar
 */

.varjiis-listing-single {
    background: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
    padding-bottom: 90px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* =============================================
   HERO SECTION
   ============================================= */
.listing-hero {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 36px 0 28px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

.hero-content {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    justify-content: space-between;
}

.listing-header {
    flex: 1;
    min-width: 0;
}

.sitetitleandlogo {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-bottom: 18px;
}

.listing-logo {
    width: 104px;
    height: 104px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.listing-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.categoriesandtitle {
    flex: 1;
    min-width: 0;
}

.top-meta-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.profile-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.badge-facility {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    color: #1d4ed8;
}

.badge-trainer {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
}

.badge-community {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    color: #6d28d9;
}

.badge-event {
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: #be185d;
}

.verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #047857;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
}

.listing-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.listing-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-badge {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Rating, Reviews & Member Count */
.rating-and-social-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-score {
    background: #f59e0b;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 6px;
}

.rating-count {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.community-members-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.community-members-chip svg {
    color: #ff6b35;
}

/* Quick Info Badges */
.listing-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    background: #f8fafc;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.info-item .icon {
    width: 16px;
    height: 16px;
    color: #ff6b35;
    flex-shrink: 0;
}

/* Quick Action Buttons */
.quick-action-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cta-btn-join {
    background: #ffffff;
    border: 2px solid #ff6b35;
    color: #ff6b35 !important;
}

.cta-btn-join:hover {
    background: #ff6b35;
    color: #ffffff !important;
}

.cta-btn-join.joined {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff !important;
}

.cta-btn-call {
    background: #0284c7;
    color: #ffffff !important;
}
.cta-btn-call:hover { background: #0369a1; }

.cta-btn-wa {
    background: #25d366;
    color: #ffffff !important;
}
.cta-btn-wa:hover { background: #1ebd59; }

.cta-btn-directions {
    background: #f1f5f9;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
}
.cta-btn-directions:hover { background: #e2e8f0; }

/* Lead Enquiry Card in Hero */
.hero-enquiry-form {
    width: 340px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.form-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.form-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 16px;
}

.quick-lead-form .form-row {
    margin-bottom: 12px;
}

.accessible-label {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 4px;
}

.quick-lead-form input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}

.quick-lead-form input:focus {
    border-color: #ff6b35;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.btn-cta {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #ea580c 100%);
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.btn-cta:hover { opacity: 0.94; transform: translateY(-1px); }
.btn-cta:disabled { opacity: 0.6; cursor: not-allowed; }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb a:hover { color: #ff6b35; }
.breadcrumb .current { color: #0f172a; font-weight: 600; }
.breadcrumb .separator { color: #cbd5e1; }

/* =============================================
   MAIN LAYOUT & CARDS
   ============================================= */
.listing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.listing-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

.listing-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .section-icon {
    font-size: 20px;
}

.section-content {
    color: #334155;
    line-height: 1.7;
    font-size: 15px;
}

/* =============================================
   EVENT & COMMUNITY SPOTLIGHT CARDS
   ============================================= */
.event-spotlight-card {
    border-left: 4px solid #ff6b35;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.community-spotlight-card {
    border-left: 4px solid #8b5cf6;
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.event-info-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 14px;
    border-radius: 10px;
}

.event-info-box .label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.event-info-box strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.btn-event-book {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #ea580c 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}
.btn-event-book:hover { opacity: 0.92; }

/* =============================================
   VERIFIED CERTIFICATIONS & CREDENTIALS
   ============================================= */
.certs-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.cert-card-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    transition: all 0.2s ease;
}

.cert-card-item:hover {
    border-color: #ff6b35;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.1);
}

.cert-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-card-info {
    flex: 1;
    min-width: 0;
}

.cert-card-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.cert-issuer {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 6px;
    font-weight: 500;
}

.cert-cred-id {
    display: inline-block;
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: #e2e8f0;
    color: #334155;
    padding: 2px 6px;
    border-radius: 4px;
}

.cert-verified-stamp {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

/* =============================================
   FEATURES & AMENITIES
   ============================================= */
.features-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.feature-item-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
}

.feature-item-pill svg {
    color: #10b981;
    flex-shrink: 0;
}

/* =============================================
   TIMINGS & OPERATING HOURS
   ============================================= */
.hours-table {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
}
.hours-row:last-child { border-bottom: none; }
.hours-row.today {
    background: #f0f9ff;
    color: #0369a1;
    font-weight: 700;
}

.status-open { color: #059669; font-weight: 700; }
.status-closed { color: #dc2626; font-weight: 700; }

/* =============================================
   GALLERY
   ============================================= */
.gallery-responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.gallery-responsive-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-responsive-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* =============================================
   SIDEBAR CARDS
   ============================================= */
.sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.sidebar-address {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 12px;
}

.map-embed-box {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    background: #f1f5f9;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-secondary:hover { background: #e2e8f0; }

/* Repbook Gym Companion Card */
.repbook-sidebar-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.repbook-pill {
    display: inline-block;
    background: #ff6b35;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.repbook-sidebar-card h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px;
}

.repbook-sidebar-card p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.btn-repbook-side {
    display: block;
    width: 100%;
    background: #ff6b35;
    color: #ffffff !important;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}
.btn-repbook-side:hover { background: #ea580c; }

/* =============================================
   GUEST JOIN MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 28px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid #e2e8f0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
    padding: 0;
    line-height: 1;
}
.btn-close-modal:hover { color: #0f172a; }

.modal-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}

.modal-card label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.92; }

/* =============================================
   MOBILE STICKY ACTION BAR
   ============================================= */
.mobile-sticky-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 8px));
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: 100%;
}

.mobile-sticky-action-bar .m-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    min-height: 44px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.m-btn-call {
    background: #eff6ff;
    color: #0284c7 !important;
    border: 1px solid #bfdbfe;
}

.m-btn-wa {
    background: #ecfdf5;
    color: #059669 !important;
    border: 1px solid #a7f3d0;
}

.m-btn-trial {
    background: linear-gradient(135deg, #ff6b35 0%, #ea580c 100%);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* =============================================
   REVIEWS & COMMENTS SECTION
   ============================================= */
.reviews-comments-section {
    margin-top: 24px;
}

#comments .comments-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-list .children {
    list-style: none;
    padding-left: 28px;
    margin-top: 12px;
    border-left: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-body {
    display: flex;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s;
}

.comment-body:hover {
    border-color: #cbd5e1;
}

.comment-author-avatar img {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.comment-content-wrap {
    flex: 1;
    min-width: 0;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.comment-author-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.comment-author-name cite {
    font-style: normal;
}

.comment-metadata a {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: none;
}

.comment-rating {
    font-size: 14px;
    margin: 4px 0;
    letter-spacing: 1px;
}

.comment-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 6px 0 10px;
}

.comment-text p {
    margin: 0 0 6px;
}
.comment-text p:last-child { margin-bottom: 0; }

.comment-content-wrap .reply a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ff6b35;
    text-decoration: none;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 3px 10px;
    border-radius: 12px;
    transition: background 0.2s;
}
.comment-content-wrap .reply a:hover {
    background: #ffedd5;
}

/* Comment Form */
.comment-respond {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.comment-reply-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
}

.comment-reply-title small a {
    font-size: 13px;
    font-weight: 500;
    color: #ef4444;
    margin-left: 10px;
    text-decoration: none;
}

.comment-form-custom p {
    margin-bottom: 14px;
}

.comment-form-custom label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.comment-form-custom input[type="text"],
.comment-form-custom input[type="email"],
.comment-form-custom input[type="number"],
.comment-form-custom select,
.comment-form-custom textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #0f172a;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}

.comment-form-custom input:focus,
.comment-form-custom select:focus,
.comment-form-custom textarea:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.comment-form-rating select {
    max-width: 260px;
}

.comment-form-captcha {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 12px 16px;
    max-width: 320px;
}

.comment-form-captcha label {
    color: #c2410c;
    font-weight: 700;
}

.comment-form-captcha input {
    background: #ffffff;
    max-width: 140px;
}

.submit-comment {
    background: linear-gradient(135deg, #ff6b35 0%, #ea580c 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
    transition: opacity 0.2s, transform 0.1s;
}
.submit-comment:hover { opacity: 0.92; transform: translateY(-1px); }

/* =============================================
   RESPONSIVE QUERIES (MOBILE APP EXPERIENCE)
   ============================================= */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 24px;
    }
    .hero-enquiry-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .listing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mobile-sticky-action-bar {
        display: flex !important;
        gap: 8px;
    }
    .listing-title {
        font-size: 26px;
    }
    .varjiis-listing-single {
        padding-bottom: 90px;
    }
}

@media (max-width: 768px) {
    .listing-hero {
        padding: 20px 0 16px;
    }
    .container {
        padding-left: 14px;
        padding-right: 14px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .sitetitleandlogo {
        gap: 14px;
        margin-bottom: 14px;
    }
    .listing-logo {
        width: 74px;
        height: 74px;
        border-radius: 12px;
        padding: 4px;
    }
    .listing-title {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 8px;
    }
    .category-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    .rating-and-social-row {
        gap: 10px;
        margin-bottom: 14px;
    }
    .listing-quick-info {
        gap: 8px;
        margin-bottom: 16px;
    }
    .info-item {
        font-size: 12px;
        padding: 5px 10px;
    }
    .quick-action-cta-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }
    .quick-action-cta-row .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
        box-sizing: border-box;
    }
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .certs-badge-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .gallery-responsive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .gallery-responsive-grid img {
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }
    .hours-table {
        border-radius: 8px;
    }
    .hours-row {
        padding: 8px 12px;
        font-size: 13px;
    }
    .reviews-header-block {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }
    .reviews-score-summary {
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
    }
    .comment-respond {
        padding: 16px 12px;
    }
    .comment-form-captcha {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .comment-form-captcha input {
        max-width: 100%;
        width: 100%;
    }
    .comment-form-rating select {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sitetitleandlogo {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    .listing-logo {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }
    .listing-title {
        font-size: 19px;
    }
    .quick-action-cta-row {
        grid-template-columns: 1fr;
    }
    .mobile-sticky-action-bar {
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 6px));
        gap: 6px;
    }
    .mobile-sticky-action-bar .m-btn {
        padding: 10px 6px;
        font-size: 12px;
        min-height: 40px;
    }
}
