/* KyiteZay — rising-sun marketplace skin (loaded after style.css) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

:root {
  --kz-bg: #fff8f1;
  --kz-bg-deep: #ffe8cc;
  --kz-surface: #ffffff;
  --kz-ink: #1c1917;
  --kz-muted: #6b5e54;
  --kz-line: #f0d9c0;
  --kz-brand: #ff6a00;
  --kz-brand-dark: #e85d00;
  --kz-brand-deep: #c2410c;
  --kz-sun: #ffb703;
  --kz-sun-soft: #fff1d6;
  --kz-coral: #ff8c42;
  --kz-header: #fff7ed;
  --kz-header-ink: #1c1917;
  --kz-footer: #2a1810;
  --kz-footer-ink: rgba(255, 247, 237, 0.88);
  --kz-link: #c2410c;
  --kz-link-hover: #ff6a00;
  --kz-shadow: 0 12px 32px rgba(194, 65, 12, 0.12);
  --kz-radius: 14px;
  --kz-font: 'Outfit', sans-serif;
  --kz-display: 'Sora', 'Outfit', sans-serif;

  /* remap stock Flynax blues → rising sun */
  --kz-blue: var(--kz-brand);
  --kz-blue-dark: var(--kz-brand-dark);
  --kz-blue-deep: var(--kz-brand-deep);
  --kz-blue-soft: var(--kz-sun-soft);
  --kz-yellow: var(--kz-sun);
}

/* —— Base —— */
body.kyitezay-theme {
  font-family: var(--kz-font);
  color: var(--kz-ink);
  background:
    radial-gradient(1100px 520px at 8% -12%, rgba(255, 183, 3, 0.28), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(255, 106, 0, 0.16), transparent 52%),
    linear-gradient(180deg, #fffaf4 0%, var(--kz-bg) 42%, #ffe8cc 100%);
  background-attachment: fixed;
}

body.kyitezay-theme a {
  color: var(--kz-link);
}

body.kyitezay-theme a:hover {
  color: var(--kz-link-hover);
}

/* —— Header / navigation (readable menus) —— */
body.kyitezay-theme header.page-header {
  background: transparent;
}

/* Single-row header bar: Menu | Logo | Location (mobile)
   Stock style.css forces .top-user-navigation to flex:0 0 100% under 768px —
   override that so location stays beside the logo. */
body.kyitezay-theme header.page-header .kz-header-bar,
body.kyitezay-theme header.page-header:not(.main-menu-hidden) .top-navigation > div.kz-header-bar,
body.kyitezay-theme header.page-header .top-navigation > div.kz-header-bar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.4rem;
  min-height: 52px;
  width: 100%;
}

body.kyitezay-theme .kz-header-bar__menu {
  flex: 0 0 auto !important;
  order: 1 !important;
  max-width: none !important;
}

body.kyitezay-theme header.page-header .kz-header-bar__logo,
body.kyitezay-theme header.page-header #logo.kz-header-bar__logo,
body.kyitezay-theme header.page-header .kz-header-bar #logo {
  flex: 1 1 auto !important;
  order: 2 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}

/* Right actions: location | post | account — after menu on desktop, after logo on mobile */
body.kyitezay-theme header.page-header .kz-header-bar__actions,
body.kyitezay-theme header.page-header .top-user-navigation.kz-header-bar__actions,
body.kyitezay-theme header.page-header:not(.main-menu-hidden) .top-user-navigation.kz-header-bar__actions,
body.kyitezay-theme header.main-menu-hidden .top-user-navigation.kz-header-bar__actions {
  flex: 0 0 auto !important;
  order: 5 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 0 0 auto !important;
  box-shadow: none !important;
  gap: 0.4rem;
}

body.kyitezay-theme .kz-header-bar__location {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto !important;
  min-width: 0;
  max-width: none;
  position: relative;
  z-index: 2;
}

/* Map-pin location control — compact; expands via click popup */
body.kyitezay-theme .kz-header-bar__location #mf-location-selector.circle,
body.kyitezay-theme .kz-header-bar__location #mf-location-selector.kz-loc-trigger {
  display: inline-flex !important;
  align-items: center;
  height: 40px !important;
  max-width: none;
  vertical-align: middle;
}

body.kyitezay-theme .kz-header-bar__location #mf-location-selector .default {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem;
  min-width: 40px;
  height: 40px !important;
  max-width: 100%;
  padding: 0 0.65rem !important;
  margin: 0 !important;
  border: 1px solid var(--kz-line, #f0d9c0) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.08);
  color: var(--kz-brand-deep, #9a3412) !important;
  line-height: 1 !important;
  text-transform: none !important;
  cursor: pointer;
}

body.kyitezay-theme .kz-header-bar__location #mf-location-selector .default:before,
body.kyitezay-theme .kz-header-bar__location #mf-location-selector .default:after {
  display: none !important;
}

body.kyitezay-theme .kz-header-bar__location svg.mf-location-icon,
body.kyitezay-theme .kz-header-bar__location svg.kz-loc-pin {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  flex: 0 0 18px;
  color: var(--kz-brand, #e85c24) !important;
  fill: currentColor !important;
}

body.kyitezay-theme .kz-header-bar__location svg.kz-loc-pin path,
body.kyitezay-theme .kz-header-bar__location svg.mf-location-icon [fill],
body.kyitezay-theme .kz-header-bar__location svg.mf-location-icon path {
  fill: currentColor !important;
}

/* Placeholder hidden; city name shows beside pin when set (room freed by compact CTAs) */
body.kyitezay-theme .kz-header-bar__location .kz-loc-label--placeholder {
  display: none !important;
}

body.kyitezay-theme .kz-header-bar__location .kz-loc-label:not(.kz-loc-label--placeholder) {
  display: none;
  min-width: 0;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--kz-ink, #1c1917) !important;
}

body.kyitezay-theme .kz-header-bar__location #mf-location-selector.kz-loc-trigger:not(.kz-loc-trigger--set) .default {
  width: 40px;
  padding: 0 !important;
}

body.kyitezay-theme .kz-header-bar__desktop-menu {
  order: 3 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-left: 0.75rem !important;
  margin-right: 0.5rem !important;
}

body.kyitezay-theme .kz-header-bar__post {
  flex: 0 0 auto;
}

body.kyitezay-theme .kz-header-bar__account {
  flex: 0 0 auto !important;
  position: relative;
  z-index: 3;
  margin-left: 0 !important;
}

/* Kill stock mobile wrap that drops nav to a second line */
@media screen and (max-width: 991.98px) {
  body.kyitezay-theme header.page-header .top-user-navigation.kz-header-bar__actions,
  body.kyitezay-theme header.page-header:not(.main-menu-hidden) .top-user-navigation.kz-header-bar__actions {
    flex: 0 0 auto !important;
    order: 5 !important;
    width: auto !important;
    max-width: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: auto !important;
  }

  body.kyitezay-theme header.page-header .kz-header-bar #logo,
  body.kyitezay-theme header.page-header #logo {
    max-width: none !important;
    flex: 1 1 auto !important;
  }

  body.kyitezay-theme header.page-header .top-navigation > div.kz-header-bar {
    flex-wrap: nowrap !important;
  }

  /* Mobile/tablet: pin-only in the right cluster */
  body.kyitezay-theme .kz-header-bar__location {
    max-width: 44px;
  }

  body.kyitezay-theme .kz-header-bar__location #mf-location-selector.circle,
  body.kyitezay-theme .kz-header-bar__location #mf-location-selector.kz-loc-trigger {
    height: 36px !important;
  }

  body.kyitezay-theme .kz-header-bar__location #mf-location-selector .default {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }

  body.kyitezay-theme .kz-header-bar__location .kz-loc-label,
  body.kyitezay-theme .kz-header-bar__location #mf-location-selector .default > span {
    display: none !important;
  }

  body.kyitezay-theme .kz-header-bar__location svg.mf-location-icon,
  body.kyitezay-theme .kz-header-bar__location svg.kz-loc-pin {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    flex: 0 0 17px;
  }
}

body.kyitezay-theme header.page-header div.top-navigation {
  background: linear-gradient(180deg, #fffdf9 0%, var(--kz-header) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--kz-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--kz-header-ink);
}

body.kyitezay-theme header.page-header div.top-navigation.kz-nav-scrolled {
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.1);
}

/* Override stock blue header bar */
body.kyitezay-theme header.page-header:not(.main-menu-hidden) div.top-navigation,
body.kyitezay-theme header.page-header div.top-navigation {
  background: linear-gradient(180deg, #fffdf9 0%, var(--kz-header) 100%) !important;
}

body.kyitezay-theme #logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none !important;
}

body.kyitezay-theme #logo img {
  display: block;
  width: auto;
  height: clamp(36px, 5.2vw, 48px);
  max-width: min(260px, 48vw);
  object-fit: contain;
}

/* Brand mark is the Burmese logo image; Latin wordmark is for screen readers only */
body.kyitezay-theme #logo .kz-wordmark {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.kyitezay-theme #logo .kz-wordmark span {
  color: inherit;
}

/* Main menu links — high contrast on light header */
body.kyitezay-theme .main-menu .menu > div > a,
body.kyitezay-theme .main-menu a,
body.kyitezay-theme nav.main-menu a {
  color: var(--kz-header-ink) !important;
  font-weight: 600;
}

body.kyitezay-theme .main-menu .menu > div > a:hover,
body.kyitezay-theme .main-menu .menu > div > a.active,
body.kyitezay-theme .main-menu a:hover,
body.kyitezay-theme .main-menu a.active {
  color: var(--kz-brand) !important;
}

body.kyitezay-theme .main-menu span.menu-button,
body.kyitezay-theme .main-menu span.menu-button > span {
  color: var(--kz-header-ink) !important;
  background: var(--kz-sun-soft);
  border-color: var(--kz-line);
}

body.kyitezay-theme .main-menu span.menu-button > svg,
body.kyitezay-theme .main-menu span.menu-button svg path {
  fill: var(--kz-brand) !important;
  stroke: var(--kz-brand);
}

/* Keep header chrome above the hero (hero is position:relative and paints later). */
body.kyitezay-theme header.page-header div.top-navigation {
  position: relative;
  z-index: 120;
}

/* User / account icons in header */
body.kyitezay-theme .top-user-navigation a,
body.kyitezay-theme .user-navbar a,
body.kyitezay-theme .top-user-navigation .circle,
body.kyitezay-theme header.page-header .lang-selector a {
  color: var(--kz-header-ink) !important;
}

body.kyitezay-theme .header-usernav-icon-fill,
body.kyitezay-theme .circle > .default svg path,
body.kyitezay-theme .circle > .default svg [fill] {
  fill: var(--kz-brand) !important;
}

body.kyitezay-theme .circle_opened .header-usernav-icon-fill {
  fill: var(--kz-brand-deep) !important;
}

/* —— Account / login dropdown (stock navy chip + blue panel blocked the hero) —— */
body.kyitezay-theme .kz-header-bar__account.user-navbar,
body.kyitezay-theme .user-navbar {
  position: relative;
  z-index: 2;
}

/* Icon-only account trigger — username lives in the dropdown */
body.kyitezay-theme #user-navbar.circle.logged-in > .default > span,
body.kyitezay-theme .kz-header-bar__account #user-navbar.logged-in > .default > span {
  display: none !important;
}

body.kyitezay-theme #user-navbar.circle {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

/* Match location pin chip: white circle + border + soft shadow */
body.kyitezay-theme #user-navbar.circle > .default {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--kz-line, #f0d9c0) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.08);
  gap: 0;
  color: var(--kz-brand, #e85c24) !important;
  line-height: 1 !important;
  cursor: pointer;
}

body.kyitezay-theme #user-navbar.circle > .default:before,
body.kyitezay-theme #user-navbar.circle > .default:after {
  display: none !important;
}

/* Brand-orange person glyph (replaces stock yellow sprite) */
body.kyitezay-theme #user-navbar.circle > .default::after {
  content: '' !important;
  display: block !important;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  background-color: var(--kz-brand, #e85c24) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v1.2h19.2v-1.2c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v1.2h19.2v-1.2c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: none !important;
  background-image: none !important;
}

body.kyitezay-theme #user-navbar.circle:not(.circle_opened):hover > .default {
  background: #fff1e8 !important;
  box-shadow: 0 6px 14px rgba(194, 65, 12, 0.12);
}

/* Open trigger — soft sun tint, never stock #09396E navy */
body.kyitezay-theme #user-navbar.circle_opened,
body.kyitezay-theme #lang-selector.circle_opened,
body.kyitezay-theme #mf-location-selector.circle_opened,
body.kyitezay-theme .top-navigation .circle.circle_opened {
  background: transparent !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.kyitezay-theme #user-navbar.circle_opened > .default {
  background: #fff1e8 !important;
  border-color: rgba(232, 92, 36, 0.4) !important;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.1);
}

