/* Explain: Styles for the subscribe form and related components. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.6));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.84), rgba(255, 255, 255, 0.55));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.photo-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.photo-frame::after {
    position: absolute;
    inset: 0.9rem;
    border: 1px solid rgba(250, 249, 246, 0.55);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.photo-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.photo-frame-large {
    height: min(70vh, 640px);
    min-height: 420px;
    border-radius: 2.6rem;
}

.photo-frame-medium {
    height: 540px;
    max-width: 460px;
    border-radius: 2.2rem;
}

.price-badge {
    position: absolute;
    right: -1.25rem;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-radius: 1.6rem;
    padding: 1rem 1.4rem;
    text-align: center;
}

.price-badge .amount {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
}

.price-badge .caption {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.stat-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.62);
    padding: 1.25rem;
}

.stat-card strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.1;
}

.stat-card span {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.menu-card {
    min-height: 240px;
    border-radius: 1.9rem;
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.menu-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-5px);
}

.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--sage-soft);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.menu-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--button-color);
    color: var(--text-color);
    padding: 0.35rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.price-panel {
    border: 1px solid rgba(88, 129, 87, 0.4);
    border-radius: 2.4rem;
    background: linear-gradient(150deg, rgba(241, 244, 235, 0.96), rgba(250, 249, 246, 0.92));
    box-shadow: var(--shadow-soft);
    padding: clamp(1.6rem, 4vw, 2.6rem);
}

.price-amount {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 7vw, 3.6rem);
    font-weight: 700;
    line-height: 1;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.check-row i {
    margin-top: 0.35rem;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.info-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.7rem;
    background: rgba(250, 249, 246, 0.62);
    padding: 1.25rem;
}

.info-label {
    color: var(--sage-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.info-value {
    margin-top: 0.3rem;
    color: var(--text-color);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.6;
}

.map-frame {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.7rem;
    box-shadow: var(--shadow-soft);
    line-height: 0;
}

.booking-form {
    border-radius: 2.2rem;
    padding: clamp(1.5rem, 4vw, 2.4rem);
}

.subscribe-panel {
    border-radius: 2.4rem;
    padding: clamp(1.6rem, 4vw, 2.8rem);
}

.subscribe-form {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.7);
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.form-field {
    width: 100%;
    min-height: 3rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    padding: 0.7rem 1.25rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.form-field::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.form-field:focus {
    border-color: var(--accent-color);
    outline: none;
}

textarea.form-field {
    min-height: 8rem;
    border-radius: 1.5rem;
    padding: 1rem 1.25rem;
    line-height: 1.7;
    resize: vertical;
}

.form-status.success {
    color: #4A6B53;
}

.form-status.error {
    color: #9B4A3D;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.9);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.4rem;
    }

    .photo-frame-large,
    .photo-frame-medium {
        height: 420px;
        min-height: 0;
        width: min(100%, 460px);
        margin-right: auto;
        margin-left: auto;
    }

    .price-badge {
        position: static;
        margin: 1rem auto 0;
        width: max-content;
        max-width: 100%;
    }

    .menu-card {
        min-height: 0;
    }
}

.board-date {
    color: var(--sage-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.board-today-badge {
    position: absolute;
    top: 1.15rem;
    left: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: var(--overlay-dark);
    color: var(--background-color);
    padding: 0.42rem 0.95rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    backdrop-filter: blur(6px);
}

.dish-list {
    display: grid;
    gap: 0.55rem;
}

.dish-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.dish-list i {
    margin-top: 0.32rem;
    color: var(--accent-color);
    font-size: 0.72rem;
}

.menu-history-item {
    overflow: hidden;
    border-radius: 1.8rem;
}

.menu-history-item > summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
}

.menu-history-item > summary::-webkit-details-marker {
    display: none;
}

.menu-history-item[open] > summary {
    border-bottom: 1px solid var(--glass-border);
}

.history-chev {
    color: var(--accent-color);
    font-size: 0.85rem;
    transition: transform 300ms ease;
}

.menu-history-item[open] .history-chev {
    transform: rotate(180deg);
}

.menu-history-date {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
}

.menu-history-headline {
    margin-top: 0.2rem;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-history-panel {
    padding: 1.25rem;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.3rem;
}

.cal-weekday {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.cal-weekday.cal-weekend {
    color: #9B4A3D;
}

.cal-days {
    margin-top: 0.4rem;
}

.cal-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.1;
}

.cal-cell-empty {
    border-color: transparent;
}

.cal-num {
    font-weight: 700;
}

.cal-state {
    margin-top: 0.15rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cal-cell-open {
    background: var(--sage-soft);
    color: var(--primary-color);
}

.cal-cell-open .cal-state {
    color: var(--sage-dark);
}

.cal-cell-closed {
    background: rgba(155, 74, 61, 0.1);
    color: #9B4A3D;
}

.cal-cell-closed .cal-state {
    color: #8A4034;
}

.cal-cell-today {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(88, 129, 87, 0.28);
}

.cal-dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
}

.cal-dot-open {
    border: 1px solid var(--sage-dark);
    background: var(--sage-soft);
}

.cal-dot-closed {
    border: 1px solid #9B4A3D;
    background: rgba(155, 74, 61, 0.25);
}

.cal-dot-today {
    border: 2px solid var(--accent-color);
    background: transparent;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.gallery-item:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.12);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery-item-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2.6rem 1.25rem 1.15rem;
    text-align: left;
    background: linear-gradient(180deg, rgba(31, 46, 35, 0), rgba(31, 46, 35, 0.78));
    color: #ffffff;
}

.gallery-item-copy strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.gallery-item-copy > span {
    display: block;
    margin-top: 0.3rem;
    color: rgba(250, 249, 246, 0.88);
    font-size: 0.85rem;
    line-height: 1.6;
}

.gallery-item-zoom {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(31, 46, 35, 0.55);
    color: var(--background-color);
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
    transition: background 300ms ease;
}

.gallery-item:hover .gallery-item-zoom {
    background: var(--primary-color);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(31, 46, 35, 0.85);
    backdrop-filter: blur(6px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border: 1px solid rgba(250, 249, 246, 0.4);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.14);
    color: var(--background-color);
    font-size: 1.1rem;
    transition: background 300ms ease;
}

.lightbox-close:hover {
    background: rgba(250, 249, 246, 0.3);
}

.lightbox-figure {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(92vw, 1100px);
    min-height: 40vh;
    margin: 0;
    text-align: center;
}

.lightbox-figure img {
    width: 100%;
    max-height: 78vh;
    border-radius: 1.6rem;
    object-fit: contain;
    opacity: 0;
    transition: opacity 250ms ease;
}

.lightbox-figure img.is-loaded {
    opacity: 1;
}

.lightbox-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    transform: translate(-50%, -50%);
    color: var(--background-color);
    font-size: 2rem;
}

.lightbox-spinner.is-active {
    display: block;
}

.lightbox-caption {
    margin-top: 0.9rem;
    color: var(--background-color);
}

.lightbox-caption strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.lightbox-caption > span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(250, 249, 246, 0.82);
    font-size: 0.9rem;
}

.faq-item {
    overflow: hidden;
    border-radius: 1.6rem;
}

.faq-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    cursor: pointer;
    list-style: none;
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] > summary {
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
}

.faq-chev {
    flex-shrink: 0;
    color: var(--accent-color);
    font-size: 0.85rem;
    transition: transform 300ms ease;
}

.faq-item[open] .faq-chev {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.1rem 1.4rem 1.35rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
}

.review-card {
    min-height: 220px;
    border-radius: 1.9rem;
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.review-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-5px);
}

.review-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.review-quote {
    flex: 1;
    margin: 1.1rem 0 0;
    color: var(--text-color);
    font-size: 0.98rem;
    line-height: 1.85;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--glass-border);
}

.review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.review-name {
    display: block;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.review-date {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-size: 0.76rem;
}

@media (max-width: 767px) {
    .review-card {
        min-height: 0;
    }
}

.nav-more {
    position: relative;
}

.nav-more-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: none;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    transition: color 300ms ease;
}

.nav-more-trigger:hover,
.nav-more:focus-within .nav-more-trigger {
    color: var(--primary-hover);
}

.nav-more-panel {
    position: absolute;
    top: calc(100% + 0.85rem);
    right: 0;
    display: grid;
    gap: 0.15rem;
    min-width: 12.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
    padding: 0.7rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.4rem);
    transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}

.nav-more-panel::before {
    position: absolute;
    top: -0.9rem;
    right: 0;
    left: 0;
    height: 0.9rem;
    content: "";
}

.nav-more:hover .nav-more-panel,
.nav-more:focus-within .nav-more-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-more-panel a {
    display: block;
    border-radius: 0.8rem;
    padding: 0.55rem 0.85rem;
    color: var(--text-color);
    transition: background 260ms ease, color 260ms ease;
}

.nav-more-panel a:hover {
    background: var(--surface-color);
    color: var(--primary-hover);
}