﻿/* Modal Open Body State */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
/* Producer Mobile CSS - Modern, mobile-optimized styling */
:root {
    --primary-color: #8b4513;
    --primary-light: #a0522d;
    --primary-dark: #733a0f;
    --secondary-color: #d2691e;
    --accent-color: #f4a460;
    --background-color: #f9f9f9;
    --card-color: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #eeeeee;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --status-open: #4caf50;
    --status-closed: #f44336;
    --status-unknown: #ff9800;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --header-height: 56px;
    --bottom-bar-height: 52px;
    --animation-speed: 0.3s;
    --safe-area-bottom: env(safe-area-inset-bottom, 0);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: calc(var(--bottom-bar-height) + var(--safe-area-bottom));
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.back-button {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

    .back-button:active {
        background-color: rgba(255, 255, 255, 0.1);
    }

.header-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.header-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50%;
}

    .header-icon:active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .header-icon.active svg {
        fill: white;
    }

/* Main Container */
.main-container {
    padding-top: var(--header-height);
    max-width: 768px;
    margin: 0 auto;
}

/* Hero Container with Overlay */
.hero-container {
    position: relative;
    margin-bottom: var(--spacing-md);
}

/* Producer Name Overlay */
.producer-name-overlay {
    position: absolute;
    top: 12px; /* Below the status pill and header */
    left: 0;
    right: 0;
    z-index: 15; /* Between status pill and hero overlay */
    text-align: center;
    padding: 0 16px;
}

.producer-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    display: block;
    text-align: center;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 220px; /* Reduced height */
    overflow: hidden;
    max-width: 100%;
}

.cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Status Pill */
.status-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    background-color: var(--status-unknown);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 20;
}

    .status-pill.open {
        background-color: var(--status-open);
    }

    .status-pill.closed {
        background-color: var(--status-closed);
    }

    .status-pill.unknown {
        background-color: var(--status-unknown);
    }

.producer-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    display: flex;
    align-items: flex-end;
    color: white;
}

.producer-details {
    flex: 1;
}

    .producer-details h1 {
        font-size: 1.6rem;
        margin-bottom: 4px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        display: block; /* Ensure it's shown */
    }

.producer-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.producer-meta {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.premium-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(255, 215, 0, 0.9);
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-top: var(--spacing-xs);
    width: fit-content;
}

/* Rating Overview */
.rating-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    margin: 0 var(--spacing-md);
    box-shadow: var(--shadow-md);
    position: relative;
    margin-top: -30px;
    z-index: 2;
}

.rating-item {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-xs);
}

.rating-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Action Pills */
.action-pills-container {
    margin: var(--spacing-md) 0;
    padding: 0 var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mt-8 {
    margin-top: 8px;
}

.action-pills-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.action-pills {
    display: flex;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-sm);
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    justify-content: space-between;
    width: 100%;
}

    .action-pills::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

.action-pill {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--card-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-color);
    white-space: nowrap;
    transition: background-color var(--animation-speed), color var(--animation-speed);
    flex: 1;
    justify-content: center;
}

    .action-pill svg {
        color: var(--primary-color);
    }

    .action-pill:active {
        background-color: var(--primary-color);
        color: white;
    }

        .action-pill:active svg {
            color: white;
        }

    .action-pill.active {
        background-color: var(--primary-color);
        color: white;
    }

        .action-pill.active svg {
            color: white;
        }

.beverage-icons {
    font-size: 1.1rem;
    line-height: 1;
    margin-right: -2px;
}

.beverage-icons-large {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

/* All Actions Container */
.all-actions-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

/* Primary Action Buttons */
.primary-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin: 0 var(--spacing-md);
}

.primary-action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background-color: var(--card-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-color);
    transition: transform var(--animation-speed);
}

    .primary-action-button:active {
        transform: scale(0.98);
    }

    .primary-action-button svg {
        color: var(--primary-color);
    }

.call-button svg {
    color: #4caf50;
}

.website-button svg {
    color: #2196f3;
}

.directions-button svg {
    color: #f44336;
}

.primary-action-button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Secondary Action Buttons */
.secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: 0 var(--spacing-md);
}