body.kyitezay-theme #user-navbar.circle_opened > .default,
body.kyitezay-theme #user-navbar.circle_opened > .default .button,
body.kyitezay-theme .user-navbar .circle.logged-in.circle_opened > .default > span {
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme #user-navbar.circle_opened > .default::after {
  background-color: var(--kz-brand-deep, #c2410c) !important;
}

body.kyitezay-theme #user-navbar.circle_opened .header-usernav-icon-fill,
body.kyitezay-theme #user-navbar.circle_opened > .default svg path,
body.kyitezay-theme #user-navbar.circle_opened > .default svg [fill] {
  fill: var(--kz-brand-deep) !important;
}

/* Compact, right-anchored panel sitting under the icon — not a hero-blocking slab */
body.kyitezay-theme #user-navbar.circle_opened > .content,
body.kyitezay-theme .user-navbar .circle_opened > .content {
  display: flex;
  flex-direction: column;
  left: auto !important;
  right: 0 !important;
  top: calc(100% + 6px) !important;
  margin-top: 0 !important;
  min-width: 0 !important;
  width: min(220px, calc(100vw - 1.5rem));
  max-width: min(220px, calc(100vw - 1.5rem));
  padding: 0.7rem 0.8rem !important;
  background: var(--kz-surface) !important;
  border: 1px solid var(--kz-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 36px rgba(194, 65, 12, 0.16) !important;
  z-index: 130 !important;
  color: var(--kz-ink);
}

body.kyitezay-theme #user-navbar.circle_opened > .content::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: var(--kz-surface);
  border-left: 1px solid var(--kz-line);
  border-top: 1px solid var(--kz-line);
  transform: rotate(45deg);
}

body.kyitezay-theme #user-navbar .user-navbar-container {
  min-width: 0 !important;
  width: 100%;
  padding: 0 !important;
  font-size: 0.8125rem;
}

body.kyitezay-theme #user-navbar .login-form .mb-3 {
  margin-bottom: 0.45rem !important;
}

body.kyitezay-theme #user-navbar .login-form input[type='text'],
body.kyitezay-theme #user-navbar .login-form input[type='password'],
body.kyitezay-theme #user-navbar .user-navbar-container input[name='username'],
body.kyitezay-theme #user-navbar .user-navbar-container input[name='password'] {
  height: 34px !important;
  margin-bottom: 0.4rem !important;
  padding: 0 0.65rem 0 2.2rem !important;
  border: 1px solid var(--kz-line) !important;
  border-radius: 10px !important;
  background-color: #fffaf4 !important;
  box-shadow: none !important;
  color: var(--kz-ink) !important;
  font-size: 0.8125rem !important;
}

body.kyitezay-theme #user-navbar .login-form input[type='submit'],
body.kyitezay-theme #user-navbar .user-navbar-container input[type='submit'] {
  height: 36px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--kz-brand) 0%, #ff8c42 55%, var(--kz-sun) 140%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  font-size: 0.8125rem !important;
  box-shadow: 0 8px 16px rgba(255, 106, 0, 0.28);
}

body.kyitezay-theme #user-navbar .remember-me,
body.kyitezay-theme #user-navbar .remember-me label {
  color: var(--kz-muted) !important;
  font-size: 0.75rem;
}

body.kyitezay-theme #user-navbar .remember-me {
  margin-bottom: 0.35rem !important;
}

body.kyitezay-theme #user-navbar .user-navbar-container .text-center {
  font-size: 0.75rem;
  line-height: 1.35;
}

body.kyitezay-theme #user-navbar .user-navbar-container .text-center .mt-1 {
  margin-top: 0.2rem !important;
}

body.kyitezay-theme #user-navbar .user-navbar-container a,
body.kyitezay-theme #user-navbar .content a {
  color: var(--kz-brand-deep) !important;
  font-weight: 600;
}

body.kyitezay-theme #user-navbar .user-navbar-container a:hover,
body.kyitezay-theme #user-navbar .content a:hover {
  color: var(--kz-brand) !important;
}

/* Logged-in account menu */
body.kyitezay-theme #user-navbar span.content.a-menu {
  padding: 0.45rem 0.35rem !important;
  width: min(220px, calc(100vw - 1.5rem));
}

body.kyitezay-theme #user-navbar ul.account-menu-content {
  width: 100%;
  margin: 0;
  padding: 0.15rem 0;
  list-style: none;
}

body.kyitezay-theme #user-navbar ul.account-menu-content > li {
  height: auto !important;
  min-height: 0;
  line-height: 1.25 !important;
  padding: 0 !important;
  margin: 0;
}

body.kyitezay-theme #user-navbar ul.account-menu-content > li > a {
  display: block;
  width: 100%;
  padding: 0.4rem 0.65rem !important;
  border-radius: 8px;
  color: var(--kz-ink) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
}

body.kyitezay-theme #user-navbar ul.account-menu-content > li > a:hover,
body.kyitezay-theme #user-navbar ul.account-menu-content > li > a.active {
  background: var(--kz-sun-soft);
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme #user-navbar ul.account-menu-content > li > a.logout {
  color: #c2410c !important;
}

body.kyitezay-theme #user-navbar ul.account-menu-content > li > a.logout:hover {
  color: #9a3412 !important;
  background: #fff1e8;
}

/* Location geo popover — keep under account menu, theme the chrome */
body.kyitezay-theme .kz-header-bar__location .popover,
body.kyitezay-theme #mf-location-selector .popover,
body.kyitezay-theme .top-navigation .popover {
  z-index: 110 !important;
  border: 1px solid var(--kz-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 32px rgba(194, 65, 12, 0.14) !important;
  max-width: 260px;
  background: #fffdf9 !important;
  color: var(--kz-ink) !important;
  font-family: var(--kz-font);
}

body.kyitezay-theme .kz-header-bar__location .popover .navigation .button,
body.kyitezay-theme #mf-location-selector .popover .navigation .button,
body.kyitezay-theme .top-navigation .popover .navigation .button {
  background: linear-gradient(135deg, var(--kz-brand), var(--kz-coral)) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 14px rgba(255, 106, 0, 0.28);
}

body.kyitezay-theme .kz-header-bar__location .popover .navigation .button.cancel,
body.kyitezay-theme #mf-location-selector .popover .navigation .button.cancel,
body.kyitezay-theme .top-navigation .popover .navigation .button.cancel {
  background: #fff !important;
  color: var(--kz-brand-deep) !important;
  border: 1px solid var(--kz-line) !important;
  box-shadow: none !important;
}

/* —— Location filter popup (MultiField geo picker) —— */
body.kyitezay-theme .popup {
  background: rgba(42, 24, 16, 0.42) !important;
  backdrop-filter: blur(3px);
}

body.kyitezay-theme .popup > div {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 48px rgba(194, 65, 12, 0.22);
}

body.kyitezay-theme .popup > div > div {
  background:
    linear-gradient(180deg, #fffdf9 0%, #fff7ed 100%) !important;
  border: 1px solid var(--kz-line) !important;
  border-radius: 18px !important;
  padding: 1.15rem 1.2rem 1.05rem !important;
  font-family: var(--kz-font);
  color: var(--kz-ink);
  min-width: min(520px, 92vw);
}

body.kyitezay-theme .popup > div > div div.caption {
  font-family: var(--kz-display);
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--kz-ink) !important;
  padding: 0 2rem 0.85rem 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--kz-line);
  margin-bottom: 0.85rem !important;
  padding-bottom: 0.85rem !important;
}

body.kyitezay-theme .popup > div > div div.caption .close.small {
  top: 0.85rem !important;
  right: 0.85rem !important;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px var(--kz-line);
}

body.kyitezay-theme .popup > div > div div.caption .close.small:hover {
  background: #fff1e8;
}

body.kyitezay-theme .popup > div > div div.caption .close.small:before {
  opacity: 0.75;
  filter: sepia(1) saturate(4) hue-rotate(-25deg);
}

body.kyitezay-theme .popup .gf-root {
  width: 100% !important;
  max-width: 520px;
  height: auto !important;
  min-height: 240px;
  max-height: min(70vh, 420px);
  gap: 0.65rem;
}

body.kyitezay-theme .popup .mf-autocomplete {
  padding-bottom: 0.25rem !important;
}

