/* =========================================================
     MYLO – Premium Detail Theme
     ========================================================= */
.vm-business-detail {
    --brand: #EB7825;
    --brand-dark: #cf661f;
    --ink: #0f172a;
    --muted: #64748b;
    --radius-xl: 32px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --containerMax: 1600px;
    --stickyTop: 80px;
    --header-h: 80px;
    --subnav-h: 0px;
}

.vm-business-detail {
    font-family: 'Inter', sans-serif;
    background-color: #F8FAFC;
    color: var(--ink);
    overflow-x: hidden;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

body:has(#vm-business-detail) {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Typography */
.vm-business-detail h1 {
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vm-business-detail h2,
.vm-business-detail h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Wide Container */
.vm-detail-container-wide {
    max-width: var(--containerMax);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ================= HERO SECTION ================= */
.hero-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.detail-hero-image {
    position: relative;
    height: 50vh;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-color: #0b0f12;
    padding-bottom: 80px;
}

.detail-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.2) 34%, rgba(0, 0, 0, 0.68) 72%, rgba(0, 0, 0, 0.92) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1rem;
}

/* Soft radial backdrop behind hero text to increase contrast while preserving photo edges */
.hero-content .col-lg-8 {
    position: relative;
    z-index: 1;
}

.hero-content .col-lg-8::before {
    content: "";
    position: absolute;
    left: -35%;
    right: -35%;
    top: -70%;
    bottom: -70%;
    transform: none;
    border-radius: 9999px;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.60) 0%,
        rgba(0, 0, 0, 0.46) 24%,
        rgba(0, 0, 0, 0.30) 46%,
        rgba(0, 0, 0, 0.16) 64%,
        rgba(0, 0, 0, 0.08) 78%,
        rgba(0, 0, 0, 0.03) 88%,
        rgba(0, 0, 0, 0) 100%
    );
    filter: blur(2px);
    pointer-events: none;
    z-index: -1;
}

/* Video Play Button */
.hero-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    padding-left: 5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: pulse-white 2s infinite;
}

.hero-play-btn:hover {
    transform: scale(1.1);
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #8a6d3b;
    border: none;
    box-shadow: 0 4px 15px rgba(253, 185, 49, 0.4);
}

/* ================= NAVIGATION (OVERLAID ON HERO) ================= */
.sticky-subnav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    padding: 0;
    min-height: 70px;
}

.sticky-subnav.is-stuck {
    position: fixed;
    top: var(--vm-nav-top, var(--stickyTop));
    bottom: auto;
    z-index: 55;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.subnav-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--muted);
    padding: 20px 4px;
    margin-right: 30px;
    border-bottom: 3px solid transparent;
    opacity: 0.8;
    transition: all 0.2s;
    white-space: nowrap;
}

.subnav-link:hover {
    opacity: 1;
    color: var(--ink);
}

.subnav-link.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
    opacity: 1;
}

/* ================= CARDS ================= */
.soft-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 15px -3px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    border: 1px solid #f1f5f9;
    margin-bottom: 2rem;
}

