@font-face {
  font-family: Vazirmatn;
  src: url("/campaigns/assets/Vazirmatn-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

:root {
  --ink: #172b42;
  --quiet: #4c6275;
  --blue: #174eae;
  --line: #dbe4ed;
  --paper: #fcfcfc;
  --gutter: clamp(24px,4vw,48px);
}

html {
  direction: rtl;
  --rail: calc(68px + env(safe-area-inset-bottom));
  --banner-height: 38px;
  scroll-padding-block: 68px calc(var(--rail) + var(--banner-height) + 8px);
}

/* Reserve the full image strip when the compact campaign is unavailable. */
html:has(#banner > a:not(.campaign) > img) {
  --banner-height: clamp(38px, 10vw, 100px);
}

body {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  background: var(--paper);
  font: 440 16px/1.6 Vazirmatn,Tahoma,sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

h1,h2,h3,p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

img,svg {
  display: block;
}

[hidden] {
  display: none!important;
}

:focus-visible {
  outline: 2px solid #3777d0;
  outline-offset: 3px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#apps_wrap, .page_header, .site_links, body>main {
  max-width: 1172px;
  margin: auto;
  padding-inline: var(--gutter);
}

#apps_wrap {
  padding-top: 18px;
}

/* Standalone error pages share the same layout without the site navigation. */
body > main, #apps_wrap.error_wrap {
  min-height: 90svh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

body > main::before {
  content: "";
  width: 58px;
  height: 72px;
  background: url("../img/vitrin/icons/sefid.png") center / cover no-repeat;
}

body > main > a, .location_message button {
  padding: 9px 18px;
  background: #e8f1ff;
  border-radius: 10px;
  font-weight: 700;
}

.location_message {
  max-width: 28rem;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-block: 24px;
}

.location_message svg {
  width: 72px;
}

.location_message p {
  color: var(--quiet);
}

.location_message br {
  display: none;
}

.location_message button {
  color: var(--blue);
}

.site-header {
  position: relative;
  z-index: 8;
}

.page_header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 62px;
  gap: 10px;
}

.page_header-title {
  font-size: 24px;
  font-weight: 900;
}

.page_header-nav, .breadcrumb, .site_links, .apps_list-title>a, #app_statistics a, .text-center a, body>main a {
  color: var(--blue);
  font-size: 14px;
}

.page_header-nav a::before {
  content: "›";
  margin-left: 6px;
}

.page_header-btn {
  justify-self: end;
  font-size: 13px;
}

.scrolled-menu {
  position: fixed;
  background: white;
  border-bottom: 1px solid var(--line);
  inset: 0 0 auto;
  transform: translateY(-110%);
  transition: transform .18s;
}

.scrolled-menu:not(.show) {
  visibility: hidden;
}

.scrolled-menu.show {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .scrolled-menu {
    transition: none;
  }
}

.page_header-title img {
  border-radius: 8px;
}

.site_links {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding-block: 32px calc(var(--rail) + var(--banner-height) + 30px);
}

#banner, #navbar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9;
}

#navbar {
  bottom: 0;
  background: white;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}

#navbar li {
  display: contents;
}

#banner {
  bottom: var(--rail);
}

#banner img {
  margin: auto;
  max-height: var(--banner-height);
  object-fit: contain;
}

.hiddenFields {
  display: none;
}

.install-app {
  display: contents;
}

.app_block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  background: white;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.app_block-image img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 13px;
}

/* The square Resalat thumbnails include black strips above and below the mark. */
img[src*="/icons/_crop/resalat-bank_crop_"] {
  clip-path: inset(4% 0 round 12%);
}

.app_block-info {
  position: relative;
  min-width: 0;
  flex: 1;
}

.app_block-info :is(h2, h3) a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.app_block-info :is(h2, h3) {
  font-size: 16px;
}

.app_block-info p, .app_block-info li {
  color: var(--quiet);
  font-size: 12px;
}

.app_block-action {
  font-size: 13px;
  color: var(--quiet);
  flex: none;
}

.open-web-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #e8f1ff;
  color: #164888;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.app_block:has(h1) .open-web-app {
  min-width: 76px;
  min-height: 40px;
  background: var(--blue);
  color: white;
  font-size: 14px;
}

