﻿/* Color Palette */
:root {
    --color-orange: var(--brand-orange);
    --color-orange-light: #FF8A5B;
    --color-green: #2ECC71;
    --color-green-light: #58D68D;
    --color-navy: #2C3E50;
    --color-navy-light: #34495E;
    --color-gold: #F39C12;
    --color-blue: #3498DB;
    --color-gray: #ECF0F1;
    --color-gray-dark: #95A5A6;
    --border-radius: 14px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.17);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Override body gradient background for vendor profile page */
[data-bs-theme="light"] body {
    background: #FFFFFF !important;
    background-attachment: fixed;
}

[data-bs-theme="dark"] body {
    background: #1a1a1a !important;
    background-attachment: fixed;
}

/* Ensure body takes full height and uses flexbox for footer positioning */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content should grow to push footer down */
main {
    flex: 1 0 auto;
}

/* Footer should stay at bottom */
footer {
    flex-shrink: 0;
}

.vendor-profile-page {
    /* Light theme: Clean solid background */
    background: #FFFFFF;
    min-height: calc(100vh - 200px); /* Adjust based on navbar and footer height */
    padding-bottom: 60px; /* Extra padding to prevent content from touching footer */
}

/* Dark theme adjustments */
[data-bs-theme="dark"] .vendor-profile-page {
    /* Solid dark background */
    background: #1a1a1a;
}

[data-bs-theme="dark"] .breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .breadcrumb a:hover {
    color: var(--color-orange);
}

[data-bs-theme="dark"] .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

[data-bs-theme="dark"] .info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-bs-theme="dark"] .card-title,
[data-bs-theme="dark"] .menu-item-name,
[data-bs-theme="dark"] .hero-title {
    color: #e8e8e8;
}

[data-bs-theme="dark"] .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--color-orange);
}

/* Tab Navigation */
.vendor-tabs-wrapper {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow-x: auto;
    overflow-y: hidden;
}

.vendor-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #E8EAED;
    padding: 0;
    min-width: max-content;
}

.tab-nav-btn {
    background: none;
    border: none;
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.tab-nav-btn i {
    font-size: 16px;
    opacity: 0.7;
}

.tab-nav-btn:hover {
    color: var(--color-orange);
    background: #FFF8F4;
}

.tab-nav-btn:hover i {
    opacity: 1;
}

.tab-nav-btn.active {
    color: var(--color-orange);
    border-bottom-color: var(--color-orange);
}

.tab-nav-btn.active i {
    opacity: 1;
}

/* Underline Animation */
.tab-nav-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-nav-btn.active::after {
    transform: scaleX(1);
}

/* Tab Content */
.tab-content-container {
    margin-top: 24px;
}

.tab-content-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content-section.active {
    display: block;
}

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

/* Hero Section with Image */
.vendor-hero {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 50%, var(--color-gold) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 40px 0;
    z-index: 2;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.badge-open {
    background: rgba(46, 204, 113, 0.95);
    color: white;
}

.badge-closed {
    background: rgba(231, 76, 60, 0.95);
    color: white;
}

.badge-featured {
    background: rgba(243, 156, 18, 0.95);
    color: white;
}

.badge-discount {
    background: rgba(255, 193, 7, 0.95);
    color: #2C3E50;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
}

.hero-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-info-item i {
    font-size: 16px;
    color: var(--color-orange-light);
}

.hero-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.action-buttons-hero {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-directions {
    background: var(--color-blue);
    color: white;
}

.btn-directions:hover {
    background: #2980B9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Badges */
.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.badge-blue {
    background: #E8F4FD;
    color: var(--color-blue);
}

.badge-gold {
    background: #FEF5E7;
    color: var(--color-gold);
}

.badge-green {
    background: #E8F8F5;
    color: var(--color-green);
}

.badge-orange {
    background: #FFF0E9;
    color: var(--color-orange);
}

/* Quick Info */
.quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-navy-light);
}

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

.text-orange { color: var(--color-orange); }
.text-green { color: var(--color-green); }
.status-open { color: var(--color-green); font-weight: 600; }
.status-closed { color: #E74C3C; font-weight: 600; }

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-call {
    background: var(--color-orange);
    color: white;
}

.btn-call:hover {
    background: var(--color-orange-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Promotions Section */
.promotions-section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--color-orange);
}

.promotion-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-orange);
    text-align: center;
    transition: all 0.3s ease;
}

.promotion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.promotion-header i {
    font-size: 32px;
    color: var(--color-orange);
}

.promotion-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 12px 0;
}

