/* =============================================================================
   پارسی شو — بازار / Market promo widgets (market-pro.js)
   market-pro.js injects a hero slider, a special-offer band, promo banners and
   a section row. Their class names (mp-band, mp-bcard, mp-promo, mp-clock,
   mp-dots, mp-hnav …) had no stylesheet at all, so every product card inside
   them rendered at the natural image size — a 1039x1584 "A3 sheet" — and the
   countdown stacked as three full-width rows.
   Scope: body.ph-market only.
   ============================================================================= */

/* =============================================================================
   1) HERO — photo slider + controls
   ============================================================================= */
body.ph-market .mp-herobg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}
body.ph-market .mp-heroimg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .9s ease;
}
body.ph-market .mp-heroimg.is-on { opacity: 1; }

/* keeps the headline readable over the photo (text sits on the right in RTL) */
body.ph-market .mp-herobg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg,
    rgba(9, 20, 34, .95) 0%,
    rgba(9, 20, 34, .86) 38%,
    rgba(9, 20, 34, .58) 72%,
    rgba(9, 20, 34, .38) 100%);
}

body.ph-market .mp-herobar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px 16px;
}

body.ph-market .mp-hnav {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
body.ph-market .mp-hnav:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .38); }
body.ph-market .mp-hnav:active { transform: scale(.94); }
body.ph-market .mp-hnav svg { width: 14px; height: 14px; }

body.ph-market .mp-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
body.ph-market .mp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .32);
  transition: width .22s ease, background .22s ease;
}
body.ph-market .mp-dot.is-on {
  width: 20px;
  border-radius: 99px;
  background: #fff;
}
body.ph-market .mp-hcount {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .74);
  font-variant-numeric: tabular-nums;
  letter-spacing: .2px;
}

/* =============================================================================
   2) SECTIONS injected between the SPA sections
   ============================================================================= */
body.ph-market .mp-sec { margin: 26px 0; }

/* =============================================================================
   3) SPECIAL-OFFER BAND — "پیشنهاد شگفت‌انگیز"
   Rebuilt from the dg-slider-special-offer template (slider3424):
   red gradient #F0223C → #F7485C at 272deg, radius 20, white wordmark on the
   right, product cards on the left.
   ============================================================================= */
body.ph-market .mp-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 208px) minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(272deg, #F0223C 0%, #F7485C 100%);
  border: 0;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 26px 52px -38px rgba(224, 34, 60, .95);
}
body.ph-market .mp-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 58%),
    radial-gradient(80% 80% at 0% 100%, rgba(140, 0, 20, .18), rgba(140, 0, 20, 0) 60%);
}

body.ph-market .mp-band-side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  gap: 5px;
  min-width: 0;
  padding: 6px 2px 78px;
}
body.ph-market .mp-band-badge {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.4px;
  text-align: center;
  text-shadow: 0 2px 14px rgba(120, 0, 18, .32);
}
body.ph-market .mp-band-side h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: rgba(255, 255, 255, .96);
}
body.ph-market .mp-band-side p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.7;
  text-align: center;
  color: rgba(255, 255, 255, .76);
}

/* countdown: white tiles, red numerals, read left → right */
body.ph-market .mp-clock {
  display: flex;
  flex-direction: row;
  direction: ltr;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}
body.ph-market .mp-clock > div {
  min-width: 42px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 4px 6px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 16px -12px rgba(110, 0, 16, .75);
}
body.ph-market .mp-clock b {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  color: #E0223C;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
body.ph-market .mp-clock span {
  font-size: 8.5px;
  font-weight: 700;
  color: #8a94a6;
  direction: rtl;
}

/* "مشاهده همه" */
body.ph-market .mp-band-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: 1px;
  transition: border-color .18s ease, opacity .18s ease;
}
body.ph-market .mp-band-more:hover { border-color: #fff; opacity: .92; }

/* gift-box artwork from the template */
body.ph-market .mp-band-side::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 84px;
  height: 84px;
  transform: translateX(-50%);
  background: url(box-special.webp) center bottom / contain no-repeat;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(110, 0, 16, .35));
}

