/* Mophyz Food Menu — dine-in packages (breakfast-inspired glass cards) */

.fdm-menu {
    --fdm-gold: #f59e0b;
    --fdm-crimson: #8b1a2b;
    --fdm-glass: rgba(28, 28, 32, 0.58);
    --fdm-glass-border: rgba(255, 255, 255, 0.13);
    --fdm-radius: 1.65rem;
    --fdm-radius-sm: 1.15rem;
    --fdm-muted: rgba(255, 255, 255, 0.68);
}

.fdm-dine-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 auto 0.5rem;
    max-width: 40rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    background: rgba(139, 26, 43, 0.35);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.fdm-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    padding: 1.25rem clamp(1rem, 3vw, 2rem) 0;
}

.fdm-nav__link {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: var(--fdm-glass);
    border: 1px solid var(--fdm-glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.fdm-nav__link:hover {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fff;
    transform: translateY(-1px);
}

.fdm-section {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    max-width: 76rem;
    margin: 0 auto;
}

.fdm-section__head {
    text-align: center;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.fdm-section__title {
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #fff;
    margin-bottom: 0.45rem;
}

.fdm-section__title span {
    color: var(--fdm-gold);
}

.fdm-section__subtitle {
    color: var(--fdm-muted);
    font-size: 0.92rem;
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.55;
}

.fdm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
    gap: clamp(1.1rem, 2vw, 1.6rem);
}

.fdm-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--fdm-radius);
    overflow: hidden;
    background: var(--fdm-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--fdm-glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.fdm-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.28);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
}

.fdm-card--featured {
    grid-column: span 1;
}

@media (min-width: 900px) {
    .fdm-card--featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
    }

    .fdm-card--featured .fdm-card__media {
        min-height: 100%;
        margin: 0.75rem 0 0.75rem 0.75rem;
    }

    .fdm-card--featured .fdm-card__body {
        justify-content: center;
    }
}

.fdm-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin: 0.65rem 0.65rem 0;
    border-radius: var(--fdm-radius-sm);
    background: rgba(0, 0, 0, 0.4);
}

.fdm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fdm-card__price {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: rgba(139, 26, 43, 0.92);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.fdm-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.92);
    color: #1a1a1a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fdm-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.25rem 1.3rem;
    gap: 0.55rem;
}

.fdm-card__name {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.32;
    color: var(--fdm-gold);
}

.fdm-card__desc {
    font-size: 0.82rem;
    line-height: 1.58;
    color: var(--fdm-muted);
    flex: 1;
}

.fdm-card__includes {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.fdm-card__includes li {
    margin-bottom: 0.2rem;
}

.fdm-package-parts {
    margin-top: 0.35rem;
    padding: 0.85rem;
    border-radius: var(--fdm-radius-sm);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fdm-package-parts h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fdm-gold);
    margin: 0.65rem 0 0.35rem;
}

.fdm-package-parts h4:first-child {
    margin-top: 0;
}

.fdm-package-parts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fdm-package-parts li {
    font-size: 0.76rem;
    color: var(--fdm-muted);
    padding: 0.2rem 0 0.2rem 0.85rem;
    position: relative;
    line-height: 1.45;
}

.fdm-package-parts li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--fdm-gold);
}

.fdm-know-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fdm-know-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    color: #fff;
}

.fdm-addons {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: var(--fdm-radius);
    background: rgba(0, 0, 0, 0.28);
    border: 1px dashed rgba(245, 158, 11, 0.25);
}

.fdm-addons h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fdm-gold);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fdm-addons__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 0.65rem;
}

.fdm-addons__item {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--fdm-muted);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fdm-addons__item strong {
    color: var(--fdm-gold);
    white-space: nowrap;
}

.fdm-reference {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .fdm-reference {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fdm-ref-panel {
    padding: 1.35rem;
    border-radius: var(--fdm-radius);
    background: var(--fdm-glass);
    border: 1px solid var(--fdm-glass-border);
    backdrop-filter: blur(12px);
}

.fdm-ref-panel h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fdm-gold);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fdm-ref-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.35rem 0.75rem;
}

.fdm-ref-panel li {
    font-size: 0.8rem;
    color: var(--fdm-muted);
    padding-left: 0.75rem;
    position: relative;
}

.fdm-ref-panel li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--fdm-gold);
    font-weight: bold;
}

.fdm-cta-strip {
    margin: 0 clamp(1rem, 3vw, 2rem) 3rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    text-align: center;
    border-radius: var(--fdm-radius);
    background: var(--fdm-glass);
    border: 1px solid rgba(245, 158, 11, 0.22);
    backdrop-filter: blur(12px);
}

.fdm-cta-strip h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.fdm-cta-strip p {
    color: var(--fdm-muted);
    font-size: 0.9rem;
    margin-bottom: 1.15rem;
}

.fdm-cta-strip a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: var(--fdm-gold);
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
}

.fdm-cta-strip a:hover {
    color: #1a1a1a;
}

/* Header menu dropdown — click to toggle */
.header-nav-dropdown__trigger {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0;
}

.header-nav-dropdown__panel {
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    min-width: 13rem;
    border-radius: 0.75rem;
    background: rgba(30, 30, 30, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    z-index: 100;
}

.header-nav-dropdown.is-open .header-nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav-dropdown.is-open .header-nav-dropdown__chevron {
    transform: rotate(180deg);
}

.header-nav-dropdown__chevron {
    transition: transform 0.25s ease;
}
