/* ==========================================================================
   MenuFindr — Complete CSS Stylesheet
   Design System: Warm earthy tones (Terracotta, Sage, Amber, Cream)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & Base
   -------------------------------------------------------------------------- */

:root {
    /* MenuFindr design tokens */
    --mf-primary: #C4532D;
    --mf-primary-dark: #A3421F;
    --mf-primary-light: #E8886A;
    --mf-secondary: #2D5A3E;
    --mf-secondary-dark: #1E3D2A;
    --mf-accent: #D4913D;
    --mf-accent-light: #F0C882;
    --mf-light: #FAF8F4;
    --mf-dark: #2C1810;
    --mf-white: #FFFFFF;
    --mf-gray: #8C8279;
    --mf-gray-light: #D4CFC9;
    --mf-gray-lighter: #EDE9E4;
    --mf-font: 'Commissioner', -apple-system, BlinkMacSystemFont, sans-serif;
    --mf-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --mf-radius: 10px;
    --mf-radius-sm: 6px;
    --mf-radius-lg: 16px;
    --mf-shadow: 0 1px 3px rgba(44, 24, 16, 0.06), 0 4px 12px rgba(44, 24, 16, 0.06);
    --mf-shadow-lg: 0 4px 12px rgba(44, 24, 16, 0.08), 0 16px 40px rgba(44, 24, 16, 0.1);
    --mf-transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --mf-content-width: 1200px;
    --mf-wide-width: 1400px;

    /* Override GeneratePress color variables for consistent contrast */
    --contrast: #2C1810;
    --contrast-2: #2C1810;
    --contrast-3: #8C8279;
    --base: #FAF8F4;
    --base-2: #FFFFFF;
    --base-3: #EDE9E4;
    --accent: #C4532D;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--mf-font);
    color: var(--mf-dark);
    background-color: var(--mf-light);
    line-height: 1.65;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(196, 83, 45, 0.15);
    color: var(--mf-dark);
}

/* Override GeneratePress/block styles to ensure readable text. */
body h1, body h2, body h3, body h4, body h5, body h6 {
    color: var(--mf-dark);
    font-family: var(--mf-font-display);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: var(--mf-primary);
    text-decoration: none;
    transition: color var(--mf-transition);
}

a:hover {
    color: var(--mf-primary-dark);
}

/* Ensure MenuFindr page wrappers override parent theme colors. */
.menufindr-single,
.menufindr-archive,
.menufindr-taxonomy,
.menufindr-claim,
.menufindr-home {
    color: var(--mf-dark);
}

.menufindr-single a,
.menufindr-archive a,
.menufindr-taxonomy a {
    color: var(--mf-primary);
}

.menufindr-single a:hover,
.menufindr-archive a:hover,
.menufindr-taxonomy a:hover {
    color: var(--mf-primary-dark);
}

/* Hide GeneratePress default title on pages that render their own H1 in the hero. */
.single-restaurant .entry-header,
.single-collection .entry-header {
    display: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--mf-primary);
    outline-offset: 2px;
}

/* GeneratePress header, nav, and footer overrides for readable contrast. */
.site-header {
    background-color: var(--mf-white);
    color: var(--mf-dark);
}

.main-navigation a,
.main-navigation .menu-toggle {
    color: var(--mf-dark);
}

.main-navigation a:hover {
    color: var(--mf-primary);
}

.site-footer {
    background-color: var(--mf-dark);
    color: var(--mf-gray-light);
}

.site-footer a {
    color: var(--mf-gray-light);
}

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

.site-info {
    color: var(--mf-gray-light);
}

.site-info a {
    color: var(--mf-gray-light);
}

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

