:root {
  --blue: #1a4d8c;
  --blue-deep: #0b2a4a;
  --green: #34a853;
  --yellow: #fbbc05;
  --red: #ea4335;
  --black: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --bg: #fff;
  --foot: #f2f2f2;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Arial, Helvetica, "Vazirmatn", Tahoma, sans-serif;
  color: var(--black);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: #1a0dab; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  font-size: 13px;
}
.topbar a { color: var(--black); }
.topbar a:hover { opacity: 0.75; }

.wrap { flex: 1; display: flex; flex-direction: column; }

.home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 16px 40px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
  user-select: none;
}
.wordmark span { display: inline-block; }
.wordmark .k { color: var(--red); }
.wordmark .a1 { color: var(--yellow); }
.wordmark .l { color: var(--green); }
.wordmark .a2 { color: var(--blue); }
.wordmark .a3 { color: var(--yellow); }
.wordmark .d { color: var(--green); }

.wordmark-lg { font-size: 86px; margin-bottom: 28px; }
.wordmark-sm { font-size: 26px; }
.wordmark-sign { font-size: 52px; text-decoration: none; }
.wordmark-sign:hover { text-decoration: none; }

body.is-home {
  overflow: hidden;
}
body.is-home .topbar { padding: 6px 18px; }
body.is-home .footer-row { padding: 6px 18px; justify-content: center; }