body.kyitezay-theme .popup .mf-autocomplete-input,
body.kyitezay-theme .mf-autocomplete-input {
  height: 44px !important;
  padding: 0 1rem 0 2.55rem !important;
  border: 1px solid var(--kz-line) !important;
  border-radius: 999px !important;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e85c24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E")
    0.9rem 50% / 18px 18px no-repeat !important;
  color: var(--kz-ink) !important;
  font-family: var(--kz-font) !important;
  font-size: 0.95rem !important;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.kyitezay-theme .popup .mf-autocomplete-input:focus,
body.kyitezay-theme .mf-autocomplete-input:focus {
  outline: none !important;
  border-color: rgba(232, 92, 36, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15), 0 4px 12px rgba(194, 65, 12, 0.08);
}

body.kyitezay-theme .popup .mf-autocomplete-input::placeholder,
body.kyitezay-theme .mf-autocomplete-input::placeholder {
  color: var(--kz-muted) !important;
}

body.kyitezay-theme .popup .mf-autocomplete-dropdown,
body.kyitezay-theme .mf-autocomplete-dropdown {
  border: 1px solid var(--kz-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(194, 65, 12, 0.14) !important;
  margin-top: 0.35rem !important;
  overflow: hidden;
}

body.kyitezay-theme .popup .mf-autocomplete-dropdown > a,
body.kyitezay-theme .mf-autocomplete-dropdown > a {
  padding: 0.7rem 0.9rem !important;
  color: var(--kz-ink) !important;
  font-weight: 500;
  border-bottom: 1px solid rgba(240, 217, 192, 0.55);
}

body.kyitezay-theme .popup .mf-autocomplete-dropdown > a:last-child,
body.kyitezay-theme .mf-autocomplete-dropdown > a:last-child {
  border-bottom: 0;
}

body.kyitezay-theme .popup .mf-autocomplete-dropdown > a:hover,
body.kyitezay-theme .popup .mf-autocomplete-dropdown > a.active,
body.kyitezay-theme .mf-autocomplete-dropdown > a:hover,
body.kyitezay-theme .mf-autocomplete-dropdown > a.active {
  background: #fff1e8 !important;
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .popup .gf-cities-hint {
  color: var(--kz-muted) !important;
  font-size: 0.8125rem !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.15rem 0.15rem 0.35rem !important;
}

body.kyitezay-theme .popup .gf-cities {
  overflow: auto !important;
  margin: 0 -0.15rem;
  padding: 0 0.15rem;
}

body.kyitezay-theme .popup .gf-cities ul {
  margin: 0;
  gap: 0.35rem 0;
}

body.kyitezay-theme .popup .gf-city {
  padding: 0 !important;
}

body.kyitezay-theme .popup .gf-city a,
body.kyitezay-theme .popup .gf-box .gf-container li > a {
  display: block !important;
  padding: 0.55rem 0.7rem !important;
  border-radius: 10px !important;
  color: var(--kz-ink) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

body.kyitezay-theme .popup .gf-city a:hover,
body.kyitezay-theme .popup .gf-box .gf-container li > a:hover {
  background: #fff1e8 !important;
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .popup .gf-navbar {
  padding-top: 0.55rem;
  margin-top: 0.15rem;
  border-top: 1px solid var(--kz-line);
}

body.kyitezay-theme .popup .gf-navbar .button,
body.kyitezay-theme .popup .gf-navbar a.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 42px !important;
  padding: 0 1rem !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid var(--kz-line) !important;
  color: var(--kz-brand-deep) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body.kyitezay-theme .popup .gf-navbar .button:hover,
body.kyitezay-theme .popup .gf-navbar a.button:hover {
  background: #fff1e8 !important;
  border-color: rgba(232, 92, 36, 0.35) !important;
  color: var(--kz-brand) !important;
}

body.kyitezay-theme .popup .gf-box ul.gf-current > li {
  color: var(--kz-ink);
  font-weight: 600;
}

body.kyitezay-theme .popup .gf-box ul.gf-current span:before {
  border-color: var(--kz-brand);
}

@media screen and (max-width: 767px) {
  body.kyitezay-theme .popup > div > div {
    min-width: 0;
    width: calc(100vw - 1.5rem);
    border-radius: 16px !important;
  }

  body.kyitezay-theme .popup .gf-root {
    max-height: 78vh;
    min-height: 0;
  }
}

/* Sell CTA — compact circle with + (label kept in title attribute) */
body.kyitezay-theme .main-menu .button.add-property,
body.kyitezay-theme a.button.add-property,
body.kyitezay-theme .menu a.button.add-property,
body.kyitezay-theme .kz-header-bar__post a.button.add-property,
body.kyitezay-theme a.button.add-property.kz-post-circle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle;
  box-sizing: border-box !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: linear-gradient(135deg, var(--kz-brand) 0%, #ff8c42 55%, var(--kz-sun) 140%) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-size: 0 !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  text-transform: none !important;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(255, 106, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.kyitezay-theme .kz-header-bar__post a.button.add-property.kz-post-circle::before,
body.kyitezay-theme a.button.add-property.kz-post-circle::before {
  content: '+';
  display: block;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  margin-top: -1px;
}

body.kyitezay-theme .main-menu .button.add-property .icon-opacity__icon,
body.kyitezay-theme a.button.add-property .icon-opacity__icon {
  display: none !important;
}

body.kyitezay-theme .main-menu .button.add-property:hover,
body.kyitezay-theme a.button.add-property:hover,
body.kyitezay-theme .kz-header-bar__post a.button.add-property:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(255, 106, 0, 0.38);
  color: #fff !important;
}

@media screen and (min-width: 768px) {
  body.kyitezay-theme header.page-header .main-menu .button.add-property,
  body.kyitezay-theme header.page-header .menu a.button.add-property,
  body.kyitezay-theme header.page-header .kz-header-bar__post a.button.add-property {
    align-self: center !important;
  }
}

/* Mobile menu drawer */
body.kyitezay-theme .mobile-menu,
body.kyitezay-theme .mobile-menu__nav,
body.kyitezay-theme .mobile-menu a {
  color: var(--kz-ink) !important;
  background: var(--kz-surface);
}

body.kyitezay-theme .mobile-menu a:hover,
body.kyitezay-theme .mobile-menu a.active {
  color: var(--kz-brand) !important;
  background: var(--kz-sun-soft);
}

/* —— Hero (home) —— */
body.kyitezay-theme.home-page header.page-header section.header-nav {
  min-height: min(72vh, 560px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(42, 24, 16, 0.45), rgba(255, 106, 0, 0.42) 55%, rgba(255, 183, 3, 0.35)),
    url('../img/kz-hero.jpg') center/cover no-repeat;
  border-bottom: none;
  position: relative;
  /* visible so category submenu is not clipped (Services + nested cats) */
  overflow: visible;
}

body.kyitezay-theme.home-page header.page-header section.header-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(42, 24, 16, 0.28) 100%);
  pointer-events: none;
}

body.kyitezay-theme.home-page .kz-hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  animation: kz-rise 0.7s ease both;
}

body.kyitezay-theme.home-page .kz-hero-copy h1 {
  font-family: var(--kz-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.55rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

body.kyitezay-theme.home-page .kz-hero-copy p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.94);
}

body.kyitezay-theme.home-page section.horizontal-search {
  position: relative;
  z-index: 5;
  max-width: 860px;
  margin: 0 auto;
  overflow: visible;
  animation: kz-rise 0.85s 0.08s ease both;
}

body.kyitezay-theme section.horizontal-search .cd-form {
  background: var(--kz-surface);
  border-radius: 999px;
  padding: 0.4rem;
  box-shadow: var(--kz-shadow);
  border: 1px solid rgba(255, 255, 255, 0.75);
  gap: 0.35rem;
  align-items: stretch;
}

body.kyitezay-theme section.horizontal-search input.tags-autocomplete,
body.kyitezay-theme section.horizontal-search input[type='text'] {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 999px !important;
  padding-left: 1rem !important;
  color: var(--kz-ink) !important;
}

/* Hero search location chip */
body.kyitezay-theme section.horizontal-search .kz-hero-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 11rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.95);
  color: var(--kz-brand-deep, #9a3412);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

/* Category selector — match location chip (pill + warm cream, not stock blue) */
body.kyitezay-theme section.horizontal-search .cd-extendable {
  flex: 0 1 auto;
  width: auto !important;
  min-width: 8.5rem;
  max-width: 12rem;
  align-self: stretch;
  overflow: visible;
  z-index: 6;
}

body.kyitezay-theme section.horizontal-search .cd-extendable.opened {
  z-index: 90 !important;
}

/* Native <select> is replaced by .cd-extendable — keep it hidden (do not force display) */
body.kyitezay-theme section.horizontal-search select.cd-dropdown {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  visibility: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

body.kyitezay-theme section.horizontal-search .cd-extendable > div.dropdown {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0.55rem 2.1rem 0.55rem 0.9rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background-color: rgba(255, 247, 237, 0.95) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23e85c24' d='M1.4 1.2L6 5.8l4.6-4.6 1.2 1.2L6 8.2.2 2.4z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.85rem center !important;
  background-size: 11px 7px !important;
  color: var(--kz-brand-deep, #9a3412) !important;
  font-family: var(--kz-font) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.kyitezay-theme section.horizontal-search .cd-extendable > div.dropdown:hover {
  background-color: #fff1e8 !important;
  box-shadow: inset 0 0 0 1px rgba(232, 92, 36, 0.35);
}

body.kyitezay-theme section.horizontal-search .cd-extendable.opened > div.dropdown {
  background-color: #fff1e8 !important;
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px rgba(232, 92, 36, 0.4);
  outline: none !important;
}

/* Category picker panel — wide enough for full list + nested columns */
body.kyitezay-theme section.horizontal-search .cd-extendable > .box {
  left: 0 !important;
  right: auto !important;
  width: max-content !important;
  min-width: 220px !important;
  max-width: min(92vw, 560px) !important;
  border: 1px solid var(--kz-line) !important;
  border-radius: 14px !important;
  background: #fffdf9 !important;
  box-shadow: 0 14px 32px rgba(194, 65, 12, 0.14) !important;
  overflow: visible !important;
  z-index: 120 !important;
}

body.kyitezay-theme section.horizontal-search .cd-extendable > .box > div.uls {
  max-height: min(60vh, 420px) !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  padding: 0.35rem 0.25rem !important;
}

body.kyitezay-theme section.horizontal-search .cd-extendable > .box ul > li {
  padding-left: 1.1rem !important;
  padding-right: 0.5rem !important;
}

body.kyitezay-theme section.horizontal-search .cd-extendable > .box a,
body.kyitezay-theme section.horizontal-search .cd-extendable > .box .uls a {
  color: var(--kz-ink) !important;
  border-radius: 8px;
  padding: 0.15rem 0.35rem;
}

body.kyitezay-theme section.horizontal-search .cd-extendable > .box a:hover,
body.kyitezay-theme section.horizontal-search .cd-extendable > .box a.active,
body.kyitezay-theme section.horizontal-search .cd-extendable > .box ul > li.selected > a {
  background: #fff1e8 !important;
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme section.horizontal-search .cd-form {
  overflow: visible;
}

body.kyitezay-theme section.horizontal-search .kz-hero-loc:hover,
body.kyitezay-theme section.horizontal-search .kz-hero-loc:focus {
  background: #fff1e8;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(232, 92, 36, 0.35);
}

body.kyitezay-theme section.horizontal-search .kz-hero-loc__pin {
  flex: 0 0 18px;
  color: var(--kz-brand, #e85c24);
}

body.kyitezay-theme section.horizontal-search .kz-hero-loc__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.kyitezay-theme section.horizontal-search .kz-hero-loc--set {
  background: #fff7ed;
  color: var(--kz-ink, #1c1917);
}

body.kyitezay-theme section.horizontal-search input[type='submit'] {
  background: linear-gradient(135deg, var(--kz-brand), var(--kz-coral)) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.7rem 1.4rem !important;
  min-width: 6.5rem;
}

body.kyitezay-theme section.horizontal-search input[type='submit']:hover {
  filter: brightness(1.06);
  transform: scale(1.02);
}

@media (max-width: 767px) {
  body.kyitezay-theme section.horizontal-search .cd-form {
    border-radius: var(--kz-radius);
    flex-direction: column;
  }
  body.kyitezay-theme section.horizontal-search .kz-hero-loc {
    max-width: none;
    width: 100%;
    justify-content: flex-start;
    border-radius: 10px;
  }
  body.kyitezay-theme section.horizontal-search input[type='submit'] {
    width: 100%;
  }
}

/* Non-home header search strip */
body.kyitezay-theme:not(.home-page) header.page-header section.header-nav {
  background: linear-gradient(120deg, #ff8c42 0%, var(--kz-brand) 45%, var(--kz-sun) 100%) !important;
  border-bottom: none;
}

body.kyitezay-theme:not(.home-page) section.header-nav .cd-form,
body.kyitezay-theme:not(.home-page) section.horizontal-search .cd-form {
  background: #fff;
}

/* —— Buttons / forms (sitewide) —— */
body.kyitezay-theme input[type='submit']:not(.cancel),
body.kyitezay-theme button[type='submit'],
body.kyitezay-theme a.button:not(.add-property),
body.kyitezay-theme .button:not(.add-property):not(.cancel),
body.kyitezay-theme input.button:not(.cancel) {
  background: linear-gradient(135deg, var(--kz-brand), var(--kz-coral)) !important;
  border-color: var(--kz-brand) !important;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
}

body.kyitezay-theme input[type='submit']:not(.cancel):hover,
body.kyitezay-theme button[type='submit']:hover,
body.kyitezay-theme a.button:not(.add-property):hover,
body.kyitezay-theme .button:not(.add-property):not(.cancel):hover {
  background: var(--kz-brand-dark) !important;
  border-color: var(--kz-brand-dark) !important;
  color: #fff !important;
}

body.kyitezay-theme input[type='text'],
body.kyitezay-theme input[type='email'],
body.kyitezay-theme input[type='password'],
body.kyitezay-theme input[type='number'],
body.kyitezay-theme input[type='tel'],
body.kyitezay-theme input[type='search'],
body.kyitezay-theme input[type='url'],
body.kyitezay-theme textarea,
body.kyitezay-theme select,
body.kyitezay-theme .select2-container .select2-selection--single {
  border-color: var(--kz-line) !important;
  background: var(--kz-surface) !important;
  color: var(--kz-ink) !important;
  border-radius: 10px;
}

body.kyitezay-theme input:focus,
body.kyitezay-theme textarea:focus,
body.kyitezay-theme select:focus,
body.kyitezay-theme .select2-container--open .select2-selection--single,
body.kyitezay-theme .select2-container:not(.select2-container--disabled) .select2-selection--single:focus {
  border-color: var(--kz-brand) !important;
  background-color: var(--kz-sun-soft) !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.18);
}

body.kyitezay-theme .select2-container--default .select2-results__option--highlighted[aria-selected],
body.kyitezay-theme .select2-results__option--highlighted {
  background: var(--kz-brand) !important;
  color: #fff !important;
}

body.kyitezay-theme label,
body.kyitezay-theme .field .name,
body.kyitezay-theme .submit-cell > div.name {
  color: var(--kz-ink);
}

/* Checkbox / radio accents */
body.kyitezay-theme input[type='checkbox']:checked,
body.kyitezay-theme input[type='radio']:checked {
  accent-color: var(--kz-brand);
}

/* —— Boxes / widgets / sidebars —— */
body.kyitezay-theme .side_block,
body.kyitezay-theme .block,
body.kyitezay-theme .sidebar .block,
body.kyitezay-theme #controller_area .block,
body.kyitezay-theme .content-padding .block,
body.kyitezay-theme .box,
body.kyitezay-theme .widget,
body.kyitezay-theme .search-block,
body.kyitezay-theme .refine-search,
body.kyitezay-theme .keyword-search {
  background: var(--kz-surface);
  border: 1px solid var(--kz-line);
  border-radius: var(--kz-radius);
  box-shadow: 0 2px 0 rgba(194, 65, 12, 0.04);
}

body.kyitezay-theme .side_block > .header,
body.kyitezay-theme .block > header,
body.kyitezay-theme .block > .header,
body.kyitezay-theme .box > .header,
body.kyitezay-theme .side_block h3,
body.kyitezay-theme .block h3,
body.kyitezay-theme .sidebar .header,
body.kyitezay-theme .block-header {
  background: linear-gradient(90deg, var(--kz-sun-soft), #fff) !important;
  color: var(--kz-brand-deep) !important;
  border-bottom: 1px solid var(--kz-line);
  font-family: var(--kz-display);
  font-weight: 700;
}

body.kyitezay-theme .side_block a,
body.kyitezay-theme .block a,
body.kyitezay-theme .sidebar a {
  color: var(--kz-link);
}

body.kyitezay-theme .side_block a:hover,
body.kyitezay-theme .block a:hover {
  color: var(--kz-brand);
}

/* Category icons / boxes */
body.kyitezay-theme .categories,
body.kyitezay-theme .category-box,
body.kyitezay-theme ul.home-categories,
body.kyitezay-theme .categories-box {
  background: transparent;
}

body.kyitezay-theme .categories a,
body.kyitezay-theme .category-box a,
body.kyitezay-theme ul.home-categories a,
body.kyitezay-theme .categories .name,
body.kyitezay-theme .category-name {
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .categories svg path,
body.kyitezay-theme .category-box svg path,
body.kyitezay-theme ul.home-categories svg [stroke],
body.kyitezay-theme .categories .icon {
  stroke: var(--kz-brand) !important;
  fill: none;
  color: var(--kz-brand);
}

/* Tabs */
body.kyitezay-theme .tabs ul li a,
body.kyitezay-theme ul.tabs li a,
body.kyitezay-theme .nav-tabs a {
  color: var(--kz-muted) !important;
  background: transparent;
  border-color: var(--kz-line);
}

body.kyitezay-theme .tabs ul li.active a,
body.kyitezay-theme .tabs ul li a.active,
body.kyitezay-theme ul.tabs li.active a,
body.kyitezay-theme .nav-tabs .active a,
body.kyitezay-theme .tabs li.active {
  background: linear-gradient(135deg, var(--kz-brand-deep), var(--kz-brand)) !important;
  color: #fff !important;
  border-color: var(--kz-brand) !important;
}

/* —— Listing cards (Carousell-like gallery) —— */
body.kyitezay-theme ul.featured > li,
body.kyitezay-theme .listings-grid > li,
body.kyitezay-theme .list-table > li,
body.kyitezay-theme section#listings ul > li,
body.kyitezay-theme .listing-item,
body.kyitezay-theme article.item {
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

body.kyitezay-theme ul.featured > li:hover,
body.kyitezay-theme .listings-grid > li:hover,
body.kyitezay-theme section#listings ul > li:hover,
body.kyitezay-theme article.item:hover {
  transform: none;
  box-shadow: none !important;
}

/* Kill stock outer rings / borders on card chrome */
body.kyitezay-theme section#listings .main-column,
body.kyitezay-theme article.item .main-column,
body.kyitezay-theme ul.featured > li > ul.card-info,
body.kyitezay-theme ul.featured > li > .picture {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.kyitezay-theme article.item .main-column {
  border-radius: 0 !important;
  overflow: visible !important;
  transition: none;
}

body.kyitezay-theme article.item .main-column:hover {
  box-shadow: none !important;
  transform: none;
}

/* Soft grey image well — no outer stroke; photo fills the frame */
body.kyitezay-theme ul.featured .picture,
body.kyitezay-theme .listings-grid .picture,
body.kyitezay-theme section#listings .picture,
body.kyitezay-theme article.item .picture,
body.kyitezay-theme .featured .picture {
  position: relative;
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding-bottom: 0 !important;
  background: #f2f2f2 !important;
}

body.kyitezay-theme ul.featured .picture img,
body.kyitezay-theme .listings-grid .picture img,
body.kyitezay-theme section#listings .picture img,
body.kyitezay-theme article.item .picture img,
body.kyitezay-theme .featured .picture img,
body.kyitezay-theme.listing-fit-contain ul.featured > li img,
body.kyitezay-theme.listing-fit-contain section#listings div.picture img,
body.kyitezay-theme.listing-fit-contain article.item .picture img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  background: #f2f2f2 !important;
  border-radius: 0 !important;
  transform: none !important;
}

body.kyitezay-theme article.item:hover .picture img,
body.kyitezay-theme .featured:hover .picture img {
  transform: none !important;
}

/* Card text stack */
body.kyitezay-theme ul.featured > li > ul.card-info,
body.kyitezay-theme section#listings ul.card-info,
body.kyitezay-theme article.item ul.card-info {
  padding: 10px 2px 4px !important;
  background: transparent !important;
  border: 0 !important;
}

body.kyitezay-theme ul.card-info .title a,
body.kyitezay-theme .card-info .title a,
body.kyitezay-theme .item .title a,
body.kyitezay-theme section#listings .title a,
body.kyitezay-theme section#listings .link-large {
  color: #1a1a1a !important;
  font-family: var(--kz-font);
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em;
}

body.kyitezay-theme article.item:not(.no-image) ul.card-info > li.title,
body.kyitezay-theme ul.featured.with-pictures ul.card-info > li.title {
  -webkit-line-clamp: 2;
  max-height: 2.7em;
  margin-bottom: 4px !important;
}

body.kyitezay-theme ul.card-info .title a:hover,
body.kyitezay-theme .card-info .title a:hover {
  color: var(--kz-brand) !important;
}

/* Meta: condition / size / short fields — muted like reference */
body.kyitezay-theme ul.card-info > li.fields,
body.kyitezay-theme article.item:not(.no-image) ul.card-info:not(.with-names) > li.fields {
  color: #737373 !important;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 2;
  max-height: 2.6em;
  height: auto !important;
  margin-bottom: 2px !important;
}

body.kyitezay-theme ul.card-info > li.fields > span {
  color: inherit !important;
}

body.kyitezay-theme ul.card-info > li.fields > span:not(:last-of-type):after {
  content: " · ";
  color: #a3a3a3;
  margin: 0 0.1em;
}

body.kyitezay-theme ul.card-info > li.services {
  color: #737373;
  font-size: 0.8125rem;
  margin-bottom: 2px !important;
}

/* Price: strong, dark (gallery hierarchy) */
body.kyitezay-theme .price_tag span,
body.kyitezay-theme li.price_tag span,
body.kyitezay-theme ul.card-info .price-tag > span,
body.kyitezay-theme ul.card-info > li.price_tag > div > span,
body.kyitezay-theme section#listings ul.card-info .price-tag > span,
body.kyitezay-theme .price,
body.kyitezay-theme span.price {
  color: #111111 !important;
  font-family: var(--kz-font) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: -0.02em;
}

body.kyitezay-theme ul.card-info > li.system,
body.kyitezay-theme ul.card-info > li.price_tag {
  margin-top: 6px !important;
  align-items: center;
}

/* Favorite as floating chip on media (reference style) */
body.kyitezay-theme article.item .picture,
body.kyitezay-theme ul.featured > li > .picture {
  isolation: isolate;
}

body.kyitezay-theme ul.featured .icons .favorite,
body.kyitezay-theme section#listings ul.card-info .favorite {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

body.kyitezay-theme ul.featured li.price_tag .icons {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

body.kyitezay-theme ul.featured > li {
  position: relative;
}

body.kyitezay-theme section#listings article.item .navigation-column .favorite .link {
  display: none;
}

/* Grid favorite chip sits on the photo corner */
body.kyitezay-theme section#listings.grid article.item .picture {
  margin-bottom: 0;
}

body.kyitezay-theme section#listings.grid article.item .navigation-column {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  margin: 0;
}

body.kyitezay-theme section#listings.grid article.item .main-column {
  position: relative;
}

body.kyitezay-theme section#listings.grid article.item ul.card-info > li.system {
  position: static;
}

body.kyitezay-theme section#listings.grid article.item .navigation-column .before-nav:empty,
body.kyitezay-theme section#listings.grid article.item .navigation-column .nav-column {
  margin: 0;
}

body.kyitezay-theme section#listings.grid article.item .favorite {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  list-style: none;
}

body.kyitezay-theme section#listings.grid article.item .favorite .icon {
  position: static !important;
  margin: 0 !important;
  opacity: 0.85;
}

body.kyitezay-theme .favorite span,
body.kyitezay-theme .add-to-favorites,
body.kyitezay-theme .icon-fav {
  color: #525252;
}

/* Specs / category meta line */
body.kyitezay-theme .kz-card__meta {
  margin: 2px 0 0 !important;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #737373;
}

body.kyitezay-theme .kz-card__meta > span:not(:empty) + span:not(:empty)::before {
  content: " · ";
  color: #a3a3a3;
}

body.kyitezay-theme .kz-card__cat {
  color: #737373;
}

/* Deal chips (Meetup / COD) — sitewide commerce model */
body.kyitezay-theme .kz-card__deals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 2px !important;
  list-style: none;
}

body.kyitezay-theme .kz-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  background: #f5f5f5;
  color: #404040;
}

body.kyitezay-theme .kz-chip--meetup {
  background: #fff4e6;
  color: #9a3412;
}

body.kyitezay-theme .kz-chip--cod {
  background: #ecfdf5;
  color: #047857;
}

body.kyitezay-theme .kz-chip--sale {
  background: #eff6ff;
  color: #1d4ed8;
}

body.kyitezay-theme .kz-chip--rent {
  background: #f5f3ff;
  color: #6d28d9;
}

body.kyitezay-theme .kz-chip--job-full {
  background: #ecfdf5;
  color: #047857;
}

body.kyitezay-theme .kz-chip--job-part {
  background: #eff6ff;
  color: #1d4ed8;
}

body.kyitezay-theme .kz-chip--job-freelance {
  background: #fff7ed;
  color: #c2410c;
}

body.kyitezay-theme .kz-chip--job-remote {
  background: #f0f9ff;
  color: #0369a1;
}

body.kyitezay-theme .kz-chip--job-hourly {
  background: #fefce8;
  color: #a16207;
}

body.kyitezay-theme .kz-card__loc,
body.kyitezay-theme .kz-card__seller {
  list-style: none;
  margin: 4px 0 0 !important;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #737373;
}

body.kyitezay-theme .kz-card__seller-label {
  color: #a3a3a3;
  margin-right: 0.35em;
}

body.kyitezay-theme .kz-card__seller-name {
  color: #404040 !important;
  font-weight: 600;
  text-decoration: none;
}

body.kyitezay-theme a.kz-card__seller-name:hover {
  color: var(--kz-brand) !important;
}

body.kyitezay-theme .featured-tag,
body.kyitezay-theme .label-featured,
body.kyitezay-theme span.featured {
  background: var(--kz-sun) !important;
  color: var(--kz-ink) !important;
  font-weight: 700;
}

/* —— Informative list rows (tight eBay-style) —— */
body.kyitezay-theme section#listings.list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

body.kyitezay-theme section#listings.list > article.item {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
}

