﻿/**
 * Mobile image fixes — Incili Köşk QR demo.
 * Load after demo-home.css, apple.css, and order.css.
 */

html {
  overflow-x: clip;
}

body.bb-landing,
body.bb-apple {
  min-width: 0;
  overflow-x: clip;
}

body.bb-landing img,
body.bb-apple img {
  max-width: 100%;
  height: auto;
}

/* Landing hero — absolute burger stack */
body.bb-landing .bb-hero__visual,
body.bb-landing .bb-burger-stage {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

body.bb-landing .bb-burger {
  max-width: none;
  width: 78%;
  height: auto;
  object-fit: contain;
}

body.bb-landing .bb-float {
  max-width: 3rem;
}

body.bb-landing .bb-marquee__group img {
  width: 4.5rem;
  height: 4.5rem;
  max-width: 4.5rem;
  object-fit: cover;
}

/* Nav logo */
body.bb-apple .bb-nav__brand img,
body.bb-landing .bb-nav__brand img {
  display: block;
  height: 2.35rem;
  width: auto;
  max-width: min(9rem, 42vw);
}

/* Menu category headers */
body.bb-apple .bb-menu-category__image {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

body.bb-apple .bb-menu-category__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

@media (max-width: 734px) {
  body.bb-landing .bb-hero__visual {
    min-height: 13.5rem;
  }

  body.bb-landing .bb-burger-stage {
    width: min(100%, 17rem);
  }

  body.bb-landing .bb-float--1,
  body.bb-landing .bb-float--3 {
    opacity: 0.45;
    transform: scale(0.85);
  }

  body.bb-apple .bb-menu-category__image {
    max-height: 11.5rem;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 480px) {
  body.bb-landing .bb-burger-stage {
    width: min(100%, 14.5rem);
  }

  body.bb-landing .bb-float--1,
  body.bb-landing .bb-float--3 {
    display: none;
  }

  body.bb-landing .bb-marquee {
    margin-inline: -1rem;
  }

  body.bb-landing .bb-marquee__group img {
    width: 3rem;
    height: 3rem;
    max-width: 3rem;
  }

  body.bb-apple .bb-menu-category__image {
    max-height: 10rem;
  }
}