.secondary-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--animation-speed);
}

    .secondary-action-button:active {
        transform: scale(0.98);
    }

.checkin-button {
    background-color: var(--primary-color);
    color: white;
}

.review-button {
    background-color: var(--accent-color);
    color: var(--text-color);
}

/* Modal Container */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    pointer-events: none;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--animation-speed);
    pointer-events: none;
}

.modal-container.active .modal-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    background-color: var(--card-color);
    width: 100%;
    max-width: 768px;
    max-height: calc(95vh - var(--bottom-bar-height) - var(--header-height));
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: translateY(100%);
    transition: transform var(--animation-speed);
    pointer-events: none;
    display: none;
}

.modal-container.active .modal-content.active {
    transform: translateY(0);
    pointer-events: auto;
    display: block;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

    .modal-header h2 {
        font-size: 1.2rem;
        font-weight: 600;
    }

.close-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-secondary);
}

    .close-modal:active {
        background-color: rgba(0, 0, 0, 0.05);
    }

.modal-body {
    padding: var(--spacing-md);
    overflow-y: auto;
    max-height: calc(95vh - var(--bottom-bar-height) - var(--header-height) - 60px);
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}

/* Info Section in Modal */
.info-section {
    margin-bottom: var(--spacing-lg);
}

    .info-section:last-child {
        margin-bottom: 0;
    }

    .info-section h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
        color: var(--primary-color);
    }

/* Hours Grid */
.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.day-name {
    font-weight: 500;
}

.hours-time {
    color: var(--text-secondary);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.amenity-icon {
    color: var(--primary-color);
}

/* Flight Details */
.flight-details {
    background-color: rgba(139, 69, 19, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.flight-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.flight-info-item {
    display: flex;
    flex-direction: column;
}

.flight-label {
    font-weight: 500;
    color: var(--primary-color);
}

.flight-to-go {
    display: inline-block;
    background-color: var(--primary-light);
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: var(--spacing-xs);
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: background-color var(--animation-speed);
}

    .social-link:hover, .social-link:active {
        background-color: var(--primary-color);
        color: white;
    }

/* Location Map */
.location-map {
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: var(--spacing-sm);
}

/* Filter Container */
.filter-container {
    margin-bottom: var(--spacing-md);
}

.filter-select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--card-color);
    font-size: 0.9rem;
    color: var(--text-color);
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.product-card {
    background-color: var(--card-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--animation-speed);
}

    .product-card:active {
        transform: translateY(-2px);
    }

.product-image {
    height: 120px;
    background-color: #f5f5f5;
    position: relative;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2rem;
}

.product-category-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    border-radius: 12px;
}

.product-info {
    padding: var(--spacing-sm);
}

.product-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-style {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--primary-color);
}

    .product-rating::before {
        content: "★ ";
        margin-right: 2px;
    }

