:root {
  --navy: #0f2344;
  --navy-2: #163056;
  --ink: #142033;
  --muted: #66758a;
  --orange: #ff8a1a;
  --orange-2: #ff9e3d;
  --cream: #f7f4ef;
  --paper: #ffffff;
  --line: #eadfce;
  --shadow: 0 16px 36px rgba(15, 35, 68, .08);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.script { font-family: "Great Vibes", "Segoe Script", cursive; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.header__inner {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 16px;
}
.brand__text { display: block; font-weight: 800; font-size: 18px; line-height: 1.1; }
.brand__sub { display: block; font-size: 8px; letter-spacing: .16em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-inline: auto; direction: rtl; }
.nav__link { color: #4b5a70; font-size: 13.5px; padding: 6px 0; position: relative; }
.nav__link.is-active, .nav__link:hover { color: var(--orange); font-weight: 700; }
.nav__link.is-active::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: -2px;
  height: 2px; background: var(--orange); border-radius: 2px;
}
.header__tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.header__search {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy); font-size: 16px;
}
.header__cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange); color: #fff;
  border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 800;
}
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: var(--navy);
  border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; }
.mobile-menu { display: none; padding: 8px 20px 16px; }
.mobile-menu a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }

.hero {
  background: radial-gradient(1200px 520px at 70% 20%, #1b3a68 0%, var(--navy) 55%);
  color: #eef3fb;
  padding: 28px 0 70px;
}
.hero__grid {
  direction: ltr;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 12px;
  min-height: 540px;
}
.hero__copy { direction: rtl; text-align: right; max-width: 460px; }
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.18;
  font-weight: 800;
}
.hero__desc { margin: 0 0 22px; color: #c5d0e0; font-size: 14.5px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; justify-content: flex-start; }
.hero__reserve { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 11px 20px; font-weight: 800; font-size: 13.5px; border: 0; cursor: pointer;
}
.btn--orange { background: var(--orange); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28);
}
.btn--ghost i {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; font-size: 11px;
}
.hero__feats {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 18px; color: #d5deea; font-size: 12.5px;
}
.hero__feats li { display: flex; align-items: center; gap: 8px; max-width: 130px; }
.hero__feats i { font-size: 18px; color: #fff; }
.hero__visual { position: relative; min-height: 520px; }
.hero__drink {
  width: min(430px, 86%);
  height: 500px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 40% 42% 38% 44% / 32% 30% 48% 50%;
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
}
.hero__script {
  position: absolute; top: 8%; left: 4%; margin: 0; z-index: 2;
  font-family: "Great Vibes", cursive; font-size: 30px; line-height: 1.1; color: #f4f0e6;
  text-align: left;
}
.hero__script i { color: #ff8a1a; font-size: .7em; }
.hero__glassname {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  text-align: center; color: #fff; text-shadow: 0 8px 18px rgba(0,0,0,.4); pointer-events: none;
}
.hero__glassname i { display: block; font-size: 20px; }
.hero__glassname b { display: block; font-size: 22px; }
.hero__glassname small { display: block; letter-spacing: .18em; font-size: 8px; opacity: .85; }
.hero__stamp {
  position: absolute; top: 8%; right: 2%;
  width: 112px; height: 112px; border-radius: 50%;
  border: 2px dashed var(--orange); color: var(--orange);
  display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 15px; line-height: 1.3;
  transform: rotate(14deg); background: rgba(15,35,68,.25);
}
.hero__pastry {
  position: absolute; right: -8px; bottom: 18px;
  width: 170px; height: 130px; object-fit: cover; border-radius: 18px;
  box-shadow: var(--shadow); opacity: .95;
}
.hero__spec {
  position: absolute; right: 8px; bottom: -8px; margin: 0;
  font-size: 10px; letter-spacing: .18em; color: #c9d4e4; text-align: right;
}

.cats { margin-top: -48px; position: relative; z-index: 3; }
.cats__bar {
  direction: ltr;
  background: #fff;
  border-radius: 28px;
  padding: 18px 18px 18px 22px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cats__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cat { text-align: center; font-size: 12.5px; }
.cat img {
  width: 86px; height: 86px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 8px; box-shadow: 0 10px 22px rgba(15,35,68,.12);
}
.cat b { display: block; color: var(--navy); }
.cat small { color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.loc {
  direction: rtl; text-align: right;
  background: #fff7ee; border-radius: 18px; padding: 16px;
  border: 1px solid #f3e0c8;
}
.loc p { margin: 0 0 8px; font-size: 13px; }
.loc i { color: var(--orange); }
.loc a { color: var(--orange); font-weight: 800; font-size: 13px; }

.section { padding: 42px 0; }
.section, .hero, .band, #contact { scroll-margin-top: 84px; }
.eyebrow { margin: 0 0 6px; letter-spacing: .16em; font-size: 11px; color: var(--muted); }
.best__grid {
  direction: ltr;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
}
.best__copy { direction: rtl; text-align: right; }
.best__copy h2 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 36px); color: var(--navy); }
.best__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; min-width: 0; }
.pcard {
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); text-align: center; padding-bottom: 14px;
}
.pcard img { width: 100%; height: 150px; object-fit: cover; }
.pcard h3 { margin: 12px 0 0; font-size: 14px; color: var(--navy); }
.pcard p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }

.about__grid {
  direction: ltr;
  display: grid;
  grid-template-columns: 1.15fr .95fr 180px;
  gap: 18px;
  align-items: center;
}
.about__photos { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.about__photos figure { margin: 0; border-radius: 22px; overflow: hidden; height: 260px; }
.about__photos img { width: 100%; height: 100%; object-fit: cover; }
.about__copy { direction: rtl; text-align: right; }
.about__copy h2 { margin: 0 0 12px; font-size: clamp(24px, 2.8vw, 34px); color: var(--navy); }
.about__copy p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.link-more { color: var(--orange); font-weight: 800; font-size: 13.5px; }
.about__side { display: grid; gap: 12px; }
.about__side figure { margin: 0; border-radius: 18px; overflow: hidden; height: 140px; }
.about__side img { width: 100%; height: 100%; object-fit: cover; }
.about__tile {
  margin: 0; background: var(--orange); color: #fff; border-radius: 18px;
  padding: 16px 12px; font-weight: 800; line-height: 1.2; text-align: left;
  font-size: 14px;
}

.story__grid {
  direction: ltr;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 18px;
  align-items: center;
}
.story__quote { direction: rtl; text-align: right; margin: 0; }
.story__quote i { color: var(--orange); font-size: 28px; }
.story__quote p { font-size: 18px; font-weight: 700; color: var(--navy); }
.story__quote footer { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.story__quote img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.story__quote small { display: block; color: var(--orange); letter-spacing: 2px; }
.polaroids { display: flex; justify-content: center; gap: 10px; }
.polaroid {
  margin: 0; background: #fff; padding: 8px 8px 22px;
  border-radius: 6px; box-shadow: var(--shadow);
  transform: rotate(var(--r, 0deg));
  width: 150px;
}
.polaroid img { width: 100%; height: 120px; object-fit: cover; }
.story__script {
  margin: 0; font-family: "Great Vibes", cursive; color: #4aa3d8;
  font-size: 28px; line-height: 1.15; text-align: left;
}

.band { background: var(--navy); color: #eef3fb; }
.band__inner {
  direction: ltr;
  display: grid;
  grid-template-columns: 1fr 1.1fr .9fr;
  min-height: 210px;
  overflow: hidden;
  border-radius: 0;
}
.band__cta { direction: rtl; text-align: right; padding: 36px 8px; }
.band__cta h2 { margin: 0 0 16px; font-size: clamp(22px, 2.6vw, 30px); }
.band__meta {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 28px 12px; font-size: 13.5px; direction: rtl; text-align: right;
}
.band__meta i { color: var(--orange); margin-left: 6px; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-lines li { display: flex !important; align-items: center; gap: 8px; }
.contact-lines a, .contact-lines span { display: inline !important; min-width: 0; word-break: break-word; }
.contact-lines [hidden] { display: flex !important; }
.band__orange {
  background: var(--orange); color: #fff; padding: 28px 22px; position: relative;
  display: flex; align-items: center; justify-content: flex-end;
}
.band__orange h3 { margin: 0; font-size: 22px; line-height: 1.35; position: relative; z-index: 1; text-align: right; }
.band__beans {
  position: absolute; left: 10px; bottom: 8px; width: 110px; height: 110px;
  object-fit: cover; border-radius: 50%; opacity: .9;
}

.footer { background: #fff; padding: 22px 0; }
.footer__inner {
  direction: ltr;
  display: flex; align-items: center; gap: 18px;
}
.footer__nav { display: flex; gap: 16px; margin-inline: auto; direction: rtl; font-size: 13px; color: #4b5a70; }
.footer__news { display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.news { display: flex; background: #f3f0ea; border-radius: 999px; overflow: hidden; }
.news input { border: 0; background: transparent; padding: 8px 12px; width: 170px; outline: none; }
.news button { border: 0; background: var(--navy); color: #fff; width: 36px; cursor: pointer; }
.sos { display: flex; gap: 8px; }
.sos a {
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center;
}

.video-modal, .menu-modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,16,28,.72); display: none; place-items: center; padding: 22px 16px;
}
.video-modal.open, .menu-modal.open { display: grid; }
.video-modal__box { width: min(860px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; }
.video-modal__box iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close, .menu-modal__close {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 24px; cursor: pointer;
}
.video-modal__close { position: absolute; top: 18px; left: 18px; }
.menu-modal__panel {
  width: min(980px, 100%); max-height: min(88vh, 840px);
  background: var(--cream); border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column;
}
.menu-modal__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 20px 24px 12px; background: #fff;
}
.menu-modal__head h2 { margin: 0; color: var(--navy); }
.menu-modal__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 18px 22px 24px; overflow: auto;
}
.mprod { background: #fff; border-radius: 20px; overflow: hidden; text-align: center; padding-bottom: 12px; box-shadow: var(--shadow); }
.mprod img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.mprod h3 { margin: 10px 0 0; font-size: 14px; color: var(--navy); }
.mprod p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }

@media (min-width: 1100px) {
  .best__row.ui-slider__track { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; overflow: visible; }
  .best__row.ui-slider__track > * { flex: none !important; width: auto !important; }
  .bestsellers .ui-slider__btn { display: none !important; }
}

@media (hover: hover) and (pointer: fine) {
  .pcard:hover, .cat:hover, .polaroid:hover, .mprod:hover, .about__side figure:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(15,35,68,.12);
  }
  .pcard:hover img, .cat:hover img, .mprod:hover img { transform: scale(1.06); }
  .btn--orange:hover, .header__cta:hover { transform: translateY(-3px); filter: brightness(1.06); }
}

@media (max-width: 1100px) {
  .hero__grid, .cats__bar, .best__grid, .about__grid, .story__grid, .band__inner, .footer__inner { grid-template-columns: 1fr; }
  .hero__grid, .best__grid, .about__grid, .story__grid, .band__inner { display: grid; }
  .footer__inner { flex-direction: column; }
  .hero__pastry, .hero__spec { display: none; }
  .cats__row { grid-template-columns: repeat(3, 1fr); }
  .about__photos { grid-template-columns: 1fr 1fr; }
  .polaroids { flex-wrap: wrap; }
  .menu-modal__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav, .header__tools { display: none; }
  .nav-toggle { display: flex; margin-inline-start: auto; }
  .hero__reserve { display: inline-flex; }
  .mobile-menu.open { display: block; }
  .hero__feats { flex-direction: column; }
  .cats__row { grid-template-columns: 1fr 1fr; }
  .menu-modal__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(1180px, calc(100% - 24px)); }
  .hero h1 { font-size: 32px; }
  .hero__drink { height: 340px; }
}
