/* Font setup */
@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Playfair Display";
    src: url("/fonts/PlayfairDisplay-Bold.woff2") format("woff2");
    font-weight: 700; /* variable range */
    font-style: normal;
    font-display: swap;
  }

  :root {
    --fs-4: 0.25rem;    /* 4px */
    --fs-8: 0.5rem;    /* 8px */
    --fs-12: 0.75rem;   /* 12px */
    --fs-14: 0.875rem;  /* 14px */
    --fs-16: 1rem;      /* 16px */
    --fs-18: 1.125rem;  /* 18px */
    --fs-20: 1.25rem;   /* 20px */
    --fs-24: 1.5rem;    /* 24px */
    --fs-28: 1.75rem;   /* 28px */
    --fs-32: 2rem;      /* 32px */
    --fs-36: 2.25rem;   /* 36px */
    --fs-40: 2.5rem;    /* 40px */
    --fs-48: 3rem;      /* 48px */
    --fs-50: 3.3rem;  /* 50px */
    --fs-56: 3.5rem;    /* 56px */
    --fs-64: 4rem;      /* 64px */
    --fs-72: 4.5rem;
    --fs-78: 4.875rem;  /* 78px */
    --fs-96: 6rem;      /* 96px */
  }

  html {
    font-size: 16px;
    font-family: "Lato", sans-serif;
    letter-spacing: normal !important;
  }

  main {
    margin-top: 64px;
  }

  p {
    word-spacing: 0.05em;
  }

  .mobile-only, 
  .mobile-only-without-tablet,
  .desktop-only, 
  .desktop-only-with-tablet,
  .large-desktop-only, 
  .small-desktop-to-mobile-only,
  .mobile-only-without-small-desktop {
    display: none;
  }

  .desktop-non-tablet-only, .tablet-only {
    display: none;
  }
  
  /* Base styles */
  body {
    font-family: "Lato", sans-serif;
    line-height: 1.6;
    color: #222;
    margin: 0;
    background: #fff;
    height: 100%;
  }
  
  h1 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #000000;
    font-size: var(--fs-64);
    line-height: normal;
    margin-bottom: var(--fs-36);
  }
  h2 {
    font-size: var(--fs-32);
    font-family: "Lato", sans-serif;
    font-weight: 700;
  }

  .site-header {
    padding-top: 24px;
    padding-bottom: 24px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* keep it above other content */
    background: #fff; /* ensure it doesn’t become transparent when scrolling */
    transition: box-shadow 0.2s ease;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* spaces left and right edges */
    width: 100%;
    margin: 0 auto;
  }

  .header-container-center {
    display: flex;
    align-items: center;
    justify-content: center; /* spaces left and right edges */
    width: 100%;
    margin: 0 auto;
  }

  .header-left,
  .header-right {
    flex: 1; /* take equal space */
  }

  .header-right {
    text-align: right;
  }

  .open-in-app-header-cta {
    font-family: "Lato", sans-serif;
    font-weight: bold; 
    padding: var(--fs-16) var(--fs-48);
    font-size: var(--fs-18);
    /* border: 1px solid #134F5C; */
    border-radius: 8px;
    color: white;
    background: #134F5C;
    text-align: center;
    text-decoration: none;
    margin-right: 48px;
    transition: 50ms ease all;
  }

  .open-in-app-header-cta:hover, .open-in-app-404-cta:hover, .open-in-app-404-cta:focus, .open-in-app-header-cta:focus, .map-cta-button:hover, .map-cta-button:focus  {
    background: #1D7689;
    text-decoration: none;   
  }





  .site-header.scrolled { 
    box-shadow: 0px 4px 20px rgba(0,0,0,0.08); /* optional subtle shadow */
  }

  h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }
  
  p {
    margin: 0 0 1em;
  }
  
  a {
    color: #134F5C;
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }
  
  /* Layout */
  .list-page {
    max-width: 63.5vw;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }
  

  .byline {
    font-family: "Lato", sans-serif;
    font-size: var(--fs-18);
    font-weight: 400;
    color: #000000;
    margin-bottom: 0px;
    line-height: normal;
  }
  .author {
    font-family: "Lato", sans-serif;
    font-size: var(--fs-18);
    font-weight: bold;
    line-height: auto;
    color: #000000;

  }
  .updated-time {
    margin-bottom: 0px;
    font-size: var(--fs-18);
  }
  .date-and-share-container {
    display: flex;
    flex-direction:row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
  }
  .intro {
    margin-top: var(--fs-36);
    margin-bottom: var(--fs-64);
    font-size: var(--fs-18);
    color: #000000;
    font-weight: 400;
  }
  
  /* Restaurant list */
  .restaurant-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .app-promo {
    box-sizing: border-box;
    margin: var(--fs-64) 0;
    
  }

  .app-promo:hover,
  .app-promo-main:hover,
  .app-promo-link:hover {
    text-decoration: none;
  }

  .app-promo-main {
    box-sizing: border-box;
    margin: var(--fs-64) 0;
  }
  
  .app-promo-link {
    display: block;
    background: linear-gradient(180deg, #1C3237, #237081);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding-left: var(--fs-32);
    padding-right: var(--fs-32);
    padding-top: var(--fs-24);
    padding-bottom: var(--fs-24);
  }
  
  .app-promo-content {
    display: flex;
    align-items: center;
    gap: var(--fs-24);
  }
  
  .app-promo-logo {
    flex-shrink: 0;
    border-radius: 16px;
  }
  
  .app-promo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--fs-8);
    flex: 1;
  }
  
  .app-promo-heading {
    margin: 0;
    font-size: var(--fs-24);
    font-weight: bold;
    line-height: var(--fs-24);
    letter-spacing: normal;
    margin-bottom: 0;
    width: 100%;
  }
  
  .app-promo-subtext {
    font-size: var(--fs-18);
    font-weight: 400;
    line-height: var(--fs-24);
    letter-spacing: normal;
    margin: 0;
    width: 100%;
  }
  
  .arrow-right {
    display: inline-block;
    width: 10.5px;
    height: 10.5px;
    border-top: 2.83px solid currentColor;
    border-right: 2.83px solid currentColor;
    transform: rotate(45deg);
    margin-left: 0.5rem;
    border-radius:100;
  }

  
  
  .restaurant {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #D3D3D3;
    padding-bottom: var(--fs-48);
    padding-top: var(--fs-48);
    justify-content: space-between;
    min-height: 377px;          /* matches Figma spec */
    gap: var(--fs-96);               /* spacing between image and meta */
    align-items: stretch;
  }

  .restaurant:first-of-type {
    border-top: 1px solid #D3D3D3;
  }
  .app-promo + .restaurant {
    padding-top: 0;
  }

  .restaurant-name-cta {
    color: black;
    padding-top: 4px;
  }
  .restaurant img {
    display: block;
    max-width: 100%;  /* don't overflow container */
    height: auto;     /* preserve aspect ratio */
    border-radius: 6px;
    aspect-ratio: 1/1;
    object-fit: cover;
    position: relative;
    object-fit: cover;
    z-index: 1;
  }
  h2.suggested-lists {
    font-size: var(--fs-40);
    font-weight: bold;
    margin-top: 0;
    margin-bottom: var(--fs-32);
  }
  .meta {
    margin-top: 0.5rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 106px;
    flex: 50%;
    width: 50%;
  }

  .meta-no-photo {
    margin-top: 0.5rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 50%;
    width: 50%;
  }

  .meta-no-photo .meta-outer {
    margin-top: 48px;

  }
  .restaurant-no-photo {
    min-height: unset;
  }
  .restaurant .meta h2, .restaurant .meta-no-photo h2 {
    margin: 0 0 0.25rem;
    line-height: normal;
  }
  .logo-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .logo {
    width: 80px;
  }
  .share-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  /* Example: override modal background */