@media (hover: hover) {
  .open-web-app:hover {
    background: #d6e7ff;
  }

  .app_block:has(h1) .open-web-app:hover {
    background: #103e90;
  }
}

.open-web-app:active {
  filter: brightness(.91);
}

.popular_searched-keywords a {
  display: inline-block;
  font-size: 12px;
  font-weight: 680;
  padding: 7px 11px;
  background: #e8f1ff;
  color: #164888;
  border-radius: 10px;
}

.apps_list-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 24px 0 12px;
}

.apps_list-title h2, #app_info h2, #app_statistics h4, #popular_searched h2 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.55;
  margin: 0;
}

.apps_list-title>a {
  flex: none;
}

.swiper-container {
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.single .swiper-wrapper {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  user-select: none;
}

.swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.single .swiper-wrapper.dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

.categories-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.categories-list a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 680;
}

.categories-list img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.categories-list a::after {
  content: "‹";
  margin-inline-start: auto;
  color: var(--quiet);
  font-size: 22px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.breadcrumb [aria-current] {
  color: var(--quiet);
}

#apps_wrap>.app_block:has(h1) {
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 24px;
  gap: 18px;
}

.app_block:has(h1) img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
}

.app_block h1 {
  font-size: clamp(23px, 3.8vw, 40px);
  line-height: 1.45;
  margin: 0;
}

.app-search button, .pageclip-form [type=submit] {
  color: white;
  background: var(--blue);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
}

#app_info {
  line-height: 1.95;
}

#app_info h3 {
  color: var(--quiet);
  font-weight: 500;
  font-size: 15px;
  margin: 4px 0 12px;
}

#app_statistics {
  margin-top: 24px;
}

#app_statistics ul {
  margin-top: 12px;
  border-radius: 14px;
  padding: 0 14px;
  background: white;
  border: 1px solid var(--line);
}

#app_statistics li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

#app_statistics li+li {
  border-top: 1px solid var(--line);
}

.app_statistics-label {
  color: var(--quiet);
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #ffbd00;
}

.rating-stars .star-fill {
  fill: currentColor;
  clip-path: inset(0 0 0 clamp(0%, (1 + var(--index) - var(--rating)) * 100%, 100%));
}

.rating-stars svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

input, select, textarea {
  font: inherit;
  color: inherit;
  min-width: 0;
  background: white;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.app-search {
  display: flex;
  gap: 6px;
  background: white;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 680px;
  margin: 0 0 22px;
}

#keywords {
  flex: 1;
  border: 0;
}

.popular_searched-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pageclip-form {
  max-width: 680px;
  margin: auto;
}

.pageclip-form label {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.pageclip-form textarea {
  min-height: 135px;
}

.pageclip-form [type=submit] {
  cursor: pointer;
}

.text-center {
  text-align: center;
  margin-block: 16px;
}

@media (max-width: 700px) {
  :root {
    --gutter: clamp(14px, 4.2vw, 22px);
  }
  .categories-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .categories-list a {
    padding: 10px 14px;
  }
  .page_header {
    min-height: 52px;
    gap: 4px;
  }
  .page_header-title {
    font-size: 19px;
  }
  .page_header-nav, .breadcrumb, .apps_list-title>a {
    font-size: 12px;
  }
  .app_block {
    padding: 10px 6px;
    gap: 8px;
  }
  .app_block-image img {
    width: 44px;
    height: 44px;
  }
  .app_block-info :is(h2, h3) {
    font-size: 15px;
  }
  .app_block-info p, .app_block-info li, .app_block-action {
    font-size: 12px;
  }
  #apps_wrap>.app_block:has(h1) {
    padding: 15px 10px;
    gap: 10px;
  }
  .app_block:has(h1) img {
    width: 58px;
    height: 58px;
    border-radius: 13px;
  }
  #app_statistics li {
    font-size: 14px;
  }
  #keywords {
    font-size: 14px;
    padding: 7px;
  }
  .app-search button {
    padding: 9px 12px;
  }
}

#navbar ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 620px;
  margin-inline: auto;
  padding: 0 4px 4px;
}

#navbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  min-height: 63px;
  padding-top: 5px;
  color: #516278;
  font-size: 11.5px;
  font-weight: 580;
  line-height: 1.55;
  white-space: nowrap;
}

#navbar svg {
  display: none;
}

#navbar a::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

