/**
 * Vorino mobile — strict match to website mobile mockups.
 * Breakpoint: 768px and below (phones + small tablets portrait).
 */

@media (max-width: 768px) {
  /* ---- PAGE SHELL ---- */
  body.vorino-theme {
    background-color: #f9f4ed;
    background-image: var(--vorino-parchment);
    background-size: 200px 200px;
  }

  .vorino-main,
  .vorino-content {
    overflow-x: hidden;
  }

  /* ---- HEADER: logo centered, burger right (mockup) ---- */
  .vorino-header__top {
    display: none;
  }

  .vorino-header {
    background: rgba(249, 244, 237, 0.97);
    border-bottom: 0;
  }

  .vorino-header__main {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 0.55rem 0.85rem;
    min-height: 64px;
  }

  .vorino-header__logo {
    grid-column: 2;
    justify-self: center;
  }

  .vorino-header__logo img {
    max-width: 92px;
    max-height: 72px;
  }

  .vorino-header__nav {
    display: none;
  }

  .vorino-header__burger {
    display: inline-grid;
    place-items: center;
    grid-column: 3;
    justify-self: end;
    margin: 0;
    width: 44px;
    height: 44px;
  }

  .vorino-header__burger span {
    width: 22px;
  }

  /* Full-screen mobile nav drawer */
  body.vorino-nav-open .vorino-header__nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #f9f4ed;
    background-image: var(--vorino-parchment);
    background-size: 200px 200px;
    padding: 5.5rem 1.5rem 2rem;
    margin: 0;
    border: 0;
    box-shadow: none;
    overflow-y: auto;
  }

  body.vorino-nav-open .vorino-nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    font-family: var(--vorino-font-display);
    font-size: 1.2rem;
  }

  body.vorino-nav-open .vorino-nav-list a {
    border: 0;
    padding: 0.4rem 0;
  }

  body.vorino-nav-open .vorino-header__burger {
    position: relative;
    z-index: 210;
  }

  body.vorino-nav-open .vorino-header__burger span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  body.vorino-nav-open .vorino-header__burger span:nth-child(3) {
    opacity: 0;
  }

  body.vorino-nav-open .vorino-header__burger span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.vorino-nav-open .vorino-header__burger span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  /* Language switcher inside open nav */
  body.vorino-nav-open .vorino-header__nav::after {
    content: none;
  }

  .vorino-mobile-lang {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    font-family: var(--vorino-font-ui);
    font-weight: 700;
  }

  /* ---- HERO (mockup phone 1) ---- */
  .vorino-hero,
  .vorino-hero--photo {
    min-height: 72vh;
    min-height: 72dvh;
    align-items: flex-end;
    background:
      linear-gradient(180deg, rgba(20, 14, 10, 0.15) 0%, rgba(20, 14, 10, 0.55) 45%, rgba(20, 14, 10, 0.82) 100%),
      radial-gradient(ellipse at 50% 30%, rgba(160, 110, 55, 0.35), transparent 55%),
      linear-gradient(165deg, #6a4e38 0%, #3a2a20 45%, #1e1510 100%);
  }

  .vorino-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 4.5rem 1.15rem 3.25rem;
    gap: 0;
  }

  .vorino-hero__media {
    display: none;
  }

  .vorino-hero__title {
    font-family: var(--vorino-font-display);
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .vorino-hero__sub {
    margin: 0.75rem auto 0;
    max-width: 20rem;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
  }

  .vorino-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    margin-top: 1.35rem;
  }

  .vorino-hero__actions .vorino-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .vorino-hero__tear {
    height: 36px;
    background-size: 100% 36px;
  }

  /* ---- FEATURES: 3 icons like mockup ---- */
  .vorino-features {
    padding: 1.75rem 1rem 0.5rem;
  }

  .vorino-features__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .vorino-features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }

  .vorino-features__item {
    border-right: 0;
  }

  .vorino-features__item:nth-child(4) {
    display: none;
  }

  .vorino-features__item p {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .vorino-features__icon {
    width: 48px;
    height: 48px;
    background-size: 40px 40px !important;
    margin-bottom: 0.5rem;
  }

  .vorino-features__quote {
    margin-top: 1.5rem;
    padding: 1rem 0.5rem;
    text-align: center;
    min-height: 0;
  }

  .vorino-features__quote p {
    font-size: 1.35rem;
    margin-inline: auto;
  }

  .vorino-features__quote::after {
    margin-inline: auto;
  }

  /* ---- LOCATION STRIP (mockup home bottom) ---- */
  .vorino-home-location {
    display: block !important;
    position: relative;
    margin: 1.25rem 1rem 0;
    min-height: 140px;
    border-radius: 16px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(20, 16, 10, 0.15), rgba(20, 16, 10, 0.65)),
      linear-gradient(135deg, #6b7a45, #3e442b 55%, #2a3018);
  }

  .vorino-home-location__inner {
    position: absolute;
    inset: auto 0 0;
    padding: 1rem 1rem 1.1rem;
    color: #fff;
    text-align: center;
  }

  .vorino-home-location__pin {
    display: inline-block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .vorino-home-location__text {
    margin: 0;
    font-family: var(--vorino-font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
  }

  /* Category cards: horizontal snap scroll */
  .vorino-cat-preview {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 1rem 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .vorino-cat-preview__card {
    flex: 0 0 72vw;
    max-width: 260px;
    min-height: 148px;
    scroll-snap-align: center;
    border-radius: 16px;
  }

  /* ---- HOME TRIAD: stack like separate sections ---- */
  .vorino-home-triad {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem 1rem 2rem;
  }

  .vorino-home-triad__story,
  .vorino-home-triad__articles {
    background: rgba(255, 253, 248, 0.55);
    border-radius: 16px;
    padding: 1.15rem 1rem 1.25rem;
  }

  .vorino-polaroid {
    display: block;
    margin: 1.25rem auto 0;
    transform: rotate(-1.5deg);
  }

  .vorino-polaroid__ph {
    width: 100%;
    max-width: 260px;
    height: 160px;
  }

  .vorino-reservation {
    max-width: none;
    border-radius: 18px;
    padding: 1.35rem 1.1rem 1.5rem;
  }

  .vorino-reservation__title {
    font-size: 1.35rem;
  }

  .vorino-reservation__grid label span {
    font-size: 0.8rem;
  }

  .vorino-reservation__grid input,
  .vorino-reservation__grid select,
  .vorino-reservation__grid textarea {
    min-height: 48px;
    border-radius: 12px;
    font-size: 1rem;
  }

  /* ---- MENU MOBILE (readable printed style) ---- */
  .vorino-menu-intro {
    padding: 1.25rem 1rem 0.25rem;
  }

  .vorino-menu-nav__track {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.45rem;
  }

  .vorino-menu-nav__pill {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    border-radius: 999px;
  }

  .vorino-menu {
    padding: 0.75rem 0.65rem 2rem;
  }

  .vorino-menu--framed .vorino-menu__paper {
    padding: 1.25rem 0.95rem 1.75rem;
    border-width: 1.5px;
    box-shadow:
      inset 0 0 0 3px var(--vorino-paper),
      inset 0 0 0 4.5px rgba(60, 42, 33, 0.65),
      0 8px 20px rgba(60, 42, 33, 0.1);
  }

  .vorino-menu-cat__title {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
  }

  .vorino-menu-list__item {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(60, 42, 33, 0.1);
  }

  .vorino-menu-list__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
  }

  .vorino-menu-list__dots {
    display: none;
  }

  .vorino-menu-list__name {
    font-size: 1.02rem;
    flex: 1;
  }

  .vorino-menu-list__price {
    font-size: 1.05rem;
  }

  .vorino-menu-list__desc {
    margin-top: 0.3rem;
    font-size: 0.86rem;
  }

  /* ---- STORY ---- */
  .vorino-story {
    padding: 1rem 0.75rem 2rem;
  }

  .vorino-story.is-framed .vorino-story__paper {
    padding: 1.35rem 1.1rem 1.75rem;
  }

  .vorino-story__title {
    font-size: 2rem;
    text-align: center;
  }

  .vorino-story__grid {
    grid-template-columns: 1fr;
  }

  .vorino-story__aside {
    text-align: center;
    transform: none;
  }

  .vorino-story__sig {
    text-align: center;
  }

  /* ---- ARTICLES PAGE ---- */
  .vorino-articles {
    padding: 1.25rem 1rem 2.5rem;
  }

  .vorino-articles__list--cards .vorino-article-card,
  .vorino-article-card {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .vorino-mini-article {
    grid-template-columns: 84px 1fr;
    gap: 0.85rem;
    padding: 0.35rem 0 0.85rem;
    border-bottom: 1px solid rgba(60, 42, 33, 0.08);
  }

  .vorino-mini-article__thumb {
    width: 84px;
    height: 84px;
    border-radius: 12px;
  }

  /* ---- CONTACT ---- */
  .vorino-contact {
    padding: 1.25rem 1.1rem 1.5rem;
  }

  .vorino-contact__list {
    gap: 1.15rem;
  }

  .vorino-contact__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 253, 248, 0.7);
    border-radius: 14px;
    border: 1px solid rgba(60, 42, 33, 0.06);
  }

  .vorino-map {
    padding: 0 1rem 1.5rem;
  }

  .vorino-map .vorino-btn {
    width: 100%;
    border-radius: 14px;
  }

  /* ---- FOOTER ---- */
  .vorino-footer {
    padding: 1rem 0.85rem 5.5rem;
  }

  .vorino-footer__paper {
    padding: 1.5rem 1.1rem;
  }

  .vorino-footer__thanks {
    font-size: 1.55rem;
  }

  /* ---- MOBILE BOTTOM BAR ---- */
  .vorino-mobile-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: rgba(249, 244, 237, 0.97);
    border-top: 1px solid rgba(60, 42, 33, 0.1);
    padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(60, 42, 33, 0.08);
  }

  .vorino-mobile-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    text-decoration: none;
    color: var(--vorino-brown);
    font-family: var(--vorino-font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.45rem 0.25rem;
    border-radius: 10px;
  }

  .vorino-mobile-bottom a:active {
    background: rgba(62, 68, 43, 0.08);
  }

  body.vorino-theme {
    padding-bottom: 72px;
  }
}

/* Hide location strip on desktop (home mockup mobile-specific accent) */
@media (min-width: 769px) {
  .vorino-home-location {
    display: none;
  }

  .vorino-mobile-bottom {
    display: none !important;
  }
}

html.vorino-nav-lock,
html.vorino-nav-lock body {
  overflow: hidden;
  touch-action: none;
}
