/* ================================================================
   DDK Africuisine — Menu Page Styles
   public/css/africuisine-menu.css
   ================================================================ */

/* ── Slow-Cook Notice Strip ────────────────────────────────────── */
.ac-mq-strip {
    background: linear-gradient(90deg, #0d0b08 0%, #1a1510 50%, #0d0b08 100%);
    padding: 0.7rem 0;
}
.ac-mq-static {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #d4c4a8;
    line-height: 1.5;
}
.ac-mq-static i {
    color: #c9a435;
    font-size: 1rem;
    flex-shrink: 0;
}
.ac-mq-static strong {
    color: #f0e6cc;
}

/* ── Inline cook notice (Online Menu) ────────────────────────── */
.ac-cook-inline {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #fef9ec;
    border: 1.5px solid #c9a435;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.6;
}
.ac-cook-inline i {
    color: #c9a435;
    margin-top: 0.15rem;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.ac-cook-inline strong { color: #1a2e4a; }



/* ── Page section layout ──────────────────────────────────────── */
.ac-menu-section-hd { margin-bottom: 2.5rem; }
.ac-menu-section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a2e4a;
    margin: 0 0 0.55rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.ac-menu-section-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, #c9a435, #f0c040);
    border-radius: 2px;
    margin-top: 0.75rem;
}
.ac-menu-section-note {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 600px;
    margin: 0;
    line-height: 1.65;
}
.ac-sec-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0 15%, #e2e8f0 85%, transparent);
    margin: 0;
}

/* ── Category block header ────────────────────────────────────── */
.ac-cat-block { margin-bottom: 2.75rem; }
.ac-cat-block__hd {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #0f1e33 0%, #1a2e4a 100%);
    border-radius: 0 12px 12px 0;
    border-left: 4px solid #c9a435;
    margin-bottom: 1.25rem;
}
.ac-cat-block__hd span,
.ac-cat-block__hd i { font-size: 1rem; color: #c9a435; }
.ac-cat-block__hd h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ── Item list — 2-column grid ────────────────────────────────── */
.ac-item-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ── Food card — horizontal (content left, image right) ──────── */
.ac-item-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f4f8;
    min-height: 155px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ac-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}
.ac-item-card__body {
    flex: 1;
    padding: 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}
.ac-item-card__name {
    font-size: 0.97rem;
    font-weight: 800;
    color: #1a2e4a;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    line-height: 1.25;
}
.ac-item-card__emoji {
    font-size: 1rem;
    flex-shrink: 0;
    color: #c9a435;
}
.ac-item-card__desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.ac-item-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 0.15rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}
.ac-item-card__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #c9a435;
}
.ac-item-card__fam {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}
.ac-item-card__foot { margin-top: 0.5rem; }
.ac-item-card__img-wrap {
    width: 160px;
    min-height: 155px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.ac-item-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ac-item-card:hover .ac-item-card__img-wrap img { transform: scale(1.07); }
.ac-item-card__img-ph {
    width: 100%;
    height: 100%;
    min-height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #cbd5e1;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

/* ── Badge ────────────────────────────────────────────────────── */
.ac-menu-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

/* ── Add / Order button ───────────────────────────────────────── */
.ac-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #c9a435;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.ac-add-btn:hover { background: #b8932e; transform: scale(1.03); }
.ac-add-btn.ac-added { background: #2d7a4f; }

/* ── View & Order button (opens detail modal) ─────────────────── */
.ac-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #1a2e4a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
    letter-spacing: 0.2px;
}
.ac-view-btn:hover {
    background: #c9a435;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201, 164, 53, 0.38);
}

/* ── Dine-In notice box ──────────────────────────────────────── */
.ac-dine-notice {
    background: #f0fdf4;
    border: 1.5px solid #16a34a;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.ac-dine-notice__icon {
    color: #16a34a;
    margin-top: 0.15rem;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.ac-dine-notice__text {
    font-size: 0.85rem;
    color: #166534;
    line-height: 1.6;
}

/* ── Category note (swallow options etc.) ────────────────────── */
.ac-cat-block__note {
    font-size: 0.82rem;
    color: #c9a435;
    font-weight: 600;
    margin: 0 0 1rem 0.25rem;
}


/* ── Gallery strip (images 13–17) ───────────────────────────── */
.ac-gallery-strip { padding: 0; margin-bottom: 0; }
.ac-gallery-strip__row {
    display: flex;
    gap: 0.5rem;
    height: 180px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 3rem;
}
.ac-gallery-strip__img {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    min-width: 0;
}
.ac-gallery-strip__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ac-gallery-strip__img:hover img { transform: scale(1.06); }


/* ── Online menu entries (Section 3) ─────────────────────────── */
.ac-online-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ac-online-entry {
    background: #fff;
    border: 1px solid #f0f4f8;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ac-online-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.11);
    border-color: #c9a435;
}
.ac-online-entry__content {
    flex: 1;
    padding: 1.15rem 1.3rem;
    min-width: 0;
}
.ac-online-entry__img {
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.ac-online-entry__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ac-online-entry:hover .ac-online-entry__img img { transform: scale(1.06); }
.ac-online-entry__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.ac-online-entry__emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: #c9a435;
}
.ac-online-entry__title-row {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.ac-online-entry__name {
    font-weight: 800;
    color: #1a2e4a;
    font-size: 1rem;
}
.ac-online-entry__price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
}
.ac-online-entry__body { padding-left: 2.25rem; }
.ac-online-entry__desc {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.65;
    margin: 0 0 0.65rem;
}
.ac-online-entry__ingredients {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.8rem;
    background: #f8fafc;
    border-left: 3px solid #c9a435;
    padding: 0.55rem 0.75rem;
    border-radius: 0 6px 6px 0;
}
.ac-online-entry__ing-label {
    color: #c9a435;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.ac-online-entry__ing-text {
    color: #475569;
    line-height: 1.5;
}
.ac-menu-entry__price {
    font-size: 1rem;
    font-weight: 800;
    color: #c9a435;
}

/* ── Home Delivery videos ─────────────────────────────────────── */
.ac-hd-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem;
}
.ac-hd-video-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.ac-hd-video {
    width: 100%;
    border-radius: 12px;
    background: #000;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}
.ac-hd-video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a2e4a, #2a4a6e);
    border-radius: 12px;
    border: 2px dashed #c9a435;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #c9a435;
}
.ac-hd-video-placeholder i { font-size: 2.5rem; }
.ac-hd-video-placeholder span { font-size: 1rem; font-weight: 700; color: #fff; }
.ac-hd-video-placeholder small { font-size: 0.78rem; color: #94a3b8; }
.ac-hd-video-caption {
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
    font-style: italic;
    margin: 0;
}


/* ── Shared utilities ─────────────────────────────────────────── */
.ac-menu-notice {
    background: #f8fafc;
    border-left: 3px solid #c9a435;
    padding: 0.85rem 1.1rem;
    font-size: 0.82rem;
    color: #475569;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
}
.ac-menu-footer-wrap { margin-top: 2rem; }
.ac-menu-footer-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── Order limit banner animation ─────────────────────────────── */
@keyframes acSlideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ac-hd-videos { grid-template-columns: 1fr; }
    .ac-item-list { grid-template-columns: 1fr; }
    .ac-item-card__img-wrap { width: 120px; }
    .ac-online-entry__img { width: 140px; }
    .ac-online-entry__head { flex-wrap: wrap; }
    .ac-online-entry__body { padding-left: 0; }
    .ac-online-entry__price-col { flex-direction: row; align-items: center; }
    .ac-gallery-strip__row { height: 120px; }
    .ac-menu-section-title { font-size: 1.5rem; }
    .ac-mq-strip{
        background:#16a34a;
    }
    .ac-menu-section-title::after{
        display:none;
    }
}

@media (max-width: 540px) {
    .ac-item-list { grid-template-columns: 1fr; }
    .ac-item-card { flex-direction: column-reverse; }
    .ac-item-card__img-wrap { width: 100%; min-height: 180px; }
    .ac-menu-section-title { font-size: 1.35rem; }

    /* ── Online Menu card — mobile stacked layout ── */
    .ac-online-entry {
        flex-direction: column;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
    }

    /* Image: full width at top */
    .ac-online-entry__img {
        width: 100%;
        height: 190px;
        order: -1;
        flex-shrink: 0;
    }

    /* Content: extra bottom padding to clear the absolute button */
    .ac-online-entry__content {
        padding: 1.1rem 1.1rem 4.4rem;
    }

    /* Head: stack name → price vertically */
    .ac-online-entry__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0;
        flex-wrap: nowrap;
    }

    /* Hide the icon — name already identifies the dish */
    .ac-online-entry__emoji {
        display: none;
    }

    /* Name row: full width */
    .ac-online-entry__title-row {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .ac-online-entry__name {
        font-size: 1.08rem;
        font-weight: 800;
        display: block;
        width: 100%;
    }

    /* Price col: price on its own line, then gold decoration rule */
    .ac-online-entry__price-col {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
        border-bottom: 2px solid rgba(201, 164, 53, 0.4);
    }
    .ac-menu-entry__price {
        font-size: 1.15rem;
        font-weight: 800;
        color: #c9a435;
    }

    /* Button: pinned to card bottom, full width */
    .ac-online-entry .ac-quick-order-btn {
        position: absolute;
        bottom: 0.9rem;
        left: 1.1rem;
        right: 1.1rem;
        width: auto;
        justify-content: center;
        padding: 0.72rem 1rem;
        border-radius: 10px;
        font-size: 0.84rem;
    }

    /* Body: no indent, smaller desc */
    .ac-online-entry__body {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }
    .ac-online-entry__desc {
        font-size: 0.82rem;
        line-height: 1.55;
        margin: 0;
    }
    .ac-online-entry__ingredients {
        font-size: 0.78rem;
        flex-direction:column;
    }
}

/* ================================================================
   Gallery cards — big photo + clickable thumbnails
   (mirrors the approved sector page: sectors/africuisine)
   ================================================================ */
.ac-home-menu-wrap {
    padding: 0 0 2.5rem;
}

/* 4 top-level menu sections (Dine-In · Signature · Online · DDK Africuisine) */
.acg-section {
    margin-bottom: 3rem;
}
.acg-section:last-child {
    margin-bottom: 0;
}
.acg-section__hd {
    margin-bottom: 1.5rem;
}
.acg-section__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #c9a435;
    margin-bottom: 0.35rem;
}
.acg-section__title {
    font-family: "Lato", sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: #1a2e4a;
    margin: 0;
    line-height: 1.15;
}
.acg-section__note {
    margin: 0.6rem 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #64748b;
    max-width: 60ch;
}

.acg-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ac-view-btn--ghost {
    background: transparent;
    color: #1a2e4a;
    border: 1.5px solid #d3ddea;
}
.ac-view-btn--ghost:hover {
    background: #1a2e4a;
    color: #fff;
    border-color: #1a2e4a;
}
.acg-card {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
    background: #fff;
    border: 1px solid #f0f4f8;
    border-radius: 18px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.acg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.acg-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a2e4a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    line-height: 1.25;
    margin: 0 0 0.35rem;
}
.acg-card__rule {
    width: 52px;
    height: 3px;
    background: #c9a435;
    border-radius: 2px;
    margin-bottom: 0.85rem;
}
.acg-card__sub {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.acg-notes {
    list-style: none;
    padding: 0;
    margin: 0.7rem 0 0;
    display: grid;
    gap: 0.32rem;
}
.acg-notes li {
    position: relative;
    padding-left: 1.05rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}
.acg-notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9a435;
}
.acg-also {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: #fffaf0;
    border: 1px solid rgba(201, 164, 53, 0.35);
    border-left: 3px solid #c9a435;
    border-radius: 10px;
}
.acg-also__title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.acg-also__title i {
    color: #c9a435;
}
.acg-also__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.acg-also__list li {
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
    background: #fff;
    border: 1px solid rgba(201, 164, 53, 0.3);
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    line-height: 1.4;
}
.acg-card__foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1rem;
}
.acg-card__price {
    font-size: 1rem;
    font-weight: 800;
    color: #c9a435;
    line-height: 1.4;
}
.acg-media {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.acg-main {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: #f1f5f9;
    box-shadow: 0 2px 12px rgba(26, 46, 74, 0.12);
}
.acg-thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0.5rem;
}
.acg-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.acg-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.acg-thumb.is-active {
    opacity: 1;
    border-color: #c9a435;
}
.acg-foodnote {
    margin: 0.9rem 0 0;
    padding-top: 0.7rem;
    border-top: 1px dotted #e2e8f0;
    font-size: 0.72rem;
    line-height: 1.55;
    color: #94a3b8;
}
@media (max-width: 1024px) {
    .acg-card { grid-template-columns: 1fr 280px; }
    .acg-main { height: 230px; }
}
@media (max-width: 820px) {
    .acg-card {
        grid-template-columns: 1fr;
        padding: 1.3rem;
        gap: 1.1rem;
    }
    .acg-media { order: -1; }
    .acg-main { height: 240px; }
}
