
/* Action Buttons Section - Brand Compliant */
.flaeske-rp-actions-section {
    margin-bottom: 16px;
}

.flaeske-rp-actions-bar {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.flaeske-rp-actions-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* ALL Action Buttons - Same Height, Brand Colors */
.flaeske-rp-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: #4A7C59;
    color: #ffffff;
    white-space: nowrap;
    text-decoration: none;
    height: 2rem;
    min-height: 2rem;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    vertical-align: middle;
}

.flaeske-rp-action-button:hover {
    background: #3a6346;
    color: #ffffff;
}

.flaeske-rp-action-button:active {
    transform: translateY(1px);
}

/* Icon styling - consistent size and alignment */
.flaeske-rp-action-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
    transition: color 0.2s ease;
    flex-shrink: 0;
    display: block;
    stroke-width: 2;
}

.flaeske-rp-action-button:hover .flaeske-rp-action-icon {
    color: #ffffff;
}

/* Button as link */
.flaeske-rp-action-button[href] {
    display: inline-flex;
}

/* Button states */
.flaeske-rp-action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.flaeske-rp-action-button.wishlist-login-required {
    opacity: 0.8;
}

.flaeske-rp-action-button.in-wishlist {
    background: #4A7C59;
}

.flaeske-rp-action-button.in-wishlist:hover {
    background: #3a6346;
}

/* Icon-only buttons - matching card style, same height as text buttons */
.flaeske-rp-action-icon-only {
    padding: 0;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 0.25rem;
    background-color: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.flaeske-rp-action-icon-only:hover {
    background-color: #4A7C59;
    color: #ffffff;
    border-color: #4A7C59;
}

.flaeske-rp-action-icon-only .flaeske-rp-action-icon {
    width: 0.875rem;
    height: 0.875rem;
    margin: 0;
    color: inherit;
}

@media (max-width: 640px) {
    .flaeske-rp-actions-bar {
        padding: 12px 16px;
    }
    
    .flaeske-rp-actions-wrapper {
        gap: 8px;
    }
    
    .flaeske-rp-action-button {
        padding: 10px 20px;
        font-size: 0.8125rem;
        height: 40px;
    }
    
    .flaeske-rp-action-icon {
        width: 16px;
        height: 16px;
    }
}

/* Restaurant Description Section */
.flaeske-rp-description-section {
    margin-bottom: 16px;
}

.flaeske-rp-description-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    color: #2C2C2C;
    font-size: 1rem;
    line-height: 1.7;
}

.flaeske-rp-description-content .flaeske-rp-info-title {
    margin-bottom: 16px;
}

.flaeske-rp-description-content p {
    margin: 0 0 16px 0;
}

.flaeske-rp-description-content p:last-child {
    margin-bottom: 0;
}

.flaeske-rp-description-content h2,
.flaeske-rp-description-content h3,
.flaeske-rp-description-content h4 {
    color: #2C2C2C;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.flaeske-rp-description-content h2:first-child,
.flaeske-rp-description-content h3:first-child,
.flaeske-rp-description-content h4:first-child {
    margin-top: 0;
}

.flaeske-rp-description-content a {
    color: #4A7C59;
    text-decoration: none;
    transition: color 0.2s ease;
}

.flaeske-rp-description-content a:hover {
    color: #3a6346;
    text-decoration: underline;
}

.flaeske-rp-description-content ul,
.flaeske-rp-description-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.flaeske-rp-description-content li {
    margin-bottom: 8px;
}

@media (max-width: 640px) {
    .flaeske-rp-description-content {
        padding: 20px;
        font-size: 0.9375rem;
    }
}

/* Info Grid Section - Legacy, kept for backwards compatibility */
.flaeske-rp-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .flaeske-rp-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.flaeske-rp-info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.flaeske-rp-info-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 16px 0;
    font-family: Georgia, 'Times New Roman', serif;
    text-transform: none;
    letter-spacing: normal;
}