body.kyitezay-theme section#listings.list > article.item .main-column {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding: 12px 14px !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 1px solid #ececec !important;
  overflow: visible !important;
  float: none !important;
}

body.kyitezay-theme section#listings.list > article.item:last-of-type .main-column {
  border-bottom: 0 !important;
}

body.kyitezay-theme section#listings.list .kz-card__media-link {
  flex: 0 0 128px;
  width: 128px;
  max-width: 128px;
  float: none !important;
  display: block;
  align-self: flex-start;
}

body.kyitezay-theme section#listings.list div.picture {
  float: none !important;
  display: block !important;
  position: relative !important;
  width: 128px !important;
  height: 128px !important;
  max-width: 128px;
  padding-bottom: 0 !important;
  border: 0 !important;
  border-right: 0 !important;
  border-radius: 10px !important;
  overflow: hidden;
  background: #f2f2f2 !important;
}

body.kyitezay-theme section#listings.list div.picture img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

/* Body: compact text column + seller beside it (not across the full page width) */
body.kyitezay-theme section#listings.list ul.card-info {
  flex: 0 1 auto;
  width: auto;
  max-width: calc(100% - 44px);
  min-width: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 28rem) max-content;
  column-gap: 28px;
  row-gap: 3px;
  align-content: start;
  align-items: start;
  justify-content: start;
  position: relative;
  margin: 0 !important;
  padding: 0 40px 0 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  float: none !important;
  height: auto !important;
  min-height: 0 !important;
}

body.kyitezay-theme section#listings.list ul.card-info > li {
  grid-column: 1;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none;
}

body.kyitezay-theme section#listings.list ul.card-info > li.title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: none !important;
  height: auto !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}

body.kyitezay-theme section#listings.list ul.card-info > li.title a,
body.kyitezay-theme section#listings.list .link-large {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 1.3 !important;
}

body.kyitezay-theme section#listings.list ul.card-info > li.fields,
body.kyitezay-theme section#listings.list ul.card-info > li.kz-card__meta {
  display: block !important;
  -webkit-line-clamp: 1;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  color: #737373 !important;
}

body.kyitezay-theme section#listings.list ul.card-info > li.services {
  margin: 0 !important;
}

body.kyitezay-theme section#listings.list ul.card-info > li.system.kz-card__price-row,
body.kyitezay-theme section#listings.list ul.card-info > li.system {
  display: block !important;
  width: auto !important;
  margin: 2px 0 0 !important;
}

body.kyitezay-theme section#listings.list ul.card-info > li.system .price-tag {
  display: inline-block;
}

body.kyitezay-theme section#listings.list ul.card-info > li.system .price-tag > span,
body.kyitezay-theme section#listings.list .price-tag > span {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: #111 !important;
}

body.kyitezay-theme section#listings.list ul.card-info > li.kz-card__deals {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  width: auto !important;
  margin: 4px 0 0 !important;
}

body.kyitezay-theme section#listings.list ul.card-info > li.kz-card__loc {
  margin: 2px 0 0 !important;
  font-size: 0.8125rem !important;
  color: #737373 !important;
  line-height: 1.35 !important;
}

/* Seller sits beside the title/meta stack */
body.kyitezay-theme section#listings.list ul.card-info > li.kz-card__seller {
  grid-column: 2 !important;
  grid-row: 1 / span 3;
  position: static !important;
  width: auto;
  max-width: 9.5rem;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
  line-height: 1.25;
  justify-self: start;
  align-self: start;
}

body.kyitezay-theme section#listings.list ul.card-info > li.kz-card__seller .kz-card__seller-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #a3a3a3;
  margin: 0 0 1px;
  text-transform: none;
}

body.kyitezay-theme section#listings.list ul.card-info > li.kz-card__seller .kz-card__seller-name {
  font-size: 0.8125rem !important;
  font-weight: 600;
  color: #404040 !important;
  word-break: break-word;
}