#klaro .cm-modal {
    background-color: #fffdf7;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }

  #klaro .cookie-policy-link {
    border-bottom: 1px solid white;
    color: white;
  }

  #klaro .cn-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--fs-14);
    margin: 0;
  }
  
  /* Buttons */
  #klaro .cm-btn {
    background-color: transparent;
    color: white;
    border-radius: 8px;
    border-color: white;
    border-width: 1px;
    border-style: solid;
    padding-top: var(--fs-8);
    padding-bottom: var(--fs-8);
    padding-left: var(--fs-12);
    padding-right: var(--fs-12);
    font-weight: bold;
    font-size: var(--fs-12);
    text-wrap-mode: nowrap;
    margin: 0;
  }

  #klaro .cn-ok {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #klaro .cm-btn.cm-btn-success {
    background-color: white; /* primary accept button */
    color: black;
    border-radius: 4px;
    font-family: "Lato", sans-serif;
    padding-top: var(--fs-8);
    padding-bottom: var(--fs-8);
    padding-left:var(--fs-12);
    padding-right: var(--fs-12);
    font-weight: bold;
    width: fit-content;
  }

  #klaro .cookie-notice a {
    color: white;
  }
  #klaro {
    --notice-max-width: 600px;
    --notice-right: auto;
    --notice-left: 20px;
  }

  #klaro .cn-body {
    display: flex;
    flex-direction: row;
    gap: var(--fs-16);
    padding: 0;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }



  #klaro-cookie-notice {
    padding: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    right: 0;
    max-width: unset;
    box-sizing: border-box;
    border-radius: 0px;
    background-color: #134F5C;
    padding: 14px 20px;
    flex-direction: row;
    align-items: center;
    display: flex;
  }
  #id-cookie-notice {
    margin: 0;
  }
  .restaurant .meta-line {
    font-size: var(--fs-18);
    color: #000000;
    margin-top: var(--fs-16);
    margin-bottom: var(--fs-16);
  }
  .meta {
    flex: 1;
  }
  .goodfor {
    font-size: var(--fs-18);
    color: #000000;
    margin: 0 0 1rem 0;   /* separate from meta-line and button */
  }

  .restaurant-name-container {
    display: grid;
    grid-template-columns: 7fr 1fr;
    grid-template-rows: 1fr;
    
  }
  
  .good-for-prefix {
    font-weight: bold;
    font-size: var(--fs-18);
    color: #000000;
    margin-right: var(--fs-4);
  }

  .media figure, .media-hero-desktop figure {
    margin: 0;                 /* remove default margins */
    text-align: center;        /* center everything inside */
  }

  /* Skeleton shimmer under image */
  .media::before, .media-suggested::before, .media-hero-desktop::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(
      90deg,
      #eee 25%,
      #f5f5f5 37%,
      #eee 63%
    );
    animation: shimmer 1.4s infinite;
    z-index: 0; /* behind image */
  }

  .media-container figcaption {
    position: relative;
    z-index: 1; /* above ::before */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: var(--fs-8);
  }

  .media-container-hero figcaption {
    position: relative;
    z-index: 1; /* above ::before */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: var(--fs-8);
  }

  .photo-wrapper-link:hover, .media-container:hover, .media-container-hero:hover figcaption:hover {
    text-decoration: none;
  }

  .media, .media-hero-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;
    background: #eee; /* fallback skeleton background */
    position: relative;
    aspect-ratio: 1/1;
  }

  .media {
    border-radius: 8px;
  }

  .media-hero-desktop {
    border-radius: 12px;
  }

  .media-suggested {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    overflow: hidden;
    background: #eee; /* fallback skeleton background */
    position: relative;
    aspect-ratio: 1 / 1;
  }

  @keyframes shimmer {
    0% {
      background-position: -400px 0;
    }
    100% {
      background-position: 400px 0;
    }
  }
  

  
  .photo-credit {
    color: #808080;
    font-size: var(--fs-16);
    font-weight: 400;
    font-family: "Lato", sans-serif;
  }
  .cta {
    font-family: "Lato", sans-serif;
    font-weight: bold; 
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .cta span {
    font-size: var(--fs-18);
    margin-right: var(--fs-8);
  }
  .privacy-notice {
    font-family: "Lato", sans-serif;
    font-size: var(--fs-28);
    font-weight: bold;
    color: black;
    margin-top: 0px;
    margin-bottom: 5px;
  }
  #privacy-notice-body.privacy-notice-body {
    font-family: "Lato", sans-serif;
    font-size: var(--fs-14);
    font-weight: 400;
    color: white;
    margin-bottom: 0px;
    margin-top: 0px;
    line-height: 1.5;
  }
  .bookmark-cta {
    margin-top: 16px;
    
  }

  .qr-image {
    max-width: 300px;
    width: 100%;
  }
  
  .restaurant-name {
    display: inline;
  }
  .divider {
    margin-left: 8px;
    margin-right: 8px;
  }
  .cta:hover, .cta:focus, .restaurant-name-cta:hover, .restaurant-name-cta:focus {
    color: #1D7689;
    text-decoration: none; 
    cursor: pointer;  
  }
  /* Map CTA section */
  .map-cta {
    margin-top: var(--fs-64);
    border: 2px solid #D3D3D3;
    padding-left: var(--fs-32);
    padding-right: var(--fs-32);
    padding-top: var(--fs-32);
    padding-bottom: var(--fs-32);
    border-radius: 8px;
    text-align: center;
    margin-bottom: var(--fs-64);
    box-sizing: border-box;
  }

  .copy-feedback {
    margin-left: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: var(--fs-18);
    font-weight: bold;
    color: #134F5C; /* match your brand color */
  }
  
  .copy-feedback.show {
    opacity: 1;
  }

  .map-cta-title {
    font-family: "Lato", sans-serif;
    font-size: var(--fs-24);
    font-weight: bold;
    color: #000000;
    line-height: var(--fs-32);
    margin: 0;
  }

  .map-cta-body {
    font-family: "Lato", sans-serif;
    font-size: var(--fs-18);
    font-weight: 400;
    color: #000000;
    margin: 0;
    line-height: var(--fs-24);
    margin-bottom: var(--fs-24);
    margin-top: var(--fs-12);
  }

  .map-cta-button {
    display: inline-block;
    font-family: "Lato", sans-serif;
    font-weight: bold; 
    padding: var(--fs-16) var(--fs-48);
    font-size: var(--fs-18);
    /* border: 1px solid #134F5C; */
    border-radius: 8px;
    color: white;
    background: #134F5C;
    text-align: center;
    text-decoration: none;
  }

  a.map-cta-link {
    text-decoration: underline;
  }
  
  /* Suggested lists */
  .suggested {
    margin-top: 2rem;
  }
  .suggested h3 {
    margin-bottom: 1rem;
  }
  .hero-cover-cta:hover {
    text-decoration: none;

  }

  .hero-cover-cta {
    flex: 1;
  }
  .suggested-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-columns: repeat(auto-fit, minmax(280px, 300px)); */
    gap: var(--fs-40);
    list-style: none;
    padding: 0;
    margin: 0;
    justify-items: start;
  }

  .suggested-grid > * {
    min-width: 200px; /* ensures items don’t shrink too tiny */
  }
  
  .suggested-card {
    display: flex;
    flex-direction: column;
  }
  
  .suggested-card a {
    text-decoration: none;
    color: inherit;

  }
  
  .suggested-card .media-suggested img {
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .suggested-card .title {
    font-size: var(--fs-24);
    font-weight: bold;
    margin-top: 0.75rem;
    text-align: left;
    text-wrap: pretty;
    width: 100%;
    line-height: normal;
    margin-bottom: 0;
  }

  .suggested-card:hover .title {
    color: #134F5C;
  }

  .suggested-card:focus .title {
    color: #134F5C;
  }
  
  .site-footer {
    background: #134F5C;
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 377px;      /* footer must be at least 680px tall */
    padding-top: 8rem;      /* room for overlap */
    padding-bottom: 4rem;
    margin-top: 280px;
    
  }
  
  .promo-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    padding-left: var(--fs-56);
    padding-right: var(--fs-56);
    padding-top: var(--fs-40);
    max-width: 960px;
    width: 57%;
    min-height: 350px;       /* card must be at least 377px tall */
    position: absolute;
    top: 0;
    gap: var(--fs-64);
    transform: translateY(-50%); /* half in / half out */
  }

  .promo-card-small-desktop {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    padding-left: var(--fs-56);
    padding-right: var(--fs-56);
    padding-top: var(--fs-40);
    max-width: 960px;
    width: 57%;
    min-height: 350px;       /* card must be at least 377px tall */
    position: absolute;
    top: 0;
    gap: var(--fs-64);
    transform: translateY(-50%); /* half in / half out */
  }
  

  .app-promo-title {
    font-family: "Lato", sans-serif;
    font-size: var(--fs-40);
    font-weight: bold;
    color: #000000;
    text-align: left;
    width: 75%;
    line-height: normal;
    margin: 0;
  }

  .app-promo-subtitle {
    font-family: "Lato", sans-serif;
    font-size: var(--fs-18);
    font-weight: 400;
    margin: 0;
    text-wrap-style: pretty;
  }

  
  .promo-media {
    display: flex;
    align-items: flex-end;   /* anchor to bottom */
    justify-content: center;
  }

  .promo-media img {
    max-width: 380px;   /* safe limit for desktop */
    height: unset;
    object-fit: contain;
    
  }

  .promo-media-scaling {
    width: 100%;
    align-items: unset;
  }

  .promo-media-scaling img {
    width: 100%;
    height: auto;
    max-width: 385px;
  }
  
  .promo-content {
    max-width: 385px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--fs-32);
    padding-bottom: var(--fs-40);
  }
  
  .app-buttons {
    display: flex;
    justify-content: flex-start;
    gap: var(--fs-40);
    align-items: center;
  }

  .store-link:hover {
    text-decoration: none;
  }

  .rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }

  .copy-link-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 0;
    height: 20px;
    background-color: #fff;
    color: #134F5C;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    padding-inline-end: 8px;
  }

  .copy-link-btn:hover {
    color: #1D7689;
    cursor: pointer;
  }
  
  .copy-link-btn img {
    display: block;
  }

  .copy-link-btn svg {
    height: 20px;
  }
  
  .copy-feedback {
    margin-left: 0px;
    font-size: 0.875rem;
    color: #134F5C; /* adjust to Beli brand #134F5C */
  }

  .copy-icon {
    fill: #134F5C;
  }

  .store-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fs-16);
  }

  .rating-count {
    margin: 0;
    color: black;
  }

  .google-button {
    width: 100%;
    height: auto;
  }
  
  .apple-button {
    width: 100%;
    height: auto;
  }

  #klaro .cn-changes {
    display: none !important;
  }

  .hero-desktop {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--fs-48);
  }

  .hero-container, .media-container-hero {
    flex: 1;
  }

  .hero-image {
    display: block;
    max-width: 100%;  /* don't overflow container */
    height: auto;     /* preserve aspect ratio */
    border-radius: 8px;
    aspect-ratio: 1/1;
    object-fit: cover;
    position: relative;
    object-fit: cover;
    z-index: 1;
  }

  .bookmark-cta-mobile {
    border-radius: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-right: 4px;
  
  }

  .bookmark-cta-mobile:focus {
  }

  .media-picture-desktop {
    width: 100%;
    height: 100%;
  }

  .hero-image-desktop {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;  /* don't overflow container */
    height: auto;     /* preserve aspect ratio */
    border-radius: 12px;
    aspect-ratio: 1/1;
    object-fit: cover;
    position: relative;
    object-fit: cover;
    z-index: 1;
  }

  .subtitle {
    font-size: var(--fs-18);
    font-weight: bold;
    line-height: normal;
    margin-top: 0;
    margin-bottom: var(--fs-16);
  }

  .title {
    margin-bottom: 16px;
    margin-top: 0px;
  }

  .title-desktop {
    font-size: var(--fs-48);
    font-weight: bold;
    line-height: normal;
    text-align: left;
    margin-bottom: var(--fs-40);
  }

  .flex-1 {
    flex: 1;
  }

  .subtitle-desktop {
    margin-top: 0;
    font-size: var(--fs-24);
    font-weight: bold;
    line-height: normal;
    text-align: left;
    margin-bottom: var(--fs-32);
    color: black;
  }

  .stop-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  .stop-modal-qr-code {
    max-width: 228px;
    width: 100%;
  }

  .stop-modal-content h2 {
    font-size: var(--fs-32);
    font-weight: bold;
    line-height: normal;
    margin: 0;
    width: 80%;
  }

  .stop-modal-content p {
    font-size: var(--fs-18);
    line-height: var(--fs-24);
    letter-spacing: normal;
    margin-bottom: var(--fs-32);
    margin-top: var(--fs-32);
  }
  
  .stop-modal-content {
    background: #fff;
    padding: var(--fs-40);
    border-radius: var(--fs-24);
    text-align: center;
    max-width: 485px;
    width: 80%;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 485px;
  }
  
  .stop-modal-close {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    align-self: flex-end;
    color: black;
  }

  .stop-modal-close-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: var(--fs-8);
  }

  .stop-modal-close:hover {
    cursor: pointer;
  }
  
  .qr-code {
    margin-top: 1rem;
    max-width: 200px;
    width: 100%;
  }
  
  
  
  /* Mobile tweaks */
  @media (max-width: 600px) {
    main {
      margin-top: 12px;
      width: 100vw;
    }
    html {
        width: 100%;
    }
    h1 {
        font-family: "Playfair Display", serif;
        font-weight: 700;
        color: #000000;
        font-size: var(--fs-32);
        line-height: auto;
      }
        /* Layout */
    .list-page {
        padding-left: 24px;
        padding-right: 24px;
        max-width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        padding-top: var(--fs-16);
    }
    .restaurant {
      flex-direction: column-reverse;
      align-items: flex-start;
      min-height: fit-content;
    }
    .suggested-grid li {
      flex: 1 1 45%;
      max-width: 45%;
    }
    .app-promo-subtitle {
      text-align: center;
      font-size: var(--fs-14);
    }
    .site-footer {
      padding-top: 0;
      padding-bottom: 0;
    }
    .logo {
        width: 43px;
      }
      .logo-wrapper {
        margin-top: 0px;
        margin-bottom: 0px;
      }

      .beli-logo-svg {
        width: 43px;
      }
      .restaurant img {
        
        border-radius: 8px;
        margin-bottom: 0.75rem;
        width: 100%;
        height: auto;
      }

      .hero-image {
        border-radius: 8px;
        margin-bottom: 0.75rem;
        width: 100%;
        height: auto;
      }

      /* Suggested grid container */
      .suggested {
        width: 100vw;
        margin-left: calc(-1 * (50vw - 50%)); /* centers it full bleed */
        padding-left: 0
      }

      .suggested-card:first-of-type {
        padding-left: var(--fs-16);
      }

.suggested-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0;
  }

  .suggested-grid li {
    flex: none;
    width: 70vw;
    max-width: none;
    padding-right: var(--fs-24);
  }

  .meta-no-photo {
    margin-top: 0.5rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    gap: var(--fs-24);
    flex: 50%;
  }

  .meta-no-photo .meta-outer {
    margin-top: 0px;

  }
  
  .suggested-grid::-webkit-scrollbar {
    display: none;             /* hide scrollbar on WebKit (mobile Safari/Chrome) */
  }
  
  .suggested-card {
    flex: 0 0 auto;            /* prevent shrinking */
    width: 220px;              /* card width (adjust to match your mock) */
    scroll-snap-align: start;  /* optional: align snap */
  }
    .promo-card{
      display: flex;
      box-sizing: border-box;
      flex-direction: column;
      align-items:center;
      justify-items:center;
      padding: var(--fs-24) var(--fs-20);
      min-height: auto;
      height: fit-content;
      width: 90vw;
      gap: var(--fs-24);
    }
    .app-buttons {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-around;
      gap: var(--fs-16);
    }
  
    /* Make children of .promo-content participate in the parent grid */
    .promo-content{ 
        display:contents; 
        gap: unset;
        padding-left: unset;
    }

    .app-promo-link {
      padding: var(--fs-18) var(--fs-14);
    }

    .arrow-svg {
      width: 28px;
      height: 28px;
    }
  
    .app-promo-title{
      font-size: var(--fs-24);
      text-align: center;
      width: 100%;
      
    }

    #klaro .cn-ok {
      margin-top: 0;
      width: 100%;
    }

    .store-link {
      width: 100%;
      max-width: 160px;
    }

    .beliapp-svg-icon {
      width: 64px;
      height: 64px;
    }

    .app-promo-subtitle {
      font-size: var(--fs-16);
      width: 80%;
      align-self: center;
    }

    .site-footer {
        min-height: 200px;
        margin-top: 144px;
    }
    .photo-credit {
        font-size: var(--fs-14);
      }

      .meta {
        width: 100%;
        gap: var(--fs-24);
      }

      .bookmark-container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        border-radius: 6px;
      }

      .restaurant .meta h2 {
        line-height: 1.025;
        margin: 0;
        font-size: var(--fs-20);
      }

      .restaurant .meta-no-photo h2 {
        line-height: 1.025;
        margin: 0;
        font-size: var(--fs-20);
      }

      .restaurant {
        padding-top: var(--fs-32);
        padding-bottom: var(--fs-32);
        margin-bottom: 0;
        gap: 0;
      }
      

      .meta-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: var(--fs-4);
      }

      .restaurant .meta-line {
        margin-top: 0;
        margin-bottom: 0;
        font-size: var(--fs-16);
      }

      .meta-outer {
        font-size: var(--fs-16);
      }

      

      .goodfor {
        margin-bottom: 0;
        font-size: var(--fs-16);
      }

    h1 {
    font-size: var(--fs-36);
    }

    #klaro .cm-btn,
    #klaro .cm-btn.cm-btn-success {
        width: 100%;
        margin: 0;
    }

    .header-container {
      padding-bottom: 4px;
    }

    #klaro .cn-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        gap: 1rem;
        margin-top: 1rem;
    }

    .privacy-notice {
        font-size: var(--fs-24);
    }

    #privacy-notice-body.privacy-notice-body {
        font-size: var(--fs-16);
    }

    .site-header {
      padding-top: 10px;
      padding-bottom: 0;
    }

    .open-in-app-header-cta {
      margin-right: 14px;
      padding: var(--fs-8) var(--fs-16);
      font-size: var(--fs-14);
      letter-spacing: normal;
      transition: 50ms ease all;
    }

    .cta {
      font-family: "Lato", sans-serif;
      font-weight: bold; 
      height: fit-content;
      display: flex;
      flex-direction: row;
      align-items: center;
    }

    

   
  
    .cta span {
      font-size: var(--fs-16);
      margin-right: var(--fs-4);
    }

    .map-cta {
      padding: var(--fs-24);
      margin-bottom: var(--fs-48);
    }

    .map-cta-body {
      margin-top: var(--fs-16);
      margin-bottom: var(--fs-16);
    }

    .suggested {
      margin-top: 0;
    }

    .arrow-stem-svg {
      width: var(--fs-18);
      flex-shrink: 0;
      height: var(--fs-18);
    }

    h2.suggested-lists {
      font-size: var(--fs-28);
      margin-bottom: var(--fs-16);
      padding-left: var(--fs-16);
    }

    .byline {
      font-size: var(--fs-16);
    }
    .author {
      font-size: var(--fs-16);
    }

    .updated-time {
      font-size: var(--fs-16);
      flex-shrink: 0;
    }

    .date-and-share-container {
      gap: 0;
      margin-top: var(--fs-16);
    }

    .intro {
      margin-top: var(--fs-24);
    }

    .copy-link-btn {
      
    }

    .copy-feedback {
      font-size: var(--fs-12);
      text-align: left;
    }

    .app-promo-heading {
      font-size: var(--fs-16);
      margin-bottom: 0px;
      line-height: normal;
    }

    .app-promo-main {
      margin-top: var(--fs-32);
      margin-bottom: var(--fs-32);
    }
    .intro {
      margin-bottom: 0;
      font-size: var(--fs-16);
    }

    .good-for-prefix {
      font-size: var(--fs-16);
    }

    .divider {
      margin-left: 6px;
      margin-right: 6px;
    }

    #klaro-cookie-notice {
      display: flex;
      flex-direction: column;
      max-height: unset;
      margin-bottom: 0;
      padding-top: 16px;
      padding-left: 16px;
      padding-right: 16px;
      padding-bottom: max(env(safe-area-inset-bottom), 16px);
    }

    #klaro #id-cookie-notice {
      margin-bottom: 0;
      margin-top: 0;
    }

    #klaro .cn-body {
      display: flex;
      flex-direction: column;
      gap: 0;
      align-items: flex-start;
    }

    #klaro .cn-buttons {
      gap: var(--fs-14);
    }

    #klaro .cm-btn, #klaro .cm-btn.cm-btn-success {
      padding: var(--fs-8);
      width: 100%;
      font-size: var(--fs-14);
    }

    #klaro #privacy-notice-body.privacy-notice-body {
      font-size: var(--fs-14);
    }

    .map-cta-button, .open-in-app-header-cta {
      border-radius: var(--fs-4);
    }







  }

  @media (min-width: 1321px) {
    .large-desktop-only {
      display: block;
  }
}