#navbar .active a {
  color: #144fae;
  font-weight: 840;
}

#navbar .active a::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 38px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: #1a5ac6;
}

#navbar a:focus-visible {
  outline-offset: -2px;
}

.pageclip-form {
  position: relative;
}

.pageclip-form [role="alert"] {
  margin-top: 12px;
  color: #982032;
}

.form-confirmation {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgb(255 255 255 / 85%);
  font-size: 32px;
}

.pageclip-form [disabled] {
  opacity: .65;
  cursor: wait;
}

#navbar a[href="/"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='currentColor' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' aria-hidden='true'%3E %3Cpath d='M7.4 4.8h11.3a2 2 0 0 1 2 2v12.4a2 2 0 0 1-2 2H7.4a2.1 2.1 0 0 1-2.1-2V6.8a2.1 2.1 0 0 1 2.1-2Z'%3E%3C/path%3E %3Cpath d='M4.6 7.7H3.5v13a2.1 2.1 0 0 0 2.2 2h10.1M9 10h8.2m-8.2 3.6h8.2M9 17h4.5'%3E%3C/path%3E %3C/svg%3E");
}

#navbar a[href="/popular"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='currentColor' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' aria-hidden='true'%3E %3Cpath d='m13 3.4 3.1 6.3 7 1-5.1 5 1.2 7-6.2-3.3-6.2 3.3 1.2-7-5.1-5 7-1z'%3E%3C/path%3E %3C/svg%3E");
}

#navbar a[href="/newest"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='currentColor' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' aria-hidden='true'%3E %3Ccircle cx='13' cy='13' r='9.3'%3E%3C/circle%3E %3Cpath d='M13 7.3v6.2l4.3 2.4'%3E%3C/path%3E %3C/svg%3E");
}

#navbar a[href="/categories"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='currentColor' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' aria-hidden='true'%3E %3Crect x='3.6' y='3.6' width='7.5' height='7.5' rx='1.8'%3E%3C/rect%3E %3Crect x='14.9' y='3.6' width='7.5' height='7.5' rx='1.8'%3E%3C/rect%3E %3Crect x='3.6' y='14.9' width='7.5' height='7.5' rx='1.8'%3E%3C/rect%3E %3Crect x='14.9' y='14.9' width='7.5' height='7.5' rx='1.8'%3E%3C/rect%3E %3C/svg%3E");
}

#navbar a[href="/search"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='currentColor' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' aria-hidden='true'%3E %3Ccircle cx='11.3' cy='11.3' r='7.6'%3E%3C/circle%3E %3Cpath d='m17.1 17.1 5.2 5.2'%3E%3C/path%3E %3C/svg%3E");
}

.wrap {
  width: min(100%,1172px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mast {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

h1.brand-group {
  font: inherit;
}

/* Keep the heading accessible when only the fallback logo is shown. */
body:not(.photo, .detail-page) .mast {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

body:not(.photo, .detail-page) .mast:focus-within {
  position: relative;
  width: auto;
  height: auto;
  clip-path: none;
}

/* Preserve the header and spacing with or without JavaScript. */
body:not(.photo, .detail-page) .site-header:not(.scrolled-menu)::before {
  content: "";
  display: block;
  height: 61px;
  background: white url("../img/vitrin/icons/sefid.png") no-repeat
    right max(var(--gutter), (100vw - 1172px) / 2 + var(--gutter)) center / 32px;
  border-bottom: 1px solid var(--line);
}

body:not(.photo) #scrollable_banner,
body:not(.photo) #fixed_banner {
  background: #edf2f7;
  border-radius: 18px;
  overflow: hidden;
}

body:not(.photo) #fixed_banner {
  margin-top: var(--food-gap);
}

body:not(.photo) #scrollable_banner ~ .apps_list .apps_list-title:has(.title p) {
  min-height: 44px;
}

@media (scripting: enabled) {
  html:not(.vitrin-unavailable) body:not(.photo) :is(#scrollable_banner a, #fixed_banner a, #banner) {
    visibility: hidden;
  }
}

#scrollable_banner {
  --cover-height: 288px;
}

#fixed_banner {
  --food-height: 111px;
  --food-gap: 24px;
}

.mast .wrap,.brand,.brand-group,.search-link {
  display: flex;
  align-items: center;
}

