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

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

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

h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

/* ================= HERO SECTION ================= */
.hero-wrapper {
    position: relative;
    border-radius: 0 0 var(--radius-xl) 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;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.85) 100%);
}

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

/* 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 behavior removed per user request */
.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 */
.menu-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.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: sticky;
    top: var(--stickyTop);
}

.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;
}

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

    .detail-hero-image::after {
        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) {
    .detail-hero-image {
        height: auto;
        min-height: 300px;
        padding-bottom: 55px;
    }

    .detail-hero-image::after {
        bottom: 55px;
    }

    .hero-content {
        height: auto;
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        overflow: visible;
    }

    .hero-content h1.display-2,
    .hero-content h1 {
        font-size: 1.5rem !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;
    }
}

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

    .detail-hero-image::after {
        bottom: 50px;
    }

    .hero-content {
        padding-bottom: 0.4rem;
        padding-top: 0.4rem;
    }

    .hero-content h1.display-2,
    .hero-content h1 {
        font-size: 1.3rem !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;
    }

    .detail-hero-image::after {
        bottom: 48px;
    }

    .hero-content {
        padding-bottom: 0.3rem;
        padding-top: 0.3rem;
    }

    .hero-content h1.display-2,
    .hero-content h1 {
        font-size: 1.15rem !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;
    }
}

/* ================= 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;
    }
}