.container {
    max-width: var(--mf-content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    font-family: var(--mf-font);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    border-radius: var(--mf-radius);
    cursor: pointer;
    transition: all var(--mf-transition);
    text-align: center;
}

.btn--primary {
    background-color: var(--mf-primary);
    color: var(--mf-white);
    border-color: var(--mf-primary);
}

.btn--primary:hover {
    background-color: var(--mf-primary-dark);
    border-color: var(--mf-primary-dark);
    color: var(--mf-white);
}

.btn--outline {
    background-color: transparent;
    color: var(--mf-primary);
    border-color: var(--mf-primary);
}

.btn--outline:hover {
    background-color: var(--mf-primary);
    color: var(--mf-white);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   2. Homepage
   -------------------------------------------------------------------------- */

.home-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mf-dark);
    background-size: cover;
    background-position: center;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 24, 16, 0.45) 0%,
        rgba(44, 24, 16, 0.55) 50%,
        rgba(44, 24, 16, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero__content {
    position: relative;
    text-align: center;
    color: var(--mf-white);
    padding: 3rem 1rem;
    width: 100%;
}

.home-hero__title {
    font-family: var(--mf-font-display);
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--mf-white);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(44, 24, 16, 0.3);
}

.home-hero__subtitle {
    font-size: 1.125rem;
    opacity: 0.85;
    margin: 0 0 2rem;
    font-weight: 400;
}

.home-hero__search {
    display: flex;
    max-width: 560px;
    margin: 0 auto 1.5rem;
    gap: 0;
    border-radius: var(--mf-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.home-hero__input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: var(--mf-font);
    font-size: 1rem;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.home-hero__input::placeholder {
    color: var(--mf-gray);
}

.home-hero__button {
    padding: 1rem 1.75rem;
    border: none;
    font-family: var(--mf-font);
    border-radius: 0;
}

.home-hero__popular {
    font-size: 0.9rem;
    opacity: 0.9;
}

.home-hero__popular a {
    color: var(--mf-accent-light);
}

.home-hero__popular a:hover {
    color: var(--mf-white);
    text-decoration: underline;
}

.home-hero__sep {
    margin: 0 0.3rem;
    opacity: 0.5;
}

/* Home sections */
.home-section {
    padding: 4.5rem 0;
}

.home-section h2 {
    font-family: var(--mf-font-display);
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 0.375rem;
    color: var(--mf-dark);
    letter-spacing: -0.02em;
}

.home-section__sub {
    color: var(--mf-gray);
    margin: 0 0 2rem;
    font-size: 1.05rem;
}

.home-section__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Browse by Cuisine */
.home-cuisines {
    background-color: var(--mf-white);
}

.home-cuisines__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-cuisine-tag {
    display: inline-block;
    padding: 0.5rem 1.125rem;
    background-color: var(--mf-white);
    border: 1px solid var(--mf-gray-lighter);
    border-radius: 2rem;
    color: var(--mf-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--mf-transition);
}

.home-cuisine-tag:hover {
    background-color: var(--mf-primary);
    color: var(--mf-white);
    border-color: var(--mf-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 83, 45, 0.2);
}

.home-cuisine-tag__count {
    color: var(--mf-gray);
    font-weight: 400;
    font-size: 0.8rem;
}

.home-cuisine-tag:hover .home-cuisine-tag__count {
    color: rgba(255, 255, 255, 0.8);
}

/* Browse by Location */
.home-location-group {
    margin-bottom: 1rem;
}

.home-location-group h3 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
}

.home-location-group__cities {
    color: var(--mf-gray);
    font-size: 0.95rem;
}

.home-location-group__cities a {
    color: var(--mf-dark);
}

.home-location-group__cities a:hover {
    color: var(--mf-primary);
}

.home-location-group__sep {
    margin: 0 0.25rem;
    color: var(--mf-gray-light);
}

/* Collection cards on homepage */
.home-collections__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.home-collection-card {
    display: block;
    border-radius: var(--mf-radius);
    overflow: hidden;
    background: var(--mf-white);
    box-shadow: var(--mf-shadow);
    transition: transform var(--mf-transition), box-shadow var(--mf-transition);
}

.home-collection-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--mf-shadow-lg);
}

.home-collection-card__image {
    overflow: hidden;
}