.mast .wrap {
  height: 61px;
  justify-content: space-between;
  gap: 12px;
}

.brand-group {
  gap: 16px;
  min-width: 0;
}

.brand {
  gap: 4px;
  line-height: 1.2;
}

.brand-mark {
  width: 24px;
  height: 32px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.brand b {
  font-size: 30px;
  font-weight: 900;
}

.tagline {
  font-size: 12px;
  color: var(--quiet);
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 15px;
}

.search-link {
  font-size: 12px;
  font-weight: 630;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #29435c;
}

.search-link .ui {
  width: 17px;
  height: 17px;
}

.ui {
  width: 18px;
  height: 18px;
  flex: none;
}

.banner {
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.slide {
  position: relative;
  min-width: 0;
}

.feature-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
  font-size: 13px;
  font-weight: 580;
}

.feature-icon {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
}

.feature-title {
  font-weight: 900;
  line-height: 1.37;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  min-height: 37px;
  padding: 4px 12px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 710;
  white-space: nowrap;
}

.selectors {
  display: flex;
  align-items: center;
  justify-content: center;
}

.selector {
  min-width: 34px;
  min-height: 32px;
  display: grid;
  place-items: center;
}

.selector i {
  border-radius: 5px;
  width: 5px;
  height: 5px;
  background: #9eafbf;
}

.selector[aria-pressed=true] i {
  width: 18px;
  background: var(--blue);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 715;
  min-height: 44px;
  white-space: nowrap;
}

.more .ui {
  width: 15px;
  height: 15px;
}

.food {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-width: 0;
  color: #522539;
}

.food-copy h2 {
  font-weight: 840;
  line-height: 1.4;
}

.food-copy p {
  color: #673c4d;
}

.food-icon {
  object-fit: cover;
  border-radius: 11px;
  flex: none;
}

.food-arrow {
  display: grid;
  place-items: center;
  flex: none;
}

.campaign {
  display: block;
  background: #084ce7;
  color: white;
}

.campaign .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding-block: 3px;
}

.campaign small {
  border: 1px solid #acccff;
  border-radius: 4px;
  padding: 0 5px;
  color: #edf4ff;
  font-size: 9px;
  font-weight: 650;
}

.campaign strong {
  font-size: 13px;
  font-weight: 645;
}

.ad-action {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-inline-start: auto;
  font-size: 11px;
  font-weight: 660;
  white-space: nowrap;
}

.ad-action .ui {
  width: 13px;
  height: 13px;
}

.blu-mark {
  width: 32px;
  height: 22px;
  display: block;
  background: url("../img/ads/sefid-blubank-sep-2026.png") -13px -6px / 330px 32px no-repeat;
  border-radius: 4px;
  flex: none;
}

@media(max-width:700px) {
  body:not(.photo, .detail-page) .site-header:not(.scrolled-menu)::before {
    height: 49px;
    background-size: 27px;
  }
  #scrollable_banner {
    --cover-height: 210px;
  }
  #fixed_banner {
    --food-height: 78px;
    --food-gap: 17px;
  }
  .mast .wrap {
    height: 49px;
  }
  .mast .brand-group {
    flex: 1;
    justify-content: space-between;
    gap: 7px;
  }
  .brand b {
    font-size: 24px;
  }
  .brand-mark {
    width: 18px;
    height: 27px;
  }
  .tagline {
    border: 0;
    padding: 0;
    font-size: 11px;
  }
  .search-link {
    display: none;
  }
  .eyebrow {
    font-size: 11px;
    gap: 6px;
  }
  .feature-icon {
    width: 20px;
    height: 20px;
  }
  .more {
    font-size: 11.5px;
    gap: 4px;
  }
  .more .ui {
    width: 14px;
    height: 14px;
  }
  .campaign .wrap {
    gap: 6px;
    min-height: 34px;
    padding-inline: 12px;
  }
  .campaign small {
    font-size: 8px;
    padding: 0 4px;
  }
  .campaign strong {
    font-size: 11.5px;
  }
  .ad-action {
    font-size: 10px;
    gap: 1px;
  }
  .blu-mark {
    width: 27px;
    height: 19px;
    background-size: 310px 30px;
    background-position: -13px -6px;
  }
}

