@font-face {
  font-family: Vazirmatn;
  src: url('./fonts/vazirmatn.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-body--family: Vazirmatn, Tahoma, Arial, sans-serif;
  --font-heading--family: Vazirmatn, Tahoma, Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body, button, input, select, .site-header nav, .rw-sheet-host {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}
.site-header { direction: rtl; }
.brand { margin-right: 0; margin-left: auto; gap: 10px; }
.brand svg { width: 28px; height: 36px; flex-shrink: 0; }
.brand-wordmark, .brand-name, .brand__name { font-size: 30px; font-weight: 650; letter-spacing: -.8px; line-height: 1.5; }
.site-header nav { gap: 30px; font-size: 13px; font-weight: 500; }
.site-header nav button {
  font: inherit;
  background: none;
  border: 0;
  padding: 12px 0;
  cursor: pointer;
  white-space: nowrap;
}
.site-header nav button:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-header nav [aria-current] { position: relative; }
.site-header nav [aria-current]::after {
  content: '';
  display: block;
  height: 2px;
  width: 14px;
  background: #151413;
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%);
}
#open-bag { gap: 8px; padding: 0 6px; }
#open-bag span { font-size: 12px; }
.rw__grid { direction: ltr; }
.rw__head, .rw__panel, .rw__lb-top, .rw__lb-hint { direction: rtl; }
.rw__head { text-align: right; }
.rw__intro { gap: 10px; }
.rw__title { line-height: 1.3; letter-spacing: -.045em; }
.rw__sub { line-height: 1.9; max-width: 56ch; font-size: 12px; }
.rw__panel-title { line-height: 1.5; }
.rw__label, .rw__type, .rw__tag-text, .rw__count, .rw__tick-label, .rw__lb-kicker { letter-spacing: 0; }
.rw__name, .rw__picker-title { line-height: 1.8; }
.rw__type { font-size: 10px; }
.rw__price, .rw__picker-price, .rw__bundle-price { font-variant-numeric: tabular-nums; }
.rw__media img, .rw__picker-thumb img { object-fit: contain; }
.rw__tick { direction: rtl; text-align: left; }
.rw__tick-label { line-height: 1.8; }
.rw__pin, .rw__cursor-in, .rw__peek, .rw__walk-label { direction: rtl; }
.rw__pin::after { direction: rtl; text-align: right; letter-spacing: 0; }
.rw__lb-name, .rw__chip-name { font-style: normal; letter-spacing: 0; }
.rw__lb-kicker { direction: rtl; }
.rw__lb-name { line-height: 1.8; }
.rw__lb-hint { letter-spacing: 0; }
.rw__opt-name { line-height: 1.8; }
.rw__bundle-title { line-height: 1.8; }
.rw__bundle-note { line-height: 1.8; }
.rw__msg { line-height: 1.9; }
.rw-sheet-host { direction: rtl; }
.rw__pill-label { font-size: 12px; }
.rw__confirm, .rw__cta { letter-spacing: 0; }
.rw__select select { padding: 0 14px 0 40px; }
.rw__select svg { right: auto; left: 14px; }
dialog { direction: rtl; border-radius: 0; padding: 28px; }
.bag-heading h2 { font-size: 23px; line-height: 1.8; }
.bag-note { line-height: 2; font-size: 12px; }
.bag-row h3 { font-weight: 500; line-height: 1.7; }
.bag-row p, .bag-row a { line-height: 1.9; }
.bag-empty { padding: 42px 0 30px; text-align: center; }
.bag-empty-title { font-size: 21px; margin: 0 0 12px; }
.bag-browse { border: 1px solid #151413; padding: 12px 24px; background: #fff; cursor: pointer; margin-top: 16px; }
.bag-quantity { display: inline-flex; direction: ltr; align-items: center; gap: 0; border: 1px solid #d9d9d9; margin: 6px 0; }
.bag-quantity button { width: 36px; height: 36px; padding: 0; font-size: 19px; }
.bag-quantity span { min-width: 26px; font-size: 12px; text-align: center; }
.bag-quantity button:disabled { opacity: .3; cursor: not-allowed; }
.bag-original { display: block; color: #66625c; }
.bag-row .bag-remove { padding: 0; width: 36px; height: 44px; align-self: start; }
#bag-total { text-align: right; border-top: 1px solid #c8c8c8; line-height: 1.8; }
#bag-status { direction: rtl; line-height: 1.9; text-align: center; max-width: calc(100vw - 32px); width: max-content; }
.info-dialog h2 { font-size: 24px; font-weight: 400; }
.info-dialog p { font-size: 13px; line-height: 2.2; color: #66625c; }
.info-dialog table { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 2; }
.info-dialog th, .info-dialog td { padding: 10px; text-align: right; border-bottom: 1px solid #e4e4e4; }
.info-dialog [data-close-dialog] { cursor: pointer; }
@media (max-width: 1099px) and (min-width: 750px) {
  .rw__title { font-size: 37px; }
  .site-header { padding-inline: 28px; gap: 20px; }
  .site-header nav { gap: 20px; }
  .rw__panel-head { padding-top: 36px; }
}
@media (max-width: 749px) {
  .site-header { height: 68px; padding: 0 20px; gap: 12px; }
  .brand { gap: 7px; }
  .brand svg { width: 22px; height: 28px; }
  .brand-wordmark, .brand-name, .brand__name { font-size: 25px; }
  .site-header nav { gap: 16px; font-size: 11px; }
  .site-header nav a:nth-child(2) { display: block; }
  .site-header nav button { display: none; }
  .site-header nav a:nth-child(1) { display: none; }
  .site-header #open-bag { margin-left: 0; }
  .rw__title { font-size: 26px; line-height: 1.5; }
  .rw__sub { font-size: 11px; }
  .rw__mhead { direction: rtl; }
  .rw__mhead-title { line-height: 1.8; }
  runway-section .rw__item { margin-right: 0; margin-left: 16px; padding: 6px 0 6px 16px; }
  runway-section .rw__item:last-child { margin-left: 0; }
  runway-section.rw--list.has-dividers .rw__item:not(:last-child) { border-right: 0; border-left: 1px solid var(--rw-line); }
  .rw__head { padding-top: 26px; }
  .rw-sheet-host .rw__picker-title { font-size: 13px; }
  .rw__cta-m { font-size: 12px; }
  .bag-row { column-gap: 12px; grid-template-columns: 52px 1fr 32px; }
  .bag-row img { width: 52px; }
  dialog { padding: 20px; }
  .info-dialog th, .info-dialog td { padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* A complete set of accessible controls remains available at every width. */
@media (min-width: 750px) and (max-width: 1099px) {
  .rw__controls { gap: 8px; padding: 6px 16px 22px; }
  .rw__icon { width: 40px; height: 44px; }
  .rw__ticks { gap: 4px; }
  .rw__tick, .rw__tick[aria-current="true"] { flex: 1 1 0; min-width: 0; }
  .rw__tick[aria-current="true"] { flex-grow: 2; }
  .rw__tick-name, .rw__tick[aria-current="true"] .rw__tick-name { display: none; }
}
@media (max-width: 749px) {
  runway-section .rw__controls { display: flex; gap: 4px; padding: 0 14px 12px; }
  .rw__ticks { gap: 4px; }
  .rw__tick-label { display: block; font-size: 9px; }
  .rw__tick, .rw__tick[aria-current="true"] { gap: 5px; }
  .rw__tick-name, .rw__tick[aria-current="true"] .rw__tick-name { display: none; }
  .rw__icon { width: 36px; height: 44px; }
}
