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

:root {
    --red: #c0392b;
    --red-dark: #962d22;
    --gold: #d4a853;
    --bg: #f8f6f2;
    --bg-dark: #1a1a1a;
    --text: #1c1c1c;
    --text-muted: #666;
    --border: #e0dbd2;
    --white: #ffffff;
    --font-display: 'Roboto', Arial, sans-serif;
    --font-body: 'Roboto', Arial, sans-serif;
    --radius: 8px;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
}

button,
input,
select,
textarea {
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* ===== TOP NAV (FINDER BAR) ===== */
.topnav {
    background: var(--bg-dark);
    color: #ccc;
    font-size: 16px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
}

.topnav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--white);
    font-size: 15px;
}

.topnav-logo svg {
    width: 26px;
    height: 26px;
    fill: var(--red);
}

.topnav-links {
    display: flex;
    gap: 20px;
}

.topnav-links a {
    color: #aaa;
    transition: color .2s;
}

.topnav-links a:hover {
    color: var(--white);
}

.topnav-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-add {
    background: var(--red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: background .2s;
}

.btn-add:hover {
    background: var(--red-dark);
}

/* ===== MAIN HEADER ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
}

.header-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--red);
}

.main-nav {
    display: flex;
    gap: 6px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 5px;
    color: var(--text-muted);
    transition: color .2s, background .2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--red);
    background: #fdf0ee;
}

/* ===== HERO SECTION ===== */
.listing-hero {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 24px;
}

/* Title row */
.listing-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.listing-title-row h1 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.listing-actions {
    display: flex;
    gap: 10px;
}

.btn-share,
.btn-save {
    border: 1px solid var(--border);
    background: var(--white);
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    transition: border-color .2s, color .2s;
}

.btn-share:hover,
.btn-save:hover {
    border-color: var(--red);
    color: var(--red);
}

/* Meta row */
.listing-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.rating-stars {
    color: #f39c12;
    letter-spacing: 1px;
}

.rating-count {
    color: var(--text-muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-red {
    background: #fde8e8;
    color: var(--red);
}

.badge-blue {
    background: #e3f2fd;
    color: #1565c0;
}

.meta-sep {
    color: #ccc;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item svg {
    width: 14px;
    height: 14px;
}

.open-now {
    color: #27ae60;
    font-weight: 600;
}

.hours-badge {
    background: var(--red);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}

/* Category tags */
.restaurant-category-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
}

.restaurant-category-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 2px;
}

.restaurant-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: border-color .2s, color .2s, background .2s;
}

.restaurant-category-tag:hover {
    border-color: var(--red);
    color: var(--red);
    background: #fdf0ee;
}

.restaurant-category-tag svg {
    width: 14px;
    height: 14px;
    color: currentColor;
    flex-shrink: 0;
}

/* Gallery */
.listing-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 6px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.gallery-main {
    grid-row: 1 / 3;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #eee;
}

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

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

.gallery-count-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}

.gallery-count-btn:hover {
    background: rgba(0, 0, 0, 0.82);
}

.gallery-count-btn svg {
    width: 15px;
    height: 15px;
    fill: var(--white);
}

/* Category pills */
.listing-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.cat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.cat-pill:hover {
    border-color: var(--red);
    color: var(--red);
}

.cat-pill.active {
    border-color: var(--red);
    color: var(--red);
    background: #fdf0ee;
}

button.cat-pill {
    font-family: var(--font-body);
}

.edit-listing-pill {
    border-color: var(--red);
    color: var(--red);
    background: #fdf0ee;
    font-weight: 600;
}

.edit-listing-pill:hover {
    background: var(--red);
    color: var(--white);
}

.cat-pill.edit-listing-pill {
    margin-left: auto;
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    font-weight: 700;
}

.cat-pill.edit-listing-pill:hover {
    background: var(--red-dark);
    color: var(--white);
    border-color: var(--red-dark);
}

/* ===== MAIN LAYOUT ===== */
.main-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

.main-left {}

.main-right {}

/* ===== SECTION CARD ===== */
.card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 28px;
    margin-bottom: 24px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title svg {
    width: 22px;
    height: 22px;
    color: var(--red);
    flex-shrink: 0;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card p:last-child {
    margin-bottom: 0;
}

/* ===== SIGNATURE DISHES ===== */
.dishes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.dish-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    background: #fafaf8;
    transition: box-shadow .2s, border-color .2s;
}

.dish-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.dish-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dish-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
}

.dish-price {
    margin-top: 10px;
    font-weight: 600;
    color: var(--red);
    font-size: 16px;
}

/* ===== FAQs ===== */
.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color .2s;
}

.faq-question:hover {
    color: var(--red);
}