.photo .slide {
  isolation: isolate;
  overflow: hidden;
  min-height: var(--cover-height);
  border-radius: 23px;
  background: var(--deep);
  color: #fff;
  --deep: #751d25;
  --wash: 117,29,37;
}

.photo [data-app=namava] {
  --deep: #101d35;
  --wash: 16,29,53;
}

.photo [data-app=filimo] {
  --deep: #52263d;
  --wash: 82,38,61;
}

.photo [data-app=snapp] {
  --deep: #193f31;
  --wash: 25,63,49;
}

.photo [data-app=tapsi] {
  --deep: #482a25;
  --wash: 72,42,37;
}

.photo .feature-art {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 74%;
  object-position: 45% 50%;
  z-index: -2;
}

.photo .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left,var(--deep) 2%,rgba(var(--wash),.98) 24%,rgba(var(--wash),.70) 39%,rgba(var(--wash),.12) 63%,transparent 77%);
  z-index: -1;
}

.photo .cover-copy {
  width: 44%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 21px 38px;
}

.photo .feature-title {
  font-size: clamp(45px,5.6vw,73px);
  margin: 2px 0 11px;
}

.photo .feature-link {
  background: #fff;
  color: #203249;
}

.photo .banner .selectors {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 14px;
  padding: 0 5px;
  border-radius: 13px;
  background: #141e2eaa;
}

.photo .selector {
  min-width: 25px;
  min-height: 25px;
}

.photo .selector i {
  width: 4px;
  height: 4px;
  background: #fffb;
}

.photo .selector[aria-pressed=true] i {
  width: 15px;
  background: #fff;
}

.photo .food {
  min-height: var(--food-height);
  padding: 14px 28px;
  gap: 16px;
  border-radius: 16px;
  margin-top: var(--food-gap);
  background: #f8d7dc;
}

.photo .food-photo {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 57%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  z-index: -2;
}

.photo .food::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right,transparent 30%,#f8d7dc 55%);
}

.photo .food-icon {
  width: 45px;
  height: 45px;
}

.photo .food-copy h2 {
  font-size: 30px;
}

.photo .food-arrow {
  width: 31px;
  height: 31px;
  border: 1px solid #ad7c8c;
  border-radius: 50%;
  margin-inline-start: 12px;
}

@media (max-width: 700px) {
  .photo .slide {
    border-radius: 18px;
  }
  .photo .feature-art {
    inset: 0;
    width: 100%;
    object-position: 50% 49%;
  }
  .photo .slide::after {
    background: linear-gradient(0deg,#21111aea 0%,#27131c99 20%,#2b172144 45%,transparent 71%);
  }
  .photo .cover-copy {
    position: absolute;
    bottom: 12px;
    inset-inline: 14px;
    width: auto;
    min-height: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) max-content;
    align-items: end;
    column-gap: 5px;
  }
  .photo .eyebrow {
    grid-column: 1;
    grid-row: 1;
    color: #fff;
    line-height: 1.45;
    text-shadow: 0 1px 5px #1e0f15;
  }
  .photo .feature-icon {
    width: 17px;
    height: 17px;
    border-radius: 5px;
  }
  .photo .feature-title {
    grid-column: 1;
    grid-row: 2;
    font-size: 36px;
    margin: 0;
    line-height: 1.32;
  }
  .photo .feature-link {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
    margin-bottom: 4px;
    padding-inline: 9px;
    min-height: 31px;
    border-radius: 9px;
    font-size: 10.8px;
    gap: 4px;
  }
  .photo .banner .selectors {
    bottom: auto;
    top: 8px;
    left: 9px;
  }
  .photo .selector {
    min-width: 29px;
    min-height: 28px;
  }
  .photo .food {
    padding: 10px 12px;
    gap: 8px;
    border-radius: 13px;
  }
  .photo .food-photo {
    width: 49%;
  }
  .photo .food::after {
    background: linear-gradient(to right,transparent 29%,#f8d7dc 47%);
  }
  .photo .food-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .photo .food-copy h2 {
    font-size: 20px;
  }
  .photo .food-copy p {
    font-size: 11px;
  }
  .photo .food-arrow {
    width: 23px;
    height: 23px;
    margin-inline-start: 1px;
  }
  .photo .food-arrow svg {
    width: 13px;
    height: 13px;
  }
}


/* Branding and the existing route headings */
.site-header:not(.scrolled-menu) .page_header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding-top: clamp(20px, 4vw, 48px);
}