body.ph-market .mp-band-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

body.ph-market .mp-bcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 12px;
  background: #fff;
  color: #0f2237;
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
body.ph-market .mp-bcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -18px rgba(80, 0, 12, .6);
}

body.ph-market .mp-bcard-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f6f9;
}
body.ph-market .mp-bcard-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.ph-market .mp-bcard-off {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 7px;
  background: #E0223C;
  color: #fff;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 6px 14px -8px rgba(224, 34, 60, .95);
}
body.ph-market .mp-bcard-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 8px 9px 2px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.55;
  color: #1a2a3d;
  min-height: 2.9em;
}
body.ph-market .mp-bcard-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0 9px 9px;
  margin-top: auto;
  flex-wrap: wrap;
}
body.ph-market .mp-bcard-price s {
  font-size: 10px;
  color: #9aa5b4;
  text-decoration-thickness: 1px;
}
body.ph-market .mp-bcard-price b {
  font-size: 12.5px;
  font-weight: 900;
  color: #D81E3C;
  font-variant-numeric: tabular-nums;
}
body.ph-market .mp-bcard-price small {
  font-size: 9px;
  font-weight: 600;
  color: #7c8798;
}

/* =============================================================================
   4) PROMO BANNERS
   ============================================================================= */
body.ph-market .mp-promos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
body.ph-market .mp-promo {
  position: relative;
  display: block;
  min-height: 158px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  isolation: isolate;
  border: 1px solid rgba(15, 34, 55, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}
body.ph-market .mp-promo:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(9, 20, 34, .85); }
body.ph-market .mp-promo-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 20, 34, .05) 0%, rgba(9, 20, 34, .55) 58%, rgba(9, 20, 34, .90) 100%);
}
body.ph-market .mp-promo-txt {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 12px;
  color: #fff;
}
body.ph-market .mp-promo-txt b {
  font-size: 10px;
  font-weight: 800;
  color: #ffcf8a;
}
body.ph-market .mp-promo-txt i {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body.ph-market .mp-promo-txt em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #cfe0f0;
}
body.ph-market .mp-promo-txt em svg { width: 12px; height: 12px; }

/* =============================================================================
   5) RESPONSIVE
   ============================================================================= */
@media (max-width: 1023.98px) {
  body.ph-market .mp-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  body.ph-market .mp-band-side {
    padding-bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 12px;
  }
  body.ph-market .mp-band-badge { grid-column: 1; font-size: 18px; }
  body.ph-market .mp-band-side h3 { grid-column: 1; }
  body.ph-market .mp-band-side p { grid-column: 1; }
  body.ph-market .mp-clock { grid-column: 1 / -1; margin-top: 4px; }
  body.ph-market .mp-band-more { grid-column: 2; grid-row: 1; align-self: start; margin-top: 0; }
  body.ph-market .mp-band-side::after { display: none; }
  body.ph-market .mp-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639.98px) {
  body.ph-market .mp-band-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ph-market .mp-band { padding: 13px; border-radius: 18px; }
  body.ph-market .mp-band-badge { font-size: 17px; }
  body.ph-market .mp-promo { min-height: 140px; }
  body.ph-market .mp-sec { margin: 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.ph-market .mp-heroimg,
  body.ph-market .mp-bcard,
  body.ph-market .mp-promo,
  body.ph-market .mp-dot { transition: none !important; }
  body.ph-market .mp-bcard:hover,
  body.ph-market .mp-promo:hover { transform: none; }
}

/* =============================================================================
   7) SHOP-SALE SLIDER (mp-shopsale)
   market-pro.js inserts a shop slider after the "best sellers" row. Its
   mp-ss-* classes had no styles at all, so each card rendered as inline text and
   the red action button landed on top of the product title.
   ============================================================================= */
body.ph-market .mp-shopsale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px;
  grid-template-rows: auto auto;
  gap: 12px 14px;
  margin: 26px 0;
  align-items: stretch;
}