/* Serving Type - Simple Text, No Box */
.flaeske-rp-serving-type {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4A7C59;
    text-decoration: none;
    transition: color 0.2s ease;
}

.flaeske-rp-serving-type:hover {
    color: #3a6346;
    text-decoration: underline;
}

.flaeske-rp-serving-types-list {
    display: inline;
}

.flaeske-rp-serving-type-separator {
    color: #2C2C2C;
    font-weight: 500;
}

/* Info List Styling */
.flaeske-rp-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flaeske-rp-info-item {
    margin-bottom: 16px;
}

.flaeske-rp-info-item:last-child {
    margin-bottom: 0;
}

.flaeske-rp-info-item-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 8px;
}

.flaeske-rp-info-link {
    color: #4A7C59;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.flaeske-rp-info-link:hover {
    color: #3a6346;
    text-decoration: underline;
}

.flaeske-rp-info-text {
    color: #2C2C2C;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.flaeske-rp-info-value {
    color: #2C2C2C;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.6;
}

.flaeske-rp-geo-link {
    color: #4A7C59;
    text-decoration: none;
    transition: color 0.2s ease;
}

.flaeske-rp-geo-link:hover {
    color: #3a6346;
    text-decoration: underline;
}

.flaeske-rp-meat-quality-stars {
    color: #D4A017;
    font-size: 0.875rem;
}

/* Four Box Grid Section - 4 columns in one row */
.flaeske-rp-four-box-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}

@media (max-width: 1200px) {
    .flaeske-rp-four-box-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .flaeske-rp-four-box-grid {
        grid-template-columns: 1fr;
    }
}

.flaeske-rp-combined-subsection {
    margin-bottom: 16px;
}

.flaeske-rp-combined-subsection:last-child {
    margin-bottom: 0;
}

.flaeske-rp-combined-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 8px;
}

.flaeske-rp-combined-value {
    font-size: 0.875rem;
    color: #2C2C2C;
    font-weight: 500;
    margin: 0 0 4px 0;
    line-height: 1.6;
}

.flaeske-rp-combined-sub {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 8px 0 0 0;
}

/* Services Section - Brand Compliant SVG Icons */
.flaeske-rp-content-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.flaeske-rp-card-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 12px;
}

.flaeske-rp-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flaeske-rp-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #2C2C2C;
    font-weight: 500;
}

.flaeske-rp-service-icon {
    width: 20px;
    height: 20px;
    color: #4A7C59;
    flex-shrink: 0;
    display: block;
}

/* Recommendations Section */
.flaeske-rp-recommendations-section {
    margin: 20px 0;
    padding: 32px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.flaeske-rp-recommendations-header {
    margin-bottom: 24px;
}

.flaeske-rp-recommendations-header h2 {
    margin: 0 0 8px;
    color: #1a472a;
    font-size: 1.5rem;
    font-weight: 700;
}

.flaeske-rp-recommendations-header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.flaeske-rp-recommendations-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.flaeske-rp-recommendations-grid::-webkit-scrollbar {
    height: 6px;
}

.flaeske-rp-recommendations-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.flaeske-rp-recommendations-grid::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.3);
    border-radius: 3px;
}

.flaeske-rp-recommendations-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 118, 110, 0.5);
}