/* Favorite chip at the trailing edge of the compact card (beside seller) */
body.kyitezay-theme section#listings.list article.item .navigation-column {
  position: absolute !important;
  top: 0;
  right: 0;
  z-index: 4;
  margin: 0 !important;
  width: auto;
}

body.kyitezay-theme section#listings.list article.item .navigation-column .before-nav:empty {
  display: none;
}

body.kyitezay-theme section#listings.list article.item .nav-column {
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

body.kyitezay-theme section#listings.list article.item .favorite {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f3f4f6;
  box-shadow: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  position: relative;
  white-space: nowrap;
  overflow: visible;
}

body.kyitezay-theme section#listings.list article.item .favorite .link {
  display: none !important;
}

body.kyitezay-theme section#listings.list article.item .favorite .icon {
  position: static !important;
  margin: 0 !important;
  left: auto !important;
  top: auto !important;
}

body.kyitezay-theme section#listings.list ul.card-info > ol {
  display: none !important;
}

body.kyitezay-theme section#listings.list.no-image ul.card-info {
  padding-left: 0 !important;
}

@media (max-width: 767.98px) {
  body.kyitezay-theme section#listings.list > article.item .main-column {
    padding: 10px 10px 10px 8px !important;
    gap: 10px;
  }

  body.kyitezay-theme section#listings.list .kz-card__media-link {
    flex-basis: 96px;
    width: 96px;
    max-width: 96px;
  }

  body.kyitezay-theme section#listings.list div.picture {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px;
  }

  body.kyitezay-theme section#listings.list ul.card-info {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: none;
    padding: 0 40px 0 0 !important;
    max-width: 100%;
    row-gap: 2px;
  }

  body.kyitezay-theme section#listings.list ul.card-info > li.kz-card__seller {
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: none;
    text-align: left;
    margin-top: 4px !important;
  }

  body.kyitezay-theme section#listings.list article.item .navigation-column {
    top: 8px;
    right: 8px;
  }
}

/* Listing details */
body.kyitezay-theme.listing-details-page #controller_area,
body.kyitezay-theme .listing-details,
body.kyitezay-theme .ld-info {
  color: var(--kz-ink);
}

body.kyitezay-theme.listing-details-page h1,
body.kyitezay-theme .listing-details h1 {
  font-family: var(--kz-display);
  color: var(--kz-ink);
}

body.kyitezay-theme .listing-details .price,
body.kyitezay-theme #controller_area .price_tag {
  color: var(--kz-brand) !important;
}

/* Pagination */
body.kyitezay-theme .pagination a,
body.kyitezay-theme .navigator a,
body.kyitezay-theme ul.paging a {
  color: var(--kz-brand-deep) !important;
  border-color: var(--kz-line);
  background: var(--kz-surface);
}

body.kyitezay-theme .pagination a:hover,
body.kyitezay-theme .pagination .active a,
body.kyitezay-theme .navigator a.active,
body.kyitezay-theme ul.paging li.active a {
  background: var(--kz-brand) !important;
  border-color: var(--kz-brand) !important;
  color: #fff !important;
}

/* Breadcrumbs */
body.kyitezay-theme .bread-crumbs a,
body.kyitezay-theme .breadcrumbs a {
  color: var(--kz-link);
}

body.kyitezay-theme .bread-crumbs span,
body.kyitezay-theme .breadcrumbs span {
  color: var(--kz-muted);
}

/* Section headings */
body.kyitezay-theme h1,
body.kyitezay-theme h2,
body.kyitezay-theme h3,
body.kyitezay-theme .caption,
body.kyitezay-theme .section-title {
  color: var(--kz-ink);
}

body.kyitezay-theme h2.caption,
body.kyitezay-theme .block-caption,
body.kyitezay-theme .home-section-title {
  font-family: var(--kz-display);
}

body.kyitezay-theme .view-all a,
body.kyitezay-theme a.view-all {
  color: var(--kz-brand) !important;
  font-weight: 600;
}

/* Alerts / notices — do NOT style bare .info (used as layout in profile sidebar, listings, etc.) */
body.kyitezay-theme .notice,
body.kyitezay-theme .notification,
body.kyitezay-theme .message_info {
  background: var(--kz-sun-soft);
  border-color: var(--kz-sun);
  color: var(--kz-ink);
}

/* Empty-state message only (e.g. no packages / no saved search) */
body.kyitezay-theme .tab_area > .info,
body.kyitezay-theme .content-padding > .info,
body.kyitezay-theme span.info {
  display: inline-block;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: var(--kz-sun-soft);
  border: 1px solid var(--kz-sun);
  color: var(--kz-ink);
}

/* Plans / pricing charts */
body.kyitezay-theme .plans-chart .plan,
body.kyitezay-theme .plan-item {
  border-color: var(--kz-line);
  background: var(--kz-surface);
}

body.kyitezay-theme .plans-chart .plan.active,
body.kyitezay-theme .plan-item.featured {
  border-color: var(--kz-brand);
  box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.2);
}

/* Auth forms */
body.kyitezay-theme .auth-form-section,
body.kyitezay-theme #login_modal_source,
body.kyitezay-theme .tmp-dom,
body.kyitezay-theme .modal-window {
  color: var(--kz-ink);
}

body.kyitezay-theme .modal-window,
body.kyitezay-theme .ui-dialog {
  border-radius: var(--kz-radius);
  border-color: var(--kz-line);
}

body.kyitezay-theme .ui-dialog .ui-dialog-titlebar {
  background: linear-gradient(90deg, var(--kz-brand), var(--kz-sun)) !important;
  color: #fff !important;
}

/* Newsletter strip */
body.kyitezay-theme .newsletter {
  background: linear-gradient(110deg, var(--kz-brand-deep), var(--kz-brand) 50%, var(--kz-coral)) !important;
  color: #fff !important;
}

body.kyitezay-theme .newsletter a,
body.kyitezay-theme .newsletter__text {
  color: #fff !important;
}

/* —— Footer (modern rising-sun) —— */
body.kyitezay-theme footer.page-footer.kz-footer,
body.kyitezay-theme footer.page-footer {
  position: relative;
  background:
    radial-gradient(900px 320px at 12% -10%, rgba(255, 106, 0, 0.28), transparent 58%),
    radial-gradient(700px 280px at 100% 100%, rgba(255, 183, 3, 0.16), transparent 52%),
    linear-gradient(165deg, #3d2418 0%, var(--kz-footer) 48%, #160e09 100%) !important;
  color: var(--kz-footer-ink) !important;
  margin-top: 2.5rem;
  /* Horizontal gutters match .inside-container / cards (was 0 → flush to screen edge) */
  padding: 2.5rem var(--kz-page-gutter, 0.75rem) 1.5rem !important;
  border-top: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
}

body.kyitezay-theme footer.page-footer.kz-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kz-brand), var(--kz-coral) 45%, var(--kz-sun));
}

body.kyitezay-theme footer.page-footer > div,
body.kyitezay-theme .kz-footer__inner {
  position: relative;
  z-index: 1;
  padding-top: 0.5rem !important;
  min-height: 0 !important;
  box-sizing: border-box;
}

body.kyitezay-theme .kz-footer__brand {
  margin-bottom: 1.75rem;
  max-width: none;
  width: 100%;
}

body.kyitezay-theme .kz-footer__wordmark {
  display: inline-block;
  font-family: var(--kz-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff7ed !important;
  text-decoration: none !important;
  line-height: 1.1;
}

body.kyitezay-theme .kz-footer__wordmark span {
  color: var(--kz-sun) !important;
}

body.kyitezay-theme .kz-footer__tagline {
  margin: 0.55rem 0 0;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 247, 237, 0.72) !important;
  white-space: normal;
}

body.kyitezay-theme footer.page-footer a {
  color: rgba(255, 247, 237, 0.88) !important;
  text-decoration: none !important;
  transition: color 0.15s ease, background 0.15s ease;
}

body.kyitezay-theme footer.page-footer a:hover {
  color: var(--kz-sun) !important;
}

body.kyitezay-theme .kz-footer__nav {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

body.kyitezay-theme footer.page-footer .footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0 0.5rem 1.25rem;
}

body.kyitezay-theme footer.page-footer .footer__menu-title,
body.kyitezay-theme footer.page-footer h4 {
  color: #fff !important;
  font-family: var(--kz-display);
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem !important;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 183, 3, 0.22);
}

body.kyitezay-theme footer.page-footer .footer-menu ul li a {
  display: inline-flex !important;
  align-items: center;
  font-size: 0.9rem !important;
  font-weight: 500;
  padding: 0.35rem 0 !important;
  color: rgba(255, 247, 237, 0.82) !important;
}

body.kyitezay-theme footer.page-footer .footer-menu ul li a:hover,
body.kyitezay-theme footer.page-footer .footer-menu ul li.active a {
  color: var(--kz-sun) !important;
}

