@font-face {
  font-family: Vazir;
  src: url('/shop/font.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Vazir, Tahoma, sans-serif;
  color: #18263c;
  background: #f7f5ef;
  --navy: #18263c;
  --blue: #213d85;
  --line: #d9d5c9;
  --muted: #5c605f;
  --cream: #f7f5ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.62;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c66825;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1160px;
  margin: auto;
  padding-inline: 24px;
}
.mast {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.mast-inner,
.mast nav,
.brand,
.menu-head,
.sum,
.sheet-head,
.foot,
.product-foot,
.qty,
.history-row,
.receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mast-inner {
  min-height: 76px;
}
.brand {
  justify-content: flex-start;
  font-size: 1.18rem;
}
.brand img {
  width: 45px;
  height: 45px;
}
.mast nav a,
.mast nav button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border: 0;
  background: none;
  font-weight: 650;
  padding: 5px 12px;
}
.mast nav .cart-top {
  background: var(--navy);
  color: white;
  border-radius: 22px;
  padding-inline: 20px;
}
.cart-top b {
  color: #e7bf77;
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 22px;
  min-height: clamp(190px, 23vw, 274px);
  padding: 22px clamp(22px, 6vw, 80px);
  color: white;
  background: #152039 url('/shop/hero.webp') center 52% / cover;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(270deg, #09152cc4, transparent 67%);
}
.hero p {
  color: #e7c487;
  margin: 0;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 4rem);
  margin: 0.12em 0 0.25em;
  line-height: 1.4;
}
.hero a {
  font-weight: 700;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #d7b57b;
  min-height: 44px;
}
.menu-head {
  margin: 25px 0 10px;
  flex-wrap: wrap;
}
.menu-head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding-inline: 12px;
}
.search span {
  font-size: 1.6rem;
}
.search input {
  min-width: 0;
  width: 225px;
  border: 0;
  background: transparent;
  min-height: 42px;
  color: inherit;
}
.muted,
.foot,
small {
  color: var(--muted);
  font-size: 0.83rem;
}
#groups {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 3px;
  scrollbar-width: thin;
}
#groups button,
.line-button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 22px;
  padding: 7px 16px;
  min-height: 42px;
  white-space: nowrap;
}
#groups [aria-pressed='true'] {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
#groups {
  margin-bottom: 12px;
}
#products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.product {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
}
.product img {
  width: 100%;
  display: block;
  aspect-ratio: 1.9;
  object-fit: cover;
}
.product-copy {
  padding: 14px 16px 8px;
  flex: 1;
}
.product h3 {
  font-size: 1.08rem;
  margin: 0;
}
.product p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 5px 0 0;
}
.product-foot {
  padding: 0 16px 12px;
}
.product-foot b {
  font-size: 0.92rem;
}
.add,
.qty button {
  font-size: 1.25rem;
  min-height: 42px;
  min-width: 42px;
  border: 1px solid #cfcbbd;
  border-radius: 50%;
  background: #f5eedc;
}
.foot {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-block: 16px 110px;
  flex-wrap: wrap;
}
.dock {
  position: fixed;
  bottom: max(12px, env(safe-area-inset-bottom));
  inset-inline: 12px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}