body.ph-market .mp-ss-rail {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
body.ph-market .mp-ss-rail::-webkit-scrollbar { display: none; }
body.ph-market .mp-ss-pad { flex: 0 0 0; }

body.ph-market .mp-ss-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 214px;
  flex: 0 0 214px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid #e9eef5;
  background: #ffffff;
  color: #16283b;
  text-align: right;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.ph-market .mp-ss-card:hover {
  transform: translateY(-2px);
  border-color: #dbe5f1;
  box-shadow: 0 16px 30px -22px rgba(15, 34, 55, .6);
}

body.ph-market .mp-ss-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.ph-market .mp-ss-shop {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
body.ph-market .mp-ss-lg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  overflow: hidden;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.ph-market .mp-ss-lg img { width: 100%; height: 100%; object-fit: contain; }
body.ph-market .mp-ss-tx {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: right;
}
body.ph-market .mp-ss-tx b {
  font-size: 11.5px;
  font-weight: 800;
  color: #16283b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ph-market .mp-ss-tx i {
  font-style: normal;
  font-size: 9.5px;
  color: #8a97a8;
}
body.ph-market .mp-ss-back {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a3aec0;
}
body.ph-market .mp-ss-back svg { width: 14px; height: 14px; }

body.ph-market .mp-ss-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f6f9;
}
body.ph-market .mp-ss-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.ph-market .mp-ss-off {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 7px;
  background: #dc2626;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.5;
}

body.ph-market .mp-ss-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: #1a2a3d;
  text-align: right;
}
body.ph-market .mp-ss-hr {
  display: block;
  height: 1px;
  background: #eef2f7;
}
body.ph-market .mp-ss-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
body.ph-market .mp-ss-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
  text-align: right;
}
body.ph-market .mp-ss-price small {
  font-size: 8px;
  font-weight: 600;
  color: #a3aec0;
  margin-inline-start: 2px;
}
body.ph-market .mp-ss-card,
body.ph-market .mp-ss-card * { text-align: right; }
body.ph-market .mp-ss-price b {
  font-size: 12.5px;
  font-weight: 900;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
}
body.ph-market .mp-ss-price i {
  font-style: normal;
  font-size: 9px;
  color: #8a97a8;
}
/* the action button that used to sit on top of the title */
body.ph-market .mp-ss-go {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 8px 16px -12px rgba(220, 38, 38, .95);
}
body.ph-market .mp-ss-go svg { width: 13px; height: 13px; }

/* orange promo panel */
body.ph-market .mp-ss-promo {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(150deg, #fb923c 0%, #ea580c 100%);
  color: #fff;
  overflow: hidden;
}
body.ph-market .mp-ss-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 80% 0%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}
body.ph-market .mp-ss-promo > svg {
  position: relative;
  width: 96px;
  height: 96px;
  color: #ffffff;
  opacity: .95;
}
body.ph-market .mp-ss-pt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
}
body.ph-market .mp-ss-pt b {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
}
body.ph-market .mp-ss-pt span {
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .88);
  text-transform: uppercase;
}