body.kyitezay-theme .kz-footer__apps .kz-footer__store {
  margin-top: 0.45rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.kyitezay-theme .kz-footer__apps .kz-footer__store:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

body.kyitezay-theme .kz-footer__apps .kz-footer__store img {
  display: block;
  height: 40px;
  width: auto;
}

body.kyitezay-theme footer.page-footer .footer-data,
body.kyitezay-theme footer.page-footer .kz-footer__bar,
body.kyitezay-theme .footer-data {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem !important;
  padding-top: 1.15rem !important;
  color: rgba(255, 247, 237, 0.65) !important;
  border-top: 1px solid rgba(255, 183, 3, 0.2) !important;
}

body.kyitezay-theme .kz-footer__copy a {
  color: #fff7ed !important;
  font-weight: 600;
  text-decoration: none !important;
}

body.kyitezay-theme .kz-footer__copy a:hover {
  color: var(--kz-sun) !important;
}

body.kyitezay-theme .kz-footer__social {
  gap: 0.45rem;
}

body.kyitezay-theme .kz-footer__social a,
body.kyitezay-theme .kz-footer__social-link,
body.kyitezay-theme footer.page-footer .footer-data .icons a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

body.kyitezay-theme footer.page-footer .footer-data .icons a:hover {
  background: rgba(255, 106, 0, 0.28);
  border-color: rgba(255, 183, 3, 0.55);
  transform: translateY(-2px);
}

body.kyitezay-theme footer.page-footer .footer-data .icons a svg {
  width: 18px !important;
  height: 18px !important;
  fill: #fff7ed !important;
}

body.kyitezay-theme footer.page-footer .footer-data .icons a:hover svg {
  fill: var(--kz-sun) !important;
}

body.kyitezay-theme .kz-newsletter,
body.kyitezay-theme .newsletter {
  background:
    linear-gradient(120deg, #c2410c 0%, var(--kz-brand) 48%, #ff8c42 100%) !important;
  padding: 1.75rem 0 !important;
}

body.kyitezay-theme .newsletter__text {
  font-weight: 600;
  font-size: 1rem !important;
}

@media (min-width: 768px) {
  body.kyitezay-theme .kz-footer__tagline {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  body.kyitezay-theme footer.page-footer.kz-footer,
  body.kyitezay-theme footer.page-footer {
    /* Same 0.75rem side inset as listing content / cards */
    padding: 2rem 0.75rem 1.25rem !important;
  }

  body.kyitezay-theme .kz-footer__brand {
    margin-bottom: 1.35rem;
  }

  body.kyitezay-theme .kz-footer__wordmark {
    font-size: 1.45rem;
  }

  body.kyitezay-theme .kz-footer__tagline {
    white-space: normal;
    max-width: 100%;
  }

  body.kyitezay-theme footer.page-footer .footer-menu ul {
    padding-bottom: 1rem;
  }
}

/* Remap common stock blues still hard-coded in style.css */
body.kyitezay-theme [style*='#4A90E2'],
body.kyitezay-theme [style*='#157ED2'],
body.kyitezay-theme [style*='#247ed2'] {
  /* inline styles left alone; covered by class overrides below */
}

body.kyitezay-theme .top-navigation,
body.kyitezay-theme .progress-bar > div,
body.kyitezay-theme .ui-slider .ui-slider-range,
body.kyitezay-theme .ui-slider .ui-slider-handle {
  background-color: var(--kz-brand);
}

body.kyitezay-theme .ui-slider .ui-slider-handle {
  border-color: var(--kz-brand-deep);
}

/* Map / search-on-map chrome */
body.kyitezay-theme.search-on-map-page header.page-header.fixed-menu div.top-navigation {
  background: var(--kz-header) !important;
}

body.kyitezay-theme.search-on-map-page footer.page-footer {
  background: var(--kz-footer) !important;
}

/* Load-more / secondary CTAs */
body.kyitezay-theme a.button.low,
body.kyitezay-theme .button.low,
body.kyitezay-theme #listings_load_more a,
body.kyitezay-theme .load-more a {
  background: var(--kz-brand-deep) !important;
  border-color: var(--kz-brand-deep) !important;
  color: #fff !important;
}

/* Tables */
body.kyitezay-theme table.list th,
body.kyitezay-theme .table th,
body.kyitezay-theme table.submit th {
  background: var(--kz-sun-soft);
  color: var(--kz-brand-deep);
  border-color: var(--kz-line);
}

body.kyitezay-theme table.list td,
body.kyitezay-theme .table td {
  border-color: var(--kz-line);
}

/* SVG icon fills that used stock blue/yellow */
body.kyitezay-theme svg .header-usernav-icon-fill {
  fill: var(--kz-brand) !important;
}

@keyframes kz-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.kyitezay-theme ul.featured > li {
  animation: kz-rise 0.55s ease both;
}

body.kyitezay-theme ul.featured > li:nth-child(1) { animation-delay: 0.02s; }
body.kyitezay-theme ul.featured > li:nth-child(2) { animation-delay: 0.06s; }
body.kyitezay-theme ul.featured > li:nth-child(3) { animation-delay: 0.10s; }
body.kyitezay-theme ul.featured > li:nth-child(4) { animation-delay: 0.14s; }
body.kyitezay-theme ul.featured > li:nth-child(5) { animation-delay: 0.18s; }
body.kyitezay-theme ul.featured > li:nth-child(6) { animation-delay: 0.22s; }
body.kyitezay-theme ul.featured > li:nth-child(7) { animation-delay: 0.26s; }
body.kyitezay-theme ul.featured > li:nth-child(8) { animation-delay: 0.30s; }

/* —— Hard remap of remaining stock blues —— */
body.kyitezay-theme input[type='button'],
body.kyitezay-theme input[type='submit'],
body.kyitezay-theme .file-input span,
body.kyitezay-theme a.button,
body.kyitezay-theme .btn {
  background: linear-gradient(135deg, var(--kz-brand), var(--kz-coral)) !important;
  border-color: var(--kz-brand) !important;
  color: #fff !important;
}

body.kyitezay-theme input[type='button']:hover,
body.kyitezay-theme input[type='submit']:hover,
body.kyitezay-theme a.button:hover,
body.kyitezay-theme .btn:hover,
body.kyitezay-theme .file-input span:hover {
  background: var(--kz-brand-dark) !important;
  color: #fff !important;
}

body.kyitezay-theme .side_block input[type='submit'],
body.kyitezay-theme .side_block input[type='button'],
body.kyitezay-theme .side_block a.button,
body.kyitezay-theme .side_block .btn,
body.kyitezay-theme section.contact-seller-bottom a.button,
body.kyitezay-theme .seller-short a.button,
body.kyitezay-theme a.button.contact-owner,
body.kyitezay-theme .call-owner a.button {
  background: transparent !important;
  border: 2px solid var(--kz-brand) !important;
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .side_block input[type='submit']:hover,
body.kyitezay-theme .side_block input[type='button']:hover,
body.kyitezay-theme .side_block a.button:hover,
body.kyitezay-theme .side_block .btn:hover,
body.kyitezay-theme section.contact-seller-bottom a.button:hover,
body.kyitezay-theme .seller-short a.button:hover {
  background: var(--kz-brand) !important;
  color: #fff !important;
}

body.kyitezay-theme ul.pagination > li.navigator a,
body.kyitezay-theme ul.pagination > li a {
  border-color: var(--kz-brand) !important;
  color: var(--kz-brand) !important;
  background: #fff !important;
}

body.kyitezay-theme ul.pagination > li.navigator a:hover,
body.kyitezay-theme ul.pagination > li.active a {
  background: var(--kz-brand) !important;
  color: #fff !important;
}

/* Location / geo detector — readable on light header */
body.kyitezay-theme .top-navigation .geo-location a,
body.kyitezay-theme .top-navigation [class*='location'] a,
body.kyitezay-theme .top-navigation .location-selector,
body.kyitezay-theme header.page-header .select-location,
body.kyitezay-theme header.page-header a[href*='location'],
body.kyitezay-theme .mf-location,
body.kyitezay-theme .geo_autocomplete_cont a,
body.kyitezay-theme span.circle + a,
body.kyitezay-theme .top-navigation a {
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .top-navigation .default svg [fill='#FFE500'],
body.kyitezay-theme .top-navigation svg .header-usernav-icon-fill {
  fill: var(--kz-brand) !important;
}

/* Favorite / print icons on details */
body.kyitezay-theme .listing-details .nav-icons a,
body.kyitezay-theme .icons a svg [stroke],
body.kyitezay-theme .favorite svg path,
body.kyitezay-theme .add-to-favorites svg path {
  stroke: var(--kz-brand) !important;
  fill: var(--kz-brand) !important;
  color: var(--kz-brand) !important;
}

/* Geo confirm modal */
body.kyitezay-theme .geo-prompt a,
body.kyitezay-theme #geo_popup a,
body.kyitezay-theme .popup a.button,
body.kyitezay-theme .notice a {
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .geo-prompt .button,
body.kyitezay-theme #geo_popup .button {
  background: var(--kz-brand) !important;
  border-color: var(--kz-brand) !important;
  color: #fff !important;
}

/* Category tile icons → brand */
body.kyitezay-theme .categories svg path[stroke],
body.kyitezay-theme .home-categories svg path[stroke],
body.kyitezay-theme .category-box svg path[stroke],
body.kyitezay-theme .categories .icon svg * {
  stroke: var(--kz-brand) !important;
}

body.kyitezay-theme .categories a:hover .name,
body.kyitezay-theme .home-categories a:hover {
  color: var(--kz-brand) !important;
}

/* —— Home category hub (replaces stock blue carousel) —— */
body.kyitezay-theme .categories__block.kz-cats {
  background:
    radial-gradient(900px 280px at 0% 0%, rgba(255, 183, 3, 0.22), transparent 55%),
    linear-gradient(180deg, #fff7ed 0%, #fffaf4 55%, #ffe8cc 100%);
  border-bottom: 1px solid var(--kz-line);
  padding: 1.25rem 0 1.5rem;
}

body.kyitezay-theme .kz-cats__inner {
  padding-left: var(--kz-page-gutter, 0.75rem);
  padding-right: var(--kz-page-gutter, 0.75rem);
  box-sizing: border-box;
}

body.kyitezay-theme .kz-cats__header {
  margin: 0 0 1rem;
}

body.kyitezay-theme .kz-cats__title {
  margin: 0 0 0.25rem;
  font-family: var(--kz-display);
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--kz-ink);
  text-transform: none;
}

body.kyitezay-theme .kz-cats__lead {
  margin: 0;
  color: var(--kz-muted);
  font-size: 0.95rem;
}

body.kyitezay-theme .kz-cats__types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.1rem;
}

body.kyitezay-theme .kz-cats__type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 96px;
  padding: 0.9rem 0.95rem;
  border-radius: var(--kz-radius);
  border: 1px solid var(--kz-line);
  background:
    linear-gradient(160deg, #fffdf9 0%, #fff7ed 100%);
  box-shadow: 0 8px 22px rgba(194, 65, 12, 0.07);
  text-decoration: none !important;
  color: var(--kz-ink) !important;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

body.kyitezay-theme .kz-cats__type:hover {
  border-color: var(--kz-brand);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 65, 12, 0.12);
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .kz-cats__type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--kz-line);
  flex: 0 0 auto;
}

body.kyitezay-theme .kz-cats__type-icon svg {
  width: 26px;
  height: 26px;
}

body.kyitezay-theme .kz-cats__type-icon svg > *,
body.kyitezay-theme .kz-cats__type-icon svg [stroke],
body.kyitezay-theme .kz-cats__topic-icon svg > *,
body.kyitezay-theme .kz-cats__topic-icon svg [stroke] {
  stroke: var(--kz-brand) !important;
  stroke-width: 1.5px;
  fill: none !important;
}

body.kyitezay-theme .kz-cats__type-name {
  font-family: var(--kz-font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

body.kyitezay-theme .kz-cats__topics-wrap {
  margin: 0;
}

body.kyitezay-theme .kz-cats__topics-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--kz-muted);
}

body.kyitezay-theme .kz-cats__topics {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--kz-sun) transparent;
}

body.kyitezay-theme .kz-cats__topic {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 0.85rem 0 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--kz-line);
  background: #fff;
  color: var(--kz-ink) !important;
  text-decoration: none !important;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

body.kyitezay-theme .kz-cats__topic:hover {
  border-color: var(--kz-brand);
  background: var(--kz-sun-soft);
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .kz-cats__topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--kz-sun-soft);
  flex: 0 0 auto;
}

body.kyitezay-theme .kz-cats__topic-icon svg {
  width: 16px;
  height: 16px;
}

/* Hide leftover stock category boxes on home (duplicate of hub) */
body.kyitezay-theme.home-page aside.top > .categories-box-nav,
body.kyitezay-theme.home-page aside.top > .content_block.categories-box-nav,
body.kyitezay-theme.home-page .categories-box.categories-box__style_column_fill {
  display: none !important;
}

@media (min-width: 576px) {
  body.kyitezay-theme .kz-cats__types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  body.kyitezay-theme .categories__block.kz-cats {
    padding: 1.6rem 0 1.85rem;
  }

  body.kyitezay-theme .kz-cats__inner {
    padding-left: 0;
    padding-right: 0;
  }

  body.kyitezay-theme .kz-cats__types {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
  }

  body.kyitezay-theme .kz-cats__type {
    min-height: 118px;
    padding: 1.05rem 1.1rem;
  }

  body.kyitezay-theme .kz-cats__topics {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  /* Odd last card spans full width so a 5-item hub doesn’t leave a hole */
  body.kyitezay-theme .kz-cats__type:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  body.kyitezay-theme.kz-device-adaptive .kz-cats__type {
    min-height: 88px;
    padding: 0.8rem;
  }

  body.kyitezay-theme.kz-device-adaptive .kz-cats__type-name {
    font-size: 0.88rem;
  }

  body.kyitezay-theme .kz-cats__topics {
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
}

/* Search dropdown leftover blue text */
body.kyitezay-theme section.horizontal-search .select2-selection__rendered {
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme section.horizontal-search .select2-container .select2-selection--single {
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 247, 237, 0.95) !important;
  color: var(--kz-brand-deep) !important;
  height: 40px !important;
}

/* Ad placeholder frames */
body.kyitezay-theme .banner,
body.kyitezay-theme .adsense,
body.kyitezay-theme [class*='banner'] {
  border-color: var(--kz-line) !important;
}

/* —— Listing media gallery (details) ——
   Plan: fill the frame (cover), same as browse/home cards.
   Stock Flynax uses contain when img_crop_thumbnail is off → letterboxed “boxed” look.
   Zoom/lightbox still shows the full uncropped photo. */
body.kyitezay-theme .listing-details .gallery.kz-media-gallery > #media,
body.kyitezay-theme .listing-details div.gallery > #media {
  border-radius: var(--kz-radius);
  background: var(--kz-chip, #f2f2f2);
  box-shadow: var(--kz-shadow);
  /* Desktop: clip media to radius. Mobile: must stay visible — stock places
     Gallery/Map toggles at top:100% inside #media; overflow:hidden clipped them. */
  overflow: hidden;
}

body.kyitezay-theme .listing-details div.gallery > #media img.default-picture,
body.kyitezay-theme .listing-details div.gallery > #media iframe,
body.kyitezay-theme .listing-details div.gallery > #media #player,
body.kyitezay-theme .listing-details div.gallery > #media .map-container {
  background: var(--kz-chip, #f2f2f2);
  border-radius: inherit;
}

body.kyitezay-theme .listing-details div.gallery > #media img.default-picture,
body.kyitezay-theme.listing-fit-contain .listing-details div.gallery > #media img.default-picture {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: var(--kz-chip, #f2f2f2) !important;
  background-size: cover !important;
  cursor: zoom-in;
}

/* Thumbnail strip: fill cells too (stock .listing-fit-contain forces contain) */
body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide img,
body.kyitezay-theme.listing-fit-contain .listing-details div.gallery > div.thumbs .f-carousel__slide img {
  object-fit: cover !important;
  object-position: center center;
}

body.kyitezay-theme .listing-details div.gallery .nav-buttons .nav-button {
  color: var(--kz-ink);
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid var(--kz-line);
  border-radius: 999px;
  font-family: var(--kz-font);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(194, 65, 12, 0.12);
}

body.kyitezay-theme .listing-details div.gallery .nav-buttons .nav-button:hover,
body.kyitezay-theme .listing-details div.gallery .nav-buttons .nav-button:active {
  color: #fff !important;
  background: var(--kz-brand) !important;
  border-color: var(--kz-brand) !important;
}

/* Mobile media mode bar — under gallery, above price (no overlap on photos).
   Swipe left/right on the gallery still changes photos; these buttons switch Gallery ↔ Map.
   Leaflet sets inline height/position on .map-container; without locks that expands
   #media and covers price / views / posted after a view switch. */
.kz-media-mode {
  display: none;
}

@media screen and (max-width: 767.98px) {
  body.kyitezay-theme .listing-details section.main-section {
    position: relative;
    z-index: 1;
    overflow: visible;
  }

  body.kyitezay-theme .listing-details div.gallery {
    padding-bottom: 0 !important;
    overflow: visible !important;
    /* Do not let map/leaflet inflate the gallery box */
    max-height: none;
  }

  /* Aspect box: height:0 + padding-bottom so absolute kids cannot grow the frame.
     Clip to shared --kz-radius (14px) like other cards/boxes. */
  body.kyitezay-theme .listing-details div.gallery > #media {
    height: 0 !important;
    padding-bottom: 66% !important;
    overflow: hidden !important;
    position: relative !important;
    border-radius: var(--kz-radius, 14px) !important;
  }

  body.kyitezay-theme .listing-details div.gallery > #media .map-container,
  body.kyitezay-theme .listing-details div.gallery > #media .map-container.leaflet-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    z-index: 4;
    border-radius: var(--kz-radius, 14px);
  }

  body.kyitezay-theme .listing-details div.gallery > #media:not([data-view='map']) .map-container {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.kyitezay-theme .listing-details div.gallery > #media[data-view='map'] .map-container {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.kyitezay-theme .listing-details div.gallery > #media[data-view='map'] + div.thumbs {
    display: none !important;
  }

  /* Thumbs overlay = primary mobile gallery (stock hides #media .preview) */
  body.kyitezay-theme .listing-details div.gallery > div.thumbs {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none;
    z-index: 2;
    overflow: hidden !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: var(--kz-radius, 14px) !important;
  }

  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel,
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__viewport,
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__track {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    --f-carousel-spacing: 0 !important;
    border-radius: inherit;
    overflow: hidden !important;
  }

  /* Full-bleed slides inside rounded frame — no grey side pillars / orange inset border */
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide,
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide.active {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: var(--kz-chip, #f2f2f2) !important;
    overflow: hidden !important;
  }

  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide img,
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide video,
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide.active img,
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide.active video,
  body.kyitezay-theme.listing-fit-contain .listing-details div.gallery > div.thumbs .f-carousel__slide img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: var(--kz-chip, #f2f2f2) !important;
  }

  /* Hide in-gallery Gallery/Map chips on mobile — toolbar below replaces them */
  body.kyitezay-theme .listing-details div.gallery .nav-buttons .map-group {
    display: none !important;
  }

  body.kyitezay-theme .listing-details div.gallery .nav-buttons {
    top: 10px !important;
    bottom: auto !important;
    justify-content: flex-start;
    z-index: 5;
  }

  body.kyitezay-theme .listing-details .kz-media-mode {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 5;
    margin: 0.65rem 0 0.35rem;
    padding: 0.2rem;
    border: 1px solid var(--kz-line, #f0d9c0);
    border-radius: 999px;
    background: #fffdf9;
    box-shadow: 0 4px 14px rgba(194, 65, 12, 0.06);
  }

  body.kyitezay-theme .listing-details .kz-media-mode__btn {
    flex: 1 1 0;
    min-height: 40px;
    margin: 0;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--kz-ink, #1c1917);
    font-family: var(--kz-font, 'Outfit', sans-serif);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.kyitezay-theme .listing-details .kz-media-mode__btn.is-active {
    background: linear-gradient(135deg, var(--kz-brand, #ff6a00) 0%, #ff8c42 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.28);
  }

  /* Keep price / views / posted above any stray map overflow */
  body.kyitezay-theme .listing-details .content-section {
    position: relative;
    z-index: 4;
    background: var(--kz-surface, #fff);
  }

}

/* Modern details: tuck mode bar into content flow before price */
body.kyitezay-theme.kz-ld-modern .listing-details .kz-media-mode {
  margin-bottom: 0.55rem;
}

body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-button {
  --f-button-color: var(--kz-brand-deep);
  background: var(--kz-sun-soft);
  border: 1px solid var(--kz-line);
  border-radius: 12px;
}

body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-button:hover {
  background: var(--kz-brand);
  border-color: var(--kz-brand);
  color: #fff;
}

/* Desktop thumb strip only — mobile full-bleed uses frame radius, not per-slide chrome */
@media screen and (min-width: 768px) {
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide {
    background: var(--kz-sun-soft);
    border-radius: var(--kz-radius, 14px);
  }

  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide img,
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide video {
    border-radius: var(--kz-radius, 14px);
    border: 2px solid transparent;
  }

  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide.active img,
  body.kyitezay-theme .listing-details div.gallery > div.thumbs .f-carousel__slide.active video {
    border-color: var(--kz-brand);
    box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.22);
  }
}

body.kyitezay-theme .listing-details div.gallery .kz-gallery-count {
  font-family: var(--kz-font);
  background: rgba(28, 25, 23, 0.62);
  color: #fffaf4;
}

body.kyitezay-theme .listing-details .picture_locked {
  background-color: var(--kz-sun-soft);
}

/* Fancybox lightbox — rising-sun chrome */
body.kyitezay-theme .fancybox__container {
  --fancybox-bg: rgba(42, 24, 16, 0.92);
  --fancybox-color: #fffaf4;
  --f-button-color: #fffaf4;
  --f-button-hover-bg: rgba(255, 106, 0, 0.9);
  --f-button-active-bg: rgba(232, 93, 0, 0.95);
  --f-thumb-border-radius: 10px;
  --f-thumb-outline: 2px solid var(--kz-brand);
  --f-thumb-outline-color: var(--kz-brand);
}

body.kyitezay-theme .fancybox__toolbar,
body.kyitezay-theme .fancybox__caption {
  font-family: var(--kz-font);
}

body.kyitezay-theme .fancybox__slide {
  padding: 12px;
}

/* —— Grid / card picture slider —— */
body.kyitezay-theme .listing-picture-slider__navbar > span:hover:after,
body.kyitezay-theme .listing-picture-slider__navbar > span:after {
  box-shadow: inset 0 -3px 0 rgba(255, 106, 0, 0.85);
}

body.kyitezay-theme .listing-picture-slider__navbar > span:hover:after {
  box-shadow: inset 0 -3px 0 var(--kz-brand);
}

body.kyitezay-theme .listing-picture-slider__navbar > span > span {
  background: rgba(28, 25, 23, 0.38);
  backdrop-filter: blur(2px);
}

/* Featured / listing labels stay as soft chips on the media well */
body.kyitezay-theme article.item .picture .label,
body.kyitezay-theme .featured .picture .label,
body.kyitezay-theme li.kz-card--featured .picture .label,
body.kyitezay-theme li.kz-card--featured .kz-card__featured {
  left: 8px !important;
  top: 8px !important;
  height: auto !important;
  min-height: 1.35rem;
  line-height: 1.2 !important;
  padding: 0.2rem 0.55rem !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--kz-ink) !important;
  font-family: var(--kz-font);
  font-size: 0.68rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  max-width: calc(100% - 48px);
  text-overflow: ellipsis;
}

/* —— Full-width explore stack (Featured / Similar / Top searches / Categories) —— */
body.kyitezay-theme .kz-explore-stack {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  margin: 1.75rem 0 0.5rem;
  padding: 1.5rem 0 0.25rem;
  clear: both;
  border-top: 1px solid var(--kz-line);
  background:
    linear-gradient(180deg, rgba(255, 248, 241, 0.35) 0%, transparent 100%);
}

body.kyitezay-theme .kz-explore-stack .kz-related-rails {
  width: 100%;
}

body.kyitezay-theme .kz-explore-stack .kz-seo-links {
  width: 100%;
  margin-top: 1.25rem;
}

body.kyitezay-theme .kz-explore-stack--browse {
  margin-top: 0;
  padding-top: 1.75rem;
}

/* Edge-to-edge band under browse / details (SEO columns + top searches) */
body.kyitezay-theme .kz-explore-stack--full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2rem 0 2.25rem;
  border-top: 1px solid var(--kz-line);
  background:
    linear-gradient(180deg, #fff4e6 0%, #fffaf4 45%, #ffe8cc 100%);
}

body.kyitezay-theme .kz-explore-stack--full .kz-seo-links {
  margin-top: 0;
}

/* Match .point1 width breakpoints — do not force a custom max-width */
body.kyitezay-theme .kz-explore-stack--full .point1 {
  width: 100%;
  margin: 0 auto;
  padding-left: var(--kz-page-gutter, 0px);
  padding-right: var(--kz-page-gutter, 0px);
  box-sizing: border-box;
}

/* Shared horizontal rhythm (browse + details explore) */
body.kyitezay-theme {
  --kz-page-gutter: 0px;
}

@media (max-width: 767.98px) {
  body.kyitezay-theme.kz-device-adaptive {
    --kz-page-gutter: 0.75rem;
  }
}

/* Listing-type pages: never show leftover OLX left filters / category boxes */
body.kyitezay-theme.kz-top-filters aside.left,
body.kyitezay-theme.kz-top-filters .side_block_search,
body.kyitezay-theme.kz-top-filters .side_block.filter-box,
body.kyitezay-theme.kz-top-filters .mobile-filter-icon .filter-icon {
  display: none !important;
}

/* Listing-type pages: use the full content column (no leftover sidebar gap) */
body.kyitezay-theme.kz-top-filters .inside-container > .row {
  margin-left: 0;
  margin-right: 0;
}

/* Mobile: keep top filter bar usable (scroll chips, full-width keyword) */
@media (max-width: 767.98px) {
  body.kyitezay-theme.kz-top-filters .kz-filter-bar {
    margin-bottom: 0.75rem;
  }

  body.kyitezay-theme.kz-top-filters .kz-filter-bar__row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  body.kyitezay-theme.kz-top-filters .kz-filter-bar__keyword {
    flex: 1 1 100%;
    min-width: 0;
  }

  body.kyitezay-theme.kz-account-hub .kz-ah {
    margin-bottom: 1rem;
  }
}

body.kyitezay-theme.kz-top-filters #content.col-lg-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.kyitezay-theme.kz-top-filters #listings.list,
body.kyitezay-theme.kz-top-filters #listings.grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/*
 * Browse pages: one left edge for filter / hub / navbar / listings / keywords.
 * Stock grid.tpl wraps #listings in .ml-3 (1rem) — that steps cards past the hub.
 */
body.kyitezay-theme.kz-top-filters #controller_area > .ml-3.mr-3,
body.kyitezay-theme.kz-top-filters #controller_area .ml-3.mr-3.ml-md-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.kyitezay-theme.kz-top-filters .kz-filter-bar,
body.kyitezay-theme.kz-top-filters .kz-ch-hub,
body.kyitezay-theme.kz-top-filters .grid_navbar,
body.kyitezay-theme.kz-top-filters #controller_area > h1,
body.kyitezay-theme.kz-top-filters #controller_area .h1-nav {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.kyitezay-theme.kz-top-filters .kz-ch-hub,
body.kyitezay-theme.kz-top-filters .kz-ch-subcats,
body.kyitezay-theme.kz-top-filters .kz-ch-keywords,
body.kyitezay-theme.kz-top-filters .kz-ch-footer-rich,
body.kyitezay-theme.kz-top-filters .kz-ch-hero,
body.kyitezay-theme.kz-top-filters .kz-ch-ads {
  margin-left: 0;
  margin-right: 0;
}

body.kyitezay-theme.kz-top-filters .kz-ch-subcats__track,
body.kyitezay-theme.kz-top-filters .kz-ch-keywords__track {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Category hub chips align with explore stack */
body.kyitezay-theme .kz-ch-hub {
  width: 100%;
}

body.kyitezay-theme .kz-ch-subcats,
body.kyitezay-theme .kz-ch-keywords {
  width: 100%;
}

body.kyitezay-theme .kz-ch-chip {
  border-color: var(--kz-line);
  background: var(--kz-surface);
  color: var(--kz-ink);
}

body.kyitezay-theme .kz-ch-chip:hover {
  border-color: var(--kz-brand);
  color: var(--kz-brand-deep);
}

body.kyitezay-theme .kz-ch-keyword {
  color: var(--kz-brand-deep);
}

/* Related rails cards stay aligned with gallery look */
body.kyitezay-theme .kz-related-card {
  border-radius: var(--kz-radius);
  border-color: var(--kz-line);
  box-shadow: 0 0 0 1px transparent, 0 8px 20px rgba(194, 65, 12, 0.06);
  overflow: hidden;
  background: var(--kz-surface);
}

body.kyitezay-theme .kz-related-card__media {
  background: var(--kz-sun-soft);
}

body.kyitezay-theme .kz-related-card__media img {
  object-fit: cover;
}

body.kyitezay-theme .kz-related-rail__title {
  font-family: var(--kz-display);
  color: var(--kz-ink);
}

body.kyitezay-theme .kz-related-card__price {
  color: var(--kz-brand);
}

body.kyitezay-theme .kz-related-card__badge {
  background: var(--kz-sun);
  color: var(--kz-ink);
}

/* —— Top filter bar (browse pages) —— */
body.kyitezay-theme.kz-top-filters aside.left {
  display: none !important;
}

body.kyitezay-theme.kz-top-filters #content {
  flex: 0 0 100%;
  max-width: 100%;
}

body.kyitezay-theme.kz-top-filters .grid_navbar .filter-icon {
  /* filters live in the top bar on these pages */
  display: none !important;
}

body.kyitezay-theme .kz-filter-bar {
  border-color: var(--kz-line);
  background: rgba(255, 250, 244, 0.94);
  box-shadow: var(--kz-shadow);
}

body.kyitezay-theme .kz-filter-chip__btn {
  font-family: var(--kz-font);
}

/* Top filter Photos chip: never show Flynax customInput() empty checkmark box */
body.kyitezay-theme .kz-filter-bar .kz-filter-chip--toggle > span:not(.kz-filter-chip__btn),
body.kyitezay-theme .kz-filter-bar > input[type='checkbox'] + label.kz-filter-chip--toggle > span:not(.kz-filter-chip__btn) {
  display: none !important;
}

body.kyitezay-theme .kz-filter-bar__submit {
  font-family: var(--kz-font);
}

/* —— Device-adaptive sections (phones / tablets) —— */
@media (max-width: 767.98px) {
  body.kyitezay-theme.kz-device-adaptive .inside-container.kz-adaptive-container {
    padding-left: var(--kz-page-gutter, 0.75rem);
    padding-right: var(--kz-page-gutter, 0.75rem);
  }

  body.kyitezay-theme.kz-device-adaptive.home-page .kz-hero-copy {
    padding: 1.25rem 0.5rem 0.5rem;
  }

  body.kyitezay-theme.kz-device-adaptive.home-page .kz-hero-copy h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.15;
  }

  body.kyitezay-theme.kz-device-adaptive.home-page .kz-hero-copy p {
    font-size: 0.95rem;
  }

  body.kyitezay-theme.kz-device-adaptive section.horizontal-search .cd-form {
    gap: 0.55rem;
  }

  body.kyitezay-theme.kz-device-adaptive .kz-explore-stack {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  body.kyitezay-theme.kz-device-adaptive .kz-related-rail__title,
  body.kyitezay-theme.kz-device-adaptive .kz-seo-links h2 {
    font-size: 1.15rem;
  }

  body.kyitezay-theme.kz-device-adaptive .newsletter {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  body.kyitezay-theme.kz-device-adaptive .newsletter__text {
    text-align: center;
    margin-bottom: 0.75rem;
  }

  /* Listing cards: denser grid on phones */
  body.kyitezay-theme.kz-device-adaptive section#listings.grid > .col,
  body.kyitezay-theme.kz-device-adaptive section#listings.grid > [class*='col-'] {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  body.kyitezay-theme.kz-device-adaptive ul.featured > li,
  body.kyitezay-theme.kz-device-adaptive .listings-grid > li {
    border-radius: 12px;
  }

  /* Filter bar: keep shared left edge (no negative pull) */
  body.kyitezay-theme.kz-device-adaptive .kz-filter-bar {
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
  }

  /* Listings row sits on the same edge as hub / filter (card gutters stay between cols) */
  body.kyitezay-theme.kz-device-adaptive.kz-top-filters section#listings.grid.row {
    margin-left: 0;
    margin-right: 0;
  }

  /* Seller timeline full-bleed hero on phones */
  body.kyitezay-theme.kz-seller-timeline .kz-st__hero {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    border-radius: 0;
  }

  body.kyitezay-theme.kz-seller-timeline .kz-st__filter-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }

  body.kyitezay-theme.kz-seller-timeline .kz-st__tabs {
    position: sticky;
    top: 56px;
    z-index: 20;
    background: rgba(255, 250, 244, 0.96);
    backdrop-filter: blur(6px);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body.kyitezay-theme.kz-device-adaptive .kz-explore-stack {
    margin-top: 1.35rem;
  }

  body.kyitezay-theme.kz-device-adaptive.kz-top-filters #content {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Desktop header: location sits with post + account; show city when set */
@media (min-width: 992px) {
  body.kyitezay-theme .kz-header-bar__logo {
    flex: 0 0 auto;
  }

  body.kyitezay-theme .kz-header-bar__actions {
    flex: 0 0 auto !important;
    max-width: none;
    gap: 0.45rem;
    margin-left: 0.35rem !important;
  }

  body.kyitezay-theme .kz-header-bar__location {
    max-width: none;
  }

  body.kyitezay-theme .kz-header-bar__location .kz-loc-label:not(.kz-loc-label--placeholder) {
    display: inline-block;
  }

  body.kyitezay-theme .kz-header-bar__location #mf-location-selector.kz-loc-trigger--set .default {
    padding: 0 0.85rem 0 0.55rem !important;
  }
}

/* —— Marketplace stats (modern cards; replaces stock dark counter strip) —— */
body.kyitezay-theme .statistics-box.kz-stats,
body.kyitezay-theme .statistics-box.kz-stats.statistics-box_full-width {
  background: linear-gradient(180deg, #fffaf4 0%, #fff1e0 100%) !important;
  background-attachment: scroll !important;
  background-size: auto !important;
  /* Match page gutter — no stock full-bleed negative margins */
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 1.5rem 0 !important;
  position: relative;
  border-top: 1px solid var(--kz-line);
  border-bottom: 1px solid var(--kz-line);
  box-sizing: border-box;
}

body.kyitezay-theme .statistics-box.kz-stats.statistics-box_full-width:before {
  display: none !important;
}

body.kyitezay-theme .statistics-box.kz-stats > .point1 {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Kill Bootstrap .row -12px gutters that push cards past other sections */
body.kyitezay-theme .kz-stats__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
  max-width: 100%;
  gap: var(--kz-gap-card, 0.65rem);
  box-sizing: border-box;
}

body.kyitezay-theme .kz-stats__col {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0 !important;
  flex: 0 0 calc(50% - (var(--kz-gap-card, 0.65rem) / 2));
  max-width: calc(50% - (var(--kz-gap-card, 0.65rem) / 2));
  box-sizing: border-box;
}

@media (min-width: 576px) {
  body.kyitezay-theme .kz-stats__col {
    flex: 0 0 calc(33.333% - (var(--kz-gap-card, 0.65rem) * 2 / 3));
    max-width: calc(33.333% - (var(--kz-gap-card, 0.65rem) * 2 / 3));
  }
}

@media (min-width: 768px) {
  body.kyitezay-theme .kz-stats__col {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
  }
}

body.kyitezay-theme .kz-stat-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  max-width: none;
  min-height: 7.25rem;
  padding: 1rem 0.75rem 0.9rem !important;
  border-radius: var(--kz-radius, 14px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--kz-line);
  box-shadow: 0 8px 20px rgba(194, 65, 12, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

body.kyitezay-theme .kz-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 92, 36, 0.35);
  box-shadow: 0 14px 28px rgba(194, 65, 12, 0.14);
  text-decoration: none !important;
}

body.kyitezay-theme .kz-stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid rgba(240, 217, 192, 0.9);
  box-shadow: 0 4px 10px rgba(194, 65, 12, 0.08);
  margin-bottom: 0.15rem;
}

body.kyitezay-theme .kz-stat-card__icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: var(--kz-brand);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
  /* default: tag */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.4 11.6l-9-9A1.99 1.99 0 0011 2H4c-1.1 0-2 .9-2 2v7c0 .53.21 1.04.59 1.41l9 9c.78.78 2.05.78 2.83 0l7-7c.78-.78.78-2.04-.02-2.81zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.4 11.6l-9-9A1.99 1.99 0 0011 2H4c-1.1 0-2 .9-2 2v7c0 .53.21 1.04.59 1.41l9 9c.78.78 2.05.78 2.83 0l7-7c.78-.78.78-2.04-.02-2.81zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z'/%3E%3C/svg%3E");
}

body.kyitezay-theme .kz-stat-card--motors .kz-stat-card__icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E");
}

