/* ============================================
   Business Profile View - Light Theme
   Version: 3.0.0
   Created: November 6, 2025
   ============================================ */

:root {
    /* Light Theme Colors */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #818cf8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --white: #ffffff;

    /* Gray Scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Light Theme Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f3f4f6;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-light: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);

    /* Light Theme Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --text-white: #ffffff;

    /* Light Theme Borders */
    --border-color: #e2e8f0;
    --border-color-light: #edf2f7;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    box-sizing: border-box;
}

/* ============================================
   Google Maps & Modal Styles
   ============================================ */
.pac-container {
    background-color: var(--bg-primary);
    z-index: 2000;
    position: fixed;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
     overflow-x: visible !important;
    bottom: 70px;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
}

/* ============================================
   Business Header Section
   ============================================ */
.business-header-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0 60px;
    position: relative;
    z-index: 1;
}

.business-banner-wrapper {
    position: relative;
    margin-bottom: 80px;
    z-index: 5;
}

.cover-photo-container {
    position: relative;
    height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    visibility: visible;
    opacity: 1;
    z-index: 5;
}

/* Floating Actions Top */
.floating-actions-top {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    z-index: 20;
    flex-wrap: wrap;
    justify-content: flex-end;
    visibility: visible;
    opacity: 1;
}

/* Luxury Hero Section */
.luxury-hero-section {
    position: relative;
    overflow: hidden;
}

.luxury-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.luxury-hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.profile-photo-container {
    position: absolute;
    bottom: -80px;
    left: 40px;
    z-index: 10;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(102, 126, 234, 0.1);
    object-fit: cover;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(102, 126, 234, 0.2);
}

.verified-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4), 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: pulse-badge 2s infinite;
}

.verified-badge i {
    color: #ffffff;
    font-size: 20px;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4), 0 0 0 2px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6), 0 0 0 4px rgba(16, 185, 129, 0.3);
    }
}

.business-header-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 14px;
    z-index: 20;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    visibility: visible;
    opacity: 1;
    padding: 10px 15px;
}

.action-btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 28px;
    font-weight: 700;
    font-size: 15px;
    color: #2d3748;
    text-transform: capitalize;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
    min-height: 10px;
    white-space: nowrap;
    line-height: 1.5;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    flex-shrink: 0;
    font-family: inherit;
    border: none;
}

.action-btn-save span {
    display: inline-block;
    color: #2d3748;
    font-weight: 700;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    font-size: 15px;
}


.action-btn-save:hover::before {
    left: 100%;
}

.action-btn-save:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.35), 0 4px 12px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-color: var(--primary-color);
}

.action-btn-save:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.2);
}

.action-btn-save:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.action-btn-save i {
    font-size: 18px;
    transition: all 0.3s ease;
    color: var(--primary-color);
    z-index: 2;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.action-btn-save:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-dark);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 50px;
    white-space: nowrap;
    border: none;
    gap: 10px;
    font-family: inherit;
}

.action-btn span {
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 700;
}

.action-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.save-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: 2px solid #667eea;
    color: #2d3748;
}

.save-btn span {
    color: #2d3748;
    font-weight: 600;
    display: inline-block;
}

.save-btn i {
    color: #667eea;
    font-size: 16px;
}

.save-btn:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    border-color: #5568d3;
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #2d3748;
    transform: translateY(-4px) scale(1.02);
}

.save-btn:hover i {
    color: var(--primary-dark);
    transform: scale(1.2) rotate(5deg);
}

.save-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.2);
}

.saved-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: 2px solid #059669;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.saved-btn span {
    color: #ffffff;
    font-weight: 700;
    text-transform: capitalize;
    display: inline-block;
}

.saved-btn i {
    color: #ffffff;
    animation: checkmark 0.6s ease;
    font-size: 16px;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.saved-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #047857;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.share-wrapper {
    position: relative;
}

.share-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: 2px solid #667eea;
    color: #2d3748;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 10px;
    white-space: nowrap;
}

.share-btn span {
    color: #2d3748;
    font-weight: 700;
    display: inline-block;
    font-size: 15px;
    visibility: visible !important;
    opacity: 1 !important;
}

.share-btn i {
    color: #667eea;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.share-btn:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    border-color: var(--primary-dark);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.3), 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #2d3748;
    transform: translateY(-4px) scale(1.02);
}

.share-btn:hover i {
    color: var(--primary-dark);
    transform: scale(1.2) rotate(5deg);
}

.share-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.2);
}

.share-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.share-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #d1d5db;
}

.share-wrapper:hover .share-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.share-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.share-item span {
    color: inherit;
    font-weight: 600;
    z-index: 2;
    position: relative;
}

.share-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.12), transparent);
    transition: left 0.4s ease;
    z-index: 1;
}

.share-item:hover::before {
    left: 100%;
}

.share-item:hover {
    background: #f0f4ff;
    color: #667eea;
    transform: translateX(6px);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.15);
}

.share-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #667eea;
    z-index: 2;
    position: relative;
}

.share-item:hover i {
    transform: scale(1.25) rotate(12deg);
    color: var(--primary-dark);
}

.business-info-header {
    padding: 10px 0 0 20px;
    background: linear-gradient(180deg, rgba(248, 249, 250, 0.5) 0%, transparent 100%);
}

.business-title-section {
    margin-bottom: 2rem;
}

.business-name {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.business-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-fast);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.badge-vip {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
}

.badge-verified {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.badge-views {
    background: var(--bg-gradient-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
}

/* ============================================
   Main Content Section - Light Theme
   ============================================ */
.main-content-section {
    padding: 0;
    background: #ffffff;
}

.content-card,
.sidebar-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color-light);
}

.content-card:hover,
.sidebar-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-bottom: none;
}

.card-header i {
    font-size: 24px;
    color: var(--white);
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.category-count-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-name .product-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--white);
    margin-top: 8px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 0.3px;
}

.category-name .product-count::before {
    content: "\f03a";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 11px;
}

.card-body {
    padding: 30px;
}

/* ============================================
   Gallery Grid
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

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

.gallery-overlay i {
    font-size: 48px;
    color: var(--white);
}

/* ============================================
   Gallery Empty State
   ============================================ */
.gallery-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
    text-align: center;
    gap: 1rem;
}

.gallery-empty-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--primary-color);
}

.gallery-empty h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gallery-empty p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   Gallery Lightbox
   ============================================ */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Fullscreen image wrapper */
.gallery-lightbox-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 80px 70px;
    box-sizing: border-box;
}

.gallery-lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    animation: lbZoomIn 0.3s ease-out;
    display: block;
}

@keyframes lbZoomIn {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.gallery-lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
}

/* Buttons */
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.gallery-lightbox-close {
    top: 16px;
    right: 20px;
}

.gallery-lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-close:hover {
    background: var(--danger-color);
    border-color: var(--danger-color);
    transform: rotate(90deg) scale(1.1);
}

.gallery-lightbox-prev:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* ============================================
   Category Grid
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.category-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.category-image {
    width: 100%;
    height: 100%;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
}

.category-name h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

/* ============================================
   Filter Section
   ============================================ */