@media (min-width: 1020px) {
    @media(max-width: 1320px) {
      .small-desktop-to-mobile-only {
        display: block;
      }

      .promo-card {
        display: flex;
        justify-content: center;
      }

      .promo-content {
        align-items: center;
        justify-content: center;
      }

      .app-promo-text {
        align-items: center;
        justify-content: center;
      }

      .app-promo-title {
        text-align: center;
        width: 100%;
      }

      .app-promo-subtitle {
        width: 100%;
        text-align: center;
      }

      .app-buttons {
        width: unset;
      }
  }
}

@media (max-width: 600px) {
  .mobile-only {
    display: block;
  }
}

@media (max-width: 601px){ 
  .mobile-only-without-tablet {
    display: block;
  }
}

@media (max-width: 1019px) {
    .mobile-only-without-small-desktop {
      display: block;
    }
}

  @media (min-width: 2000px) {
    .list-page {
        max-width: 50vw;
        margin: 0 auto;
        padding: 1.5rem;
      }

    .open-in-app-header-cta {
      margin-right: 72px;
    }
  }

/* Show mobile template on smaller screens */
@media (max-width: 600px) {

  .mobile-only-width-100 {
    width: 100%;
  }
}

/* Show desktop template on larger screens */
@media (min-width: 601px) {
  .desktop-only {
    display: block;
  }
}