.faq-icon {
    font-size: 20px;
    color: var(--red);
    transition: transform .3s;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 14px;
}

/* ===== REVIEWS ===== */
.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-big {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}

.rating-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.star {
    width: 18px;
    height: 18px;
    color: #f39c12;
}

.star.empty {
    color: #ddd;
}

.review-count-text {
    font-size: 16px;
    color: var(--text-muted);
}

.btn-add-review {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 9px 18px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.btn-add-review:hover {
    background: var(--red-dark);
}

.review-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.review-tab {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .2s, border-color .2s;
}

.review-tab.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

.review-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.review-item:last-child {
    border-bottom: none;
}

.review-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
}

.review-date {
    font-size: 16px;
    color: var(--text-muted);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 6px;
}

.review-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
}

.review-helpful {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    font-size: 16px;
    color: var(--text-muted);
}

.helpful-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    transition: color .2s;
}

.helpful-btn:hover {
    color: var(--red);
}

/* ===== SIDEBAR ===== */
/* Map card */
.map-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 24px;
}

.map-embed {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
}

.map-info {
    padding: 16px 20px;
}

.map-info-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
}

.map-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.map-info-row svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--red);
}

.btn-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 7px;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 14px;
    transition: background .2s;
}

.btn-directions:hover {
    background: var(--red-dark);
}

/* Opening Hours card */
.hours-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 24px;
}

.hours-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 0;
}

.info-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    padding: 6px 0;
    border-bottom: 1px solid #f0ede8;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.today {
    font-weight: 600;
    color: var(--text);
}

.hours-row.today .day {
    color: var(--red);
}

/* Business Info card */
.info-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 24px;
}

.info-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 0;
}

.info-section {
    margin-bottom: 16px;
}

.info-section-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.info-tag {
    font-size: 16px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f3f1ed;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* Nearby cards */
.nearby-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 24px;
}

.nearby-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 0;
}

.nearby-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.nearby-item:last-child {
    border-bottom: none;
}

.nearby-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}

.nearby-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nearby-name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nearby-meta {
    font-size: 16px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
    margin-top: 2px;
}

.nearby-address {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.35;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nearby-rating {
    color: #f39c12;
    font-weight: 600;
}

.nearby-price {
    font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    color: #aaa;
    padding: 48px 24px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 16px;
    line-height: 1.7;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 14px;
    margin-top: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    font-size: 16px;
    color: #888;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    color: #888;
    font-size: 16px;
    transition: color .2s;
}

.footer-socials a:hover {
    color: var(--white);
}


/* ===== REVIEW SECTION HEADING ===== */
.section-heading {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--text);
}

/* ===== REVIEW MODAL ===== */
.review-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(17, 24, 39, 0.72);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.review-modal-overlay.active {
    display: flex;
}

.review-modal {
    width: min(500px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid #d8dde6;
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

.review-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.review-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.review-modal-close {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6b7280;
    font-size: 28px;
    line-height: 1;
    padding: 0;
}

.review-form-group {
    margin-bottom: 18px;
}

.review-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.review-form-group label span {
    color: var(--red);
}

.review-form-control {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    padding: 10px 16px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.review-form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

textarea.review-form-control {
    min-height: 104px;
    resize: vertical;
    border-radius: 14px;
}

.review-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.review-btn-cancel,
.review-btn-submit {
    border: none;
    border-radius: 18px;
    padding: 11px 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.review-btn-cancel {
    background: #eef2f7;
    color: #374151;
}

.review-btn-cancel:hover {
    background: #e2e8f0;
}

.review-btn-submit {
    background: #cf5b56;
    color: var(--white);
}

.review-btn-submit:hover {
    background: var(--red-dark);
}

@media (max-width: 600px) {
    .review-modal {
        padding: 20px;
    }

    .review-modal-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 6px;
    transition: background .2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .main-layout {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .main-left,
    .main-right {
        display: contents;
    }

    #about {
        order: 1;
    }

    #menu {
        order: 2;
    }

    #hours {
        order: 3;
    }

    .info-card {
        order: 4;
    }

    #location {
        order: 5;
    }

    #faqs {
        order: 6;
    }

    .section-heading {
        order: 7;
    }

    #reviews {
        order: 8;
    }

    .nearby-city {
        order: 9;
    }

    .nearby-type {
        order: 10;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .topnav-links {
        display: none;
    }

    .cat-pill.edit-listing-pill {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .listing-title-row h1 {
        font-size: 26px;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
    }

    .listing-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-main {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }
}

.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--red-dark);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

@media (max-width: 600px) {
    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 48px;
        height: 48px;
    }

    grid-template-columns: 2fr 1fr;
  grid-template-rows: 130px 80px;
}