/* controls */
body.ph-market .mp-ss-ctl {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}
body.ph-market .mp-ss-nav {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  border: 1px solid #e3eaf3;
  background: #ffffff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
body.ph-market .mp-ss-nav:hover:not(:disabled) { border-color: #c9d8e8; color: #1d4ed8; }
body.ph-market .mp-ss-nav:disabled { opacity: .45; cursor: default; }
body.ph-market .mp-ss-nav svg { width: 14px; height: 14px; }
body.ph-market .mp-ss-track {
  position: relative;
  flex: 1 1 auto;
  height: 3px;
  border-radius: 99px;
  background: repeating-linear-gradient(90deg, #dbe4f0 0 6px, transparent 6px 12px);
}
body.ph-market .mp-ss-track i {
  position: absolute;
  top: -1px;
  left: 0;
  height: 5px;
  width: 34px;
  border-radius: 99px;
  background: #f97316;
  transition: left .2s ease;
}

@media (max-width: 1023.98px) {
  body.ph-market .mp-shopsale {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }
  body.ph-market .mp-ss-promo {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
  }
  body.ph-market .mp-ss-promo > svg { width: 62px; height: 62px; }
  body.ph-market .mp-ss-pt { align-items: flex-start; text-align: right; }
  body.ph-market .mp-ss-pt b { font-size: 16px; }
  body.ph-market .mp-ss-rail { grid-row: 2; }
  body.ph-market .mp-ss-ctl { grid-row: 3; }
}

@media (max-width: 639.98px) {
  body.ph-market .mp-ss-card { width: 168px; flex: 0 0 168px; padding: 8px; }
  body.ph-market .mp-ss-title { font-size: 11.5px; }
  body.ph-market .mp-ss-promo > svg { width: 52px; height: 52px; }
}

/* =============================================================================
   8) HERO — full-bleed horizontal slider, animated bright promotion
   Replaces the boxed cross-fade banner: edge-to-edge, slides move horizontally,
   a soft animated colour wash (amber / cyan / pink) over the photos and a
   shorter block so the products come into view sooner.
   ============================================================================= */
@supports (overflow: clip) {
  body.ph-market { overflow-x: clip; }
}

body.ph-market .mp-hero {
  border-radius: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-inline: calc(50% - 50vw) !important;
  box-shadow: none !important;
}

/* slides move sideways instead of only fading */
body.ph-market .mp-heroimg {
  opacity: 0;
  transform: translate3d(7%, 0, 0) scale(1.02);
  transition: opacity .8s ease, transform .9s cubic-bezier(.22, .61, .36, 1);
}
body.ph-market .mp-heroimg.is-on {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1.02);
}

/* scrim stays under the colour wash */
body.ph-market .mp-herobg::after { z-index: 1; }

/* animated bright promotion wash */
body.ph-market .mp-herobg::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 22% 28%, rgba(255, 171, 66, .55), rgba(255, 171, 66, 0) 70%),
    radial-gradient(36% 40% at 76% 68%, rgba(34, 211, 238, .42), rgba(34, 211, 238, 0) 70%),
    radial-gradient(42% 44% at 58% 8%, rgba(244, 114, 182, .38), rgba(244, 114, 182, 0) 72%);
  filter: blur(22px);
  mix-blend-mode: screen;
  animation: ph-hero-wash 20s ease-in-out infinite alternate;
}
@keyframes ph-hero-wash {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); opacity: .85; }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.06); opacity: 1; }
  100% { transform: translate3d(4%, -2%, 0) scale(1.1); opacity: .9; }
}

/* shorter hero + content aligned with the page container */
body.ph-market .mp-hero > .relative {
  padding-block: 18px !important;
  padding-inline: 14px !important;
}
body.ph-market .mp-hero > .relative > div > h1 {
  margin-top: 10px !important;
  font-size: 22px !important;
  line-height: 1.45 !important;
}
body.ph-market .mp-hero > .relative > div > p {
  margin-top: 8px !important;
  font-size: 12.5px !important;
  line-height: 1.8 !important;
}
body.ph-market .mp-hero-search { margin-top: 12px !important; height: 44px !important; }
body.ph-market .mp-hero-link { margin-top: 8px !important; }
body.ph-market .mp-herobar { padding-bottom: 10px !important; }

@media (min-width: 640px) {
  body.ph-market .mp-hero > .relative {
    padding-block: 22px !important;
    padding-inline: 24px !important;
  }
  body.ph-market .mp-hero > .relative > div > h1 { font-size: 26px !important; }
}

@media (min-width: 1024px) {
  body.ph-market .mp-hero > .relative {
    padding-block: 26px !important;
    padding-inline: calc((100vw - 80rem) / 2 + 2rem) !important;
  }
  body.ph-market .mp-hero > .relative > div > h1 {
    font-size: 30px !important;
    line-height: 1.4 !important;
  }
  body.ph-market .mp-hero > .relative > div > p { font-size: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.ph-market .mp-herobg::before { animation: none !important; }
  body.ph-market .mp-heroimg { transition: opacity .3s ease !important; transform: none !important; }
}