@media (min-width: 601px) {
  .desktop-only-with-tablet {
    display: block;
  }
}

@media (min-width: 1201px) {
  .desktop-non-tablet-only {
    display: block;
  }
}


@media (max-width: 1200px) {
  @media (min-width: 601px) {
    .tablet-only {
      display: block;
    }
  }
}




/******************** CONVERSION PAGE **************/

.conversion-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.conversion-page-404 {
  height: 100vh;
  display: flex;
  flex-direction: column;

}

.conversion-page-main {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-left: 18.25vw;
  padding-right: 18.25vw;
  margin-top: 0;
  gap: 100px;
}

.error-page-main {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-left: 18.25vw;
  padding-right: 18.25vw;
  margin-top: 0;
}

.conversion-page-left {
  flex: 60%;
}

.conversion-page-right {
  flex: 40%;
  margin-bottom: -80px;
  z-index: 1;
}

.conversion-page-left {
  display: flex;
}

.conversion-page-left {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.conversion-page-right {
  align-items: flex-end;
  justify-content: flex-end;
}

.conversion-page-left h1, .error-page-left h1 {
  font-size: var(--fs-50);
  font-weight: 900;
  font-family: "Lato", sans-serif;
  line-height: normal;
}

.conversion-page-left p, .error-page-left p {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: var(--fs-24);
  line-height: normal;
}


.conversion-footer {
  background-color: #134F5C;
  height: 23vh;
  flex-shrink: 0;
}


/*************** 404 PAGE *****************/

.error-page-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 40%;
}

