/* ======= BASE ======= */
*, *::before, *::after { box-sizing: border-box; }

/* body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #fbf8f5;
    color: #1f2937;
} */

/* ======= PAGE WRAPPER — max 1280px ======= */

/* Full-width background without affecting body globally */
.single-restaurant-page {
    background: #fbf8f5 !important;
    width: 100%;
}

.main-content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
}

/* ======= HERO BANNER ======= */
.restaurant-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.restaurant-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px 64px;
}

.banner-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.badge-pill {
    background: #d97706;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
}

.star-row { display: flex; gap: 3px; }

.star-row .star,
.rec-rating .star {
    width: 15px;
    height: 15px;
    fill: #FBBF24;
}

/* Desktop: 62px */
.banner-overlay h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 62px;
    font-weight: 400;
    color: white;
    margin: 0 0 8px;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.banner-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 10px;
}

.banner-location svg {
    width: 14px;
    height: 14px;
    stroke: rgba(255,255,255,0.75);
    flex-shrink: 0;
}

.banner-info {
    display: flex;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

/* ======= LAYOUT: 2-COLUMN ======= */
.section-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-top: -52px;
    position: relative;
    z-index: 10;
}

/* Left column — fluid */
.content-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Right sidebar — fixed breathing width */
.restaurant-details.sticky-card {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(217,119,6,0.10);
    border: 1px solid rgba(217,119,6,0.10);
}

/* ======= SHARED CARD BASE ======= */
.aflah-note,
.story-box,
.review-section,
.gallery-section,
.faq-section {
    background: white;
    border-radius: 25px;
    width: 100%;
}

/* ======= DR. AFLAH'S NOTE ======= */
.aflah-note {
    padding: 32px 36px;
    box-shadow: 0 4px 20px rgba(217,119,6,0.06);
    border: 1px solid rgba(217,119,6,0.10);
    position: relative;
    overflow: hidden;
}

.aflah-note::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: #d97706;
    border-radius: 0 3px 3px 0;
}

.aflah-note-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.aflah-icon {
    width: 40px;
    height: 40px;
    background: #fef3c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aflah-icon svg { width: 20px; height: 20px; stroke: #d97706; }

.aflah-note h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    color: #d97706;
    margin: 0;
}

.note-subtext {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.75;
    color: #7a6f66;
    margin: 0;
}

/* ======= STORY BOX ======= */
.story-box {
    padding: 32px 36px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Headings: desktop 52px, scale down */
.story-box h2,
.gallery-section h2,
.faq-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 20px;
    color: #1f2937;
    line-height: 1.2;
}

.accent { color: #d97706; font-style: italic; }

.story-box p,
.story-box div {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #7a6f66;
    line-height: 1.8;
    margin: 0;
}

/* ======= VIDEO REVIEW ======= */
.review-section {
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    padding: 14px;
}

.video-wrapper {
    border-radius: 18px;
    overflow: hidden;
    background: #000;
}

.custom-video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.video-label { padding: 20px 24px; }

.video-label-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.label-dash {
    width: 28px; height: 2px;
    background: #d97706;
    border-radius: 2px;
}

.label-tag {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    margin: 0;
}

.video-label h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    margin: 0;
    color: #1f2937;
}

/* ======= GALLERY ======= */
.gallery-section {
    padding: 32px 36px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.gallery-header h2 { margin: 0; }

.gallery-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d97706;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s;
}

.gallery-link:hover { transform: translateX(3px); }
.gallery-link svg { width: 14px; height: 14px; stroke: #d97706; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
    display: block;
}

.gallery-item:hover img { transform: scale(1.07); }