/* ================= REVIEWS ================= */
.review-score-card {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.verified-badge {
    font-size: 0.7rem;
    background: #dcfce7;
    color: #166534;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* ================= SIDEBAR ================= */
.ad-block {
    background: #f8fafc;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border: 2px dashed #cbd5e1;
    position: relative;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.ad-block:hover {
    border-color: var(--brand);
    background: #fff7ed;
}

.ad-label {
    position: absolute;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    top: 12px;
    right: 12px;
    font-size: 10px;
    color: #94a3b8;
}

/* Menu & Deals (scoped class to avoid header menu collisions) */
.bd-menu-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bd-menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.bd-menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-card {
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 2px dashed var(--brand-dark);
    border-radius: var(--radius-md);
}

.map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 1.1rem;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--brand);
    color: white;
}

/* ================= FAQ ACCORDION ================= */
.accordion-item {
    background: transparent;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.accordion-button {
    color: var(--ink) !important;
    background-color: transparent !important;
}

.accordion-button:not(.collapsed) {
    color: var(--brand) !important;
    background-color: rgba(235, 120, 37, 0.05) !important;
}

.accordion-body {
    background: white !important;
    color: #6b7280 !important;
    padding: 1.25rem 1rem !important;
}

.accordion-collapse {
    background: white;
    color: #6b7280;
    visibility: visible !important;
}

.accordion-collapse.show,
.accordion-collapse.collapsing {
    visibility: visible !important;
}

.social-btn:hover {
    background: var(--brand);
    color: white;
    transform: translateY(-3px);
}

.btn-brand {
    background-color: var(--brand);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(235, 120, 37, 0.4);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-brand:hover {
    background-color: var(--brand-dark);
    transform: translateY(-2px);
    color: white;
}

.btn-outline-brand {
    background-color: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
    padding: 10px 24px;
    border-radius: 50rem;
    font-weight: 700;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-brand:hover {
    background-color: var(--brand);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(235, 120, 37, 0.4);
}

.col-sticky {
    position: static;
    top: auto;
}

/* Match event-detail sticky sidebar behavior */
@media (min-width: 992px) {
    #vm-business-detail .vm-sticky-sidebar {
        position: sticky;
        top: calc(var(--header-h, 80px) + var(--subnav-h, 0px) + 18px) !important;
        z-index: 30;
    }
}

.vm-business-detail .no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hours Widget */
.hours-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hours-header {
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hours-title {
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.1rem;
}

.hours-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fee2e2;
    color: #b91c1c;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hours-status.open {
    background: #dcfce7;
    color: #166534;
}

.hours-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed #f1f5f9;
    color: var(--muted);
    font-weight: 500;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.today {
    color: var(--brand);
    font-weight: 800;
    background: linear-gradient(to right, rgba(235, 120, 37, 0.05), transparent);
    margin: 0 -1.5rem;
    padding: 10px 1.5rem;
    border-left: 3px solid var(--brand);
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */

/* Hero Title Responsive Sizing - prevent text overlap on smaller screens */
.hero-content h1.display-2,
.hero-content h1 {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.coupon-cta-wrap {
    min-width: 140px;
}

/* ================= OFFERS & COUPONS VISUAL REFRESH ================= */
.offers-events-shell {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
    border: 1px solid #fde6d6;
}

.coupons-shell {
    background: linear-gradient(180deg, #fffaf5 0%, #fff3e8 100%);
    border: 1px solid #fbd0b1;
}

.section-title-event {
    color: #166da7;
}

.section-title-coupon {
    color: #eb7825;
}

.promo-item {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 0.9rem 1rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    position: relative;
    overflow: hidden;
}

.promo-item:hover {
    transform: translateY(-1px);
}

.promo-item-event {
    background: linear-gradient(180deg, #f6fbff 0%, #edf6fd 100%);
    border-color: #bfdcf1;
    padding-right: 4.8rem;
}

.promo-item-event::before {
    content: '';
    position: absolute;
    top: 0.7rem;
    right: 3.35rem;
    bottom: 0.7rem;
    width: 1px;
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(22, 109, 167, 0.42) 0,
        rgba(22, 109, 167, 0.42) 5px,
        transparent 5px,
        transparent 10px
    );
}

.promo-item-event::after {
    content: '\f073';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(22, 109, 167, 0.85);
    font-size: 1.05rem;
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    border: 1px solid rgba(22, 109, 167, 0.28);
    background: #dff0fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-item-event:hover {
    box-shadow: 0 8px 18px rgba(22, 109, 167, 0.14);
    border-color: #9ecdf0;
}

.promo-item-coupon {
    background: linear-gradient(180deg, #fff8f1 0%, #fff0e1 100%);
    border: 2px dashed #f0b387;
    border-radius: 16px;
}

.promo-item-coupon::before,
.promo-item-coupon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 9999px;
    transform: translateY(-50%);
    z-index: 1;
}

.promo-item-coupon::before {
    left: -11px;
    box-shadow: inset -1px 0 0 rgba(235, 120, 37, 0.15);
}

.promo-item-coupon::after {
    right: -11px;
    box-shadow: inset 1px 0 0 rgba(235, 120, 37, 0.15);
}

.promo-item-coupon .promo-pill-coupon,
.promo-item-coupon .promo-pill-coupon-lite {
    box-shadow: 0 2px 8px rgba(235, 120, 37, 0.12);
}

.promo-item-coupon:hover {
    box-shadow: 0 8px 18px rgba(235, 120, 37, 0.16);
    border-color: #f6b887;
}

.promo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.28rem 0.62rem;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.promo-pill-event {
    color: #145f90;
    background: #dff0fc;
    border: 1px solid #b8dcf4;
}

.promo-pill-coupon {
    color: #8c3a06;
    background: #ffd9bf;
    border: 1px solid #f3b084;
}

.promo-pill-coupon-lite {
    color: #a9480f;
    background: #ffead8;
    border: 1px solid #f5c7a5;
}

.time-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.73rem;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.24rem 0.62rem;
    line-height: 1;
    letter-spacing: 0.01em;
}

.time-chip-event {
    color: #145f90;
    background: #e8f4fd;
    border: 1px solid #c6e0f6;
}

.time-chip-coupon {
    color: #9c490f;
    background: #fff0e3;
    border: 1px solid #f7cfaf;
}

.coupon-row {
    border-radius: 14px;
    padding: 0.6rem 0.5rem;
}

.coupon-icon-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #fff4ea 100%);
    border: 1px solid #f7d1b2;
    color: #eb7825;
    width: 72px;
    height: 72px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(235, 120, 37, 0.14);
}

/* ================= SIDEBAR SHARE CARD ================= */
.vm-share-card{
    background:#111827;
    color:#f9fafb;
    border-radius:1.25rem;
    padding:1.1rem 1.2rem;
    box-shadow:
        0 14px 30px rgba(15,23,42,0.4),
        0 0 0 1px rgba(15,23,42,0.3);
}

.vm-share-title{
    display:flex;
    align-items:center;
    gap:0.45rem;
    font-size:0.92rem;
    font-weight:700;
    margin-bottom:0.85rem;
}

.vm-share-title i{
    color:var(--brand);
    font-size:1rem;
}

.vm-share-btn{
    width:2.35rem;
    height:2.35rem;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
    font-size:1rem;
    border:none;
    transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.vm-share-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 15px rgba(0,0,0,0.32);
    opacity:.96;
}

.vm-share-facebook  { background:#3b5998; }
.vm-share-twitter   { background:#1da1f2; }
.vm-share-whatsapp  { background:#25d366; }
.vm-share-linkedin  { background:#0a66c2; }
.vm-share-copy      { background:var(--brand); }

/* ================= DETAIL-PAGE HEADER SAFEGUARD =================
   Prevent business-detail styles/vendor CSS from squeezing header nav.
   Scoped to pages that contain #vm-business-detail only.
*/
@media (min-width: 1024px) {
    body:has(#vm-business-detail) #global-nav.vm-container-wide {
        box-sizing: border-box !important;
        width: min(100%, 100rem) !important;
        padding-left: clamp(0.875rem, 1.5vw, 1.25rem) !important;
        padding-right: clamp(0.875rem, 1.5vw, 1.25rem) !important;
    }

    body:has(#vm-business-detail) #vm-header-row {
        gap: 0.45rem !important;
    }

    body:has(#vm-business-detail) #vm-logo-wrap {
        margin-right: 0.45rem !important;
    }

    body:has(#vm-business-detail) #vm-search-wrap {
        flex: 0 0 700px !important;
        max-width: 700px !important;
        min-width: 0 !important;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    body:has(#vm-business-detail) #vm-top-nav {
        margin-left: 0.2rem !important;
        column-gap: 0.5rem !important;
        flex-shrink: 0 !important;
    }

    body:has(#vm-business-detail) #user-menu-dropdown > button {
        white-space: nowrap !important;
    }
}

@media (min-width: 1280px) {
    body:has(#vm-business-detail) #vm-search-wrap {
        flex-basis: 770px !important;
        max-width: 770px !important;
    }
}

@media (max-width: 991px) {
    .detail-hero-image {
        min-height: 380px;
        padding-bottom: 70px;
    }

    .hero-content {
        height: calc(100% - 70px);
        padding-bottom: 1.5rem;
    }

    .hero-content h1.display-2,
    .hero-content h1 {
        font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    }

    .sticky-subnav {
        min-height: 60px;
    }
}

@media (max-width: 767px) {
    .vm-detail-container-wide {
        padding-inline: 12px;
    }

    .detail-hero-image {
        height: auto;
        min-height: 300px;
        padding-bottom: 55px;
        display: flex;
        align-items: center;
    }

    .hero-content {
        height: calc(100% - 55px);
        justify-content: center;
        align-items: center;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
        overflow: visible;
    }

    .hero-content.container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero-content .row {
        text-align: center;
        justify-content: center;
        align-items: center !important;
        align-content: center;
        width: 100%;
        margin: 0 auto !important;
    }

    .hero-content .col-lg-8,
    .hero-content .col-lg-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center !important;
    }
    .hero-content .col-lg-8 > * + *,
    .hero-content .col-lg-4 > * + * {
        margin-top: 10px !important;
    }

    .hero-content .col-lg-4 {
        text-align: center !important;
        margin-top: 0.75rem;
    }

    .hero-content .col-lg-4 .d-flex {
        align-items: center !important;
        justify-content: center;
    }

    .hero-content .d-flex.flex-wrap.gap-2,
    .hero-content .d-flex.align-items-center.gap-2 {
        justify-content: center;
    }

    .hero-content .fs-4 {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 32ch;
    }

    .hero-content h1.display-2,
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.15rem !important;
        line-height: 1.15;
    }

    /* Scale down tagline text */
    .hero-content .fs-4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Reduce gap between badges */
    .hero-content .d-flex.gap-2 {
        gap: 0.3rem !important;
    }

    .hero-content .mb-3 {
        margin-bottom: 0.35rem !important;
    }

    .hero-content .mb-4 {
        margin-bottom: 0.35rem !important;
    }

    /* Smaller badges */
    .hero-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .sticky-subnav {
        min-height: auto;
    }

    .subnav-link {
        padding: 10px 4px;
        font-size: 0.8rem;
        margin-right: 16px;
    }

    .hero-play-btn {
        width: 62px;
        height: 62px;
        font-size: 1.15rem;
    }

    .soft-card {
        padding: 1rem;
        border-radius: 16px;
        margin-bottom: 1rem;
    }

    .review-form-card {
        padding: 1.15rem;
    }

    .col-sticky {
        position: static;
        top: auto;
    }

    .coupon-cta-wrap {
        min-width: 0;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .promo-item {
        padding: 0.8rem 0.82rem;
    }

    .promo-item-event {
        padding-right: 0.9rem;
    }

    .promo-item-event::before,
    .promo-item-event::after {
        display: none;
    }

    .promo-pill {
        font-size: 0.68rem;
    }

    .time-chip {
        font-size: 0.68rem;
    }

    .coupon-icon-wrap {
        width: 58px;
        height: 58px;
    }

    .vm-share-card {
        padding: 1rem;
    }
}

@media (max-width: 580px) {
    .detail-hero-image {
        min-height: 280px;
        padding-bottom: 50px;
        display: flex;
        align-items: center;
    }

    .hero-content {
        height: calc(100% - 50px);
        justify-content: center;
        align-items: center;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .hero-content h1.display-2,
    .hero-content h1 {
        font-size: 1.56rem !important;
        margin-bottom: 0.1rem !important;
    }

    .hero-content .fs-4 {
        font-size: 0.8rem !important;
        margin-bottom: 0.35rem !important;
    }

    .hero-badge {
        padding: 3px 8px;
        font-size: 0.68rem;
    }

    .hero-content .d-flex.gap-2 {
        gap: 0.2rem !important;
    }

    .hero-content .mb-3 {
        margin-bottom: 0.25rem !important;
    }

    .hero-content .mb-4 {
        margin-bottom: 0.25rem !important;
    }
}

@media (max-width: 480px) {
    .detail-hero-image {
        min-height: 260px;
        padding-bottom: 48px;
        display: flex;
        align-items: center;
    }

    .hero-content {
        height: calc(100% - 48px);
        justify-content: center;
        align-items: center;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .hero-content h1.display-2,
    .hero-content h1 {
        font-size: 1.38rem !important;
        margin-bottom: 0.1rem !important;
        line-height: 1.1;
    }

    .hero-content .fs-4 {
        font-size: 0.75rem !important;
        margin-bottom: 0.25rem !important;
    }

    /* Smaller badges on very small screens */
    .hero-badge {
        padding: 3px 6px;
        font-size: 0.6rem;
    }

    .hero-content .d-flex.gap-2 {
        gap: 0.15rem !important;
    }

    .hero-content .mb-3 {
        margin-bottom: 0.2rem !important;
    }

    .hero-content .mb-4 {
        margin-bottom: 0.2rem !important;
    }
}

/* ================= MOBILE QUICK ACTIONS ================= */
.vm-business-mobile-actions {
    box-sizing: border-box;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 72;
    display: none;
    padding: 0 .8rem calc(.7rem + env(safe-area-inset-bottom));
    pointer-events: none;
    max-width: 100vw;
    overflow-x: hidden;
}

.vm-business-mobile-actions-inner {
    box-sizing: border-box;
    width: min(660px, 100%);
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .5rem;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: .55rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
    pointer-events: auto;
}

.vm-business-mobile-action-btn {
    appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: .78rem;
    min-height: 62px;
    padding: .45rem .3rem;
    background: #f9fafb;
    color: #374151;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .22rem;
    font-size: .68rem;
    line-height: 1.1;
    font-weight: 700;
    text-align: center;
}

.vm-business-mobile-action-btn i {
    font-size: 1.02rem;
}

.vm-business-mobile-action-btn.is-active {
    background: #fff7ec;
    border-color: rgba(235, 120, 37, .35);
    color: var(--brand);
}

.vm-business-mobile-action-btn.is-disabled {
    opacity: .45;
    pointer-events: none;
}

@media (max-width: 768px) {
    #vm-business-detail {
        padding-bottom: 92px;
    }

    .vm-business-mobile-actions {
        display: block;
    }
}

/* ================= IMAGE GALLERY MODAL ================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    pointer-events: none;
}

.modal-overlay.visible {
    display: flex;
    pointer-events: auto;
}

.modal-container {
    position: relative;
    max-width: 1400px;
    width: 95%;
    margin: 40px auto;
    height: calc(100vh - 80px);
}

.modal-overlay .close-btn {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(2, 6, 23, .35);
    z-index: 10;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
}

.modal-overlay .close-btn:hover {
    background: #f1f5f9;
}

.image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
}

.modal-image {
    max-width: 95%;
    max-height: 92vh;
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .42);
    transition: opacity .15s ease;
    object-fit: contain;
}

.nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 9999px;
    border: none;
    box-shadow: 0 12px 28px rgba(2, 6, 23, .35);
    z-index: 10;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.nav-arrow:hover {
    background: #f1f5f9;
}

.nav-arrow-left {
    left: 14px;
}

.nav-arrow-right {
    right: 14px;
}

.image-counter {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 16px;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 800;
    z-index: 10;
    backdrop-filter: blur(8px);
}

/* ================= ENHANCED GALLERY GRID ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    grid-auto-rows: 200px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f1f5f9;
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.gallery-item .skeleton {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 1.2rem;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: scale(1);
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

/* ================= ENHANCED LIGHTBOX CONTROLS ================= */
.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.zoom-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    color: var(--ink);
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.image-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-align: center;
    font-size: 0.9rem;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-caption.visible {
    opacity: 1;
}

.modal-image {
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.3s ease;
}

.modal-image.zoomed {
    cursor: grab;
}

.modal-image.dragging {
    cursor: grabbing;
}

.modal-image.panning {
    transition: none !important;
}

/* Loading spinner */
.image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 5;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ================= ENHANCED REVIEW SYSTEM ================= */
/* Star Rating Component */
.star-rating {
    display: inline-flex;
    gap: 4px;
    font-size: 1.5rem;
}

.star-rating .star {
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.star-rating .star:hover,
.star-rating .star.hover {
    color: #fbbf24;
    transform: scale(1.15);
}

.star-rating .star.active {
    color: #f59e0b;
}

.star-rating .star.active:hover {
    color: #fbbf24;
}

/* Review Form Container */
.review-form-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-form-container.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem;
}

/* Review Form Card */
.review-form-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(235, 120, 37, 0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Review CTA Button */
.review-cta-btn {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50rem;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(235, 120, 37, 0.35);
}

.review-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235, 120, 37, 0.45);
}

.review-cta-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.review-cta-btn.hidden {
    display: none;
}

/* Already Reviewed Badge */
.already-reviewed-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    padding: 12px 20px;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Review List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card-enhanced {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.review-card-enhanced.new-review {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(235, 120, 37, 0.1);
}

.review-card-enhanced.pending-review {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fcd34d;
}

/* Reviewer Avatar */
.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Load More Button */
.load-more-reviews-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: var(--muted);
    padding: 12px 24px;
    border-radius: 50rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-reviews-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(235, 120, 37, 0.05);
}

.load-more-reviews-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.load-more-reviews-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.load-more-reviews-btn.loading .spinner {
    display: inline-block;
}

.load-more-reviews-btn.loading .btn-text {
    display: none;
}

/* Form Loading State */
.review-submit-btn {
    position: relative;
    min-width: 160px;
}

.review-submit-btn .spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.review-submit-btn.loading .btn-content {
    visibility: hidden;
}

.review-submit-btn.loading .spinner {
    display: block;
}

/* Review Message Alerts */
.review-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    animation: fadeSlideIn 0.3s ease-out;
}

.review-alert.success {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    border: 1px solid #86efac;
}

.review-alert.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.review-alert.pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* Character Counter */
.char-counter {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: right;
    margin-top: 4px;
    transition: color 0.2s;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.error {
    color: #ef4444;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 767.98px) {
    .modal-container {
        margin: 0;
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
    }

    .image-container {
        padding: 72px 12px 12px;
    }

    .nav-arrow {
        display: none !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-auto-rows: 150px;
    }

    .zoom-controls {
        bottom: 10px;
    }

    .image-caption {
        bottom: 70px;
        max-width: 90%;
        font-size: 0.8rem;
        padding: 10px 16px;
    }

    .modal-overlay .close-btn {
        margin: 12px;
        width: 46px;
        height: 46px;
        position: fixed;
    }

    .image-counter {
        position: fixed;
        top: 16px;
    }
}