.error-page-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 50%;
}


.open-in-app-404-cta {
  font-family: "Lato", sans-serif;
  font-weight: bold; 
  padding: var(--fs-16) var(--fs-48);
  font-size: var(--fs-18);
  /* border: 1px solid #134F5C; */
  border-radius: 4px;
  color: white;
  background: #134F5C;
  text-align: center;
  text-decoration: none;
  transition: 50ms ease all;
}

.error-page-right p {
  font-size: var(--fs-24);
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 0;
  margin-top: var(--fs-8);
}

.error-page-column-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.sad-pin-svg {
  margin-top: var(--fs-78);
}

.error-page-title {
  font-family: "Lato", sans-serif;
  font-size: var(--fs-28);
  font-weight: bold;

  margin-top: var(--fs-40);
  margin-bottom: var(--fs-16);
}

.error-page-subtitle {
  font-size: var(--fs-16);
  text-align: center;
  margin-bottom: var(--fs-40);
}

.open-in-app-404-cta-mobile {
  width: 100%;
  padding-top: var(--fs-16);
  padding-bottom: var(--fs-16);
  border-radius: var(--fs-12);
  font-size: var(--fs-18);
  font-weight: bold;
  color: white;
  font-family: "Lato", sans-serif;
  background-color: #134F5C;
  text-align: center;
}