.promotion-discount {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-orange);
    margin: 12px 0;
}

.promotion-desc {
    font-size: 14px;
    color: var(--color-navy-light);
    margin-bottom: 16px;
}

.promotion-footer {
    border-top: 1px solid var(--color-gray);
    padding-top: 12px;
}

/* Info Card */
.info-card {
    background: white;
    padding: 28px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-gray);
}

.card-title i {
    color: var(--color-orange);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.contact-item.full-width {
    grid-column: 1 / -1;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFF0E9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--color-orange);
}

.contact-details {
    flex-grow: 1;
}

.contact-details label {
    display: block;
    font-size: 12px;
    color: var(--color-gray-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-details a,
.contact-details span {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.contact-details a:hover {
    color: var(--color-orange);
}

/* Social Links */
.social-links {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray);
}

.social-links label {
    display: block;
    font-size: 12px;
    color: var(--color-gray-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.social-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Services Section */
.services-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray);
}

.services-section label {
    display: block;
    font-size: 12px;
    color: var(--color-gray-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

.service-item i {
    font-size: 1rem;
    color: var(--color-gray-dark);
    width: 20px;
}


/* Menu List */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-item-card {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #E8EAED;
    transition: all 0.3s ease;
}

.menu-item-card:last-child {
    border-bottom: none;
}

.menu-item-card:hover {
    background: #FAFBFC;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 12px;
}

/* Thumbnail */
.menu-item-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-gray);
}

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

.menu-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFE0CC 0%, #FFD4B8 100%);
    color: var(--color-orange);
    font-size: 32px;
}

/* Details */
.menu-item-details {
    flex: 1;
    min-width: 0;
}

.menu-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.menu-item-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}

.menu-item-category {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    background: #E8F4FD;
    color: var(--color-blue);
    font-weight: 600;
}

.menu-item-description {
    font-size: 14px;
    color: #7F8C8D;
    line-height: 1.6;
    margin-bottom: 10px;
}

.menu-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spice-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #E74C3C;
    font-size: 12px;
}

.spice-label {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price */
.menu-item-price {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 120px;
}

.price-main {
    font-size: 22px;
    font-weight: 800;
    color: #2C3E50;
    line-height: 1;
}

.price-original {
    font-size: 14px;
    color: #95A5A6;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #E8F8F5;
    color: var(--color-green);
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Items Grid (for Overview Tab) */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.item-card {
    background: #FAFBFC;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #E8EAED;
    transition: all 0.3s ease;
}

.item-card:hover {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
    gap: 8px;
}

.item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    flex: 1;
}

.item-category {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--color-gray);
    color: var(--color-navy-light);
    font-weight: 600;
    white-space: nowrap;
}

.item-desc {
    font-size: 13px;
    color: var(--color-gray-dark);
    margin-bottom: 12px;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-orange);
}

.price-old {
    font-size: 13px;
    color: var(--color-gray-dark);
    text-decoration: line-through;
}

.spice-level {
    color: #E74C3C;
    font-size: 12px;
}

/* Menu Images Grid (Legacy - for other sections) */
.menu-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

/* Menu Images Slider */
.menu-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.menu-slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.menu-slider-item {
    flex: 0 0 100%;
    min-width: 100%;
}