body.kyitezay-theme .kz-stat-card--property .kz-stat-card__icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
}

body.kyitezay-theme .kz-stat-card--jobs .kz-stat-card__icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z'/%3E%3C/svg%3E");
}

body.kyitezay-theme .kz-stat-card--listings .kz-stat-card__icon::before,
body.kyitezay-theme .kz-stat-card--classifieds .kz-stat-card__icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45C4.52 15.37 5.48 17 7 17h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1.003 1.003 0 0020 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45C4.52 15.37 5.48 17 7 17h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1.003 1.003 0 0020 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
}

body.kyitezay-theme .kz-stat-card--services .kz-stat-card__icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E");
}

body.kyitezay-theme .kz-stat-card--accounts .kz-stat-card__icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}

body.kyitezay-theme .kz-stats .statistics-box__count,
body.kyitezay-theme .kz-stats .kz-stat-card__count {
  color: var(--kz-ink) !important;
  gap: 0.05rem;
  filter: none !important;
}

body.kyitezay-theme .kz-stats .statistics-box__number {
  font-family: var(--kz-display);
  font-size: 1.85rem !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--kz-ink) !important;
}

body.kyitezay-theme .kz-stats .statistics-box__plus {
  font-family: var(--kz-display);
  font-size: 1.15rem !important;
  font-weight: 700;
  color: var(--kz-brand) !important;
  line-height: 1;
}