.site-header:not(.scrolled-menu) .page_header-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.45;
  letter-spacing: -.04em;
}

.site-header:not(.scrolled-menu) .page_header-btn,
.site-header:not(.scrolled-menu) .page_header-nav:empty,
.no-fixed .page_header-title,
#banner .campaign > img,
#scrollable_banner ~ .apps_list .title p {
  display: none;
}

#container .no-fixed .page_header {
  padding-top: 12px;
}

#apps_wrap:has(#scrollable_banner) {
  padding-top: clamp(12px, 1.5vw, 20px);
}

#scrollable_banner .swiper-wrapper {
  user-select: none;
  cursor: grab;
}

#scrollable_banner .swiper-slide > a {
  display: block;
  outline-offset: -4px;
}

body:has(#scrollable_banner) .page_header {
  display: none;
}

/* Keep every banner reachable by touch and keyboard without the carousel script. */
body:not(.photo) #scrollable_banner .swiper-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  cursor: auto;
}

body:not(.photo) #scrollable_banner .swiper-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

body:not(.photo) #scrollable_banner .banner {
  touch-action: auto;
}

/* Use the same artwork for known links while retaining EE's image for any new banner. */
body:not(.photo) #scrollable_banner a[href="/detail/digikala"] {
  --art: url("../img/vitrin/art/digikala.webp");
  --mark: url("../img/vitrin/icons/digikala.webp");
}
body:not(.photo) #scrollable_banner a[href="/detail/namava"] {
  --art: url("../img/vitrin/art/namava.webp");
  --mark: url("../img/vitrin/icons/namava.webp");
}
body:not(.photo) #scrollable_banner a[href="/detail/filimo"] {
  --art: url("../img/vitrin/art/filimo.webp");
  --mark: url("../img/vitrin/icons/filimo.webp");
}
body:not(.photo) #scrollable_banner a[href="/detail/snapp"] {
  --art: url("../img/vitrin/art/snapp.webp");
  --mark: url("../img/vitrin/icons/snapp.webp");
}
body:not(.photo) #scrollable_banner a[href="/detail/tapsi"] {
  --art: url("../img/vitrin/art/tapsi.webp");
  --mark: url("../img/vitrin/icons/tapsi.webp");
}
body:not(.photo) #fixed_banner a[href="/detail/snappfood"] {
  --art: url("../img/vitrin/art/snappfood.webp");
  --mark: url("../img/vitrin/icons/snappfood.webp");
}

body:not(.photo) :is(#scrollable_banner, #fixed_banner) a {
  display: block;
  position: relative;
}

body:not(.photo) :is(#scrollable_banner, #fixed_banner) a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mark) center / cover;
}

#scrollable_banner a:not(.slide) img,
#fixed_banner a:not(.food) img {
  content: var(--art, normal);
  width: 100%;
  height: var(--cover-height, var(--food-height));
  object-fit: cover;
  border-radius: 18px;
}

#scrollable_banner ~ .apps_list {
  margin-top: 18px;
}

#scrollable_banner ~ .apps_list .apps_list-title {
  margin: 0 0 9px;
}

#scrollable_banner ~ .apps_list .apps_list-title h2 {
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 830;
  line-height: 1.45;
}

#scrollable_banner ~ .apps_list .app_block {
  min-height: 80px;
  padding: 12px 14px;
  gap: 11px;
  border-block: 1px solid var(--line);
}

#scrollable_banner ~ .apps_list .app_block + .app_block {
  border-inline-start: 1px solid var(--line);
}

#scrollable_banner ~ .apps_list .app_block-image img {
  width: 49px;
  height: 49px;
}

#scrollable_banner ~ .apps_list .app_block-info :is(h2, h3) {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 780;
}

.rank {
  color: var(--quiet);
  font-size: 19px;
  font-weight: 750;
  min-width: 2ch;
  text-align: center;
}

#app_slide:has(.swiper-slide) {
  margin: 24px 0;
}

#app_slide h2 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.4vw, 25px);
}

.single .swiper-slide {
  scroll-snap-align: start;
  flex: none;
  max-width: 90%;
}