.dock button,
.primary {
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: 11px;
  padding: 13px 22px;
  min-height: 50px;
}
.dock button {
  pointer-events: auto;
  min-height: 56px;
  width: min(100%, 420px);
  box-shadow: 0 5px 24px #13213d40;
}
.sheet-head {
  padding: 14px 19px;
  border-bottom: 1px solid var(--line);
}
.sheet-head h2 {
  margin: 0;
  font-size: 1.3rem;
}
.sheet-head button {
  border: 0;
  background: #efece3;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
}
.sheet-body {
  overflow: auto;
  padding: 17px 20px 22px;
  overscroll-behavior: contain;
}
dialog {
  padding: 0;
  width: min(510px, 96vw);
  max-height: 88dvh;
  max-height: min(88vh, 790px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffcf6;
  color: var(--navy);
}
dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog::backdrop {
  background: #07152db0;
}
form > label,
form fieldset {
  display: block;
  margin: 12px 0;
  font-weight: 650;
}
form :is(input:not([type='radio']), textarea) {
  display: block;
  background: white;
  color: var(--navy);
  width: 100%;
  border: 1px solid #bcb9ae;
  border-radius: 8px;
  padding: 10px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
fieldset label {
  display: inline-block;
  padding: 4px;
  font-weight: 500;
}
.primary {
  width: 100%;
}
.basket-row,
.history-row {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.basket-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px;
}
.basket-row small,
.history-row small {
  display: block;
}
.qty {
  gap: 6px;
}
.qty button {
  min-width: 40px;
  min-height: 40px;
}
.sum {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.notice {
  background: #f5ecda;
  border-radius: 8px;
  padding: 10px;
  color: #574016;
  font-size: 0.9rem;
}
.club {
  margin: 16px 0;
  background: var(--navy);
  color: #fff;
  padding: 17px;
  border-radius: 13px;
}
.club p,
.club h3 {
  margin: 0 0 4px;
}
.club small {
  color: #f2ddb9;
}
#stamp-strip {
  display: flex;
  gap: 7px;
  margin: 10px 0;
}
#stamp-strip i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px dashed #c6ac7e;
}
#stamp-strip i.full {
  background: #edbd6c;
  border-style: solid;
}
.line-button {
  white-space: normal;
  margin: 3px;
}
.actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.step-list {
  padding-right: 22px;
}
.step-list li {
  padding: 3px;
  color: var(--muted);
}
.step-list .now {
  font-weight: bold;
  color: var(--blue);
}
#error {
  color: #9b2930;
  margin: 10px 0 0;
}
#toast {
  position: fixed;
  inset-inline: 10px;
  bottom: 85px;
  text-align: center;
  pointer-events: none;
  z-index: 4;
}
#toast:not(:empty) {
  width: fit-content;
  margin: auto;
  background: #18263c;
  color: white;
  border-radius: 8px;
  padding: 7px 15px;
}
html:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 740px) {
  .wrap {
    padding-inline: 14px;
  }
  .mast-inner {
    min-height: 60px;
    flex-wrap: wrap;
    gap: 2px;
    padding-block: 6px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .brand {
    font-size: 0.98rem;
    gap: 6px;
  }
  .mast nav {
    gap: 2px;
  }
  .mast nav a,
  .mast nav button {
    font-size: 0.8rem;
    padding: 4px 7px;
  }
  .mast nav .cart-top {
    padding-inline: 10px;
  }
  .hero {
    min-height: 155px;
    margin-top: 12px;
  }
  .menu-head {
    margin-top: 16px;
  }
  .search input {
    width: 155px;
  }
  #products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .product img {
    aspect-ratio: 1.55;
  }
  .product-copy {
    padding: 9px 10px 6px;
  }
  .product-foot {
    padding: 0 10px 8px;
    flex-wrap: wrap;
  }
  .product-foot b {
    font-size: 0.83rem;
  }
  .product h3 {
    font-size: 1rem;
  }
  .product p {
    font-size: 0.8rem;
  }
  .hero:before {
    background: linear-gradient(270deg, #09152cce, transparent 80%);
  }
}
@media (max-width: 420px) {
  .mast-inner {
    justify-content: center;
  }
  .mast nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  .search input {
    width: 135px;
  }
  .product-foot {
    gap: 4px;
  }
  .sheet-body {
    padding: 13px;
  }
  .basket-row {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 14px;
  }
}
@media (max-width: 300px) {
  #products {
    grid-template-columns: 1fr;
  }
}
html.embedded .hero,
html.embedded .walk,
html.embedded .foot {
  display: none;
}

.group-picker {
  display: none;
}
.product figure {
  position: relative;
  margin: 0;
}
.product figcaption {
  position: absolute;
  inset-inline-start: 7px;
  bottom: 6px;
  background: #fff9edee;
  color: #524634;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.72rem;
}
.product .drink-photo img {
  aspect-ratio: 1.1;
  object-fit: cover;
}
.add,
.qty button {
  min-width: 46px;
  min-height: 46px;
}
@media (max-width: 600px) {
  #groups {
    display: none;
  }
  .group-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 14px;
    font-weight: 650;
  }
  .group-picker select {
    font: inherit;
    color: var(--navy);
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 46px;
    padding: 3px 12px;
    flex: 1;
    min-width: 0;
  }
}

.mast .member-icon {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.member-head,
#active-order {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.member-head {
  padding: 1rem;
  background: #f3ebdb;
  border-radius: 14px;
}
.member-head h3,
.city-pass h3,
.city-pass p {
  margin: 0.15rem 0;
}
.member-head h3 {
  overflow-wrap: anywhere;
}
#identity {
  margin: 0.5rem 0 1rem;
}
#identity p {
  margin: 0.4rem 0;
}
#account-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #e9e6dc;
}
#account-nav button {
  border: 0;
  min-height: 44px;
  border-radius: 8px;
  background: transparent;
}
#account-nav [aria-pressed='true'] {
  color: #fff;
  background: var(--navy);
}
#active-order:not(:empty) {
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.city-pass {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.city-pass p {
  font-size: 0.92rem;
}
.city-pass a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
#account > div[hidden] {
  display: none;
}

#account-nav button {
  padding-inline: 0.15rem;
  overflow-wrap: anywhere;
}
#member-logout {
  margin-inline-start: auto;
  font-size: 0.8rem;
}
#identity:empty {
  margin-block: 0.6rem;
}
#member-overview .club {
  background: radial-gradient(ellipse at top left, #294575 0, transparent 52%), #18263c;
  border: 1px solid #334864;
}
#stamp-strip i {
  width: 27px;
  height: 27px;
}
@media (max-width: 360px) {
  #account-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-head {
    flex-wrap: wrap;
  }
}