.home-collection-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-collection-card:hover .home-collection-card__image img {
    transform: scale(1.04);
}

.home-collection-card__content {
    padding: 1.25rem 1.5rem;
}

.home-collection-card__title {
    font-family: var(--mf-font-display);
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0 0 0.25rem;
    color: var(--mf-dark);
}

.home-collection-card__count {
    color: var(--mf-gray);
    font-size: 0.85rem;
}

/* Newsletter section */
.home-newsletter {
    background: linear-gradient(135deg, var(--mf-secondary-dark) 0%, var(--mf-secondary) 50%, #3A6F50 100%);
    color: var(--mf-white);
    padding: 4.5rem 0;
}

.home-newsletter h2 {
    color: var(--mf-white);
}

/* --------------------------------------------------------------------------
   3. Restaurant Cards
   -------------------------------------------------------------------------- */

.restaurant-card {
    border-radius: var(--mf-radius);
    overflow: hidden;
    background: var(--mf-white);
    box-shadow: var(--mf-shadow);
    transition: transform var(--mf-transition), box-shadow var(--mf-transition);
}

.restaurant-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mf-shadow-lg);
}

.restaurant-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.restaurant-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--mf-gray-lighter);
}

.restaurant-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.restaurant-card:hover .restaurant-card__image img {
    transform: scale(1.04);
}

.restaurant-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mf-gray-lighter), var(--mf-gray-light));
}

.restaurant-card__content {
    padding: 1.125rem 1.25rem 1.25rem;
}

.restaurant-card__name {
    font-family: var(--mf-font-display);
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--mf-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.restaurant-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.restaurant-card__cuisine {
    color: var(--mf-gray);
}

.restaurant-card__price {
    color: var(--mf-accent);
    font-weight: 600;
}

.restaurant-card__location {
    color: var(--mf-gray);
    font-size: 0.85rem;
}

/* Premium card */
.restaurant-card--premium {
    border: 2px solid var(--mf-secondary);
}

/* Verified badge */
.restaurant-verified-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background-color: var(--mf-secondary);
    color: var(--mf-white);
    font-family: var(--mf-font);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    border-radius: 2rem;
    vertical-align: middle;
}

.restaurant-card__image .restaurant-verified-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

/* --------------------------------------------------------------------------
   4. Restaurant Grid (Archive)
   -------------------------------------------------------------------------- */

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.restaurant-grid--loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 150ms ease;
}

/* --------------------------------------------------------------------------
   5. Filter Bar
   -------------------------------------------------------------------------- */

.restaurant-filters {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--mf-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--mf-gray-lighter);
    margin-bottom: 1.5rem;
}

.restaurant-filters__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.restaurant-filters__search {
    flex: 1;
    min-width: 200px;
}

.restaurant-filters__input,
.restaurant-filters__select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    border: 1px solid var(--mf-gray-light);
    border-radius: var(--mf-radius-sm);
    background-color: var(--mf-white);
    color: var(--mf-dark);
    transition: border-color var(--mf-transition);
}

.restaurant-filters__input:focus,
.restaurant-filters__select:focus {
    border-color: var(--mf-primary);
}

.restaurant-filters__field {
    min-width: 140px;
}

.restaurant-filters__map-toggle {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   6. Single Restaurant
   -------------------------------------------------------------------------- */

.restaurant-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-color: var(--mf-dark);
}

.restaurant-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(44, 24, 16, 0.9) 0%,
        rgba(44, 24, 16, 0.5) 40%,
        rgba(44, 24, 16, 0.2) 100%
    );
    display: flex;
    align-items: flex-end;
}

.restaurant-hero__content {
    padding: 2.5rem 1rem;
    color: var(--mf-white);
    width: 100%;
}

.restaurant-hero__content a {
    color: var(--mf-white);
}

.restaurant-hero__title {
    font-family: var(--mf-font-display);
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 0.75rem;
    color: var(--mf-white);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(44, 24, 16, 0.3);
}

.restaurant-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--mf-white);
}