.street {
  flex: 1;
  background:
    linear-gradient(#8ec5e8 0 42%, #d9c9a8 42% 46%, #c4b48e 46%);
  padding: 28px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.street-mini { flex: 0; padding: 10px 16px 0; background: #8ec5e8; }
.shop {
  width: min(980px, 96vw);
  background: #f4ead3;
  border: 10px solid var(--blue-deep);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  position: relative;
  box-shadow: 0 18px 0 #0b2a4a;
}
.shop-mini { box-shadow: none; border-width: 6px; border-bottom-width: 6px; border-radius: 6px; }

.awning {
  height: 46px;
  margin: -8px -10px 0;
  background: repeating-linear-gradient(
    90deg,
    #ea4335 0 36px,
    #fbbc05 36px 72px,
    #34a853 72px 108px,
    #1a4d8c 108px 144px
  );
  border-radius: 8px 8px 0 0;
  position: relative;
  box-shadow: 0 10px 16px rgba(11, 42, 74, 0.28);
}
.awning::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 12px;
  background:
    radial-gradient(circle at 18px 0, #ea4335 11px, transparent 12px) 0 0 / 144px 12px,
    radial-gradient(circle at 54px 0, #fbbc05 11px, transparent 12px) 0 0 / 144px 12px,
    radial-gradient(circle at 90px 0, #34a853 11px, transparent 12px) 0 0 / 144px 12px,
    radial-gradient(circle at 126px 0, #1a4d8c 11px, transparent 12px) 0 0 / 144px 12px;
}

.sign {
  margin: 22px 24px 10px;
  background: var(--blue-deep);
  border: 4px solid var(--yellow);
  border-radius: 4px;
  padding: 12px 18px 14px;
  text-align: center;
  box-shadow: 0 6px 0 #071828;
}
.sign-title {
  margin-top: 4px;
  color: #fff;
  letter-spacing: 3px;
  font-size: 13px;
  text-transform: lowercase;
}

.facade {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 12px;
  padding: 8px 16px 0;
  align-items: stretch;
  min-height: 280px;
}
.vitrine {
  display: block;
  text-decoration: none;
  color: inherit;
  min-height: 260px;
}
.vitrine:hover { text-decoration: none; }
.glass {
  height: 100%;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.55) 0 18%, transparent 32%, rgba(255,255,255,0.2) 60%, transparent 72%),
    linear-gradient(#e8f3ff, #c5d8ea);
  border: 5px solid var(--blue-deep);
  border-bottom: 0;
  position: relative;
  overflow: hidden;
  padding: 12px;
}
.vitrine-label {
  position: absolute;
  top: 8px;
  right: 10px;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
}
.shelf { margin-top: 28px; display: grid; gap: 8px; }
.shelf-item {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(11,42,74,0.15);
  padding: 8px 10px;
  font-size: 13px;
}
.shelf-item strong { display: block; color: var(--blue-deep); }
.shelf-item span { color: var(--muted); font-size: 12px; }

.door {
  background: #3a2616;
  border: 5px solid var(--blue-deep);
  border-bottom: 0;
  padding: 8px;
}
.door-inner {
  height: 100%;
  min-height: 240px;
  background: #fffdf6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 16px 10px;
  box-shadow: inset 0 0 0 2px #d8c39a;
}
.door .search { width: 100%; }

.sill {
  height: 18px;
  background: var(--blue-deep);
}
.pavement {
  width: min(980px, 96vw);
  height: 36px;
  background:
    repeating-linear-gradient(90deg, #b9a57c 0 70px, #a89468 70px 72px);
  border-radius: 0 0 4px 4px;
}

@media (max-width: 800px) {
  .facade { grid-template-columns: 1fr; }
  .wordmark-sign { font-size: 36px; }
}

.search {
  width: min(584px, 92vw);
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 16px;
  background: #fff;
}
.search:focus-within { box-shadow: 0 1px 6px rgba(32,33,36,0.18); }
.search input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 16px;
  color: var(--black);
  background: transparent;
}
.search button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 15px;
  cursor: pointer;
}

.actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn {
  background: #f8f9fa;
  border: 1px solid #f8f9fa;
  color: var(--black);
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { border-color: var(--line); text-decoration: none; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }

.hint { margin-top: 28px; font-size: 13px; color: var(--muted); text-align: center; }

.page { width: min(920px, 94vw); margin: 0 auto; padding: 8px 0 48px; }
.page-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.page-head form { flex: 1; }
.page-head .search { width: 100%; }

.result { margin: 0 0 22px; max-width: 640px; }
.result .cite { color: #006621; font-size: 13px; }
.result h3 { margin: 2px 0 4px; font-size: 20px; font-weight: 400; }
.result h3 a { color: #1a0dab; }
.result p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}
.card h2 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.card h2 a { color: var(--blue-deep); }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.product {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
.product img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.price { color: var(--green); font-size: 22px; margin: 8px 0; }
.old { color: var(--muted); text-decoration: line-through; font-size: 14px; margin-right: 8px; }
.meta { color: var(--muted); font-size: 13px; }

.footer {
  background: var(--foot);
  color: var(--muted);
  font-size: 14px;
  margin-top: auto;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--black); }
.footer strong { color: var(--black); font-weight: 500; }
.footer-credit { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-ico { display: inline-flex; color: var(--black); }
.footer-ico svg { width: 18px; height: 18px; display: block; }
.footer-ico:hover { color: var(--blue); }

[dir="rtl"] .topbar { justify-content: flex-start; }
[dir="rtl"] .page-head { flex-direction: row-reverse; }

.admin-form { max-width: 560px; display: grid; gap: 10px; margin: 16px 0 28px; }
.admin-form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.admin-form input, .admin-form textarea {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  font: inherit;
  color: var(--black);
}
.admin-form .check { display: flex; align-items: center; gap: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: right; }
.notice { background: #e6f4ea; color: #137333; padding: 8px 12px; border-radius: 4px; }
.linkish { border: 0; background: none; color: var(--red); cursor: pointer; font: inherit; }
.meta { color: var(--muted); font-size: 13px; }

@media (max-width: 640px) {
  .wordmark-lg { font-size: 56px; }
  .product { grid-template-columns: 1fr; }
  .footer-row { justify-content: center; text-align: center; }
}

/* —— admin shells —— */
.is-admin { background: #f0f0f1; }
.is-admin .wrap { width: 100%; }
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.adm-body { width: min(1180px, 94vw); margin: 0 auto; padding: 20px 0 48px; }
.adm-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
}
.adm-bar nav { margin-right: auto; display: flex; gap: 14px; }
.adm-bar nav a { color: inherit; text-decoration: none; font-size: 13px; }
.adm-brand { text-decoration: none; font-weight: 800; letter-spacing: -0.5px; }

/* Digikala-like /admin */
.theme-digikala { background: #f0f0f1; color: #424750; }
.theme-digikala .adm-bar {
  background: #fff;
  border-bottom: 1px solid #e0e0e2;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.theme-digikala .adm-brand { color: #ef4056; font-size: 26px; }
.theme-digikala .adm-brand span { color: #ef4056; }
.theme-digikala .adm-search {
  flex: 1;
  max-width: 480px;
  background: #f0f0f1;
  border-radius: 8px;
  padding: 10px 14px;
  color: #81858b;
  font-size: 13px;
}
.theme-digikala .adm-bar nav a { color: #424750; }
.theme-digikala .adm-bar nav a.on { color: #ef4056; font-weight: 700; }
.dk-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.dk-hero h1 { margin: 0; font-size: 22px; color: #232933; }
.dk-hero p { margin: 4px 0 0; color: #81858b; font-size: 13px; }
.dk-chip {
  background: #fff;
  border: 1px solid #e0e0e2;
  color: #ef4056;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
}
.dk-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}
.dk-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  max-width: none;
  margin: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.dk-card h2 { margin: 0 0 10px; font-size: 16px; color: #232933; }
.theme-digikala .admin-form input,
.theme-digikala .admin-form textarea {
  border-color: #e0e0e2;
  border-radius: 8px;
  background: #fafafa;
}
.btn-dk {
  background: #ef4056;
  border-color: #ef4056;
  color: #fff;
  border-radius: 8px;
}
.btn-dk:hover { filter: brightness(0.95); text-decoration: none; }
.dk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.dk-product {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.dk-product img, .dk-ph { width: 100%; height: 160px; object-fit: contain; background: #fff; }
.dk-ph { display: grid; place-items: center; color: #c0c2c5; }
.dk-info { padding: 10px 12px 14px; }
.dk-info h3 { margin: 0; font-size: 13px; font-weight: 500; color: #232933; line-height: 1.6; }
.dk-cat { margin: 4px 0 8px; color: #81858b; font-size: 11px; }
.dk-price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dk-price strong { color: #232933; font-size: 14px; }
.dk-price s { color: #c0c2c5; font-size: 12px; }
.dk-off {
  background: #ef4056;
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 12px;
}
.dk-actions { display: flex; gap: 10px; margin-top: 10px; font-size: 12px; }
.dk-actions a { color: #19bfd3; text-decoration: none; }
.theme-digikala .notice { background: #fff0f2; color: #ef4056; }

/* Snapp Shop-like /administrator */
.theme-snapp { background: #f3faf6; color: #1a1a1a; }
.theme-snapp .adm-bar {
  background: linear-gradient(135deg, #00c16a, #009e56);
  color: #fff;
}
.theme-snapp .adm-brand { color: #fff; font-size: 22px; }
.theme-snapp .adm-brand em {
  font-style: normal;
  background: #fff;
  color: #00c16a;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 13px;
  margin-right: 6px;
}
.theme-snapp .adm-bar nav a { color: #e8fff3; }
.theme-snapp .adm-bar nav a.on { color: #fff; font-weight: 700; }
.sn-hero { margin: 8px 0 16px; }
.sn-hero h1 { margin: 0; font-size: 24px; }
.sn-hero p { margin: 4px 0 8px; color: #5a6b62; }
.sn-link { color: #00a85a; font-size: 13px; }
.sn-tabs {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0,193,106,.08);
}
.sn-tabs a {
  padding: 8px 16px;
  border-radius: 999px;
  color: #5a6b62;
  text-decoration: none;
  font-size: 13px;
}
.sn-tabs a.on { background: #00c16a; color: #fff; }
.sn-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  max-width: 560px;
  box-shadow: 0 8px 24px rgba(0,193,106,.08);
}
.theme-snapp .admin-form input,
.theme-snapp .admin-form textarea {
  border-color: #d7efe3;
  border-radius: 12px;
  background: #f7fdf9;
}
.btn-sn {
  background: #00c16a;
  border-color: #00c16a;
  color: #fff;
  border-radius: 12px;
}
.btn-sn:hover { filter: brightness(0.95); text-decoration: none; }
.sn-table { background: #fff; border-radius: 20px; overflow: hidden; }
.theme-snapp .admin-table th { background: #e8f8ef; color: #009e56; }
.theme-snapp .notice { background: #e8f8ef; color: #009e56; }
.theme-snapp .linkish { color: #c0392b; }

@media (max-width: 900px) {
  .dk-layout { grid-template-columns: 1fr; }
  .adm-search { display: none; }
}

/* —— street of two half-shops —— */
.street.street-block {
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 0;
  align-items: stretch;
  background: #7eb7dc;
}
.park {
  flex: 0 0 16vh;
  height: 16vh;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(#8ec5e8 0 55%, #6aaa4a 55% 70%, #5d9840 70%);
}
.sun {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 52px;
  height: 52px;
  margin-left: -26px;
  background: radial-gradient(circle at 40% 35%, #fff6b0, #fbbc05 55%, #e37400 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(251, 188, 5, 0.28), 0 0 36px 10px rgba(255, 214, 64, 0.55);
  z-index: 2;
  pointer-events: none;
}
.sun::after {
  content: "";
  position: absolute;
  inset: -16px;
  background:
    repeating-conic-gradient(from 0deg, transparent 0 12deg, rgba(251, 188, 5, 0.55) 12deg 14deg);
  border-radius: 50%;
  z-index: -1;
}
.park-trees {
  position: absolute;
  inset: 0 0 28%;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 4%;
  pointer-events: none;
}
.tree {
  position: relative;
  width: 18px;
  height: 54px;
  background: #6b3f24;
  border-radius: 3px;
}
.tree::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 78px;
  height: 78px;
  margin-left: -39px;
  background: radial-gradient(circle at 40% 40%, #4caf50, #1b5e20 72%);
  border-radius: 50%;
}
.tree.t2 { height: 44px; }
.tree.t2::before { width: 64px; height: 64px; margin-left: -32px; }
.tree.t4 { height: 62px; }
.tree.t4::before { width: 90px; height: 90px; margin-left: -45px; background: radial-gradient(circle at 40% 40%, #66bb6a, #2e7d32 72%); }
.tree.t6 { height: 40px; }
.park-benches {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 10%;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}
.bench {
  width: 92px;
  height: 18px;
  background: #8d6e3d;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 6px 0 #5d4424;
}
.bench::before, .bench::after {
  content: "";
  position: absolute;
  bottom: -12px;
  width: 8px;
  height: 14px;
  background: #5d4424;
}
.bench::before { left: 10px; }
.bench::after { right: 10px; }

.shazde-house {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  z-index: 2;
  direction: ltr;
  filter: drop-shadow(0 8px 0 #071828);
}
.shazde-gable {
  width: 100%;
  height: 11vh;
  min-height: 72px;
  flex: 0 0 auto;
  background: #8b2e1f;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.shazde-house .sign-shazde {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  padding: 12px 22px 10px;
  flex: 0 0 auto;
}
.shazde-house .sign-shazde .prince-mark { width: 78px; height: 96px; }
.shazde-house .sign-shazde .sign-title { font-size: clamp(48px, 6.4vw, 86px); }
.shazde-house .block-row {
  flex: 1 1 auto;
  border-left: 8px solid #0b2a4a;
  border-right: 8px solid #0b2a4a;
}

.sign-shazde {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: min(920px, 86%);
  margin: 0;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 12px;
  background: #fff8e7;
  border: 4px solid #0b2a4a;
  border-radius: 4px;
  padding: 8px 18px;
  box-shadow: 0 4px 0 #071828;
  text-align: center;
  direction: ltr;
  z-index: 2;
}
.prince-mark { width: 64px; height: 80px; }
.sign-copy { min-width: 0; }
.sign-shazde .sign-title {
  font-family: "Yeseva One", "Palatino Linotype", Palatino, Georgia, serif;
  color: #8b2e1f;
  letter-spacing: 0.5px;
  font-size: 40px;
  font-weight: 400;
  text-transform: none;
  margin: 0;
  line-height: 1;
  text-shadow:
    0 1px 0 #fff8e7,
    2px 3px 0 rgba(11, 42, 74, 0.18);
}
.sign-shazde .sign-title span {
  color: #0b2a4a;
  font-size: 1.08em;
}
.sign-domain {
  color: #8b2e1f;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px dashed #c0392b;
  padding: 5px 10px;
  border-radius: 4px;
  background: #fff8e7;
  cursor: default;
}

.block-row {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 20vw minmax(110px, 14vw) minmax(280px, 1fr) minmax(110px, 14vw) 20vw;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 200px;
  direction: ltr;
}
.half-shop {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 8px solid #0b2a4a;
  border-bottom: 0;
  min-height: 0;
  height: 100%;
  position: relative;
}
.half-shop:hover { text-decoration: none; }
.half-shop a.roof-sign { color: #fff; text-decoration: none; }
.half-shop a.roof-sign:hover { filter: brightness(1.08); text-decoration: none; }
.roof-sign {
  position: absolute;
  top: 0;
  width: 200%;
  background: #0b2a4a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 0;
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.2;
}
.roof-sign span {
  display: block;
  width: 100%;
  text-align: center;
}
.shop-erfan .roof-sign { left: -100%; }
.shop-kaveh .roof-sign { left: 0; }
.roof-sign-food { background: #7a1f12; }
.shop-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 40px;
}
.shop-erfan { background: #efe4c8; }
.shop-kaveh { background: #f3d7c4; }

.awning-erfan {
  margin: 0;
  height: 28px;
  flex: 0 0 28px;
  background: repeating-linear-gradient(90deg, #1a4d8c 0 22px, #c9a227 22px 44px);
  border-radius: 0;
}
.awning-kaveh {
  margin: 0;
  height: 28px;
  flex: 0 0 28px;
  background: repeating-linear-gradient(90deg, #ea4335 0 22px, #fff 22px 44px);
}

.neighbor-windows {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(56px, 11vh) minmax(56px, 11vh);
  gap: 8px;
  padding: 10px;
  flex: 0 0 auto;
  align-content: start;
  min-height: 0;
}
.listing {
  background: rgba(255,255,255,0.88);
  border: 3px solid #0b2a4a;
  min-height: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.listing:hover { text-decoration: none; filter: brightness(1.04); }
.listing b { color: #0b2a4a; }
.listing-photo {
  padding: 0;
  position: relative;
  background: #1a1a1a;
  height: 11vh;
  min-height: 56px;
  max-height: 11vh;
}
.listing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listing-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 42, 74, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 4px 6px;
  line-height: 1.2;
}
.food-window .listing { background: #111; }

.side-bar {
  background: #fffdf6;
  border: 8px solid #0b2a4a;
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.side-bar a {
  display: block;
  padding: 7px 8px;
  color: #0b2a4a;
  text-decoration: none;
  font-size: 12px;
  border-bottom: 1px solid #ead9b2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-bar a:hover { background: #f4e7c8; text-decoration: none; }
.side-bar-title {
  background: #0b2a4a;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}
.products-bar .side-bar-title { background: #1e7a3a; }

.alley {
  background: #d93025;
  border: 8px solid #0b2a4a;
  border-bottom: 0;
  padding: 8px;
  min-height: 0;
}
.alley-door {
  height: 100%;
  min-height: 180px;
  background: #d93025;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  box-shadow: none;
}
.alley .search {
  width: 100%;
  background: #fff;
}
.alley .actions { margin-top: 0; }
.alley .actions .btn {
  background: #fff;
  color: #0b2a4a;
}

.street-block .pavement {
  width: 100%;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  border-radius: 0;
  position: relative;
}

.side-road {
  width: 100%;
  height: 8vh;
  min-height: 54px;
  flex: 0 0 auto;
  background:
    linear-gradient(#2f2f2f, #454545 18%, #454545 82%, #262626);
  position: relative;
  overflow: hidden;
  direction: ltr;
}
.side-road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, #fbbc05 0 28px, transparent 28px 52px);
  pointer-events: none;
}
.side-road-lane {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  padding: 0 3%;
  position: relative;
  z-index: 1;
}
.side-road .car {
  width: 78px;
  height: 28px;
  box-shadow: 0 5px 0 rgba(0,0,0,.35);
}
.side-road .car::before {
  left: 14px;
  right: 18px;
  top: -10px;
  height: 13px;
}
.side-road .car::after {
  left: 8px;
  right: 8px;
  bottom: -6px;
  height: 9px;
  background:
    radial-gradient(circle at 9px 5px, #111 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 9px) 5px, #111 5px, transparent 6px);
}
.side-road .takran-logo {
  font-size: 9px;
  padding: 2px 4px;
}

.road {
  width: 100%;
  margin: 0;
  height: 28vh;
  min-height: 28vh;
  flex: 0 0 28vh;
  background:
    linear-gradient(#2a2a2a, #3d3d3d 12%, #3d3d3d 88%, #1f1f1f);
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.road-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  margin-top: -3px;
  background: repeating-linear-gradient(90deg, #fbbc05 0 48px, transparent 48px 88px);
  z-index: 1;
}
.products-bar { position: relative; overflow: visible; }
.kid {
  position: relative;
  width: 16px;
  height: 32px;
  background: #1a4d8c;
  border-radius: 3px 3px 0 0;
  flex: 0 0 auto;
  z-index: 4;
}
.kid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -13px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  background: #f3d2a8;
  border-radius: 50%;
  box-shadow: 0 -3px 0 #3a2a1a;
}
.kid::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -11px;
  width: 5px;
  height: 13px;
  background: #111;
  box-shadow: 8px 0 0 #111;
}
.kid-street {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.kid-products {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  background: #ea4335;
}
.lane {
  position: absolute;
  left: 0;
  right: 0;
  height: 46%;
  overflow: hidden;
  direction: ltr;
}
.lane-down { top: 8%; }
.lane-up { bottom: 8%; }
.car-track {
  display: flex;
  width: 200%;
  height: 100%;
}
.car-set {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
}
.lane-down .car-track { animation: traffic-left 22s linear infinite; }
.lane-up .car-track { animation: traffic-right 20s linear infinite; }
@keyframes traffic-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes traffic-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.car {
  width: 108px;
  height: 40px;
  border-radius: 10px 18px 6px 6px;
  position: relative;
  flex: 0 0 auto;
  box-shadow: 0 7px 0 rgba(0,0,0,.35);
}
.car::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 26px;
  top: -14px;
  height: 18px;
  background: inherit;
  filter: brightness(1.15);
  border-radius: 8px 12px 0 0;
  opacity: 0.9;
}
.car::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -8px;
  height: 12px;
  background:
    radial-gradient(circle at 12px 6px, #111 6px, transparent 7px),
    radial-gradient(circle at calc(100% - 12px) 6px, #111 6px, transparent 7px);
}
.car-flip { transform: scaleX(-1); }
.car-blue { background: #3d6ea8; }
.car-cream { background: #e6d3a3; }
.car-green { background: #3e8c5a; }
.car-navy { background: #243447; }
.car-silver { background: #b0b6bd; }
.car-takran {
  background: #c0392b;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
}
.takran-logo {
  background: #fff;
  color: #c0392b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 5px;
  border-radius: 3px;
  border: 2px solid #7a1f12;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .lane-down .car-track, .lane-up .car-track { animation: none; }
}

/* —— brands as a book —— */
.book-sky, .page-book { background: #c9b896; }
body.is-inner:has(.book) { background: #c9b896; }
.page-book { width: min(980px, 96vw); }
.wrap:has(.page-book) { background: #c9b896; }
.wrap:has(.page-shelf) { background: #4a3424; }
.book {
  background: #6b3f24;
  border-radius: 4px 12px 12px 4px;
  padding: 14px 14px 18px 8px;
  box-shadow: 8px 12px 0 rgba(40, 20, 8, 0.35);
}
.book-cover-label {
  color: #f4e4c1;
  text-align: center;
  letter-spacing: 6px;
  font-size: 13px;
  margin-bottom: 8px;
}
.book-spread {
  display: grid;
  grid-template-columns: 1fr 18px 1fr;
  min-height: 420px;
  background: #f6ecd2;
  border: 1px solid #d9c7a0;
}
.book-gutter {
  background: linear-gradient(90deg, #d7c39a, #fff8e6 40%, #d7c39a);
  box-shadow: inset 4px 0 8px rgba(80,50,20,.15), inset -4px 0 8px rgba(80,50,20,.15);
}
.book-page {
  padding: 28px 24px;
  background:
    repeating-linear-gradient(#f6ecd2, #f6ecd2 27px, #e7d7b3 28px);
}
.book-entry {
  margin: 0 0 22px;
  padding-bottom: 10px;
}
.book-entry h2 { margin: 0 0 4px; font-size: 18px; font-family: Georgia, "Times New Roman", serif; }
.book-entry h2 a { color: #3b2414; }
.book-entry p { margin: 0; color: #5c4630; font-size: 14px; line-height: 1.6; }
.book-leaf h1 { font-family: Georgia, "Times New Roman", serif; }

/* —— products as store shelves —— */
.page-shelf { width: min(980px, 96vw); }
.store-shelf {
  background: #5a3a22;
  padding: 16px 16px 28px;
  border: 10px solid #3a2414;
  box-shadow: inset 0 0 0 4px #7a5230;
}
.shelf-header {
  color: #f4e4c1;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.shelf-bay { margin: 0 0 8px; }
.shelf-goods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  min-height: 140px;
  align-items: end;
  padding: 8px 8px 0;
}
.good {
  background: #f7efe0;
  border: 2px solid #3a2414;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
}
.good:hover { text-decoration: none; transform: translateY(-4px); }
.good-box {
  width: 36px;
  height: 36px;
  background: #1a4d8c;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.good strong { font-size: 13px; color: #3a2414; }
.good em { font-style: normal; color: #34a853; font-size: 12px; }
.shelf-plank {
  height: 16px;
  background: linear-gradient(#b8894e, #8a5a2a);
  border-top: 2px solid #d7b07a;
  box-shadow: 0 8px 0 #2a180c;
}
.product-on-shelf {
  background: #f7efe0;
  padding: 16px;
  border: 2px solid #3a2414;
}

@media (max-width: 800px) {
  .block-row { grid-template-columns: 1fr; }
  .shop-erfan .shop-inner,
  .shop-kaveh .shop-inner { margin-inline-start: 0; width: 100%; }
  .sign-shazde { grid-template-columns: 48px 1fr; }
  .sign-domain { grid-column: 1 / -1; justify-self: center; }
  .book-spread { grid-template-columns: 1fr; }
  .book-gutter { display: none; }
  .shelf-goods { grid-template-columns: 1fr 1fr; }
  .cars { transform: scale(0.82); }
}

a.tv-invite {
    display: block;
    margin: 12px auto 0;
    max-width: 46rem;
    background: #0b2a4a;
    color: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    line-height: 1.7;
    text-decoration: none;
}
a.tv-invite strong { color: #ffe08a; }

a.domain-sale {
    display: inline-block;
    margin-inline-start: 12px;
    color: #8a3d22;
    font-weight: 700;
}