/* Recommendation Cards - Brand Guideline Compliant */
.flaeske-rp-recommendations-grid > .restaurant-card-v2 {
    flex: 0 0 auto;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* Ensure card image maintains brand guideline height (144px / h-36) */
.flaeske-rp-recommendations-grid > .restaurant-card-v2 .card-image-v2 {
    height: 144px;
    min-height: 144px;
    max-height: 144px;
    flex-shrink: 0;
}

/* Ensure card body maintains proper flex structure */
.flaeske-rp-recommendations-grid > .restaurant-card-v2 .card-body-v2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

@media (max-width: 480px) {
    .flaeske-rp-recommendations-grid > .restaurant-card-v2 {
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }
}

/* =============================================
   Events Section - Brand Compliant Design
   ============================================= */
.restaurant-events-section {
    margin: 24px 0;
    padding: 28px;
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.restaurant-events-section .events-header {
    margin-bottom: 20px;
    text-align: left;
}

.restaurant-events-section .events-header h2 {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #92400e;
    font-family: Georgia, 'Times New Roman', serif;
}

.restaurant-events-section .events-header p {
    margin: 0;
    font-size: 0.875rem;
    color: #a16207;
    line-height: 1.5;
}

/* Events Grid - Card Layout */
.restaurant-events-section .events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 600px) {
    .restaurant-events-section .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 800px) {
    .restaurant-events-section .events-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Compact Event Card - Restaurant Page (Grid Layout) */
.rp-event-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.1);
    transition: all 0.25s ease;
    height: 100%;
}

.rp-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: #b45309;
}

/* Visual Section - Image/Poster Area */
.rp-event-visual {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    flex-shrink: 0;
}

.rp-event-date-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid #b45309;
    border-radius: 6px;
    padding: 3px 6px;
    min-width: 40px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.rp-event-date-badge .rp-badge-month {
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #EF4444;
    line-height: 1;
}

.rp-event-date-badge .rp-badge-day {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 700;
    color: #2C2C2C;
    line-height: 1.1;
}

.rp-event-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rp-event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rp-event-card:hover .rp-event-poster img {
    transform: scale(1.08);
}

/* Content Section */
.rp-event-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
}

.rp-event-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    font-family: Georgia, 'Times New Roman', serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rp-event-title a {
    color: #2C2C2C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rp-event-card:hover .rp-event-title a {
    color: #b45309;
}

/* Meta Row */
.rp-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
    color: #6b7280;
}

.rp-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

/* Events Count Badge */
.restaurant-events-section .events-count {
    font-size: 0.75em;
    font-weight: 500;
    color: #6b7280;
    font-family: 'Lato', sans-serif;
}

/* Force SVG icon sizes in events section */
.restaurant-events-section svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    flex-shrink: 0;
}

.rp-event-meta svg {
    width: 12px !important;
    height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    color: rgba(107, 114, 128, 0.6);
    flex-shrink: 0;
}

.rp-event-meta .rp-event-price {
    font-weight: 600;
    color: #2C2C2C;
}

.rp-event-meta .rp-event-price svg {
    color: #D4A017;
}

/* Excerpt - Hidden in grid for compactness */
.rp-event-excerpt {
    display: none;
}

/* Actions */
.rp-event-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.rp-event-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #b45309;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rp-event-link:hover {
    color: #92400e;
    text-decoration: underline;
}

/* Hide external link in compact grid view */
.rp-event-external {
    display: none;
}

/* Events Footer */
.restaurant-events-section .events-footer {
    margin-top: 20px;
    text-align: center;
}

.restaurant-events-section .events-footer .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #b45309;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.restaurant-events-section .events-footer .button:hover {
    background: #92400e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
}

/* Mobile Responsive - Events */
@media (max-width: 768px) {
    .restaurant-events-section {
        padding: 20px 16px;
        margin: 20px 0;
    }
    
    .restaurant-events-section .events-header h2 {
        font-size: 1.125rem;
    }
    
    .rp-event-visual {
        height: 80px;
    }
    
    .rp-event-body {
        padding: 10px;
    }
    
    .rp-event-title {
        font-size: 0.8125rem;
    }
    
    .rp-event-meta {
        gap: 6px;
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .restaurant-events-section {
        padding: 16px 14px;
        border-radius: 12px;
    }
    
    .restaurant-events-section .events-grid {
        grid-template-columns: 1fr;
    }
    
    .rp-event-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .restaurant-events-section .events-footer .button {
        width: 100%;
        padding: 12px 16px;
    }
}

/* =============================================
   User Photo Gallery Section - Brand Compliant
   ============================================= */
.restaurant-gallery-section {
    margin: 24px 0;
}