.restaurant-hero__cuisine-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2rem;
    color: var(--mf-white);
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
    transition: all var(--mf-transition);
}

.restaurant-hero__cuisine-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--mf-white);
}

.restaurant-hero__price {
    color: var(--mf-accent-light);
    font-weight: 600;
}

.restaurant-hero__location {
    color: rgba(255, 255, 255, 0.9);
}

/* Single layout */
.menufindr-single__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.menufindr-single__sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
}

/* --------------------------------------------------------------------------
   7. Menu Display
   -------------------------------------------------------------------------- */

.menu-display {
    margin-bottom: 2.5rem;
}

.menu-display__tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--mf-gray-lighter);
    margin-bottom: 1.5rem;
}

.menu-display__tab {
    padding: 0.75rem 1.25rem;
    border: none;
    background: none;
    font-family: var(--mf-font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--mf-gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color var(--mf-transition), border-color var(--mf-transition);
    letter-spacing: 0.01em;
}

.menu-display__tab:hover {
    color: var(--mf-dark);
}

.menu-display__tab--active {
    color: var(--mf-primary);
    border-bottom-color: var(--mf-primary);
}

.menu-display__panel {
    display: none;
}

.menu-display__panel--active {
    display: block;
}

/* Menu Content (WYSIWYG output) */
.menu-display__content {
    line-height: 1.7;
    color: var(--mf-dark);
}

.menu-display__content h2,
.menu-display__content h3,
.menu-display__content h4 {
    margin: 1.5rem 0 0.5rem;
    color: var(--mf-dark);
    border-bottom: 1px solid var(--mf-gray-lighter);
    padding-bottom: 0.5rem;
}

.menu-display__content h2:first-child,
.menu-display__content h3:first-child,
.menu-display__content h4:first-child {
    margin-top: 0;
}

.menu-display__content ul,
.menu-display__content ol {
    padding-left: 1.25rem;
    margin: 0.5rem 0 1rem;
}

.menu-display__content li {
    margin-bottom: 0.35rem;
}

.menu-display__content p {
    margin: 0.5rem 0;
}

.menu-display__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.menu-display__content th,
.menu-display__content td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--mf-gray-lighter);
    text-align: left;
}

.menu-display__content strong {
    color: var(--mf-dark);
}

/* Menu PDF & Images */
.menu-pdf {
    margin-bottom: 1.5rem;
}

.menu-pdf__freshness,
.menu-images__freshness {
    font-size: 0.8125rem;
    color: var(--mf-gray);
    margin: 0.5rem 0 0.75rem;
    font-style: italic;
}

.menu-images__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   8. Photo Gallery
   -------------------------------------------------------------------------- */

.restaurant-gallery {
    margin-bottom: 2.5rem;
}

.restaurant-gallery h2 {
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

.restaurant-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.restaurant-gallery__item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--mf-radius);
    cursor: pointer;
}

.restaurant-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.restaurant-gallery__item:hover img {
    transform: scale(1.06);
}

/* Lightbox */
.menufindr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.menufindr-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--mf-white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--mf-transition);
}

.menufindr-lightbox__close:hover {
    opacity: 1;
}

.menufindr-lightbox__prev,
.menufindr-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--mf-white);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    line-height: 1;
    opacity: 0.6;
    transition: opacity var(--mf-transition), background var(--mf-transition);
    border-radius: var(--mf-radius-sm);
}

.menufindr-lightbox__prev:hover,
.menufindr-lightbox__next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.menufindr-lightbox__prev {
    left: 1rem;
}

.menufindr-lightbox__next {
    right: 1rem;
}

.menufindr-lightbox__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 80vh;
}

.menufindr-lightbox__image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--mf-radius);
    animation: lightboxFadeIn 300ms ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.menufindr-lightbox__caption {
    color: #fff;
    font-size: 1rem;
    margin-top: 0.75rem;
    text-align: center;
    max-width: 80%;
}