body.kyitezay-theme .kz-stats .statistics-box__name,
body.kyitezay-theme .kz-stats .kz-stat-card__name,
body.kyitezay-theme .kz-stats.statistics-box_full-width .statistics-box__name {
  filter: none !important;
  color: var(--kz-muted) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  line-height: 1.25;
  max-width: 100%;
  padding: 0 0.15rem;
}

body.kyitezay-theme .kz-stats .kz-stat-card:hover .statistics-box__name,
body.kyitezay-theme .kz-stats.statistics-box_full-width .statistics-box__link:hover .statistics-box__name {
  color: var(--kz-brand-deep) !important;
}

body.kyitezay-theme .kz-stat-card:hover .kz-stat-card__icon {
  background: #fff1e8;
  border-color: rgba(232, 92, 36, 0.35);
}

@media (max-width: 767px) {
  body.kyitezay-theme .statistics-box.kz-stats,
  body.kyitezay-theme .statistics-box.kz-stats.statistics-box_full-width {
    padding: 1.15rem 0 1.25rem !important;
  }

  body.kyitezay-theme .kz-stats__row {
    gap: var(--kz-gap-card-sm, 0.5rem);
  }

  body.kyitezay-theme .kz-stats__col {
    flex: 0 0 calc(50% - (var(--kz-gap-card-sm, 0.5rem) / 2));
    max-width: calc(50% - (var(--kz-gap-card-sm, 0.5rem) / 2));
  }

  body.kyitezay-theme .kz-stat-card {
    max-width: none;
    min-height: 6.5rem;
    padding: 0.85rem 0.5rem !important;
    border-radius: var(--kz-radius, 14px);
  }

  body.kyitezay-theme .kz-stats .statistics-box__number {
    font-size: 1.55rem !important;
  }
}

/* Bottom mobile tab bar — rising-sun theme + stable placement */
body.kyitezay-theme .mb-menu {
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  margin: 0;
  background:
    linear-gradient(180deg, #fffdf9 0%, #fff7ed 100%) !important;
  border-top: 1px solid var(--kz-line, #f0d9c0);
  box-shadow: 0 -8px 24px rgba(194, 65, 12, 0.1);
  z-index: 1050;
}

body.kyitezay-theme .mb-menu:not(.mb-menu_visible) {
  bottom: calc(-56px - env(safe-area-inset-bottom, 0px));
}

body.kyitezay-theme .mb-menu__name {
  color: var(--kz-muted, #6b5e54) !important;
  font-weight: 600;
}

body.kyitezay-theme .mb-menu__icon {
  stroke: var(--kz-brand-deep, #c2410c) !important;
}

body.kyitezay-theme .mb-menu__item-active .mb-menu__name {
  color: var(--kz-brand, #ff6a00) !important;
}

body.kyitezay-theme .mb-menu__item-active .mb-menu__icon {
  stroke: var(--kz-brand, #ff6a00) !important;
}

body.kyitezay-theme .mb-menu-crossbar {
  height: calc(56px + env(safe-area-inset-bottom, 0px));
}

/* Bottom mobile footer menu clearance when present */
@media (max-width: 767.98px) {
  body.kyitezay-theme.kz-device-adaptive:has(.mb-menu) footer.page-footer,
  body.kyitezay-theme:has(.mb-menu) footer.page-footer {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  body.kyitezay-theme footer.page-footer .footer-data .icons a svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* All Categories directory */
body.kyitezay-theme .kz-all-cats__link {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 3rem;
}
body.kyitezay-theme .kz-all-cats__link:hover {
  border-color: rgba(232, 92, 36, 0.45);
  color: inherit;
}
body.kyitezay-theme .kz-all-cats__name {
  font-weight: 600;
  display: block;
}
body.kyitezay-theme .kz-all-cats__count {
  font-size: 0.85em;
}
body.kyitezay-theme .kz-all-cats__type a {
  color: inherit;
  text-decoration: none;
}