/* Show 2 items on larger screens */
@media (min-width: 768px) {
    .menu-slider-item {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--brand-orange, #FF6B35);
    color: var(--brand-orange, #FF6B35);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
    background: var(--brand-orange, #FF6B35);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow-left {
    left: 0;
}

.slider-arrow-right {
    right: 0;
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
}

.slider-arrow:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    color: var(--brand-orange, #FF6B35);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--brand-orange, #FF6B35);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--brand-orange, #FF6B35);
    transform: scale(1.2);
}

.slider-dot:hover {
    transform: scale(1.3);
    background: var(--brand-orange-light, #FF8A5B);
}

/* Menu Image Card */
.menu-image-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.menu-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allow clicks to pass through to parent */
}

.menu-image-card:hover img {
    transform: scale(1.05);
}

.menu-image-card:hover .menu-image-overlay {
    opacity: 1;
}

/* Mobile: Always show overlay hint */
@media (max-width: 991px) {
    .menu-image-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    }
    .menu-image-overlay i {
        font-size: 24px;
    }
    .menu-image-overlay span {
        font-size: 12px;
    }
    .photo-share-btn {
        opacity: 1;
    }
}

.menu-image-overlay i {
    font-size: 32px;
}

/* Photo Share Button */
.photo-share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-image-card:hover .photo-share-btn {
    opacity: 1;
}

.photo-share-btn .btn {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: none;
}

.photo-share-btn .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive */
@media (max-width: 767px) {
    .menu-slider-container {
        padding: 0 40px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /*padding: 14px 32px;*/
    background: var(--color-orange);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-orange-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--color-gray-dark);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--color-gray-dark);
}

/* Related List */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: #FAFBFC;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #E8EAED;
}

.related-item:hover {
    background: white;
    border-color: var(--color-orange);
    transform: translateX(4px);
}

.related-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 4px 0;
}

.related-info p {
    font-size: 13px;
    color: var(--color-gray-dark);
    margin: 0;
}

.related-item i {
    color: var(--color-orange);
    font-size: 14px;
}

/* Rating Display */
.rating-display {
    padding: 20px;
}

.rating-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
}

.rating-stars {
    color: var(--color-gold);
    font-size: 20px;
    margin-top: 8px;
}

.card-title-small {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ratings & Order Box */
.sticky-order-box {
    position: relative;
    margin-bottom: 24px;
}

.rating-order-card {
    background: white;
    border: 2px solid var(--color-orange);
    box-shadow: var(--shadow-lg);
}

.rating-section {
    text-align: center;
    padding: 8px 0;
}

.rating-number-large {
    font-size: 72px;
    font-weight: 900;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 12px;
}

.rating-stars-large {
    color: var(--color-gold);
    font-size: 28px;
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.rating-stars-large i {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-count {
    font-size: 15px;
    color: var(--color-navy-light);
    font-weight: 600;
    margin: 0;
}

.divider-line {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gray), transparent);
    margin: 20px 0;
}

/* Order Now Button */
.btn-order-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: var(--color-orange);
    color: white;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    margin-bottom: 20px;
}

.btn-order-now:hover {
    background: var(--color-orange-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.5);
    color: white;
}

.btn-order-now i {
    font-size: 20px;
}

/* Quick Contact Actions */
.quick-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #FAFBFC;
    border-radius: 12px;
    border: 2px solid #E8EAED;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-action-btn:hover {
    border-color: var(--color-orange);
    background: white;
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.whatsapp-btn:hover {
    border-color: #25D366;
}

.whatsapp-btn:hover .action-icon {
    background: #25D366;
    color: white;
}

.phone-btn:hover {
    border-color: var(--color-orange);
}

.phone-btn:hover .action-icon {
    background: var(--color-orange);
    color: white;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: white;
    border: 2px solid #E8EAED;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.whatsapp-btn .action-icon {
    border-color: #25D366;
}

.whatsapp-btn .action-icon i {
    color: #25D366;
    font-size: 24px;
}

.phone-btn .action-icon {
    border-color: var(--color-orange);
}

.phone-btn .action-icon i {
    color: var(--color-orange);
    font-size: 20px;
}

.action-text {
    flex: 1;
    min-width: 0;
}

.action-text label {
    display: block;
    font-size: 11px;
    color: var(--color-gray-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.action-text span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Vendor Info Box */
.vendor-info-box {
    margin-bottom: 24px;
}

.info-box-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box-title i {
    color: var(--color-orange);
    font-size: 20px;
}

/* Opening Hours */
.opening-hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #FAFBFC;
    border-radius: 10px;
    border: 1px solid #E8EAED;
    transition: all 0.3s ease;
}

.hours-row:hover {
    background: white;
    border-color: var(--color-orange);
}

.hours-row.today {
    background: #FFF8F4;
    border-color: var(--color-orange);
}

.hours-row.closed-day {
    background: #F5F5F5;
    opacity: 0.7;
}

.hours-row.closed-day .day-hours {
    color: var(--color-gray-dark);
    font-style: italic;
}

.day-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.today-badge {
    display: inline-flex;
    padding: 3px 8px;
    background: var(--color-orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.info-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gray), transparent);
    margin: 24px 0;
}