.single img {
  height: clamp(240px, 30vw, 355px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}

@media (min-width: 701px) {
  #apps_wrap:has(> .app_block):not(:has(h1)), .related_apps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  #apps_wrap > :not(.app_block), .apps_list-title {
    grid-column: 1/-1;
  }

  #scrollable_banner ~ .apps_list:has(.app_block) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #apps_wrap:has(#app_info) {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
    column-gap: 30px;
  }

  #apps_wrap:has(#app_info) > .app_block {
    grid-column: 1/-1;
  }

  #apps_wrap > #app_info {
    grid-column: 1;
  }

  #apps_wrap > #app_statistics {
    grid-column: 2;
    margin-top: 0;
  }

  #app_slide {
    min-width: 0;
  }
}

@media (min-width: 701px) and (max-width: 960px) {
  #scrollable_banner ~ .apps_list .app_block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px;
  }
  #scrollable_banner ~ .apps_list .app_block-action {
    grid-column: 2;
    justify-self: end;
  }
  .photo .cover-copy {
    width: 48%;
  }
}

@media (max-width: 700px) {
  #scrollable_banner ~ .apps_list {
    margin-top: 17px;
  }
  #scrollable_banner ~ .apps_list .apps_list-title {
    margin-bottom: 5px;
  }
  #scrollable_banner ~ .apps_list .app_block {
    padding: 8px 3px;
    gap: 10px;
    min-height: 63px;
  }
  #scrollable_banner ~ .apps_list .app_block + .app_block {
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  #scrollable_banner ~ .apps_list .app_block-image img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  #scrollable_banner ~ .apps_list .app_block-info :is(h2, h3) {
    font-size: 14px;
  }
  #scrollable_banner ~ .apps_list .app_block-info p {
    font-size: 11.5px;
  }
  .single .swiper-wrapper {
    gap: 8px;
  }
}

.about-page {
  --banner-height: 0px;
}

.about-page .site-header:not(.scrolled-menu) .page_header,
.about-page #apps_wrap {
  max-width: calc(640px + 2 * var(--gutter));
}

.about-copy {
  font-size: 16px;
  line-height: 2;
  padding-bottom: calc(var(--rail) + 40px);
}

.about-copy p + p {
  margin-top: 14px;
}

.about-copy h2 {
  border-top: 1px solid var(--line);
  margin: 32px 0 8px;
  padding-top: 24px;
  font-size: 23px;
}

.about-copy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.about-roles dl {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 16px;
  margin: 16px 0 0;
}

.about-roles dt {
  color: var(--blue);
  font-weight: 800;
}

.about-roles dd {
  margin: 0;
}

.about-report {
  margin-top: 32px;
  padding: 20px clamp(16px, 4vw, 28px);
  border-inline-start: 4px solid var(--blue);
  background: #edf4fc;
  border-radius: 14px;
}

.about-report h2 {
  border: 0;
  margin: 0 0 8px;
  padding: 0;
  font-size: 20px;
  line-height: 1.6;
}

.about-report a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .about-roles dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .about-roles dd + dt {
    margin-top: 12px;
  }
}

/* Expand hit areas without changing layout or the card's existing stretched link. */
@media (max-width: 700px) {
  :is(.breadcrumb, .page_header-nav, .site_links, .apps_list-title, #app_statistics) a[href]:not(.cta_btn),
  .mast a.tagline {
    position: relative;
  }

  :is(.breadcrumb, .page_header-nav, .site_links, .apps_list-title, #app_statistics) a[href]:not(.cta_btn)::after,
  .mast a.tagline::after {
    content: "";
    position: absolute;
    inset: -4px -2px;
  }

  .mast a.tagline::after,
  .site_links a[href]:not(.cta_btn)::after {
    inset: -10px -3px;
  }
}

.rating-guide ol {
  margin: 16px 0 0;
  padding-inline-start: 2em;
  list-style: persian;
}

.rating-guide li {
  padding: 12px 6px 12px 0;
  line-height: 1.85;
}

.rating-guide li + li {
  border-top: 1px solid var(--line);
}

.rating-guide li::marker {
  color: var(--blue);
  font-weight: 800;
}

.rating-guide strong {
  display: block;
  color: var(--blue);
}

@media (min-width: 701px) {
  .rating-guide strong {
    float: right;
    width: 10em;
    margin-inline-start: -10em;
  }

  .rating-guide li {
    padding-inline-start: 10em;
  }
}