/* On Tap List */
.on-tap-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.on-tap-item {
    background-color: rgba(139, 69, 19, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: transform var(--animation-speed);
}

    .on-tap-item:active {
        transform: translateY(-2px);
    }

.on-tap-name {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.on-tap-style {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.on-tap-details {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.8rem;
}

.on-tap-abv, .on-tap-price {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.review-card {
    background-color: var(--card-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.review-user {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.review-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-username {
    font-weight: 500;
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.review-rating {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.review-photo {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

    .review-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.review-products {
    margin-top: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.review-product-item {
    background-color: rgba(139, 69, 19, 0.05);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
}

.product-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.product-icon {
    font-size: 1.2rem;
}

.product-take {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

    .empty-state svg {
        color: var(--text-light);
        margin-bottom: var(--spacing-md);
    }

    .empty-state p {
        color: var(--text-secondary);
        margin-bottom: var(--spacing-md);
    }

.add-button {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 500;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    bottom: calc(var(--bottom-bar-height) + var(--spacing-lg));
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--animation-speed);
}

    .notification-toast.visible {
        opacity: 1;
    }

    .notification-toast.success {
        background-color: var(--success-color);
    }

    .notification-toast.warning {
        background-color: var(--warning-color);
    }

    .notification-toast.error {
        background-color: var(--error-color);
    }

/* Loading cards and elements */
.loading-card {
    background-color: var(--card-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.loading-element {
    background-color: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0, #f8f8f8, #f0f0f0);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Bottom Navigation Styles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 90;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #777;
    padding: 6px 0;
    flex: 1;
    transition: color 0.2s ease;
}

    .nav-item.active {
        color: var(--primary-color);
    }

    .nav-item svg {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
    }

    .nav-item span {
        font-size: 0.7rem;
        font-weight: 500;
    }

.beverage-emoji {
    font-size: 1.3rem;
    line-height: 1;
    margin-bottom: 2px;
}

.nav-item.review-nav {
    transform: translateY(-10px);
}

    .nav-item.review-nav .nav-icon {
        background-color: var(--primary-color);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        margin-bottom: 2px;
        transition: all 0.3s ease;
    }

    .nav-item.review-nav:hover .nav-icon,
    .nav-item.review-nav.active .nav-icon {
        background-color: var(--secondary-color);
        transform: scale(1.05);
    }

    .nav-item.review-nav .nav-icon svg {
        margin-bottom: 0;
    }

/* Media Queries */
@media (min-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-image {
        height: 280px;
    }

    .producer-details h1 {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .photos-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .bottom-nav,
    .notification-toast {
        max-width: 768px;
        left: 50%;
        transform: translateX(-50%);
    }

    .bottom-nav {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
}
/* Add these CSS rules to your producer-mobile.css file */

/* Section separator */
.section-separator {
    height: 1px;
    background-color: var(--border-color);
    margin: var(--spacing-md) 0;
}

/* Flight section in On Tap modal */
.flight-section {
    padding-bottom: var(--spacing-md);
}

    .flight-section h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
        color: var(--primary-color);
    }
/* Enhanced Photo Items */
.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .photo-item:hover, .photo-item:active {
        transform: scale(1.02);
    }

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.photo-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: var(--spacing-sm);
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.photo-item:hover .photo-info-overlay, .photo-item:active .photo-info-overlay {
    opacity: 1;
}

.photo-title {
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-category-tag {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 2px;
}
/* CSS additions for compact stacked buttons */
.compact-choice-container {
    padding: 1rem;
    text-align: center;
}

.compact-choice-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.compact-choice-button {
    background-color: white;
    border: 1px solid var(--accent-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.8rem;
    box-shadow: var(--shadow);
    text-align: left;
    height: auto;
    width: 100%;
}

    .compact-choice-button:hover,
    .compact-choice-button:focus {
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

.compact-choice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.compact-choice-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    font-size: 1.8rem;
}

.compact-choice-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.map-icon {
    font-size: 1.6rem;
}

.compact-choice-text {
    flex: 1;
    overflow: hidden;
}

    .compact-choice-text h4 {
        margin: 0 0 0.2rem 0;
        color: var(--primary-color);
        font-size: 1rem;
    }

    .compact-choice-text p {
        margin: 0;
        font-size: 0.85rem;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Make header more compact for mobile */
.form-section h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Adjust top margin of container to ensure it's visible without scrolling */
.discover-container {
    margin-top: 0.5rem;
}

/* Media query for larger screens - switch back to larger buttons if desired */
@media (min-width: 768px) {
    .compact-choice-options {
        gap: 1.5rem;
    }

    .compact-choice-button {
        padding: 1.2rem;
    }

    .compact-choice-icon {
        min-width: 60px;
        font-size: 2.2rem;
    }

    .compact-choice-text h4 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .compact-choice-text p {
        font-size: 0.95rem;
    }

    .compact-choice-image {
        width: 50px;
        height: 50px;
    }
}
/* Photo attribution badge */
.photo-attribution {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    z-index: 5;
}
/* Claim Business Pill */
.claim-business-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: #9c27b0; /* Purple to stand out */
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 20;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .claim-business-pill:hover {
        background-color: #7b1fa2;
        transform: scale(1.05);
    }

    .claim-business-pill:active {
        transform: scale(0.98);
    }

    .claim-business-pill svg {
        width: 16px;
        height: 16px;
    }

    /* Hide if user already has access (to be controlled by JS) */
    .claim-business-pill.hidden {
        display: none;
    }