@font-face {
  font-family: "Tanzib Daily IranSans";
  src: url("../../tanzib-product-3d/assets/model-assets/62ede2c9d4dae39c5e022d4af19b54c06361704dc98d1736eaac5dd18db81d33.woff2") format("woff2");
  font-display: swap;
}

.tzdd-home,
.tzdd-badge {
  --tzdd-ink: #0b1f3a;
  --tzdd-orange: #f36b21;
  --tzdd-orange-dark: #a54010;
  font-family: IranSans, "Tanzib Daily IranSans", Tahoma, sans-serif;
  text-align: right;
}

.tzdd-home[hidden] {
  display: none !important;
}

.tzdd-home {
  box-sizing: border-box;
  margin: 12px auto;
  padding: clamp(10px, 1.5vw, 18px);
  border: 1px solid #183453;
  border-radius: clamp(14px, 2vw, 20px);
  background: radial-gradient(ellipse at 94% 0%, #214669, transparent 60%), var(--tzdd-ink);
  color: #fff;
}

.tzdd-home__header,
.tzdd-home__ending {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.tzdd-home__header {
  justify-content: space-between;
  margin-bottom: 9px;
}

.tzdd-home__header > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 10px;
}

.tzdd-home__brand {
  display: block;
  width: clamp(82px, 10vw, 96px);
  height: auto;
  aspect-ratio: 640 / 103;
  margin: 0;
}

.tzdd-home h2 {
  margin: 0;
  color: inherit;
  font: inherit;
  font-size: clamp(18px, 3.3vw, 28px);
  font-weight: 800;
  line-height: 1.55;
}

.tzdd-home__ending {
  font-size: 12px;
}

.tzdd-clock {
  display: inline-block;
  min-width: 7ch;
  color: inherit;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.tzdd-home .tzdd-clock {
  padding: 2px 7px;
  border: 1px solid #667d95;
  border-radius: 8px;
  background: #0b1f3a;
  color: #fff;
  font-weight: 800;
}

.tzdd-home__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
}

.tzdd-home__card:only-child {
  grid-column: 1 / -1;
}

.tzdd-home__ending--card {
  gap: 3px 6px;
  color: var(--tzdd-ink);
  font-size: 11px;
}

.tzdd-home__ending--card .tzdd-clock {
  padding: 1px 5px;
  border-color: #e1e6ec;
  background: #f5f8fb;
  color: var(--tzdd-ink);
}

.tzdd-home__card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid #e9e9ec;
  border-radius: 12px;
  background: #fff;
  color: var(--tzdd-ink);
  text-decoration: none;
}

.tzdd-home__card:hover {
  color: var(--tzdd-ink);
  border-color: var(--tzdd-orange);
}

.tzdd-home__card:focus-visible {
  outline: 3px solid #ffb180;
  outline-offset: 3px;
}

.tzdd-home__image {
  display: block;
  width: clamp(70px, 12vw, 96px);
  height: auto;
  flex: none;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f8f8f8;
  object-fit: contain;
}

.tzdd-home__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.tzdd-home__copy h3 {
  margin: 0;
  color: inherit;
  font: inherit;
  font-size: clamp(12px, 2vw, 16px);
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.tzdd-home__discount {
  padding: 2px 6px;
  border-radius: 5px;
  background: #ffefe4;
  color: var(--tzdd-orange-dark);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.7;
}

.tzdd-home__view {
  color: #164977;
  font-size: 11px;
  line-height: 1.7;
}

.tzdd-badge {
  box-sizing: border-box;
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 7px;
  margin: 5px 0 0;
  padding: 3px 7px;
  border: 1px solid #f5c5a5;
  border-radius: 7px;
  background: #fff3eb;
  color: var(--tzdd-orange-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.65;
}

.tzdd-badge strong {
  color: inherit;
  font: inherit;
}

.tzdd-badge .tzdd-clock {
  color: var(--tzdd-ink);
}

.tzdd-badge--mobile {
  display: none;
}

.tzdd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .tzdd-home__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .tzdd-home__header,
  .tzdd-home__header .tzdd-home__ending {
    gap: 4px 8px;
  }

  .tzdd-badge--mobile {
    display: flex;
  }

  body:has(.tzdd-badge--mobile) .tzdd-badge--desktop {
    display: none;
  }
}

.tzdd-home__prices{display:flex;flex-wrap:wrap;gap:0 .5rem;font-size:.82rem;line-height:1.55}
.tzdd-home__prices del{opacity:.72}

body .tzdd-home .tzdd-home__header h2 { color: #fff !important; font-size: clamp(16px, 2vw, 23px); line-height: 1.45; }
body .tzdd-home .tzdd-home__copy h3 { font-size: clamp(12px, 1.55vw, 16px); line-height: 1.5; }