/* ======= FAQ ======= */
.faq-section {
    padding: 32px 36px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 28px;
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    border: 1px solid #e8e2da;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}

/* Open state — light warm bg, no pink/red */
.faq-item.open {
    background: #fdf6ed;
    border-color: #e8c98a;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 14px;
}

.faq-question span {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.2s;
}

.faq-item.open .faq-question span { color: #d97706; }

.faq-arrow {
    width: 18px; height: 18px;
    flex-shrink: 0;
    stroke: #7a6f66;
    transition: transform 0.3s, stroke 0.2s;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    stroke: #d97706;
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #7a6f66;
    line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ======= SIDEBAR INTERNALS ======= */
.card-top-bar {
    background: #d97706;
    padding: 24px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-top-bar::before {
    content: '';
    position: absolute;
    top: -24px; right: -24px;
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    filter: blur(16px);
}

.card-top-bar h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: white;
    margin: 0;
    position: relative;
    z-index: 1;
}

.card-body { padding: 24px 24px 28px; }

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.detail-icon {
    width: 38px; height: 38px;
    background: #f9f5e7;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.detail-row:hover .detail-icon { background: #d97706; }
.detail-icon svg { width: 18px; height: 18px; stroke: #d97706; transition: stroke 0.2s; }
.detail-row:hover .detail-icon svg { stroke: white; }

.detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #7a6f66;
    margin: 0 0 3px;
}

.detail-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
    line-height: 1.5;
}

.detail-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #d97706;
    text-decoration: none;
    word-break: break-all;
    display: block;
}

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

.card-divider { height: 1px; background: #ede8e2; margin: 16px 0; }

.restaurant-tags, .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}

.tag {
    background: #fbf8f5;
    color: #7a6f66;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e8e2da;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.tag:hover { background: #d97706; color: white; border-color: #d97706; }

.buttons-inline.heart-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    position: relative;
    align-items: center;
}

.download-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #d97706;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(217,119,6,0.25);
    margin-top: 16px;
}

.download-btn svg { width: 17px; height: 17px; stroke: white; flex-shrink: 0; }
.download-btn:hover { background: transparent !important; border: 1px solid #d97706 !important; transform: translateY(-1px); box-shadow: none !important; color: #d97706 !important; }

.download-btn:hover svg{stroke: #d97706;}

.heart-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid #e8e2da;
    background: white;
    font-size: 18px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.heart-btn:hover { background: #d977061a; border-color: #d9770661; transform: scale(1.08); }
.heart-btn:active { background: #D97706 !important; border-color: #D97706 !important; }

/* ======= YOU MIGHT ALSO LIKE ======= */
.recommendation-section { margin-top: 64px; }

.rec-header { text-align: center; margin-bottom: 36px; }

.rec-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #d97706;
    margin: 0 0 10px;
}

.rec-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    color: #1f2937;
    line-height: 1.15;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.restaurant-card-link { text-decoration: none; display: block; }

.restaurant-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ede8e2;
    transition: box-shadow 0.35s, transform 0.25s;
}

.restaurant-card:hover {
    box-shadow: 0 16px 44px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}

.rec-card-img { position: relative; height: 190px; overflow: hidden; }

.rec-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.restaurant-card:hover .rec-card-img img { transform: scale(1.05); }

.rec-rating {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rec-rating span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
}

.card-content { padding: 18px 20px 22px; }

.card-content h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 19px;
    font-weight: 400;
    margin: 0 0 8px;
    color: #1f2937;
    transition: color 0.2s;
    line-height: 1.3;
}

.restaurant-card:hover .card-content h4 { color: #d97706; }

/* Card meta: cuisine, price, location */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #7a6f66;
}

.card-meta-item svg {
    width: 12px; height: 12px;
    stroke: #7a6f66;
    flex-shrink: 0;
}

.card-view-btn {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: 1.5px solid #e8e2da;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #7a6f66;
    text-align: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.restaurant-card:hover .card-view-btn {
    background: #d97706;
    color: white;
    border-color: #d97706;
}

/* ======= FLOATING HEART ======= */
.floating-heart {
    position: absolute;
    font-size: 22px;
    animation: floatUp 1s ease-out forwards;
    pointer-events: none;
    user-select: none;
    z-index: 99;
}

@keyframes floatUp {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-80px) scale(1.5); }
}

/* ======= TABLET: 768px–1024px ======= */
@media (max-width: 1024px) {
    .banner-overlay { padding: 0 28px 52px; }

    .banner-overlay h1 { font-size: 52px; }
    .story-box h2, .gallery-section h2, .faq-section h2 { font-size: 42px; }
    .rec-header h2 { font-size: 36px; }

    .restaurant-details.sticky-card { width: 300px; }
    .recommendation-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ======= MOBILE: ≤768px ======= */
@media (max-width: 768px) {
    .banner-overlay { padding: 0 16px 44px; }

    /* Font scales */
    .banner-overlay h1 { font-size: 38px; }
    .story-box h2, .gallery-section h2, .faq-section h2 { font-size: 28px; }
    .note-subtext { font-size: 15px; }
    .story-box p, .story-box div { font-size: 15px; }
    .faq-question span, .faq-answer { font-size: 14px; }
    .rec-header h2 { font-size: 30px; }

    .restaurant-banner { height: 52vw; min-height: 240px; }

    /* Stack columns */
    .section-content {
        flex-direction: column;
        gap: 16px;
        margin-top: -36px;
    }

    /* All left column cards: 100% fluid */
    .content-main {
        width: 100%;
        gap: 16px;
    }

    .aflah-note,
    .story-box,
    .review-section,
    .gallery-section,
    .faq-section {
        width: 100%;
        border-radius: 18px;
        padding: 20px 18px;
    }

    .review-section { padding: 10px; }
    .video-wrapper { border-radius: 12px; }
    .custom-video { height: 200px; }
    .video-label { padding: 16px 18px; }

    /* Sidebar: full width, static, after content-main */
    .restaurant-details.sticky-card {
        position: static;
        width: 100%;
        border-radius: 18px;
    }

    .buttons-inline{
      margin-top: 16px;
    }

    /* Buttons full width in mobile */
    .buttons-inline.heart-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .gallery-item { border-radius: 10px; }

    .recommendation-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rec-card-img { height: 160px; }
}

@media (max-width: 480px) {
    .banner-overlay h1 { font-size: 32px; }
    .story-box h2, .gallery-section h2, .faq-section h2 { font-size: 24px; }
}