/* Places Thailand - Premium Restaurant Card Styles (Mobile First) */
:root {
    --pth-bg-card: #ffffff;
    --pth-text-main: #1f2937;
    --pth-text-muted: #6b7280;
    --pth-primary: #059669;
    --pth-accent: #f59e0b;
    --pth-danger: #ef4444;
    --pth-border: #e5e7eb;
    --pth-radius: 16px;
    --pth-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.restaurant-card-wrapper {
    max-width: 800px;
    margin: 20px auto;
    background: var(--pth-bg-card);
    border-radius: var(--pth-radius);
    box-shadow: var(--pth-shadow);
    border: 1px solid var(--pth-border);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--pth-text-main);
}

/* Hero Section */
.card-hero {
    position: relative;
    padding: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.hero-meta-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-pill.price {
    background: #059669;
    color: #ffffff;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.card-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0 0 16px 0;
}

.card-location-breadcrumbs {
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* AI-Snippet Section */
.ai-snippet-card {
    background: #f8fafc;
    border-left: 4px solid var(--pth-primary);
    padding: 16px 20px;
    margin: 20px;
    border-radius: 8px;
}

.ai-snippet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ai-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pth-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-score-badge {
    background: #0f172a;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
}

.ai-score-badge .score-max {
    font-size: 0.75rem;
    opacity: 0.7;
}

.ai-snippet-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
}

/* Comfort Tags Grid */
.comfort-tags-section {
    padding: 0 20px 20px 20px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.comfort-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.comfort-item {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}

.comfort-item.active {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
}

/* Contact & Info Section */
.contact-info-bar {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid var(--pth-border);
    border-bottom: 1px solid var(--pth-border);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.info-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-action {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.1s ease;
}

.btn-action:active {
    transform: scale(0.97);
}

.btn-maps {
    background: #0284c7;
    color: #ffffff;
}

.btn-phone {
    background: #10b981;
    color: #ffffff;
}

/* Paywall Block (RISK-04 Compliance) */
.paywall-container {
    position: relative;
    padding: 20px;
    background: #fff;
    overflow: hidden;
}

.paywall-block.blur-paywall {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    transition: filter 0.4s ease;
}

.paywall-block.tier-unlocked {
    filter: none !important;
    user-select: text !important;
    pointer-events: auto !important;
}

.paywall-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 24px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
    z-index: 10;
    width: 85%;
    max-width: 420px;
}

.paywall-overlay h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #f59e0b;
}

.paywall-overlay p {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.btn-unlock {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 20px;
    border-top: 1px solid var(--pth-border);
}

.faq-item {
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.faq-question {
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.faq-answer {
    font-size: 0.9rem;
    color: #475569;
}