.menufindr-lightbox__counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   9. Social Links
   -------------------------------------------------------------------------- */

.restaurant-social {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mf-gray-lighter);
}

.restaurant-social__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mf-dark);
    margin-bottom: 0.5rem;
}

.restaurant-social__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.restaurant-social__item a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: var(--mf-gray-lighter);
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--mf-dark);
    transition: all var(--mf-transition);
}

.restaurant-social__item a svg {
    flex-shrink: 0;
}

.restaurant-social__item a:hover {
    transform: scale(1.05);
}

.restaurant-social__item--instagram a:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--mf-white);
}

.restaurant-social__item--facebook a:hover {
    background: #1877F2;
    color: var(--mf-white);
}

.restaurant-social__item--yelp a:hover {
    background: #D32323;
    color: var(--mf-white);
}

.restaurant-social__item--tiktok a:hover {
    background: #010101;
    color: var(--mf-white);
}

.restaurant-social__item--twitter a:hover {
    background: #1DA1F2;
    color: var(--mf-white);
}

.restaurant-social__item--google a:hover {
    background: #4285F4;
    color: var(--mf-white);
}

/* --------------------------------------------------------------------------
   10. Collections
   -------------------------------------------------------------------------- */

.menufindr-collections__header {
    margin-bottom: 2rem;
}

.menufindr-collections__header h1 {
    font-size: 2rem;
    margin: 0 0 0.25rem;
}

.menufindr-collections__sub {
    color: var(--mf-gray);
    margin: 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.collection-card {
    display: block;
    border-radius: var(--mf-radius);
    overflow: hidden;
    background: var(--mf-white);
    box-shadow: var(--mf-shadow);
    transition: transform var(--mf-transition), box-shadow var(--mf-transition);
    color: inherit;
}

.collection-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--mf-shadow-lg);
}

.collection-card__image {
    overflow: hidden;
}

.collection-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-card__image img {
    transform: scale(1.04);
}

.collection-card__content {
    padding: 1.25rem;
}

.collection-card__title {
    font-family: var(--mf-font-display);
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0 0 0.25rem;
    color: var(--mf-dark);
}

.collection-card__excerpt {
    color: var(--mf-gray);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.collection-card__count {
    color: var(--mf-gray);
    font-size: 0.85rem;
}

/* Single collection */
.collection-hero {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-color: var(--mf-dark);
}

.collection-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.85), rgba(44, 24, 16, 0.3));
    display: flex;
    align-items: flex-end;
}

.collection-hero__content {
    padding: 2rem 1rem;
    color: var(--mf-white);
    width: 100%;
}

.collection-hero__title {
    font-family: var(--mf-font-display);
    font-size: 2.25rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--mf-white);
    text-shadow: 0 2px 8px rgba(44, 24, 16, 0.3);
}

.collection-hero__count {
    opacity: 0.8;
    margin: 0;
}

.collection-content {
    padding: 2rem 1rem;
    max-width: 800px;
}

.collection-restaurants {
    padding-bottom: 3rem;
}

.collection-more {
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--mf-gray-lighter);
}

.collection-more h2 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
}

/* --------------------------------------------------------------------------
   11. Taxonomy Pages (Location/Cuisine)
   -------------------------------------------------------------------------- */

.menufindr-breadcrumbs {
    padding: 1rem 0 0.5rem;
    font-size: 0.85rem;
    color: var(--mf-gray);
}

.menufindr-breadcrumbs a {
    color: var(--mf-gray);
}

.menufindr-breadcrumbs a:hover {
    color: var(--mf-primary);
}

.menufindr-taxonomy__header {
    margin-bottom: 1rem;
}

.menufindr-taxonomy__header h1 {
    font-size: 2rem;
    margin: 0 0 0.25rem;
}

.menufindr-taxonomy__description {
    color: var(--mf-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    line-height: 1.7;
}

.menufindr-taxonomy__subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.taxonomy-tag {
    display: inline-block;
    padding: 0.4rem 0.875rem;
    background: var(--mf-white);
    border: 1px solid var(--mf-gray-lighter);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--mf-dark);
    transition: all var(--mf-transition);
}