.error-page-desktop-container {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

@media (max-width: 600px) {

  .title-desktop {
    margin-bottom: 16px;
    margin-top: 0px;
    font-size: var(--fs-36);
  }

  .subtitle-desktop {
    font-size: var(--fs-18);
    font-weight: bold;
    line-height: normal;
    margin-top: 0;
    margin-bottom: var(--fs-16);
  }

  .conversion-page-main {
    width: auto;
  }
  .conversion-page-main {
    flex-direction: column;
    padding-left: 8vw;
    padding-right: 8vw;
    justify-content: center;
    align-items: center;
  }

  .error-page-main {
    width: auto;
    padding-left: 9vw;
    padding-right: 9vw;
  }

  .error-page-left {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .error-page-left p, .error-page-left h1, .conversion-page-left p, .conversion-page-left h1 {
    text-align: center;
    text-wrap-style: pretty;
    text-wrap: wrap;
  }

  .error-page-left p, .conversion-page-left p {
    font-size: var(--fs-18);
  }

  .error-page-left h1, .conversion-page-left h1 {
    font-size: var(--fs-36);
    margin-bottom: var(--fs-16);
  }

  .media-suggested {
    max-width: 289px;
  }

  .suggested-grid li {
    max-width: 289px;
  }
  
  
}

@media (max-width: 1275px) {
  .promo-media img {
    width: 100%;
  }
}

@media (max-width: 1000px) {

  
  .conversion-page {
    min-height: 100vh;
    height: unset;
  }
  .conversion-page-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
  }

  .error-page-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .conversion-page-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .conversion-page-left p {
    text-align: center;
  }
}


.phone-mock-svg {
  width: 100%;
  height: 300px;
}




/*********** STOP PAGE ************/

.stop-page {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #42727C, #134F5C);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.stop-page-title {
  font-family: "Lato", sans-serif;
  font-size: var(--fs-28);
  font-weight: bold;
  color: #ffffff;

  margin-bottom: var(--fs-64);
  margin-top: var(--fs-32);
}

.stop-page-inner-content {
  padding-left: var(--fs-28);
  padding-right: var(--fs-28);
}

.stop-page.hidden { display: none; }

.stop-page-content {
  text-align: center;
  padding: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-btn-stop-page {
  display: block;
  margin: 20px auto 0;
  padding-top: var(--fs-16);
  padding-bottom: var(--fs-16);
  border-radius: var(--fs-12);
  background: white;
  color: #134F5C;
  font-size: var(--fs-18);
  font-weight: bold;
  font-family: "Lato", sans-serif;
  border: none;
  cursor: pointer;
  width: 100%;
}

.close-btn-stop-page {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 28px;
  padding: 0;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

  
@media (min-width: 600px) {
  @media (max-width: 1200px) {
  .list-page {
    max-width: 80vw;
  }

  .conversion-page-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-bottom: 5vh;
  }

  .conversion-page-left {
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 88px;
  }

  .conversion-page-left-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--fs-16);
  }

  .conversion-page-left-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fs-16);
  }

  .conversion-page-left-qr p {
    font-size: var(--fs-18);
    line-height: var(--fs-24);
    margin: 0;
  }

  .conversion-page-left-text h1 {
    margin: 0;
    font-size: var(--fs-50);
  }

  .conversion-page-left-text p {
    width: 65%;
    margin: 0;
    text-wrap-style: pretty;
    font-size: var(--fs-24);
  }

  .qr-image {
    max-width: 315px;
  }

  .error-page-desktop-container {
    flex-direction: column-reverse;
    gap: var(--fs-48);
  }

  .error-page-left {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .error-page-left p {
    text-wrap-style: pretty;
    width: 75%;
  }

  .error-page-left h1 {
    font-size: var(--fs-48);
  }

  .error-page-left p {
    font-size: var(--fs-24);
  }

  .title {
    font-size: var(--fs-48);
  }

  .subtitle {
    font-size: var(--fs-24);
    margin-bottom: 26px;
  }


  .beli-logo-svg {
    width: unset;
  }

  .open-in-app-header-cta {
    padding: 13px 27px;
    font-size: var(--fs-18);
    margin-right: 23px;
  }

  .updated-time {
    font-size: var(--fs-18);
  }

  .intro {
    font-size: var(--fs-18);
  }

  .photo-credit {
    font-size: var(--fs-16);
  }

  media-container figcaption {
    margin-top: 14px;
  }

  .app-promo-heading {
    font-size: var(--fs-24);
  }

  .restaurant .meta h2, .restaurant .meta-no-photo h2 {
    font-size: var(--fs-32);
  }

  .restaurant-name-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-only-width-100 {
    width: 100%;
  }

  .bookmark-container svg {
    width: 20.77px;
    height: 30px;
  }

  .restaurant .meta-line {
    font-size: var(--fs-18);
  }

  .meta-inner {
    gap: 9px;
  }

  .good-for-prefix, .goodfor {
    font-size: var(--fs-18);
  }

  .cta span {
    font-size: var(--fs-18);
  }

  .map-cta-body {
    font-size: var(--fs-18);
  }

  .map-cta-button {
    border-radius: 8px;
    font-size: var(--fs-18);
  }



  h2.suggested-lists {
    font-size: var(--fs-40);
    margin-bottom: var(--fs-32);
  }

  .suggested {
    width: 100%;
    margin-left: unset;
  }

  .suggested-grid {
    width: 100%;
    justify-content: space-between;
  }

  .suggested-grid li {
    flex: 1;
    width: unset;
  }

  .suggested-card:first-of-type {
    padding-left: 0;
  }

  .suggested-card:last-of-type {
    padding-right: 0;
  }

  .promo-card {
    width: 70%;
  }

  .app-promo-title {
    font-size: var(--fs-40);
  }

  .app-promo-subtitle {
    font-size: var(--fs-18);
    width: 100%;
  }

  .logo-wrapper {
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .error-page-right p {
    font-size: var(--fs-18);
  }

  .media-suggested {
    max-width: 275px;
  }

  .promo-card {
    justify-content: center;
  }

  .promo-content {
    align-items: center;
  }

  .promo-content {
    max-width: unset;
  }

  .app-promo-text {
    align-items: center;
  }

  .app-promo-subtitle {
    width: 70%;
    text-align: center;
  }

  .app-promo-title {
    text-align: center;
    width: 100%;
  }


  }
}

@media (min-width: 600px) {
  @media (max-width: 850px) {
    .list-page {
      max-width: 90vw;
    }
  }
}

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