.filter-section {
    background: var(--gray-50);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

.filter-item label i {
    color: var(--primary-color);
}

.form-select,
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 45px;
}

.form-select:hover {
    border-color: var(--primary-color);
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Dropdown options styling */
.form-select option {
    padding: 12px;
    font-size: 14px;
    color: var(--gray-700);
}

.form-select option:hover,
.form-select option:checked {
    background: var(--bg-gradient-light);
    color: var(--primary-color);
}

/* ============================================
   Booking Section
   ============================================ */
.booking-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-xl);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.booking-item {
    position: relative;
}

.booking-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    font-size: 14px;
}

.booking-section .form-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.booking-section .form-input:focus {
    background: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.occupancy-dropdown {
    position: relative;
    width: 100%;
}

.occupancy-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.occupancy-trigger:hover {
    background: var(--white);
}

.occupancy-trigger i {
    transition: var(--transition-fast);
}

.occupancy-menu.active ~ .occupancy-trigger i,
.occupancy-dropdown:has(.occupancy-menu.active) .occupancy-trigger i {
    transform: rotate(180deg);
}

.occupancy-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid var(--border-color);
    min-width: 340px;
}

.occupancy-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.occupancy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color-light);
}

.occupancy-row:last-of-type {
    border-bottom: none;
    margin-bottom: 18px;
}

.occupancy-row label {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-size: 15px;
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
}

.counter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.15);
    box-shadow: var(--shadow-md);
}

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

.counter-btn i {
    pointer-events: none;
}

.counter-value {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    min-width: 45px;
    text-align: center;
}