.taxonomy-tag:hover {
    background-color: var(--mf-primary);
    color: var(--mf-white);
    border-color: var(--mf-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 83, 45, 0.2);
}

.taxonomy-tag span {
    font-size: 0.8rem;
    color: var(--mf-gray);
}

.taxonomy-tag:hover span {
    color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   12. Claim & Payment Pages
   -------------------------------------------------------------------------- */

.menufindr-claim {
    padding: 3rem 0;
    max-width: 640px;
    margin: 0 auto;
}

.claim-message {
    text-align: center;
    padding: 2rem;
}

.claim-message h1 {
    font-size: 1.75rem;
    margin: 0 0 1rem;
}

.claim-message p {
    color: var(--mf-gray);
    margin: 0 0 1.5rem;
}

.claim-message--success h1 {
    color: var(--mf-secondary);
}

.claim-message--error h1 {
    color: var(--mf-primary);
}

.claim-form {
    background: var(--mf-white);
    padding: 2.5rem;
    border-radius: var(--mf-radius-lg);
    box-shadow: var(--mf-shadow-lg);
}

.claim-form__field {
    margin-bottom: 1.25rem;
}

.claim-form__field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
    color: var(--mf-dark);
}

.claim-form__field .required {
    color: var(--mf-primary);
}

.claim-form__field input,
.claim-form__field select,
.claim-form__field textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--mf-gray-light);
    border-radius: var(--mf-radius-sm);
    font-size: 0.95rem;
}

.claim-form__field input:disabled {
    background-color: var(--mf-gray-lighter);
    color: var(--mf-gray);
}

.claim-form__field textarea {
    resize: vertical;
}

/* Payment section */
.claim-payment {
    text-align: center;
}

.claim-payment h1 {
    margin: 0 0 1rem;
}

.claim-payment__benefits {
    text-align: left;
    background: var(--mf-white);
    padding: 1.5rem 2rem;
    border-radius: var(--mf-radius);
    margin: 1.5rem 0 2rem;
}

.claim-payment__benefits h3 {
    margin: 0 0 0.75rem;
}

.claim-payment__benefits ul {
    margin: 0;
    padding: 0 0 0 1.25rem;
}

.claim-payment__benefits li {
    margin-bottom: 0.5rem;
    color: var(--mf-gray);
}

/* --------------------------------------------------------------------------
   13. Newsletter Form
   -------------------------------------------------------------------------- */

.newsletter-signup {
    text-align: center;
    padding: 2rem 0;
}

.newsletter-signup h2 {
    font-family: var(--mf-font-display);
    font-weight: 400;
    color: inherit;
    margin: 0 0 0.5rem;
}

.newsletter-signup p {
    opacity: 0.85;
    margin: 0 0 1.25rem;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-form__input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-family: var(--mf-font);
    font-size: 0.9375rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--mf-radius) 0 0 var(--mf-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--mf-white);
    outline: none;
    backdrop-filter: blur(4px);
}

.newsletter-form__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form__input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form__button {
    border-radius: 0 var(--mf-radius) var(--mf-radius) 0;
    background-color: var(--mf-accent);
    color: var(--mf-dark);
    border: none;
    font-weight: 600;
}

.newsletter-form__button:hover {
    background-color: var(--mf-accent-light);
}

.newsletter-form__message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    min-height: 1.5em;
}

.newsletter-form__message--success {
    color: #A8E6CF;
}

.newsletter-form__message--error {
    color: #FF8A80;
}

/* --------------------------------------------------------------------------
   14. Map Containers
   -------------------------------------------------------------------------- */

