/* ================================================================
   AI Place Frontend — extra enriched fields on single place page
   ================================================================ */

.ai-place-extra-fields {
    margin-top: 24px;
}

/* ── Section wrapper ── */
.ai-place-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}
.ai-place-section:last-child {
    border-bottom: none;
}
.ai-place-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: none;
    text-transform: none;
    letter-spacing: 0;
}
.ai-place-section-title .fa {
    color: #e3002c;
    font-size: 15px;
}

/* ── Email row ── */
.ai-place-email-row {
    margin-top: 12px;
    font-size: 14px;
    color: #555;
}
.ai-place-email-row .fa {
    color: #888;
    margin-right: 6px;
}
.ai-place-email-row a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px dashed #bbb;
}
.ai-place-email-row a:hover {
    color: #e3002c;
    border-color: #e3002c;
}

/* ── Special Offers ── */
.ai-offer-card {
    background: #fff9ec;
    border: 1px solid #ffe0a0;
    border-left: 4px solid #f5a623;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #3d2b00;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ai-offer-card .fa {
    color: #f5a623;
    flex-shrink: 0;
}
.ai-offer-expire {
    margin-left: auto;
    font-size: 11px;
    color: #888;
    background: #f0f0f0;
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
}

/* ── Highlights ── */
.ai-highlight-card {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 10px;
}
.ai-highlight-title {
    font-size: 14px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 6px;
}
.ai-highlight-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* ── Menu ── */
.ai-menu-image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.ai-menu-img-link {
    display: block;
    width: 120px;
    height: 90px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}
.ai-menu-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}
.ai-menu-img-link:hover img {
    transform: scale(1.05);
}

.ai-menu-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.ai-menu-toggle-btn:hover {
    background: #eaeaea;
    color: #222;
}
.ai-menu-toggle-btn .fa {
    color: #888;
}

.ai-menu-text-body {
    margin-top: 12px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

/* ── Mobile overrides ── */
.ai-place-extra-mobile .ai-place-section-title {
    font-size: 15px;
}
.ai-place-extra-mobile .ai-offer-card {
    font-size: 13px;
    padding: 9px 12px;
}
.ai-place-extra-mobile .ai-menu-img-link {
    width: calc(50% - 4px);
    height: 80px;
}
.ai-place-extra-mobile .ai-menu-text-body {
    font-size: 12px;
    max-height: 260px;
}
.ai-place-extra-mobile .ai-highlight-card {
    padding: 12px 14px;
}
@media (max-width: 480px) {
    .ai-menu-img-link {
        width: calc(50% - 4px);
        height: 75px;
    }
}