/* Location Map */
.location-address {
    font-size: 14px;
    color: var(--color-navy-light);
    line-height: 1.6;
    margin-bottom: 16px;
    padding-left: 4px;
}

.map-preview {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background: var(--color-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.map-placeholder i {
    font-size: 48px;
    color: var(--color-gray-dark);
    margin-bottom: 12px;
}

.map-placeholder p {
    font-size: 14px;
    color: var(--color-gray-dark);
    margin: 0;
}

.btn-get-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--color-blue);
    color: white;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-get-directions:hover {
    background: #2980B9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-get-directions i {
    font-size: 16px;
}

/* Mobile Rating Strip */
.mobile-rating-strip {
    background: white;
    padding: 16px 20px;
    margin: 0 -16px 20px -16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.rating-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.rating-number-compact {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-orange);
    line-height: 1;
}

.rating-stars-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-stars-compact i {
    color: var(--color-gold);
    font-size: 14px;
}

.review-text {
    font-size: 12px;
    color: var(--color-navy-light);
    font-weight: 600;
}

.quick-actions-compact {
    display: flex;
    gap: 8px;
}

.action-btn-compact {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.whatsapp-compact {
    background: #25D366;
    color: white;
}

.whatsapp-compact:hover {
    background: #20BA5A;
    transform: scale(1.05);
}

.phone-compact {
    background: var(--color-orange);
    color: white;
}

.phone-compact:hover {
    background: var(--color-orange-light);
    transform: scale(1.05);
}

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

/* Mobile Sticky Order Button */
.mobile-sticky-order {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-mobile-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: var(--color-orange);
    color: white;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.btn-mobile-order:active {
    transform: scale(0.98);
    background: var(--color-orange-light);
    color: white;
}

.btn-mobile-order i {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .vendor-tabs-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
    }

    .vendor-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .vendor-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-nav-btn {
        padding: 16px 20px;
        font-size: 14px;
    }

    .tab-nav-btn span {
        display: inline;
    }

    .tab-nav-btn i {
        font-size: 14px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-content {
        padding: 24px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-badges {
        gap: 6px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .hero-info {
        gap: 12px;
    }

    .hero-info-item {
        font-size: 13px;
    }

    .hero-actions {
        padding: 16px 0;
    }

    .action-buttons-hero {
        gap: 8px;
    }

    .btn-action {
        flex: 1;
        justify-content: center;
        font-size: 14px;
        padding: 10px 16px;
    }

    .btn-action span {
        display: none;
    }

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

    .items-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Sticky Order Box - Mobile */
    .sticky-order-box {
        position: relative;
        top: 0;
    }

    .rating-number-large {
        font-size: 56px;
    }

    .rating-stars-large {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .btn-order-now {
        padding: 16px 24px;
        font-size: 16px;
    }

    .action-text span {
        font-size: 14px;
    }

    /* Menu Items - Mobile Full Width */
    .menu-item-card {
        flex-direction: column;
        padding: 16px;
        background: white;
        border-radius: 12px;
        margin-bottom: 12px;
        border: 1px solid #E8EAED;
    }

    .menu-item-card:hover {
        margin-left: 0;
        margin-right: 0;
        padding: 16px;
    }

    .menu-item-thumbnail {
        width: 100%;
        height: 200px;
        margin-bottom: 12px;
    }

    .menu-item-details {
        margin-bottom: 12px;
    }

    .menu-item-price {
        width: 100%;
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .price-main {
        font-size: 24px;
    }

    /* Add padding to bottom for sticky button */
    .tab-content-container {
        padding-bottom: 80px;
    }

    /* Mobile Rating Strip adjustments */
    .mobile-rating-strip {
        margin: -16px -16px 20px -16px;
    }

    /* Vendor Info Box - Stack vertically */
    .opening-hours-list {
        gap: 8px;
    }

    .hours-row {
        padding: 10px 14px;
    }

    .day-name {
        font-size: 14px;
    }

    .day-hours {
        font-size: 13px;
    }

    .vendor-profile-page {
        min-height: auto;
        padding-bottom: 20px;
    }
}

/* Force white close button in image modal for both themes */
#imageModal .btn-close-white,
[data-bs-theme="light"] #imageModal .btn-close-white,
[data-bs-theme="dark"] #imageModal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
}