.menufindr-archive__map {
    width: 100%;
    height: 400px;
    border-radius: var(--mf-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.restaurant-map {
    margin-bottom: 2.5rem;
}

.restaurant-map h2 {
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

.restaurant-map__canvas {
    width: 100%;
    height: 350px;
    border-radius: var(--mf-radius);
    overflow: hidden;
}

.restaurant-map--static {
    text-align: center;
    padding: 1rem 0;
}

/* Google Maps info window */
.menufindr-info-window {
    padding: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.menufindr-info-window strong a {
    color: var(--mf-dark);
}

.menufindr-info-window small {
    color: var(--mf-gray);
}

/* --------------------------------------------------------------------------
   15. Pagination
   -------------------------------------------------------------------------- */

.menufindr-pagination {
    margin-top: 2rem;
    text-align: center;
}

.menufindr-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 0.375rem;
}

.menufindr-pagination li {
    display: inline-block;
}

.menufindr-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.875rem;
    border-radius: var(--mf-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mf-dark);
    background: var(--mf-white);
    border: 1px solid var(--mf-gray-light);
    transition: all var(--mf-transition);
}

.menufindr-pagination .page-numbers:hover {
    background-color: var(--mf-gray-lighter);
}

.menufindr-pagination .page-numbers.current {
    background-color: var(--mf-primary);
    color: var(--mf-white);
    border-color: var(--mf-primary);
}

/* --------------------------------------------------------------------------
   16. Claim This Restaurant CTA
   -------------------------------------------------------------------------- */

.restaurant-claim-cta {
    background: linear-gradient(135deg, var(--mf-gray-lighter) 0%, #F5F0EB 100%);
    padding: 2.5rem;
    border-radius: var(--mf-radius-lg);
    text-align: center;
    margin-top: 2.5rem;
    border: 1px solid var(--mf-gray-lighter);
}

.restaurant-claim-cta p {
    margin: 0 0 1.25rem;
    font-family: var(--mf-font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--mf-dark);
}

.restaurant-claim-cta--pending p {
    color: var(--mf-gray);
    font-weight: 400;
    margin: 0;
}

/* Restaurant info sidebar */
.restaurant-info {
    background: var(--mf-white);
    color: var(--mf-dark);
    padding: 1.75rem;
    border-radius: var(--mf-radius);
    box-shadow: var(--mf-shadow);
    border-top: 3px solid var(--mf-primary);
}

.restaurant-info a {
    color: var(--mf-primary);
}

.restaurant-info a:hover {
    color: var(--mf-primary-dark);
}

.restaurant-info__item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--mf-gray-lighter);
}

.restaurant-info__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.restaurant-info__label {
    display: block;
    font-family: var(--mf-font);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mf-gray);
    margin-bottom: 0.375rem;
}

.restaurant-info__address {
    display: block;
    line-height: 1.5;
    color: var(--mf-dark);
}

.restaurant-info__price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mf-accent);
}

.restaurant-info__reservation {
    display: block;
    text-align: center;
    margin: 1.25rem 0;
}

/* Hours table */
.restaurant-info__hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--mf-gray-lighter);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.hours-table tr {
    border: none;
}

.hours-table td {
    padding: 0.35rem 0;
}

.hours-table__day {
    font-weight: 500;
    color: var(--mf-dark);
}

.hours-table__time {
    text-align: right;
    color: var(--mf-gray);
}

.hours-table__today {
    background-color: rgba(196, 83, 45, 0.05);
    border-radius: var(--mf-radius-sm);
}

.hours-table__today td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.hours-table__today .hours-table__day {
    color: var(--mf-primary);
    font-weight: 600;
}

.hours-table__closed {
    color: var(--mf-primary);
    font-style: italic;
}

/* Related restaurants */
.menufindr-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--mf-gray-lighter);
}

.menufindr-related h2 {
    font-family: var(--mf-font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 1.5rem;
}

/* Archive header */
.menufindr-archive {
    padding: 2rem 0 3rem;
}

.menufindr-archive__header {
    margin-bottom: 1rem;
}

.menufindr-archive__header h1 {
    font-family: var(--mf-font-display);
    font-size: 2.25rem;
    font-weight: 400;
    margin: 0 0 0.25rem;
}

.menufindr-archive__count {
    color: var(--mf-gray);
    font-size: 0.9rem;
    margin: 0;
}

.menufindr-archive__empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--mf-gray);
}