.btn-done {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-done:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-done:active {
    transform: translateY(0);
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 36px;
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    height: 54px;
    min-width: 200px;
}

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

/* ============================================
   Product Results
   ============================================ */
.product-results {
    margin-top: 30px;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.no-results i {
    font-size: 80px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.no-results h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--gray-500);
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Product Card Styles */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.product-badge .badge {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.product-content {
    padding: 20px;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.product-category i {
    color: var(--primary-color);
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    min-height: 30px;
}

.product-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 5px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color-light);
}

.price-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.price-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--danger-color);
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--success-color);
    font-size: 16px;
    width: 18px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-reserve {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-reserve:active {
    transform: translateY(0);
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar-sticky {
    position: sticky;
    top: 120px;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.btn-directions {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--border-radius-sm);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-directions:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.contact-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
}

.contact-value {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 600;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Opening Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.hours-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.day-name {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 14px;
}

.hours-time {
    font-weight: 600;
    color: var(--success-color);
    font-size: 14px;
}

.hours-status {
    font-weight: 600;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
}

.hours-status.closed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.hours-status.undefined {
    background: var(--gray-200);
    color: var(--gray-600);
}

/* Facilities List */
.facilities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.facility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    text-align: center;
    transition: var(--transition);
}

.facility-item:hover {
    background: var(--gray-100);
    transform: translateY(-5px);
}

.facility-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.facility-item span {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 13px;
}

/* Popular Ads */
.ads-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ad-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.ad-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.ad-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-details {
    flex: 1;
}

.ad-details h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-details p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-data {
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
    padding: 20px 0;
    margin: 0;
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    flex-shrink: 0;
}

.newsletter-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.newsletter-form {
    flex-shrink: 0;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 8px 8px 8px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-xl);
    min-width: 450px;
}

.newsletter-input-group i {
    color: var(--gray-400);
    font-size: 18px;
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 10px;
    font-size: 15px;
    color: var(--gray-700);
}

.newsletter-input-group input::placeholder {
    color: var(--gray-400);
}

.newsletter-input-group button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-input-group button:hover {
    transform: translateX(3px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

/* ============================================
   Filter Section - One Row Layout
   ============================================ */
.filter-section-row {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    border: 2px solid var(--border-color-light);
}

.filter-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.filter-row-item {
    position: relative;
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-icon {
    position: absolute;
    left: 16px;
    color: var(--primary-color);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.form-select-inline,
.form-input-inline {
    width: 100%;
    height: 50px;
    padding: 0 45px 0 48px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.form-select-inline {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.form-input-inline {
    cursor: text;
}

.form-select-inline:hover,
.form-input-inline:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-select-inline:focus,
.form-input-inline:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.form-select-inline option {
    padding: 12px;
    font-size: 14px;
    color: var(--text-primary);
}

.form-input-inline::placeholder {
    color: var(--text-light);
}

/* ============================================
   Available Products — Grid Cards
   ============================================ */

/* Outer grid: 3 columns desktop */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
    align-items: stretch;
}

/* List item stretches to fill its grid cell */
.product-list-item {
    display: flex;
    width: 100%;
    animation: productFadeUp 0.45s ease both;
}
.product-list-item:nth-child(1) { animation-delay: .04s; }
.product-list-item:nth-child(2) { animation-delay: .08s; }
.product-list-item:nth-child(3) { animation-delay: .12s; }
.product-list-item:nth-child(4) { animation-delay: .16s; }
.product-list-item:nth-child(5) { animation-delay: .20s; }
.product-list-item:nth-child(6) { animation-delay: .24s; }

@keyframes productFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ══ CARD SHELL — CSS Grid (image row + content row) ══ */
.product-card-modern {
    display: grid;
    grid-template-rows: 210px 1fr;   /* fixed image height, content fills rest */
    width: 100%;
    min-height: 420px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--border-color-light);
    box-shadow: 0 3px 14px rgba(0,0,0,.07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
}
.product-card-modern:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 44px rgba(102,126,234,.18);
    border-color: rgba(102,126,234,.5);
}

/* ══ TOP ROW — Image Container (fills entire grid row) ══ */
.product-image-container {
    position: relative;
    width: 100%;
    height: 100%;        /* fills the 210px grid row */
    overflow: hidden;
    background: var(--gray-100);
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card-modern:hover .product-image {
    transform: scale(1.07);
}

/* ── No-image styled placeholder ──────────────── */
.product-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-no-image::before,
.product-no-image::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
}
.product-no-image::before { width: 160px; height: 160px; top: -50px;  right: -40px; }
.product-no-image::after  { width: 120px; height: 120px; bottom: -35px; left: -25px; }

.no-image-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}
.no-image-inner i {
    font-size: 52px;
    color: rgba(255,255,255,.92);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}
.no-image-inner span {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    letter-spacing: .7px;
    text-transform: uppercase;
    background: rgba(0,0,0,.2);
    padding: 4px 14px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

/* ── Hover overlay ──────────────────────────── */
.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(102,126,234,.86) 0%,
        rgba(118,75,162,.86) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity .3s ease;
    color: var(--white);
    z-index: 6;
}
.product-card-modern:hover .image-overlay { opacity: 1; }
.image-overlay i    { font-size: 32px; }
.image-overlay span { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }

/* ── Availability badge ─────────────────────── */
.availability-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    backdrop-filter: blur(6px);
}
.availability-badge.available { background: linear-gradient(135deg,#10b981,#059669); color: var(--white); }
.availability-badge.sold-out  { background: linear-gradient(135deg,#ef4444,#dc2626); color: var(--white); }

/* ── Product type ribbon ────────────────────── */
.product-type-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 11px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.ribbon-product { background: linear-gradient(135deg,#f59e0b,#d97706); color: var(--white); }
.ribbon-service { background: linear-gradient(135deg,#3b82f6,#1d4ed8); color: var(--white); }

/* ══ BOTTOM ROW — Content fills the 1fr row ══ */
.product-details-container {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;  /* header | title | desc | info | footer */
    padding: 16px 18px 18px;
    gap: 10px;
    background: var(--white);
}

/* Category badge row */
.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: linear-gradient(135deg,rgba(102,126,234,.1),rgba(118,75,162,.1));
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid rgba(102,126,234,.22);
    text-transform: uppercase;
    letter-spacing: .4px;
}
.product-category-badge i { font-size: 10px; }

/* Title row */
.product-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.product-title a:hover { color: var(--primary-color); }

/* Description row */
.product-desc {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info pills row — auto-wraps */
.product-info-grid {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
    padding: 8px 0;
    border-top: 1px solid var(--border-color-light);
    border-bottom: 1px solid var(--border-color-light);
}
.info-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--gray-50);
    border: 1px solid var(--border-color-light);
    border-radius: 30px;
    font-size: 12px;
    white-space: nowrap;
}
.info-item i    { color: var(--primary-color); font-size: 12px; }
.info-label     { color: var(--text-muted); font-weight: 500; }
.info-value     { color: var(--text-primary); font-weight: 700; }

/* ── Footer row: price left, button right ─── */
.product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
    align-self: end;        /* stick to bottom of its grid row */
}

.price-container { display: flex; flex-direction: column; gap: 2px; }
.price-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .35px;
}
.price-amount { display: flex; align-items: baseline; gap: 3px; }
.currency { font-size: 13px; font-weight: 700; color: var(--primary-color); }
.amount {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Button */
.btn-reserve-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 3px 10px rgba(102,126,234,.35);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.btn-reserve-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    opacity: 0;
    transition: opacity .25s ease;
}
.btn-reserve-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(102,126,234,.45);
    color: var(--white);
    text-decoration: none;
}
.btn-reserve-modern:hover::after { opacity: 1; }
.btn-reserve-modern i,
.btn-reserve-modern span { position: relative; z-index: 1; }
.btn-reserve-modern i { font-size: 13px; }
.btn-reserve-modern:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(102,126,234,.3); }
.btn-reserve-modern:disabled {
    background: linear-gradient(135deg, var(--gray-400), var(--gray-500));
    box-shadow: none; cursor: not-allowed; opacity: .6;
}
.btn-reserve-modern:disabled::after { display: none; }

/* No-results placeholder */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg,rgba(102,126,234,.04),rgba(118,75,162,.04));
    border-radius: 16px;
    border: 2px dashed var(--border-color);
}
.no-results i  { font-size: 52px; color: var(--gray-300); margin-bottom: 16px; display: block; }
.no-results h4 { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.no-results p  { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
    }

    .occupancy-menu {
        left: 0;
        right: 0;
        min-width: 100%;
    }

    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content {
        flex-direction: column;
    }

    /* Product Cards — 2 columns at 1200px */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .product-card-modern { grid-template-rows: 190px 1fr; min-height: 390px; }
    .product-title        { font-size: 14px; }
    .amount               { font-size: 20px; }

    .newsletter-input-group {
        min-width: 100%;
    }
}

@media (max-width: 1024px) {
    :root {
        --base-font-size: 15px;
    }

    .business-header-section {
        padding: 20px 0 45px;
        background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    }

    /* Hero Section */
    .hero-image-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .floating-actions-top {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .cover-photo-container {
        height: 350px;
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .profile-photo {
        width: 145px;
        height: 145px;
        border: 5px solid #ffffff;
    }

    .profile-photo-container {
        bottom: -72px;
        left: 30px;
    }

    .business-name {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
        font-weight: 700;
    }

    .business-header-actions {
        position: absolute;
        top: 18px;
        right: 18px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
        z-index: 15;
    }

    .action-btn {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: var(--radius-sm);
        gap: 7px;
    }

    .action-btn span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-weight: 700;
    }

    .action-btn-save {
        padding: 5px 10px;
        font-size: 13px;
        border-radius: 24px;
        min-height: 10px;
        height: auto;
        width: auto;
        gap: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid rgba(102, 126, 234, 0.4);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        color: #2d3748;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: visible;
        flex-shrink: 0;
        font-weight: 700;
    }

    .action-btn-save span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 13px;
        color: #2d3748;
        font-weight: 700;
    }

    .action-btn-save i {
        font-size: 16px;
        color: var(--primary-color);
        display: inline-flex;
        align-items: center;
    }

    .business-badges {
        gap: 10px;
        flex-wrap: wrap;
    }

    .badge {
        padding: 9px 18px;
        font-size: 13px;
    }

    /* Filter Section */
    .filter-section {
        padding: 20px;
        margin-bottom: 25px;
    }

    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Booking Section */
    .booking-section {
        padding: 25px;
        margin-bottom: 25px;
    }

    .booking-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        align-items: end;
    }

    .btn-search {
        grid-column: 1 / -1;
        min-width: 100%;
        padding: 0 30px;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .product-card {
        border-radius: var(--radius);
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-content {
        padding: 18px;
    }

    /* Gallery & Category */
    .gallery-grid,
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .gallery-item,
    .category-item {
        height: 220px;
    }

    /* Facilities */
    .facilities-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* Map */
    .map-container {
        height: 350px;
        border-radius: var(--radius-lg);
    }

    /* Content Cards */
    .content-card,
    .sidebar-card {
        margin-bottom: 1.75rem;
        border-radius: var(--radius);
    }

    .card-header {
        padding: 22px 25px;
    }

    .card-header h3 {
        font-size: 19px;
    }

    .card-body {
        padding: 25px;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 50px 0;
    }

    .newsletter-container {
        padding: 30px;
    }

    .newsletter-text h2 {
        font-size: 28px;
    }

    .newsletter-text p {
        font-size: 15px;
    }

    .newsletter-input-group {
        flex-direction: row;
        padding: 8px;
        border-radius: var(--radius);
        gap: 10px;
    }

    .newsletter-input-group button {
        padding: 12px 30px;
        white-space: nowrap;
    }

    /* Sidebar */
    .sidebar-sticky {
        position: sticky;
        top: 20px;
    }
}

/* Tablet - iPad Mini (768px) */
@media (max-width: 768px) {
    :root {
        --base-font-size: 14px;
    }

    body {
        font-size: 14px;
    }

    .business-header-section {
        padding: 20px 0 30px;
    }

    .cover-photo-container {
        height: 280px;
        border-radius: var(--radius);
    }

    .profile-photo {
        width: 120px;
        height: 120px;
        border: 4px solid #ffffff;
    }

    .profile-photo-container {
        bottom: -60px;
        left: 25px;
    }

    .business-banner-wrapper {
        margin-bottom: 70px;
    }

    .business-info-header {
        padding: 10px 15px 0;
    }

    .business-name {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .business-badges {
        gap: 8px;
        justify-content: flex-start;
    }

    .badge {
        padding: 8px 14px;
        font-size: 12px;
    }

    .business-header-actions {
        position: absolute;
        top: 15px;
        right: 15px;
        display: flex;
        flex-direction: row;
        gap: 8px;
        z-index: 10;
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 100%;
    }

    .business-title-section{
        margin-bottom: 0.2rem;
    }

    .action-btn {
        padding: 10px 16px;
        font-size: 12px;
        gap: 6px;
        flex-shrink: 0;
        min-width: auto;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .action-btn span {
        display: inline;
        visibility: visible;
        opacity: 1;
    }

    .action-btn-save {
        padding: 11px 18px;
        font-size: 12px;
        border-radius: 24px;
        min-height: 44px;
        height: auto;
        width: auto;
        gap: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid rgba(102, 126, 234, 0.4);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        color: #2d3748;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: visible;
        flex-shrink: 0;
        font-weight: 700;
    }

    .action-btn-save span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 12px;
        color: #2d3748;
        font-weight: 700;
    }

    .action-btn-save i {
        font-size: 15px;
        color: var(--primary-color);
        display: inline-flex;
        align-items: center;
    }

    .action-btn i {
        font-size: 13px;
    }

    .share-dropdown {
        min-width: 200px;
    }

    .share-item {
        padding: 10px 12px;
        gap: 10px;
        font-size: 12px;
    }

    .share-item i {
        font-size: 16px;
    }

    .verified-badge {
        width: 35px;
        height: 35px;
        bottom: 8px;
        right: 8px;
    }

    .verified-badge i {
        font-size: 18px;
    }

    /* Filter Section */
    .filter-section {
        padding: 18px;
        margin-bottom: 20px;
        border-radius: var(--radius);
    }

    .filter-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .filter-item label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-select,
    .form-input {
        padding: 11px 14px;
        font-size: 13px;
        border-radius: var(--radius-sm);
    }

    /* Booking Section */
    .booking-section {
        padding: 18px;
        margin-bottom: 20px;
        border-radius: var(--radius);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .booking-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: stretch;
    }

    .booking-item label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .booking-section .form-input {
        height: 48px;
        padding: 0 14px;
        font-size: 13px;
    }

    .occupancy-trigger {
        height: 48px;
        padding: 0 14px;
        font-size: 13px;
    }

    .occupancy-menu {
        min-width: 100%;
        padding: 20px;
    }

    .btn-search {
        width: 100%;
        padding: 0 24px;
        height: 48px;
        font-size: 13px;
        min-width: 100%;
    }

    /* Products Grid — 2 columns at 768px */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-top: 16px;
    }
    .product-card-modern  { grid-template-rows: 175px 1fr; min-height: 370px; }
    .product-title        { font-size: 14px; }
    .amount               { font-size: 19px; }

    .product-price {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .price-value {
        font-size: 22px;
    }

    .product-details {
        gap: 8px;
        margin-bottom: 16px;
    }

    .detail-item {
        font-size: 13px;
    }

    .product-actions {
        gap: 8px;
    }

    .btn-reserve {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Gallery & Category */
    .gallery-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        height: 180px;
    }

    .category-item {
        height: 200px;
    }

    .category-name {
        padding: 16px;
    }

    .category-name h4 {
        font-size: 16px;
    }

    /* Facilities */
    .facilities-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .facility-item {
        padding: 12px;
    }

    .facility-item i {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .facility-item p {
        font-size: 13px;
    }

    /* Map */
    .map-container {
        height: 280px;
        border-radius: var(--radius);
    }

    /* Content Cards */
    .content-card,
    .sidebar-card {
        margin-bottom: 1.5rem;
        border-radius: var(--radius);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .card-header {
        padding: 18px 20px;
    }

    .card-header i {
        font-size: 20px;
    }

    .card-header h3 {
        font-size: 17px;
    }

    .card-body {
        padding: 20px;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 45px 0;
    }

    .newsletter-container {
        padding: 25px 20px;
        border-radius: var(--radius-lg);
        flex-direction: column;
        text-align: center;
    }

    .newsletter-text h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .newsletter-text p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .newsletter-input-group {
        flex-direction: column;
        padding: 12px;
        border-radius: var(--radius);
        gap: 10px;
        min-width: 100%;
    }

    .newsletter-input-group input {
        padding: 11px 14px;
        font-size: 13px;
        border-radius: var(--radius-sm);
    }

    .newsletter-input-group button {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
        justify-content: center;
    }

    /* Main Content */
    .main-content-section {
        padding: 0.5rem 0;
    }

    /* Sidebar */
    .sidebar-sticky {
        position: relative;
        top: 0;
    }

    .sidebar-card {
        margin-bottom: 1.5rem;
    }
}

/* Mobile - Standard Phone (425px) */
@media (max-width: 425px) {
    :root {
        --base-font-size: 13px;
    }

    body {
        font-size: 13px;
    }

    * {
        box-sizing: border-box;
    }

    .business-header-section {
        padding: 60px 0 10px;
        background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    }

    /* Hero Section Fixes */
    .hero-image-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .floating-actions-top {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute;
        top: 15px;
        right: 15px;
        gap: 8px;
        z-index: 20;
    }

    .luxury-hero-section::before,
    .luxury-hero-section::after {
        display: none !important;
    }

    .cover-photo-container {
        height: 220px;
        border-radius: var(--radius-sm);
        margin-bottom: 8px;
        overflow: hidden;
        position: relative;
    }

    .profile-photo {
        width: 85px;
        height: 85px;
        border: 5px solid #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }

    .profile-photo-container {
        position: static;
        transform: none;
        margin: -42px auto 0;
        z-index: 10;
        display: flex;
        justify-content: center;
    }

    .business-banner-wrapper {
        margin-bottom: 35px;
    }

    .business-info-header {
        padding: 5px 12px 15px;
        text-align: center;
    }

    .business-name {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        word-break: break-word;
        font-weight: 700;
    }

    .business-badges {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .badge {
        padding: 6px 10px;
        font-size: 10px;
        width: auto;
        border-radius: var(--radius-full);
        white-space: nowrap;
    }

    .business-header-actions {
        position: absolute;
        top: 12px;
        right: 12px;
        display: flex;
        flex-direction: row;
        gap: 8px;
        z-index: 20;
        flex-wrap: wrap;
        justify-content: flex-end;
        padding: 5px 10px;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .action-btn-save {
        padding: 5px 10px;
        font-size: 11px;
        border-radius: 24px;
        min-height: 10px;
        height: auto;
        width: auto;
        gap: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid rgba(102, 126, 234, 0.4);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        color: #2d3748;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: visible;
        flex-shrink: 0;
        font-weight: 700;
    }

    .action-btn-save span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 13px;
        color: #2d3748;
        font-weight: 700;
    }

    .action-btn-save i {
        font-size: 16px;
        color: var(--primary-color);
        display: inline-flex;
        align-items: center;
    }

    .action-btn {
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 24px;
        justify-content: center;
        align-items: center;
        min-width: auto;
        width: auto;
        flex-shrink: 0;
        gap: 8px;
        height: auto;
        min-height: 46px;
        display: inline-flex;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid rgba(102, 126, 234, 0.4);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
        cursor: pointer;
        color: #2d3748;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        font-weight: 700;
    }

    .action-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .action-btn:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
        background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
        border-color: var(--primary-color);
    }

    .action-btn:hover::before {
        left: 100%;
    }

    .action-btn span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 13px;
        color: #2d3748;
        font-weight: 700;
    }

    .action-btn i {
        font-size: 16px;
        color: var(--primary-color);
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
    }


    .share-dropdown {
        min-width: 160px;
        top: calc(100% + 6px);
        right: 0;
        z-index: 1000;
    }

    .share-item {
        padding: 9px 10px;
        gap: 8px;
        font-size: 12px;
    }

    .verified-badge {
        width: 20px;
        height: 20px;
        bottom: 65px;
        right: 155px;
        border: 3px solid #ffffff;
        z-index: 1000;
    }

    .verified-badge i {
        font-size: 16px;
    }

    /* Filter Section */
    .filter-section {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: var(--radius-sm);
        background: var(--bg-secondary);
    }

    .filter-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .filter-item {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .filter-item label {
        font-size: 11px;
        margin-bottom: 4px;
        font-weight: 600;
        color: var(--text-primary);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .form-select,
    .form-input {
        padding: 9px 10px;
        font-size: 12px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-color);
        background: #ffffff;
        height: 40px;
    }

    .form-select {
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 18px;
        padding-right: 30px;
    }

    /* Booking Section */
    .booking-section {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: var(--radius-sm);
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    }

    .booking-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: stretch;
    }

    .booking-item {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .booking-item label {
        font-size: 11px;
        margin-bottom: 4px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.98);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .booking-section .form-input {
        height: 40px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.95);
    }

    .occupancy-trigger {
        height: 40px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.95);
        color: var(--text-primary);
        cursor: pointer;
    }

    .occupancy-menu {
        min-width: 100%;
        padding: 12px;
        top: 100%;
        background: #ffffff;
        border-radius: var(--radius-sm);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .occupancy-row {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color-light);
    }

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

    .occupancy-row label {
        font-size: 12px;
        font-weight: 500;
    }

    .counter-controls {
        gap: 14px;
        margin-top: 8px;
    }

    .counter-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: var(--radius-sm);
        font-weight: 600;
    }

    .counter-value {
        font-size: 16px;
        font-weight: 600;
    }

    .btn-done {
        padding: 10px 12px;
        font-size: 11px;
        border-radius: var(--radius-sm);
        font-weight: 600;
    }

    .btn-search {
        width: 100%;
        padding: 0 16px;
        height: 40px;
        font-size: 12px;
        border-radius: var(--radius-sm);
        min-width: 100%;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .btn-search:active {
        transform: scale(0.98);
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 12px;
    }

    .product-card {
        margin-bottom: 0;
        border-radius: var(--radius-sm);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    .product-card:active {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

    .product-image-container{
        width: 100%;
    }

    .product-image-wrapper {
        height: 150px;
        position: relative;
        overflow: hidden;
        background: #f5f5f5;
    }

    .product-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-image-overlay {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .product-content {
        padding: 11px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .product-category {
        font-size: 10px;
        margin-bottom: 6px;
        color: var(--primary-color);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .product-title {
        font-size: 13px;
        min-height: 26px;
        font-weight: 600;
        color: var(--text-primary);
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .product-price {
        margin-bottom: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--border-color-light);
    }

    .price-label {
        font-size: 11px;
        color: var(--text-muted);
        display: block;
        margin-bottom: 3px;
    }

    .price-value {
        font-size: 18px;
        font-weight: 700;
        color: var(--primary-color);
        line-height: 1;
    }

    .product-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin-bottom: 10px;
        flex-grow: 1;
    }

    .detail-item {
        font-size: 11px;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .detail-item i {
        font-size: 12px;
        color: var(--primary-color);
        min-width: 14px;
    }

    .product-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .btn-reserve {
        width: 100%;
        padding: 10px 12px;
        font-size: 11px;
        border-radius: var(--radius-sm);
        gap: 6px;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .btn-reserve:active {
        transform: scale(0.98);
    }

    /* Gallery & Category */
    .gallery-grid,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-item {
        height: 140px;
        border-radius: var(--radius-sm);
    }

    .category-item {
        height: 160px;
        border-radius: var(--radius-sm);
    }

    .gallery-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.4);
    }

    .gallery-overlay i,
    .category-name h4 {
        font-size: 16px;
    }

    .category-name {
        padding: 11px;
        background: rgba(0, 0, 0, 0.6);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .category-name h4 {
        font-size: 13px;
        color: #ffffff;
        margin: 0;
    }

    /* Facilities */
    .facilities-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .facility-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
        background: var(--bg-gradient-light);
        border-radius: var(--radius-sm);
        border-left: 4px solid var(--primary-color);
    }

    .facility-item i {
        font-size: 18px;
        margin-bottom: 0;
        color: var(--primary-color);
        min-width: 18px;
        margin-top: 2px;
    }

    .facility-item p {
        font-size: 12px;
        margin: 0;
        color: var(--text-primary);
        line-height: 1.4;
    }

    /* Map */
    .map-container {
        height: 220px;
        border-radius: var(--radius-sm);
    }

    /* Content Cards */
    .content-card,
    .sidebar-card {
        margin-bottom: 12px;
        border-radius: var(--radius-sm);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    .card-header {
        padding: 14px;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .card-header i {
        font-size: 16px;
        color: #ffffff;
    }

    .card-header h3 {
        font-size: 14px;
        color: #ffffff;
        margin: 0;
        font-weight: 600;
    }

    .card-body {
        padding: 14px;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 30px 0;
    }

    .newsletter-container {
        padding: 18px 12px;
        border-radius: var(--radius);
        flex-direction: column;
        text-align: center;
        background: var(--bg-gradient-light);
        border: 2px solid var(--primary-light);
    }

    .newsletter-text h2 {
        font-size: 18px;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .newsletter-text p {
        font-size: 12px;
        margin-bottom: 12px;
        color: var(--text-secondary);
    }

    .newsletter-input-group {
        flex-direction: column;
        padding: 8px;
        border-radius: var(--radius-sm);
        gap: 8px;
        min-width: 100%;
    }

    .newsletter-input-group input {
        padding: 10px 10px;
        font-size: 12px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-color);
        height: 40px;
    }

    .newsletter-input-group button {
        width: 100%;
        padding: 10px 12px;
        font-size: 12px;
        justify-content: center;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .newsletter-input-group button:active {
        transform: scale(0.98);
    }

    /* Main Content */
    .main-content-section {
        padding: 1rem 0;
    }

    /* Sidebar */
    .sidebar-sticky {
        position: relative;
        top: 0;
    }

    .sidebar-card {
        margin-bottom: 12px;
    }

    /* Product Cards — 1 column on mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .product-list-item { margin-bottom: 0; }
    .product-card-modern {
        grid-template-rows: 195px 1fr;
        min-height: 380px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,.07);
    }
    .product-details-container { padding: 14px 14px 16px; gap: 8px; }
    .product-category-badge    { font-size: 10px; padding: 3px 9px; }
    .product-title             { font-size: 14px; }
    .info-item                 { font-size: 11px; padding: 3px 8px; }
    .product-footer            { gap: 8px; }
    .amount                    { font-size: 18px; }
    .btn-reserve-modern        { padding: 9px 14px; font-size: 12px; }

    /* No Results */
    .no-results    { padding: 40px 12px; }
    .no-results i  { font-size: 44px; }
    .no-results h4 { font-size: 17px; }
    .no-results p  { font-size: 13px; }

    /* Filter Row */
    .filter-row-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Mobile - Small Phone (320px) */
@media (max-width: 320px) {
    :root {
        --base-font-size: 12px;
    }

    body {
        font-size: 12px;
    }

    .business-header-section {
        padding: 55px 0 8px;
        background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    }

    /* Hero Section Fixes */
    .hero-image-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .floating-actions-top {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute;
        top: 10px;
        right: 10px;
        gap: 4px;
        z-index: 20;
    }

    .luxury-hero-section::before,
    .luxury-hero-section::after {
        display: none !important;
    }

    .cover-photo-container {
        height: 180px;
        border-radius: var(--radius-sm);
        margin-bottom: 6px;
        position: relative;
    }

    .profile-photo {
        width: 72px;
        height: 72px;
        border: 4px solid #ffffff;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    }

    .profile-photo-container {
        position: static;
        transform: none;
        margin: -38px auto 0;
        z-index: 10;
        display: flex;
        justify-content: center;
    }

    .business-banner-wrapper {
        margin-bottom: 30px;
    }

    .business-info-header {
        padding: 42px 10px 12px;
        text-align: center;
    }

    .business-name {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
        font-weight: 700;
    }

    .business-badges {
        flex-direction: row;
        gap: 4px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .badge {
        padding: 5px 9px;
        font-size: 9px;
        white-space: nowrap;
        border-radius: var(--radius-full);
    }

    .business-header-actions {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        flex-direction: row;
        gap: 5px;
        z-index: 20;
        flex-wrap: wrap;
        justify-content: flex-end;
        background: rgba(255, 255, 255, 0.85);
        padding: 5px 6px;
        border-radius: 6px;
        backdrop-filter: blur(10px);
    }

    .action-btn {
        padding: 7px 10px;
        font-size: 10px;
        border-radius: 5px;
        justify-content: center;
        align-items: center;
        min-width: auto;
        flex-shrink: 0;
        gap: 3px;
        height: 28px;
        width: 28px;
        display: flex;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        color: var(--text-primary);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .action-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        background: rgba(255, 255, 255, 0.98);
        border-color: var(--primary-color);
    }

    .action-btn:hover::before {
        left: 100%;
    }

    .action-btn span {
        display: none;
    }

    .action-btn i {
        font-size: 12px;
    }

    .share-dropdown {
        min-width: 150px;
        top: calc(100% + 4px);
        right: 0;
        z-index: 1000;
        font-size: 11px;
    }

    .share-item {
        padding: 8px 9px;
        gap: 7px;
        font-size: 11px;
    }

    .verified-badge {
        width: 28px;
        height: 28px;
        bottom: 6px;
        right: 6px;
        border: 2px solid #ffffff;
    }

    .verified-badge i {
        font-size: 14px;
    }

    /* Filter Section */
    .filter-section {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 6px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .filter-item label {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .form-select,
    .form-input {
        padding: 9px 10px;
        font-size: 11px;
        border-radius: 6px;
    }

    /* Booking Section */
    .booking-section {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 6px;
    }

    .booking-grid {
        gap: 10px;
    }

    .booking-item label {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .booking-section .form-input {
        height: 40px;
        padding: 0 10px;
        font-size: 11px;
        border-radius: 6px;
    }

    .occupancy-trigger {
        height: 40px;
        padding: 0 10px;
        font-size: 11px;
        border-radius: 6px;
    }

    .occupancy-menu {
        padding: 12px;
    }

    .btn-search {
        height: 40px;
        padding: 0 16px;
        font-size: 11px;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-image-wrapper {
        height: 140px;
    }

    .product-content {
        padding: 10px;
    }

    .product-category {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .product-title {
        font-size: 13px;
    }

    .price-value {
        font-size: 18px;
    }

    .detail-item {
        font-size: 11px;
    }

    .btn-reserve {
        padding: 10px 12px;
        font-size: 11px;
    }

    /* Gallery & Category */
    .gallery-grid,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gallery-item {
        height: 130px;
    }

    .category-item {
        height: 150px;
    }

    /* Facilities */
    .facilities-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .facility-item {
        padding: 8px;
    }

    .facility-item i {
        font-size: 18px;
    }

    .facility-item p {
        font-size: 11px;
    }

    /* Map */
    .map-container {
        height: 200px;
    }

    /* Content Cards */
    .content-card,
    .sidebar-card {
        margin-bottom: 1rem;
        border-radius: 6px;
    }

    .card-header {
        padding: 14px;
    }

    .card-header i {
        font-size: 16px;
    }

    .card-header h3 {
        font-size: 15px;
    }

    .card-body {
        padding: 14px;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 30px 0;
    }

    .newsletter-container {
        padding: 16px 12px;
        border-radius: var(--radius-sm);
    }

    .newsletter-text h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .newsletter-text p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .newsletter-input-group {
        padding: 8px;
        gap: 6px;
    }

    .newsletter-input-group input {
        padding: 9px 10px;
        font-size: 11px;
    }

    .newsletter-input-group button {
        padding: 10px 12px;
        font-size: 11px;
    }

    /* Typography */
    h1, .h1 { font-size: 1.4rem; }
    h2, .h2 { font-size: 1.2rem; }
    h3, .h3 { font-size: 1rem; }
    h4, .h4 { font-size: 0.9rem; }
    h5, .h5 { font-size: 0.85rem; }
    h6, .h6 { font-size: 0.8rem; }

    /* Margins & Padding */
    .main-content-section {
        padding: 1.25rem 0;
    }

    p {
        margin-bottom: 0.75rem;
    }
}

/* Ultra-Small Devices Support (< 480px) - Hide button text */
@media (max-width: 479px) {
    .action-btn span {
        display: none;
    }

    .action-btn {
        padding: 10px 12px;
        gap: 4px;
    }

    .business-header-actions {
        gap: 6px;
    }

    .share-dropdown {
        min-width: 160px;
        right: -50%;
    }
}

/* Ultra-Small Devices Support (< 300px) */
@media (max-width: 300px) {
    .business-name {
        font-size: 1.3rem;
    }

    .cover-photo-container {
        height: 160px;
    }

    .profile-photo {
        width: 75px;
        height: 75px;
    }

    .products-grid,
    .gallery-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .action-btn {
        padding: 8px 10px;
        font-size: 10px;
    }
}

/* ============================================
   Customer Review Slider – Next Level UI
   ============================================ */

/* Card wrapper */
.review-slider-card .card-header {
    position: relative;
    overflow: visible;
}

.reviews-count-badge {
    margin-left: auto;
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    white-space: nowrap;
}

.reviews-body {
    padding: 30px;
}

/* ---- Empty state ---- */
.reviews-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.reviews-empty-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(102,126,234,0.12) 0%, rgba(118,75,162,0.12) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px dashed rgba(102,126,234,0.3);
}

.reviews-empty-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.reviews-empty-state h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.reviews-empty-state p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* ---- Rating Overview ---- */
.review-overview-wrapper {
    display: flex;
    align-items: stretch;
    gap: 30px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(102,126,234,0.12);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* Score circle */
.review-score-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    flex-shrink: 0;
}

.review-score-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(102,126,234,0.35), 0 0 0 4px rgba(102,126,234,0.1);
    margin-bottom: 14px;
    position: relative;
    animation: scoreFloat 4s ease-in-out infinite;
}

@keyframes scoreFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

.score-number {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.score-out {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    margin-top: 2px;
}

.review-stars-row {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.review-star {
    font-size: 18px;
    color: var(--gray-300);
}

.review-star.filled {
    color: #f59e0b;
    filter: drop-shadow(0 0 3px rgba(245,158,11,0.4));
}

.review-based-on {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    text-align: center;
}

/* Rating bars */
.review-bars-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-bar-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 36px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-bar-label i {
    color: #f59e0b;
    font-size: 11px;
}

.review-bar-track {
    flex: 1;
    height: 8px;
    background: var(--gray-100);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.review-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.review-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 6px rgba(118,75,162,0.5);
}

.review-bar-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 20px;
    text-align: right;
}

/* ---- Slider section ---- */
.review-slider-wrapper {
    position: relative;
}

.review-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.review-slider-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    padding-left: 14px;
}

.review-slider-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Nav buttons */
.review-slider-nav {
    display: flex;
    gap: 10px;
}

.review-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.review-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--secondary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102,126,234,0.35);
}

.review-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

/* Viewport & track */
.review-slider-viewport {
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
}

.review-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Individual review card */
.review-slide-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.review-slide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.review-slide-card:hover {
    box-shadow: 0 12px 40px rgba(102,126,234,0.15);
    transform: translateY(-4px);
}

.review-slide-card:hover::before {
    opacity: 1;
}

/* Card top row */
.review-card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.review-card-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.review-card-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(102,126,234,0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-rating-dot {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1;
}

.review-dot-5 { background: #10b981; }
.review-dot-4 { background: #3b82f6; }
.review-dot-3 { background: #f59e0b; }
.review-dot-2 { background: #f97316; }
.review-dot-1 { background: #ef4444; }

.review-card-meta {
    flex: 1;
}

.review-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 3px;
}

.rc-star {
    font-size: 12px;
    color: var(--gray-300);
}

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

.review-card-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(102,126,234,0.08);
    padding: 2px 10px;
    border-radius: 50px;
    display: inline-block;
}

.review-card-date-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.review-card-date-block i {
    color: var(--primary-color);
    font-size: 12px;
}

/* Comment */
.review-card-comment {
    position: relative;
    padding: 14px 16px 14px 36px;
    background: linear-gradient(135deg, rgba(102,126,234,0.04) 0%, rgba(118,75,162,0.04) 100%);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary-color);
}

.review-quote-icon {
    position: absolute;
    left: 12px;
    top: 14px;
    font-size: 14px;
    color: var(--primary-color);
    opacity: 0.5;
}

.review-card-comment p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Photos strip */
.review-card-photos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.review-card-photo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid var(--border-color-light);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card-photo:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.review-photos-more {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Product tag */
.review-card-product {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(102,126,234,0.08);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(102,126,234,0.15);
    align-self: flex-start;
}

.review-card-product i {
    font-size: 12px;
}

/* Dots */
.review-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--gray-300);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.review-dot.active {
    width: 28px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 8px rgba(102,126,234,0.4);
}

/* ============================================================
   Review Slider – Full Responsive
   Targets: 1024 | 768 | 425 | 375 | 320 px
   ============================================================ */

/* ── 1024 px  (tablet landscape / small laptop) ──────────── */
@media (max-width: 1024px) {
    .review-overview-wrapper {
        gap: 22px;
        padding: 20px 22px;
    }

    .review-score-circle {
        width: 100px;
        height: 100px;
    }

    .score-number {
        font-size: 30px;
    }

    .review-slide-card {
        padding: 20px;
    }

    .review-slider-title {
        font-size: 15px;
    }

    .review-card-name {
        font-size: 14px;
    }

    .review-card-comment p {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }
}

/* ── 768 px  (tablet portrait / iPad mini) ───────────────── */
@media (max-width: 768px) {
    /* Overview: stack vertically, center-aligned */
    .review-overview-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 16px;
        text-align: center;
    }

    .review-score-block {
        min-width: unset;
        width: 100%;
        align-items: center;
    }

    .review-score-circle {
        width: 96px;
        height: 96px;
        margin-bottom: 12px;
    }

    .score-number {
        font-size: 29px;
    }

    .review-stars-row {
        justify-content: center;
    }

    .review-based-on {
        font-size: 12px;
    }

    .review-bars-block {
        width: 100%;
        max-width: 380px;
    }

    /* Slider header */
    .review-slider-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .review-slider-title {
        font-size: 15px;
    }

    /* Nav buttons */
    .review-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    /* Cards */
    .review-slide-card {
        padding: 18px;
    }

    .review-card-avatar {
        width: 46px;
        height: 46px;
    }

    .review-rating-dot {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .review-card-name {
        font-size: 14px;
    }

    .review-card-comment {
        padding: 12px 14px 12px 32px;
    }

    .review-card-comment p {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }

    .reviews-body {
        padding: 20px 16px;
    }

    /* Dots */
    .review-slider-dots {
        margin-top: 18px;
    }
}

/* ── 425 px  (large mobile) ──────────────────────────────── */
@media (max-width: 425px) {
    .review-overview-wrapper {
        padding: 16px 14px;
        gap: 16px;
        border-radius: 12px;
    }

    .review-score-circle {
        width: 88px;
        height: 88px;
    }

    .score-number {
        font-size: 26px;
    }

    .score-out {
        font-size: 10px;
    }

    .review-star {
        font-size: 15px;
    }

    .review-based-on {
        font-size: 11px;
    }

    .review-bar-row {
        gap: 8px;
    }

    .review-bar-label {
        font-size: 11px;
        min-width: 28px;
    }

    .review-bar-track {
        height: 7px;
    }

    .review-bar-count {
        font-size: 11px;
        min-width: 16px;
    }

    /* Slider header */
    .review-slider-title {
        font-size: 14px;
        padding-left: 12px;
    }

    .review-slider-title::before {
        width: 3px;
        height: 16px;
    }

    .review-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    /* Card layout – keep row but compact */
    .review-slide-card {
        padding: 16px;
        gap: 12px;
        border-radius: 14px;
    }

    .review-card-top {
        gap: 10px;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .review-card-avatar {
        width: 42px;
        height: 42px;
    }

    .review-rating-dot {
        width: 18px;
        height: 18px;
        font-size: 9px;
        border-width: 2px;
    }

    .review-card-name {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .rc-star {
        font-size: 11px;
    }

    .review-card-label {
        font-size: 10px;
        padding: 1px 8px;
    }

    .review-card-date-block {
        font-size: 10px;
        flex-shrink: 0;
    }

    .review-card-date-block i {
        font-size: 10px;
    }

    .review-card-comment {
        padding: 10px 12px 10px 28px;
        border-radius: 10px;
    }

    .review-quote-icon {
        font-size: 12px;
        left: 10px;
        top: 10px;
    }

    .review-card-comment p {
        font-size: 12px;
        line-height: 1.55;
        -webkit-line-clamp: 4;
    }

    .review-card-product {
        font-size: 11px;
        padding: 5px 11px;
    }

    .review-card-product i {
        font-size: 10px;
    }

    .review-card-photos .review-card-photo,
    .review-card-photos .review-photos-more {
        width: 52px;
        height: 52px;
    }

    .reviews-body {
        padding: 16px 12px;
    }

    .reviews-count-badge {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* ── 375 px  (iPhone SE / standard Android) ─────────────── */
@media (max-width: 375px) {
    .review-overview-wrapper {
        padding: 14px 12px;
        gap: 14px;
    }

    .review-score-circle {
        width: 82px;
        height: 82px;
    }

    .score-number {
        font-size: 24px;
    }

    .review-star {
        font-size: 14px;
        gap: 2px;
    }

    .review-stars-row {
        gap: 3px;
    }

    /* Card compact */
    .review-slide-card {
        padding: 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .review-card-top {
        gap: 8px;
    }

    .review-card-avatar {
        width: 38px;
        height: 38px;
        border-width: 2px;
    }

    .review-rating-dot {
        width: 16px;
        height: 16px;
        font-size: 8px;
        bottom: -2px;
        right: -2px;
    }

    .review-card-name {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .rc-star {
        font-size: 10px;
    }

    .review-card-label {
        font-size: 9px;
        padding: 1px 7px;
    }

    /* Date: hide text on very small screens, keep icon */
    .review-card-date-block span {
        display: none;
    }

    .review-card-date-block i {
        font-size: 14px;
    }

    .review-card-date-block {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .review-card-comment {
        padding: 9px 11px 9px 26px;
    }

    .review-quote-icon {
        font-size: 11px;
        left: 9px;
        top: 9px;
    }

    .review-card-comment p {
        font-size: 11px;
        -webkit-line-clamp: 3;
    }

    .review-card-product {
        font-size: 10px;
        padding: 4px 9px;
        gap: 5px;
    }

    .review-bar-label {
        font-size: 10px;
        min-width: 24px;
    }

    .reviews-body {
        padding: 14px 10px;
    }

    /* Nav */
    .review-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
        border-width: 1.5px;
    }

    .review-slider-title {
        font-size: 13px;
    }

    /* Dots */
    .review-dot {
        width: 7px;
        height: 7px;
    }

    .review-dot.active {
        width: 22px;
    }
}

/* ── 320 px  (smallest screens) ─────────────────────────── */
@media (max-width: 320px) {
    .review-overview-wrapper {
        padding: 12px 10px;
        gap: 12px;
        border-radius: 10px;
    }

    .review-score-circle {
        width: 76px;
        height: 76px;
        box-shadow: 0 4px 16px rgba(102,126,234,0.3);
    }

    .score-number {
        font-size: 22px;
    }

    .score-out {
        font-size: 9px;
    }

    .review-star {
        font-size: 13px;
    }

    .review-based-on {
        font-size: 10px;
    }

    /* Bars – ultra compact */
    .review-bar-row {
        gap: 6px;
    }

    .review-bar-label {
        min-width: 22px;
        font-size: 9px;
    }

    .review-bar-track {
        height: 6px;
    }

    .review-bar-count {
        font-size: 9px;
        min-width: 14px;
    }

    /* Slider */
    .review-slider-header {
        gap: 8px;
    }

    .review-slider-title {
        font-size: 12px;
        padding-left: 10px;
    }

    .review-slider-title::before {
        width: 3px;
        height: 14px;
    }

    .review-nav-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
        border-width: 1.5px;
    }

    /* Card ultra compact */
    .review-slide-card {
        padding: 12px;
        gap: 8px;
        border-radius: 10px;
    }

    .review-card-top {
        gap: 7px;
    }

    .review-card-avatar {
        width: 34px;
        height: 34px;
        border-width: 2px;
    }

    .review-rating-dot {
        width: 14px;
        height: 14px;
        font-size: 7px;
        bottom: -1px;
        right: -1px;
        border-width: 1.5px;
    }

    .review-card-name {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .rc-star {
        font-size: 9px;
    }

    .review-card-label {
        font-size: 8px;
        padding: 1px 6px;
        border-radius: 50px;
    }

    .review-card-comment {
        padding: 8px 10px 8px 22px;
        border-radius: 8px;
        border-left-width: 2px;
    }

    .review-quote-icon {
        font-size: 10px;
        left: 7px;
        top: 8px;
    }

    .review-card-comment p {
        font-size: 10px;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }

    .review-card-product {
        font-size: 9px;
        padding: 3px 8px;
        gap: 4px;
        border-radius: 50px;
    }

    .review-card-photos .review-card-photo,
    .review-card-photos .review-photos-more {
        width: 44px;
        height: 44px;
        border-radius: 6px;
    }

    .reviews-body {
        padding: 12px 10px;
    }

    .reviews-count-badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    /* Empty state */
    .reviews-empty-state {
        padding: 30px 10px;
    }

    .reviews-empty-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }

    .reviews-empty-icon i {
        font-size: 28px;
    }

    .reviews-empty-state h4 {
        font-size: 15px;
    }

    .reviews-empty-state p {
        font-size: 11px;
    }

    /* Dots */
    .review-dot {
        width: 6px;
        height: 6px;
    }

    .review-dot.active {
        width: 18px;
    }

    .review-slider-dots {
        gap: 6px;
        margin-top: 14px;
    }
}

/* ============================================
   Button Animations & Enhancements
   ============================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes buttonBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.action-btn:active {
    animation: buttonBounce 0.3s ease;
}

.share-dropdown {
    animation: slideDown 0.2s ease;
}

.share-dropdown.active {
    animation: slideDown 0.2s ease forwards;
}

/* Disabled Button State */
.action-btn:disabled,
.action-btn[disabled] {
    pointer-events: none;
    opacity: 0.6;
}

/* Loading State */
.action-btn.loading {
    pointer-events: none;
}

.action-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Extra Small Devices (< 576px)
   ============================================ */
@media (max-width: 575px) {
    .business-header-actions {
        gap: 4px;
    }

    .action-btn {
        padding: 8px 10px;
        font-size: 11px;
        border-radius: 20px;
    }

    .action-btn i {
        font-size: 12px;
    }

    .share-dropdown {
        min-width: 150px;
        left: -50%;
    }

    .share-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .share-item i {
        font-size: 16px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .action-btn,
    .btn-reserve,
    .btn-search,
    .btn-done,
    button {
        min-height: 44px;
        min-width: 44px;
    }

    .counter-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch */
    .product-card:hover {
        transform: none;
    }

    .product-image:hover {
        transform: none;
    }

    .gallery-item:hover {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .category-item:hover {
        transform: none;
    }

    .category-image img:hover {
        transform: none;
    }

    .action-btn:hover {
        transform: none;
    }

    .badge:hover {
        transform: none;
    }
}

