*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    color: #333;
    background: #f5f5f5;
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 1.5rem;
}

header h1 {
    font-size: 1.5rem;
    color: #222;
}

.generated-at {
    font-size: 0.8rem;
    color: #888;
}

.restaurant-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.restaurant-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.restaurant-card h3 a {
    color: #2c5f2d;
    text-decoration: none;
}

.restaurant-card h3 a:hover {
    text-decoration: underline;
}

.hours {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.dish {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.dish:last-child {
    border-bottom: none;
}

.dish-name {
    font-weight: 500;
    flex: 1;
}

.dish-price {
    font-weight: 600;
    color: #2c5f2d;
    white-space: nowrap;
    margin-left: 1rem;
}

.dish-description {
    width: 100%;
    font-size: 0.85rem;
    color: #666;
}

.dish-highlight {
    background: #f0f7f0;
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    border-bottom: none;
    margin-bottom: 0.3rem;
}

.dish-highlight .dish-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.dish-highlight .dish-price {
    font-size: 1.05rem;
}

.permanent-menu {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid #eee;
}

.permanent-menu summary {
    font-size: 0.9rem;
    color: #888;
    cursor: pointer;
    padding: 0.3rem 0;
    list-style: none;
}

.permanent-menu summary::before {
    content: "\25B6";
    display: inline-block;
    margin-right: 0.4rem;
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.permanent-menu[open] summary::before {
    transform: rotate(90deg);
}

.permanent-menu summary::-webkit-details-marker {
    display: none;
}

.permanent-dishes {
    padding-top: 0.4rem;
}

.error {
    color: #c33;
    font-style: italic;
}

.error a {
    color: #c33;
}

.link-only a {
    color: #2c5f2d;
    font-weight: 500;
    text-decoration: none;
}

.link-only a:hover {
    text-decoration: underline;
}

.scraped-at {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 0.3rem;
}

.contact-reservation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.phone-link {
    font-size: 0.85rem;
    color: #2c5f2d;
    text-decoration: none;
}

.phone-link::before {
    content: "\260E\FE0F ";
}

.phone-link:hover {
    text-decoration: underline;
}

.reservation-form {
    font-size: 0.85rem;
}

.reservation-form summary {
    color: #2c5f2d;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
}

.reservation-form summary::-webkit-details-marker {
    display: none;
}

.reservation-fields {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.reservation-fields label {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    color: #666;
}

.reservation-fields input,
.reservation-fields select {
    padding: 0.3rem 0.4rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.85rem;
    width: 90px;
}

.res-mailto-btn {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: #2c5f2d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.res-mailto-btn:hover {
    background: #1e4620;
}

.day-menu {
    display: none;
}

.day-menu.active {
    display: block;
}

.day-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 1.5rem;
}

.day-nav h2 {
    min-width: 100px;
    text-align: center;
    line-height: 1.2;
}

.heading-date {
    font-size: 0.75rem;
    font-weight: 400;
    color: #888;
}

.day-nav button {
    padding: 0.6rem 1.2rem;
    background: #2c5f2d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    min-width: 140px;
}

.day-nav button:hover {
    background: #1e4620;
}