.menufindr-archive__empty p {
    margin: 0 0 0.5rem;
}

/* Taxonomy pages */
.menufindr-taxonomy {
    padding: 0 0 3rem;
}

/* --------------------------------------------------------------------------
   Entrance Animations
   -------------------------------------------------------------------------- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Home hero content entrance */
.home-hero__title {
    animation: fadeInUp 600ms ease both;
}

.home-hero__search {
    animation: fadeInUp 600ms ease 150ms both;
}

.home-hero__popular {
    animation: fadeInUp 600ms ease 300ms both;
}

/* Restaurant hero entrance */
.restaurant-hero__title {
    animation: fadeInUp 500ms ease both;
}

.restaurant-hero__meta {
    animation: fadeInUp 500ms ease 100ms both;
}

/* Staggered card entrance (first 6 cards) */
.restaurant-grid .restaurant-card:nth-child(1) { animation: fadeInUp 400ms ease 0ms both; }
.restaurant-grid .restaurant-card:nth-child(2) { animation: fadeInUp 400ms ease 60ms both; }
.restaurant-grid .restaurant-card:nth-child(3) { animation: fadeInUp 400ms ease 120ms both; }
.restaurant-grid .restaurant-card:nth-child(4) { animation: fadeInUp 400ms ease 180ms both; }
.restaurant-grid .restaurant-card:nth-child(5) { animation: fadeInUp 400ms ease 240ms both; }
.restaurant-grid .restaurant-card:nth-child(6) { animation: fadeInUp 400ms ease 300ms both; }

/* Sidebar entrance */
.restaurant-info {
    animation: fadeInUp 500ms ease 200ms both;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
    .menufindr-single__layout {
        grid-template-columns: 1fr;
    }

    .menufindr-single__sidebar {
        position: static;
    }

    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-collections__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .home-hero__title {
        font-size: 2rem;
    }

    .home-hero__search {
        flex-direction: column;
    }

    .home-hero__search {
        border-radius: var(--mf-radius);
    }

    .home-hero__input {
        border-radius: var(--mf-radius);
        margin-bottom: 0.5rem;
    }

    .home-hero__button {
        border-radius: var(--mf-radius);
    }

    .home-hero {
        min-height: 400px;
    }

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

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

    .home-collections__grid {
        grid-template-columns: 1fr;
    }

    .restaurant-hero__title {
        font-size: 1.75rem;
    }

    .restaurant-hero {
        min-height: 280px;
    }

    .restaurant-filters__controls {
        flex-direction: column;
    }

    .restaurant-filters__search,
    .restaurant-filters__field {
        min-width: 100%;
    }

    .restaurant-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-images__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menufindr-lightbox__prev,
    .menufindr-lightbox__next {
        font-size: 2rem;
        padding: 0.75rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form__input {
        border-radius: var(--mf-radius);
        margin-bottom: 0.5rem;
    }

    .newsletter-form__button {
        border-radius: var(--mf-radius);
        padding: 0.75rem;
    }

    .claim-form {
        padding: 1.5rem;
    }

    .restaurant-map__canvas {
        height: 250px;
    }

    .menufindr-archive__map {
        height: 300px;
    }
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */

@media print {
    .restaurant-filters,
    .restaurant-map,
    .menufindr-archive__map,
    .restaurant-social,
    .restaurant-claim-cta,
    .newsletter-signup,
    .menufindr-lightbox,
    .menufindr-pagination,
    .restaurant-filters__map-toggle,
    .home-hero__search,
    .home-newsletter {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .restaurant-card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    .restaurant-hero {
        min-height: auto;
        background: none !important;
    }

    .restaurant-hero__overlay {
        position: static;
        background: none;
    }

    .restaurant-hero__content {
        color: black;
    }

    .restaurant-hero__title {
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
