.allergy-hero {
    padding: calc(120px + env(safe-area-inset-top)) 60px 50px;
    background: linear-gradient(135deg, var(--thai-dark) 0%, #12152a 100%);
    border-bottom: 1px solid rgba(245,166,35,0.1);
    text-align: center;
}

.allergy-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    animation: none;
    margin-bottom: 14px;
}

.allergy-hero h1 span { color: var(--thai-gold); }

.allergy-hero p {
    opacity: 0.55;
    font-size: 0.9rem;
    font-weight: 300;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.allergy-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.warning-box {
    background: rgba(200,16,46,0.08);
    border: 1px solid rgba(200,16,46,0.25);
    border-left: 4px solid var(--thai-red);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 48px;
    font-size: 0.9rem;
    line-height: 1.75;
    opacity: 0.9;
}

.warning-box strong { color: #ff8a99; display: block; margin-bottom: 6px; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; }

.info-box {
    background: rgba(245,166,35,0.07);
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 48px;
    font-size: 0.88rem;
    line-height: 1.75;
    opacity: 0.85;
}

.info-box strong { color: var(--thai-gold); display: block; margin-bottom: 6px; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; }

.allergy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--thai-gold);
    margin: 48px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245,166,35,0.15);
}

.allergy-content h2:first-of-type { margin-top: 0; }

.allergy-content p {
    font-size: 0.92rem;
    line-height: 1.85;
    opacity: 0.75;
    font-weight: 300;
    margin-bottom: 14px;
}

.allergens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 24px 0 40px;
}

.allergen-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color 0.2s;
}

.allergen-card:hover { border-color: rgba(245,166,35,0.25); }

.allergen-card__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--thai-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.allergen-card__icon { font-size: 1.6rem; flex-shrink: 0; }

.allergen-card__body {}
.allergen-card__name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.allergen-card__detail { font-size: 0.78rem; opacity: 0.55; font-weight: 300; line-height: 1.5; }

.allergy-table-wrap { overflow-x: auto; margin: 24px 0 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.07); }

.allergy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    min-width: 700px;
}

.allergy-table thead tr {
    background: #1a1e35;
}

.allergy-table thead th {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    font-weight: 400;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.allergy-table thead th:first-child { border-radius: 14px 0 0 0; }
.allergy-table thead th:last-child  { border-radius: 0 14px 0 0; }

.allergy-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s;
}

.allergy-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.allergy-table tbody tr:last-child { border-bottom: none; }

.allergy-table td {
    padding: 11px 14px;
    vertical-align: middle;
    line-height: 1.4;
}

.allergy-table td:first-child { font-weight: 600; color: var(--thai-white); }
.allergy-table td:nth-child(2) { opacity: 0.6; font-weight: 300; }

.has  { text-align: center; color: #ff6b8a; font-size: 1rem; }
.may  { text-align: center; color: var(--thai-gold); font-size: 0.85rem; font-weight: 600; }
.none { text-align: center; color: rgba(255,255,255,0.2); font-size: 0.85rem; }

.legend {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    font-size: 0.82rem;
}

.legend-item { display: flex; align-items: center; gap: 8px; opacity: 0.7; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--thai-gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 40px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.back-link:hover { opacity: 1; }

@media (max-width: 768px) {
    .allergy-hero { padding: calc(100px + env(safe-area-inset-top)) 24px 40px; }
    .allergy-content { padding: 40px 20px 80px; }
    .allergens-grid { grid-template-columns: 1fr; }
}