/* style-clean.css - pixel-ish copy for 390px mobile layout */

/* reset */
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;}
body.page--restaurant{background:#fff6ea;color:#2d2929;-webkit-font-smoothing:antialiased}

/* header / hero */
.site-header{position:relative;overflow:visible}
.header__top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    z-index: 9999;
}
.header__top .lang, .header__top .menu-toggle{
  background:#fff9ed;border-radius:18px;padding:5px 10px;box-shadow:1px 1px 15px rgba(0,0,0,0.25);
}

.hero{position:relative}
.hero__img{width:100%;height:180px;object-fit:cover;display:block;border-bottom-left-radius:0;border-bottom-right-radius:0}

/* logo card centered overlapping hero */
.card--logo{
  width:334px;
  margin: -40px auto 18px;
  background:#fff9ed;
  border-radius:15px;
  box-shadow:1px 1px 15px rgba(0,0,0,0.25);
  padding:18px 20px;
  text-align:center;
  position:relative;
}
.card__logo{width:60px;height:60px;border-radius:50%;display:block;margin:0 auto 8px;object-fit:cover}
.card__title{font-size:20px;margin:0;font-weight:600}
.card__title .lobster {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    filter: drop-shadow(5px 5px 10px #315172);
}


/* info blocks */
.main-content{width:100%;max-width:390px;margin:0 auto;padding:8px 20px 40px;
background-image: url(https://cdn.yotako.io/ea41f893-568d-4b0e-9a56-72cd3fd02f91/1:542.webp);
background-repeat: no-repeat;
background-position: center calc(100% - 50px); /* фон ниже на 200px */
background-attachment: fixed; /* фиксируем фон при скролле */
}
.info{margin-top:4px}
.info__row {
    display: flex;
    flex-direction: column;   /* теперь две строки одна под другой */
    gap: 12px;
    background: #fff9ed;
    border-radius: 15px;
    padding: 14px 16px;
    margin: 14px 0;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.12);
}

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

.info__icon{width:22px;height:22px;flex:0 0 22px;opacity:0.95}
.info__text{font-size:13.5px;color:#2d2929;line-height:1.3}

/* promo banner */
.promo{margin:12px 0 18px;text-align:center}
.promo__img{width:338px;object-fit:cover;border-radius:12px;}
.dots{display:flex;justify-content:center;gap:8px;margin-top:10px}
.dot{width:8px;height:8px;border-radius:50%;background:#cfcfcf;display:inline-block}
.dot.active{background:#2d2929}

/* menu button and tabs */
.menu{margin:18px 0 8px;text-align:center}
.menu__btn{
display: inline-block;
    background: #2d2929;
    color: #fff;
    border-radius: 22px;
    padding: 5px;
    width: 100%;
    font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.25);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ORIGINAL TAB STYLES — restored */
.tab{
  background:transparent;
  padding:8px 12px;
  border-radius:20px;
  border:1px solid transparent;
  font-weight:600;
  color:#2d2929;
  box-shadow:none;
  flex:0 0 auto; /* added for horizontal scroll */
}
.tab--active{
  background:#2d2929!important;
  color:#fff;
  border-radius:20px;
  padding:8px 12px;
  box-shadow:1px 1px 8px rgba(0,0,0,0.08)
}

/* CATEGORY TABS — horizontal scroll */
.tabs {
  display:flex;
  flex-wrap:nowrap;          /* key change */
  gap:8px;
  overflow-x:auto;           /* horizontal scroll */
  overflow-y:hidden;
  white-space:nowrap;
  -webkit-overflow-scrolling:touch;
  padding-bottom:6px;
  justify-content:flex-start; /* NOT center — natural scroll */
}

.tabs::-webkit-scrollbar {
  display:none;
}

/* category title */
.category__title{font-size:24px;text-align:center;margin:12px 0 18px;font-weight:600}

/* products list */
.products{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}
.product{
  display:flex;align-items:center;gap:14px;background:#fff9ed;border-radius:15px;padding:12px 14px;box-shadow:1px 1px 15px rgba(0,0,0,0.12);
  position:relative;
}
.product--single{padding:16px}
.product__img{width:105px;height:70px;object-fit:cover;border-radius:12px;flex:0 0 105px}
.product__body{flex:1}
.product__title{margin:0;font-size:16px;font-weight:600;color:#2d2929}
.product__meta{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
.product__weight{font-size:12px;color:#2d2929;opacity:0.9}
.product__price{font-size:16px;font-weight:700;color:#2d2929}

/* favorite button */
.fav{position:absolute;right:18px;top:16px;background:transparent;border:none;font-size:18px;cursor:pointer}
.fav--active{color:#ff2b44}

/* footer socials */
.site-footer{margin:36px 0;border-radius:12px;text-align:center;background:transparent}
.site-footer .socials img{opacity:0.9}

/* small screens adjustments */
@media(min-width:420px){
  .card--logo{width:90%;max-width:420px}
  .promo__img{width:90%}
}

/* Accessibility: focus */
// a:focus, button:focus{outline:3px solid rgba(45,41,41,0.12);outline-offset:3px}