/* KULLK eye-comfort controls and mobile presentation.
   CSS only: existing PHP fields, names, validation, uploads and navigation stay intact. */
:root {
  --k-glass-bg: rgba(255,255,255,.92);
  --k-glass-bg-strong: #fff;
  --k-glass-border: #d7e0e8;
  --k-glass-line: #c5d1dc;
  --k-glass-shadow: 0 7px 25px rgba(30,51,74,.08);
  --k-glass-blur: 14px;
  --k-radius: 18px;
  --k-radius-sm: 11px;
  --k-text: #344256;
  --k-ink: #17212f;
  --k-muted: #68778a;
  --k-accent: #315b8a;
  --k-accent-dark: #23466d;
  --k-accent-soft: #eaf1f7;
  --k-lime: #b9d94a;
  --k-focus: rgba(49,91,138,.18);
  --k-mobile-nav: 84px;
}

/* Shared surfaces and controls */
.k-glass,.k-panel,.k-card,.card,.modal-content,.dropdown-menu,.popover,
.subscription-gate,.listing-subscription-summary {
  background: var(--k-glass-bg);
  border: 1px solid var(--k-glass-border);
  border-radius: var(--k-radius);
  box-shadow: var(--k-glass-shadow);
  -webkit-backdrop-filter: blur(var(--k-glass-blur));
  backdrop-filter: blur(var(--k-glass-blur));
}
.k-panel,.k-card { padding: clamp(14px,2vw,24px); }
html body :is(.k-field,.form-control,.custom-select,select.form-control,
input[type="date"],input[type="time"],input[type="datetime-local"],input[type="number"],
input[type="file"],textarea,.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple) {
  max-width: 100%;
  min-height: 46px;
  color: var(--k-ink) !important;
  background: var(--k-glass-bg-strong) !important;
  border: 1px solid var(--k-glass-line) !important;
  border-radius: var(--k-radius-sm);
  box-shadow: inset 0 1px 1px rgba(30,51,74,.025) !important;
  transition: border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
textarea.form-control,textarea.k-field { min-height: 118px; resize: vertical; }
html body :is(.k-field,.form-control,.custom-select,select.form-control,textarea):focus,
html body .select2-container--default.select2-container--focus :is(.select2-selection--single,.select2-selection--multiple),
html body .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--k-accent) !important;
  outline: 0;
  box-shadow: 0 0 0 3px var(--k-focus) !important;
}
.k-field:disabled,.form-control:disabled,.custom-select:disabled,button:disabled { opacity: .58; cursor: not-allowed; }
.k-field[aria-invalid="true"],.form-control.is-invalid,.was-validated .form-control:invalid { border-color: #b6404d !important; }
.k-btn,.btn,button.navbar-toggler,.page-link { border-radius: var(--k-radius-sm); transition: background-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.k-btn,.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.k-btn { padding: 9px 16px; font-weight: 700; border: 1px solid var(--k-glass-line); background: #fff; color: var(--k-text); text-decoration: none; }
.k-btn--primary { color: #fff; background: var(--k-accent); border-color: var(--k-accent); }
.k-btn--ghost { background: var(--k-glass-bg); }
.k-btn--icon { width: 44px; padding: 0; }
.k-btn:hover:not(:disabled),.btn:hover:not(:disabled) { box-shadow: 0 5px 14px rgba(30,51,74,.12); }
:is(.k-btn,.btn,.page-link,a,button,input,select):focus-visible { outline: 2px solid var(--k-accent); outline-offset: 2px; }
.k-btn--primary:hover { color: #fff; background: var(--k-accent-dark); }
.k-checkbox,.k-radio,input[type="checkbox"],input[type="radio"] { accent-color: var(--k-accent); }
.k-switch { appearance: none; width: 42px; height: 24px; border: 1px solid var(--k-glass-line); border-radius: 14px; background: #9aa8b7; position: relative; vertical-align: middle; cursor: pointer; }
.k-switch::after { content: ""; position: absolute; width: 18px; height: 18px; top: 2px; left: 2px; border-radius: 50%; background: #fff; transition: transform .18s; }
.k-switch:checked { background: var(--k-accent); }
.k-switch:checked::after { transform: translateX(18px); }
.k-tabs,.nav-tabs { display: flex; gap: 7px; flex-wrap: wrap; border-bottom: 1px solid var(--k-glass-line); }
.k-tabs a { padding: 10px 14px; color: var(--k-text); text-decoration: none; }
.k-tabs a[aria-current="page"],.nav-tabs .nav-link.active { background: var(--k-accent-soft); border-color: #b9c9d8; }
.badge,.alert,.pagination .page-link,.input-group-text,.custom-file-label,.select2-dropdown,.tooltip-inner { border-radius: var(--k-radius-sm); }
.alert,.input-group-text,.custom-file-label,.select2-dropdown { border: 1px solid var(--k-glass-line); }
.table-responsive { max-width: 100%; border-radius: var(--k-radius); }
.k-glass-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 16px; }
.k-field-group { display: grid; gap: 7px; min-width: 0; }
.k-field-group label,.form-group label { color: var(--k-ink); font-weight: 700; }
.k-glass-upload { padding: 16px; border: 1px dashed var(--k-glass-line); border-radius: var(--k-radius); background: var(--k-glass-bg); }

/* Header: calm white surface instead of a full-width lime block. */
#header-nav,.home-topbar,body:not(.tpl-home) #header-nav {
  background: rgba(255,255,255,.96) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--k-glass-border) !important;
  box-shadow: 0 4px 18px rgba(30,51,74,.06) !important;
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: transform .24s ease,box-shadow .2s ease;
  will-change: transform;
}
#header-nav.kullk-header-hidden { transform: translate3d(0,-110%,0) !important; pointer-events: none; }
#header-nav :is(.nav-link,.btn),.home-topbar :is(.nav-link,.home-user-btn),
body:not(.tpl-home) #header-nav :is(.nav-link,.navbar-brand,.btn,.navbar-toggler) { color: var(--k-text) !important; }
#header-nav :is(.nav-link,.btn):hover,.home-topbar :is(.nav-link,.home-user-btn):hover { color: var(--k-accent-dark) !important; background: var(--k-accent-soft) !important; }
#header-nav .navbar-toggler,.home-topbar .navbar-toggler { color: var(--k-accent-dark) !important; border-color: var(--k-glass-border) !important; background: #fff !important; }
#header-nav .kullk-hamburger-lines span { background: var(--k-accent-dark) !important; }
body.tpl-home #header-nav :is(#navbarBtnCreateListing,#navbarBtnGetListed),
body.tpl-home .home-cta > .home-cta-inner > a.btn-light {
  color: var(--k-ink) !important;
  background: var(--k-lime) !important;
  border-color: #9fbe36 !important;
  box-shadow: 0 8px 20px rgba(137,165,42,.2) !important;
}

/* Homepage hero and search */
body.tpl-home { color: var(--k-text); background: #f3f6f8; }
body.tpl-home .home-hero {
  min-height: 660px;
  color: var(--k-text);
  background: radial-gradient(circle at 86% 18%,rgba(185,217,74,.13),transparent 25%),
    radial-gradient(circle at 10% 78%,rgba(49,91,138,.08),transparent 27%),
    linear-gradient(145deg,#f8fafb 0%,#edf3f7 56%,#e6eef4 100%) !important;
  border-radius: 0 0 42px 42px;
}
body.tpl-home .home-hero::before { border-color: rgba(49,91,138,.09); box-shadow: 0 0 0 80px rgba(255,255,255,.22); }
body.tpl-home .home-hero::after { border-color: rgba(185,217,74,.28); }
body.tpl-home .home-hero :is(h1,.lead),body.tpl-home .home-eyebrow { color: var(--k-ink) !important; text-shadow: none; }
body.tpl-home .home-hero .lead { color: var(--k-muted) !important; }
body.tpl-home .home-eyebrow { border-color: #d6e1e9; background: rgba(255,255,255,.76); }
body.tpl-home .home-search-card { border: 1px solid #d2dde6; background: rgba(255,255,255,.94); box-shadow: 0 20px 54px rgba(35,70,109,.14); }
body.tpl-home .home-search-card :is(.form-control,.select2-selection--single,.input-group-text) { border-color: #cbd6e0 !important; background: #f8fafb !important; }
body.tpl-home .home-search-card .input-group-text { color: var(--k-accent-dark); border-right: 0 !important; }
body.tpl-home .home-search-card .input-group .form-control { border-left: 0 !important; }
body.tpl-home .home-search-submit { color: #fff !important; background: var(--k-accent) !important; border-color: var(--k-accent) !important; box-shadow: none !important; }
body.tpl-home .home-search-submit:hover { background: var(--k-accent-dark) !important; }
body.tpl-home .home-popular { align-items: center; gap: 8px; color: var(--k-muted); }
body.tpl-home .home-popular a { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; border: 1px solid #d3dde6; border-radius: 999px; color: var(--k-accent-dark) !important; background: rgba(255,255,255,.8); font-weight: 700; line-height: 1.2; }
body.tpl-home .home-popular a:hover { border-color: #b9c9d8; background: #fff; }
body.tpl-home .home-section-soft { background: #f4f7fa !important; }
body.tpl-home :is(.home-category-card,.home-listing-card,.home-benefit) { border-color: var(--k-glass-border); box-shadow: var(--k-glass-shadow); }
body.tpl-home :is(.home-category-icon,.home-benefit-icon,.footer-social a) { color: var(--k-accent-dark) !important; background: var(--k-accent-soft) !important; }
body.tpl-home .home-listing-category { color: var(--k-ink) !important; background: #e8f2c5 !important; border: 1px solid #ccdf8e !important; }
body.tpl-home .site-footer { border-top: 1px solid var(--k-glass-border) !important; }

/* Create/edit listing workflows */
.k-listing-form { --k-ad-box-radius: 11px; color: var(--k-text); width: min(100%,920px); margin-inline: auto; padding-inline: clamp(12px,3vw,28px); padding-bottom: clamp(24px,5vw,56px); }
.k-listing-form :is(.k-panel,.k-card,fieldset,.subscription-gate) { min-width: 0; padding: clamp(16px,3vw,28px); background: rgba(255,255,255,.94); border: 1px solid var(--k-glass-border); border-radius: 16px; box-shadow: var(--k-glass-shadow); }
.k-listing-form :is(h1,h2,h3,legend,label) { color: var(--k-ink); }
.k-listing-form :is(.form-group,.k-field-group) { min-width: 0; margin-bottom: 18px; }
.k-listing-form label { display: inline-block; margin-bottom: 7px; font-weight: 700; }
.k-listing-form :is(.form-control,.custom-select,select,input[type="text"],input[type="tel"],input[type="number"],textarea) { min-height: 54px; padding: 12px 16px; font-size: 16px; }
.k-listing-form textarea.form-control { min-height: 136px; }
.k-listing-form :is(.btn,.k-btn,button) { min-height: 46px; border-radius: var(--k-ad-box-radius); font-weight: 700; white-space: normal; }
.k-listing-form :is(.btn-primary,.k-btn--primary,button[type="submit"],.listing-wizard-next,.js-listing-next,.k-wizard-next) { min-height: 54px; color: #fff !important; background: var(--k-accent) !important; border-color: var(--k-accent) !important; }
.k-listing-form :is(#upload-main-pic-btn,#upload-button) { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; padding: 14px 20px; color: var(--k-accent); background: #fff; border: 1px solid var(--k-accent); border-radius: var(--k-ad-box-radius); font-weight: 750; }
.k-listing-form :is(.nav-tabs,.k-tabs) { gap: 8px; border: 0; }
.k-listing-form :is(.nav-tabs .nav-link,.k-tabs a) { padding: 12px 16px; border: 1px solid var(--k-glass-line); border-radius: var(--k-ad-box-radius); background: #fff; }
.k-listing-form :is(.nav-tabs .nav-link.active,.k-tabs a[aria-current="page"]) { color: var(--k-accent-dark); border-color: var(--k-accent); background: var(--k-accent-soft); }
.k-listing-form #listing-custom-fields .cf-choice-list { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.k-listing-form #listing-custom-fields .cf-choice { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin: 0; padding: 9px 14px; color: var(--k-ink); background: #fff; border: 1px solid var(--k-glass-line); border-radius: var(--k-ad-box-radius); cursor: pointer; }
.k-listing-form #listing-custom-fields .cf-choice input:is([type="radio"],[type="checkbox"]) { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.k-listing-form #listing-custom-fields .cf-choice:has(input:checked) { color: var(--k-accent-dark); background: var(--k-accent-soft); border-color: var(--k-accent); box-shadow: 0 0 0 1px var(--k-accent); }

/* Ads remain contained rather than becoming disruptive full-width surfaces. */
.google-auto-placed { box-sizing: border-box !important; display: block !important; width: min(75%,980px) !important; max-width: calc(100% - 32px) !important; margin: 24px auto !important; padding: 12px !important; overflow: hidden; border: 1px solid var(--k-glass-border) !important; border-radius: var(--k-radius) !important; background: var(--k-glass-bg) !important; box-shadow: var(--k-glass-shadow) !important; }
.google-auto-placed ins.adsbygoogle { display: block !important; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; background: transparent !important; }

/* Bottom navigation is mobile-only. */
@media screen and (min-width:768px) {
  html body nav.marketplace-global-dock,html body nav.marketplace-mobile-nav,html body nav.kullk-mobile-nav { display: none !important; visibility: hidden !important; pointer-events: none !important; }
}
@media (max-width:767.98px) {
  body,body.tpl-home { padding-bottom: calc(var(--k-mobile-nav) + 18px + env(safe-area-inset-bottom)); }
  body.tpl-home .home-topbar { position: relative; min-height: 64px; }
  body.tpl-home .home-hero { min-height: auto; border-radius: 0 0 28px 28px; }
  body.tpl-home .home-hero-content { padding: 34px 0 42px; text-align: left; }
  body.tpl-home .home-hero h1 { margin-inline: 0; font-size: clamp(2rem,9vw,2.75rem); letter-spacing: -.035em; }
  body.tpl-home .home-hero .lead { margin-inline: 0; }
  body.tpl-home .home-search-card { width: 100%; margin: 22px auto 0; padding: 12px; border-radius: 18px; }
  body.tpl-home .home-search-card .form-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; margin: 0; }
  body.tpl-home .home-search-card .form-row > [class*="col-"] { width: 100%; max-width: 100%; flex: none; padding: 0; margin: 0; }
  body.tpl-home .home-search-card :is(.input-group,.form-control,.select2-container,.select2-selection--single) { width: 100% !important; min-width: 0; }
  body.tpl-home .home-search-card :is(.form-control,.select2-selection--single) { height: 50px !important; min-height: 50px !important; font-size: 16px !important; }
  body.tpl-home .home-search-card .input-group-text { height: 50px; }
  body.tpl-home .home-search-card .home-search-submit { min-height: 52px; }
  body.tpl-home .home-popular { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 8px; margin: 14px -16px 0; padding: 2px 16px 8px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
  body.tpl-home .home-popular::-webkit-scrollbar { display: none; }
  body.tpl-home .home-popular > * { flex: 0 0 auto; scroll-snap-align: start; }
  body.tpl-home .home-popular a { min-height: 40px; padding: 9px 13px; }
  .kullk-mobile-nav { left: 8px; right: 8px; bottom: max(8px,env(safe-area-inset-bottom)); height: var(--k-mobile-nav); padding: 7px; border-color: #d4dee7; border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: 0 14px 38px rgba(23,33,47,.2); }
  .kullk-mobile-nav__item { min-height: 68px; height: 68px; gap: 5px; border-radius: 15px; color: #5f7083; font-size: .7rem; font-weight: 750; }
  .kullk-mobile-nav__item i { font-size: 1.5rem; }
  .kullk-mobile-nav__item.is-active { color: var(--k-accent-dark) !important; background: var(--k-accent-soft) !important; }
  .kullk-mobile-nav__item--create { width: auto; height: 68px; margin-top: 0; color: var(--k-ink) !important; background: var(--k-lime) !important; border: 1px solid #9fbe36; border-radius: 15px; box-shadow: none; }
  .kullk-mobile-nav__item--create span { font-size: .65rem; }
  .kullk-mobile-nav__item--create i { font-size: 1.55rem; }
  .k-listing-form { padding-inline: 12px; }
  .k-listing-form .k-glass-grid { grid-template-columns: minmax(0,1fr); }
  .k-listing-form :is(.k-panel,.k-card,fieldset,.subscription-gate) { padding: 16px; border-radius: 12px; }
  .k-listing-form :is(#upload-main-pic-btn,#upload-button) { width: 100%; }
  .google-auto-placed { width: 94% !important; max-width: calc(100% - 20px) !important; margin: 16px auto !important; padding: 8px !important; }
}
@media (max-width:420px) {
  body.tpl-home .home-container { width: min(100% - 24px,1240px); }
  body.tpl-home .home-hero-content { padding-top: 28px; }
  .kullk-mobile-nav__item { font-size: .65rem; }
}
@media (prefers-reduced-motion:reduce) { #header-nav,.k-btn,.btn,.k-field,.form-control,.k-switch { transition: none; } }
@media (prefers-reduced-transparency:reduce) { .k-glass,.k-panel,.k-card,.card,.modal-content,.dropdown-menu,.popover,.subscription-gate,.listing-subscription-summary { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@supports not (backdrop-filter:blur(1px)) { .k-glass,.k-panel,.k-card,.card,.modal-content,.dropdown-menu,.popover,.subscription-gate,.listing-subscription-summary { background: #fff; } }


/* Homepage: use the KULLK glass system consistently across every surface. */
body.tpl-home .home-shell,
body.tpl-home .home-main,
body.tpl-home .home-section,
body.tpl-home .home-container { min-width: 0; }
body.tpl-home .home-search-card,
body.tpl-home .home-category-card,
body.tpl-home .home-listing-card,
body.tpl-home .home-benefit,
body.tpl-home .home-city-card,
body.tpl-home .home-cta {
  border: 1px solid rgba(203,216,228,.82) !important;
  background: rgba(255,255,255,.78) !important;
  box-shadow: 0 12px 34px rgba(27,48,70,.09) !important;
  -webkit-backdrop-filter: saturate(145%) blur(18px);
  backdrop-filter: saturate(145%) blur(18px);
}
body.tpl-home .home-search-card {
  border-radius: 24px !important;
  padding: clamp(12px,2vw,18px);
}
body.tpl-home .home-search-card :is(.form-control,.select2-selection--single) {
  border: 1px solid rgba(191,205,219,.92) !important;
  border-radius: 14px !important;
  background: rgba(248,251,253,.92) !important;
  color: var(--k-ink) !important;
}
body.tpl-home .home-search-card .input-group-text {
  border: 1px solid rgba(191,205,219,.92) !important;
  border-right: 0 !important;
  border-radius: 14px 0 0 14px !important;
  background: rgba(248,251,253,.92) !important;
}
body.tpl-home .home-search-card .input-group .form-control {
  border-left: 0 !important;
  border-radius: 0 14px 14px 0 !important;
}
body.tpl-home .home-search-submit {
  border-radius: 14px !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(35,70,109,.18) !important;
}
body.tpl-home :is(.home-category-card,.home-listing-card,.home-benefit,.home-city-card) {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.tpl-home :is(.home-category-card,.home-listing-card,.home-benefit):hover {
  border-color: rgba(49,91,138,.34) !important;
  box-shadow: 0 16px 38px rgba(27,48,70,.13) !important;
}
body.tpl-home .home-listing-body { background: rgba(255,255,255,.84); }
body.tpl-home .home-section { scroll-margin-top: var(--kullk-header-height,72px); }

/* Fixed header safe-area and viewport corrections for iPhone Safari. */
#header-nav {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
#header-nav-dummy { flex: 0 0 auto; }
@media (max-width: 767.98px) {
  body.tpl-home { overflow-x: clip; }
  body.tpl-home #header-nav {
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    min-height: calc(62px + env(safe-area-inset-top, 0px));
    transform: translate3d(0,0,0) !important;
    pointer-events: auto !important;
    z-index: 3000 !important;
  }
  body.tpl-home #header-nav .container-fluid {
    min-height: 62px;
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    flex-wrap: wrap;
  }
  body.tpl-home #header-nav .navbar-brand { margin-right: auto; }
  body.tpl-home #header-nav .navbar-brand img { max-width: min(52vw,180px); max-height: 38px; object-fit: contain; }
  body.tpl-home #header-nav .navbar-toggler { flex: 0 0 44px; width: 44px; height: 44px; margin-left: 10px; }
  body.tpl-home #main-navbar {
    position: absolute;
    top: calc(100% + 7px);
    left: 12px;
    right: 12px;
    z-index: 3001;
    max-height: min(70dvh,520px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--k-glass-border);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 40px rgba(23,33,47,.16);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  body.tpl-home #main-navbar .navbar-nav { align-items: stretch !important; gap: 5px; }
  body.tpl-home #main-navbar .nav-item,
  body.tpl-home #main-navbar .nav-item > .btn { width: 100%; }
  body.tpl-home #main-navbar .nav-item > .btn { justify-content: flex-start; min-height: 46px; padding: 10px 12px; }
  body.tpl-home #main-navbar .dropdown-menu { position: static !important; float: none; width: 100%; box-shadow: none; }
  body.tpl-home .home-hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--kullk-header-height,62px));
    min-height: calc(100dvh - var(--kullk-header-height,62px));
    padding: 0;
    border-radius: 0 0 26px 26px;
  }
  body.tpl-home .home-hero-content {
    width: 100%;
    max-width: 640px;
    padding: clamp(20px,4.5vh,38px) 0 clamp(24px,5vh,42px);
    text-align: left;
  }
  body.tpl-home .home-eyebrow { margin-bottom: 12px; font-size: .68rem; }
  body.tpl-home .home-hero h1 {
    max-width: 560px;
    margin: 0 0 10px;
    font-size: clamp(1.85rem,8vw,2.7rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
  }
  body.tpl-home .home-hero .lead {
    max-width: 520px;
    margin: 0 0 16px;
    font-size: clamp(.9rem,3.8vw,1rem);
    line-height: 1.48;
  }
  body.tpl-home .home-search-card {
    width: 100%;
    margin: 16px auto 0;
    padding: 9px;
    border-radius: 18px !important;
  }
  body.tpl-home .home-search-card .form-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) 54px;
    align-items: stretch;
    gap: 8px;
    margin: 0;
  }
  body.tpl-home .home-search-card .form-row > .home-keyword-field {
    grid-column: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: none;
    padding: 0;
    margin: 0;
  }
  body.tpl-home .home-search-card .home-city-field { display: none !important; }
  body.tpl-home .home-search-card .form-row > .home-submit-field {
    grid-column: 2;
    width: 54px;
    max-width: 54px;
    min-width: 54px;
    flex: none;
    padding: 0;
    margin: 0;
  }
  body.tpl-home .home-search-card :is(.input-group,.form-control) { width: 100% !important; min-width: 0; }
  body.tpl-home .home-search-card .form-control {
    height: 54px !important;
    min-height: 54px !important;
    padding-inline: 12px;
    font-size: 16px !important;
  }
  body.tpl-home .home-search-card .input-group-text { height: 54px; padding-inline: 12px; }
  body.tpl-home .home-search-submit {
    display: flex;
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }
  body.tpl-home .home-search-submit i { margin: 0 !important; font-size: 1.25rem; }
  body.tpl-home .home-search-submit span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  body.tpl-home .home-popular { display: none !important; }
  body.tpl-home .home-section { padding: 42px 0; }
  body.tpl-home .home-section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  body.tpl-home .home-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  body.tpl-home .home-listing-grid,
  body.tpl-home .home-city-grid,
  body.tpl-home .home-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body.tpl-home .home-category-card { min-height: 122px; padding: 14px 9px; }
  body.tpl-home .home-category-icon { width: 54px; height: 54px; }
  body.tpl-home .home-listing-card { border-radius: 16px; }
  body.tpl-home .home-listing-body { padding: 12px; }
  body.tpl-home .home-listing-title { font-size: .92rem; }
  body.tpl-home .home-benefit { padding: 14px; border-radius: 16px; }
}
@media (max-width: 390px) {
  body.tpl-home .home-hero-content { padding-top: 18px; padding-bottom: 24px; }
  body.tpl-home .home-eyebrow { margin-bottom: 9px; }
  body.tpl-home .home-hero h1 { font-size: clamp(1.75rem,7.8vw,2.25rem); }
  body.tpl-home .home-hero .lead { font-size: .88rem; line-height: 1.4; }
  body.tpl-home .home-search-card { margin-top: 12px; }
  body.tpl-home .home-listing-grid,
  body.tpl-home .home-city-grid,
  body.tpl-home .home-benefits { grid-template-columns: minmax(0,1fr); }
}
@supports not (backdrop-filter: blur(1px)) {
  body.tpl-home .home-search-card,
  body.tpl-home .home-category-card,
  body.tpl-home .home-listing-card,
  body.tpl-home .home-benefit,
  body.tpl-home .home-city-card,
  body.tpl-home .home-cta { background: #fff !important; }
}


/* Mobile homepage search: mirror the Figma prototype's single-column search card. */
@media (max-width: 767.98px) {
  body.tpl-home .home-search-card {
    width: 100%; margin: 16px auto 0; padding: 12px;
    border-radius: 20px !important;
  }
  body.tpl-home .home-search-card .form-row {
    display: grid !important; grid-template-columns: minmax(0,1fr) !important;
    gap: 10px !important; align-items: stretch; margin: 0 !important;
  }
  body.tpl-home .home-search-card .form-row > .home-keyword-field,
  body.tpl-home .home-search-card .form-row > .home-submit-field {
    grid-column: 1 !important; width: 100% !important; min-width: 0 !important;
    max-width: 100% !important; flex: none !important; margin: 0 !important; padding: 0 !important;
  }
  body.tpl-home .home-search-card .home-city-field { display: none !important; }
  body.tpl-home .home-search-input-wrap {
    display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column;
    justify-content: center; padding: 5px 12px 4px;
    border: 1px solid #cbd6e0; border-left: 0; border-radius: 0 12px 12px 0;
    background: #f8fafb;
  }
  body.tpl-home .home-search-input-label {
    display: block; margin: 0 0 1px; color: #344256;
    font-size: 10px; font-weight: 800; line-height: 1.25;
    letter-spacing: .045em; text-transform: uppercase;
  }
  body.tpl-home .home-search-card .input-group {
    display: flex; width: 100% !important; min-width: 0; align-items: stretch;
  }
  body.tpl-home .home-search-card .input-group-prepend,
  body.tpl-home .home-search-card .input-group-text {
    display: flex; height: 60px; min-height: 60px; align-items: center;
  }
  body.tpl-home .home-search-card .input-group-text {
    padding: 0 12px; border: 1px solid #cbd6e0 !important;
    border-right: 0 !important; border-radius: 12px 0 0 12px;
    background: #f8fafb !important;
  }
  body.tpl-home .home-search-card .home-search-input-wrap .form-control {
    width: 100% !important; height: 22px !important; min-height: 22px !important;
    padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    outline: 0; background: transparent !important; box-shadow: none !important;
    font-size: 15px !important; line-height: 22px;
  }
  body.tpl-home .home-search-card .home-search-input-wrap .form-control:focus {
    border: 0 !important; box-shadow: none !important;
  }
  body.tpl-home .home-search-card .home-search-submit {
    display: flex; width: 100% !important; min-width: 0 !important;
    height: 54px; min-height: 54px !important; align-items: center;
    justify-content: center; gap: 9px; padding: 0 18px !important;
    border-radius: 13px !important; font-size: 15px !important;
    line-height: 1; font-weight: 800;
  }
  body.tpl-home .home-search-card .home-search-submit i { margin: 0 !important; font-size: 19px; }
  body.tpl-home .home-search-card .home-search-submit span {
    position: static; width: auto; height: auto; margin: 0; overflow: visible;
    clip: auto; white-space: normal;
  }
}


/* Homepage responsive correction: keep the original searchable input markup intact.
   Brand palette is inherited from --k-accent / --k-accent-dark / --k-glass-* tokens. */
body.tpl-home .home-search-card .input-group {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}
body.tpl-home .home-search-card .input-group .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: 1%;
  border-left: 0 !important;
  border-radius: 0 14px 14px 0 !important;
}
body.tpl-home .home-search-card .input-group-text {
  flex: 0 0 auto;
  min-height: 54px;
  align-items: center;
  border: 1px solid var(--k-glass-line) !important;
  border-right: 0 !important;
  border-radius: 14px 0 0 14px !important;
  color: var(--k-accent-dark) !important;
  background: var(--k-accent-soft) !important;
}
body.tpl-home .home-search-card .form-control::placeholder {
  color: var(--k-muted) !important;
  opacity: 1;
}
@media (max-width: 767.98px) {
  html, body.tpl-home {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
  }
  body.tpl-home .home-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  body.tpl-home .home-container,
  body.tpl-home .home-hero-content,
  body.tpl-home .home-main,
  body.tpl-home .home-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  body.tpl-home .home-container {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
  body.tpl-home .home-hero {
    width: 100%;
    max-width: 100%;
    overflow: clip;
  }
  body.tpl-home .home-hero-content { min-width: 0; }
  body.tpl-home .home-search-card {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 14px 0 0;
    padding: 10px;
    border: 1px solid var(--k-glass-border) !important;
    border-radius: 18px !important;
    background: var(--k-glass-bg) !important;
  }
  body.tpl-home .home-search-card .form-row {
    display: grid !important;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
  }
  body.tpl-home .home-search-card .form-row > .home-keyword-field,
  body.tpl-home .home-search-card .form-row > .home-submit-field {
    display: block;
    grid-column: 1;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
  }
  body.tpl-home .home-search-card .home-city-field { display: none !important; }
  body.tpl-home .home-search-card .input-group {
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    height: 54px;
  }
  body.tpl-home .home-search-card .input-group-text {
    width: 46px;
    min-width: 46px;
    height: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
    border-radius: 12px 0 0 12px !important;
  }
  body.tpl-home .home-search-card .input-group .form-control {
    width: 1%;
    min-width: 0;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 12px !important;
    border: 1px solid var(--k-glass-line) !important;
    border-left: 0 !important;
    border-radius: 0 12px 12px 0 !important;
    background: var(--k-glass-bg-strong) !important;
    color: var(--k-ink) !important;
    font-size: 16px !important;
    box-shadow: none !important;
  }
  body.tpl-home .home-search-card .home-search-submit {
    display: flex;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    height: 52px;
    min-height: 52px !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px !important;
    border: 1px solid var(--k-accent) !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: var(--k-accent) !important;
    font-size: 15px !important;
    font-weight: 800;
    line-height: 1;
    box-shadow: none !important;
  }
  body.tpl-home .home-search-card .home-search-submit i { margin: 0 !important; font-size: 18px; }
  body.tpl-home .home-search-card .home-search-submit span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
  body.tpl-home .home-search-card :is(.home-keyword-field,.home-submit-field,.input-group,.form-control) {
    box-sizing: border-box;
  }
  body.tpl-home .home-category-grid,
  body.tpl-home .home-listing-grid,
  body.tpl-home .home-city-grid,
  body.tpl-home .home-benefits {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  body.tpl-home :is(.home-category-card,.home-listing-card,.home-benefit,.home-city-card) { min-width: 0; }
  body.tpl-home img, body.tpl-home video, body.tpl-home iframe { max-width: 100%; }
}
@media (max-width: 360px) {
  body.tpl-home .home-container {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  body.tpl-home .home-category-grid { gap: 8px; }
  body.tpl-home .home-category-card { padding-inline: 7px; }
}


/* Final iPhone homepage pass: compact search-first hero and reliable touch input. */
@media (max-width: 767.98px) {
  body.tpl-home {
    padding-bottom: calc(var(--k-mobile-nav) + 12px + env(safe-area-inset-bottom));
    overflow-x: hidden !important;
  }
  body.tpl-home .home-hero {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 0 0 18px 18px !important;
    overflow: visible !important;
  }
  body.tpl-home .home-hero .home-container { padding-top: 0 !important; padding-bottom: 0 !important; }
  body.tpl-home .home-hero-content {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 10px 0 14px !important;
    margin: 0 !important;
    text-align: left !important;
  }
  body.tpl-home .home-hero-content > .home-eyebrow,
  body.tpl-home .home-hero-content > h1,
  body.tpl-home .home-hero-content > .lead { display: none !important; }
  body.tpl-home .home-search-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    border-radius: 14px !important;
  }
  body.tpl-home .home-search-card .form-row {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    width: 100% !important;
    gap: 8px !important;
    margin: 0 !important;
  }
  body.tpl-home .home-search-card .form-row > .home-keyword-field,
  body.tpl-home .home-search-card .form-row > .home-submit-field {
    display: block !important;
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
  }
  body.tpl-home .home-search-card .home-city-field { display: none !important; }
  body.tpl-home .home-search-card .input-group {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    overflow: visible !important;
  }
  body.tpl-home .home-search-card .input-group-prepend,
  body.tpl-home .home-search-card .input-group-text {
    display: flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 52px !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  body.tpl-home .home-search-card .input-group .form-control,
  body.tpl-home .home-search-card input#s {
    display: block !important;
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    border: 1px solid var(--k-glass-line) !important;
    border-left: 0 !important;
    border-radius: 0 11px 11px 0 !important;
    color: var(--k-ink) !important;
    background: var(--k-glass-bg-strong) !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: normal !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    opacity: 1 !important;
  }
  body.tpl-home .home-search-card input#s:focus {
    outline: 0 !important;
    border-color: var(--k-accent) !important;
    box-shadow: 0 0 0 3px var(--k-focus) !important;
  }
  body.tpl-home .home-search-card .home-search-submit {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 14px !important;
    border: 1px solid var(--k-accent) !important;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--k-accent) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    opacity: 1 !important;
  }
  body.tpl-home .home-search-card .home-search-submit span {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }
  body.tpl-home .home-section { padding: 22px 0 !important; }
  body.tpl-home .home-section-head { margin-bottom: 14px !important; gap: 6px !important; }
  body.tpl-home .home-section-head .home-section-kicker { margin-bottom: 2px !important; }
  body.tpl-home .home-section-title { margin-bottom: 4px !important; font-size: 1.25rem !important; line-height: 1.25 !important; }
  body.tpl-home .home-section-copy { margin-bottom: 0 !important; font-size: .84rem !important; line-height: 1.4 !important; }
  body.tpl-home .home-category-grid { gap: 9px !important; }
  body.tpl-home .home-category-card { min-height: 104px !important; padding: 10px 7px !important; }
}


/* Shared KULLK static header: consistent on home, listings and every public page. */
html body #header-nav,
html body header#header-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 3000 !important;
  width: 100% !important;
  transform: translate3d(0,0,0) !important;
  pointer-events: auto !important;
  background: #C5FB07 !important;
  border: 0 !important;
  border-bottom: 3px solid #0004FD !important;
  box-shadow: 0 3px 14px rgba(0,4,253,.10) !important;
}
html body #header-nav :is(.navbar-brand,.nav-link,.btn,.navbar-toggler),
html body #header-nav :is(.navbar-brand,.nav-link,.btn,.navbar-toggler) i {
  color: #0004FD !important;
}
html body #header-nav .navbar-toggler {
  border: 1px solid rgba(0,4,253,.35) !important;
  background: rgba(255,255,255,.38) !important;
}
html body #header-nav #navbarBtnCreateListing,
html body #header-nav #navbarBtnGetListed,
html body #header-nav a[href*="create-listing"],
html body #header-nav a[href*="post-ad"] {
  color: #fff !important;
  background: #0004FD !important;
  border: 1px solid #0004FD !important;
  border-radius: 9px !important;
  font-weight: 800 !important;
  box-shadow: 0 5px 14px rgba(0,4,253,.16) !important;
}
html body #header-nav #navbarBtnCreateListing *,
html body #header-nav #navbarBtnGetListed * { color: #fff !important; }
html body #header-nav .navbar-collapse {
  background: transparent;
}
html body #header-nav-dummy { display: block !important; }
@media (max-width: 767.98px) {
  html body #header-nav { min-height: calc(62px + env(safe-area-inset-top,0px)); }
  html body #header-nav .container-fluid {
    min-height: 62px;
    flex-wrap: nowrap !important;
  }
  html body #header-nav .navbar-brand img {
    max-width: min(52vw,180px);
    max-height: 38px;
    object-fit: contain;
  }
  html body #header-nav .navbar-toggler { flex: 0 0 44px; width: 44px; height: 44px; }
  html body #main-navbar {
    position: absolute !important;
    top: calc(100% + 3px) !important;
    left: 0 !important;
    right: 0 !important;
    max-height: min(72dvh,560px);
    overflow-y: auto;
    padding: 12px 14px;
    background: rgba(197,251,7,.98) !important;
    border-bottom: 2px solid #0004FD;
    box-shadow: 0 14px 30px rgba(0,4,253,.13);
  }
  html body #main-navbar .navbar-nav { align-items: stretch !important; gap: 6px; }
  html body #main-navbar .nav-item,
  html body #main-navbar .nav-item > .btn { width: 100%; }
  html body #main-navbar .nav-item > .btn { justify-content: flex-start; min-height: 44px; }
}


/* Highest-priority shared header skin: also overrides legacy home/page selectors. */
html body:not(#kullk-header-specificity) #header-nav,
html body:not(#kullk-header-specificity) header#header-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 3000 !important;
  transform: translate3d(0,0,0) !important;
  background: #C5FB07 !important;
  border: 0 !important;
  border-bottom: 3px solid #0004FD !important;
  box-shadow: 0 3px 14px rgba(0,4,253,.10) !important;
}
html body:not(#kullk-header-specificity) #header-nav :is(.navbar-brand,.nav-link,.btn,.navbar-toggler),
html body:not(#kullk-header-specificity) #header-nav :is(.navbar-brand,.nav-link,.btn,.navbar-toggler) i {
  color: #0004FD !important;
}
html body:not(#kullk-header-specificity) #header-nav #navbarBtnCreateListing,
html body:not(#kullk-header-specificity) #header-nav #navbarBtnGetListed,
html body:not(#kullk-header-specificity) #header-nav a[href*="create-listing"],
html body:not(#kullk-header-specificity) #header-nav a[href*="post-ad"] {
  color: #fff !important;
  background: #0004FD !important;
  border-color: #0004FD !important;
}
html body:not(#kullk-header-specificity) #header-nav #navbarBtnCreateListing *,
html body:not(#kullk-header-specificity) #header-nav #navbarBtnGetListed * { color: #fff !important; }


/* Homepage search refinement: preserve comfortable breathing room and use
   the same blue KULLK glass-button treatment on desktop and mobile. */
body.tpl-home .home-search-card .home-search-submit {
  color: #fff !important;
  background: linear-gradient(135deg,rgba(0,4,253,.96),rgba(0,4,190,.90)) !important;
  border: 1px solid rgba(0,4,253,.82) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(0,4,253,.20),inset 0 1px 0 rgba(255,255,255,.24) !important;
  -webkit-backdrop-filter: saturate(145%) blur(12px);
  backdrop-filter: saturate(145%) blur(12px);
  font-weight: 800 !important;
}
body.tpl-home .home-search-card .home-search-submit:hover,
body.tpl-home .home-search-card .home-search-submit:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg,#0004FD,#0003c7) !important;
  border-color: #0004FD !important;
  box-shadow: 0 10px 26px rgba(0,4,253,.26),inset 0 1px 0 rgba(255,255,255,.28) !important;
}
@media (max-width: 767.98px) {
  body.tpl-home .home-hero-content {
    padding: 24px 0 30px !important;
  }
  body.tpl-home .home-search-card {
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }
  body.tpl-home .home-search-card .form-row {
    gap: 12px !important;
  }
  body.tpl-home .home-search-card .home-search-submit {
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 14px !important;
  }
}


/* One reusable mobile dock on every public template, including the homepage. */
@media (max-width: 767.98px) {
  html body nav.kullk-mobile-nav {
    position: fixed !important;
    z-index: 3200 !important;
    left: 8px !important;
    right: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    width: auto !important;
    height: var(--k-mobile-nav, 84px) !important;
    margin: 0 !important;
    padding: 7px !important;
    border: 1px solid rgba(212,222,231,.96) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.97) !important;
    box-shadow: 0 14px 38px rgba(23,33,47,.20) !important;
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    backdrop-filter: saturate(150%) blur(18px);
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  html body nav.kullk-mobile-nav .kullk-mobile-nav__item {
    display: flex !important;
    min-width: 0 !important;
    min-height: 66px !important;
    height: 66px !important;
    margin: 0 !important;
    padding: 5px 2px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    border: 0 !important;
    border-radius: 15px !important;
    color: #5f7083 !important;
    background: transparent !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  html body nav.kullk-mobile-nav .kullk-mobile-nav__item > i {
    display: block !important;
    margin: 0 !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
  }
  html body nav.kullk-mobile-nav .kullk-mobile-nav__item.is-active {
    color: #0004FD !important;
    background: rgba(0,4,253,.08) !important;
  }
  html body nav.kullk-mobile-nav .kullk-mobile-nav__item--create {
    color: #0004FD !important;
    background: #C5FB07 !important;
    border: 1px solid rgba(0,4,253,.14) !important;
    box-shadow: 0 7px 18px rgba(0,4,253,.12) !important;
  }
  html body nav.kullk-mobile-nav .kullk-mobile-nav__item:focus-visible {
    outline: 2px solid #0004FD !important;
    outline-offset: 2px !important;
  }
}
@media (min-width: 768px) {
  html body nav.kullk-mobile-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* Consistent circular center Add action in the shared mobile navigation. */
@media (max-width: 767.98px) {
  html body nav.kullk-mobile-nav .kullk-mobile-nav__item--create {
    height: 66px !important;
    min-height: 66px !important;
    gap: 3px !important;
    padding: 0 2px !important;
    color: #0004FD !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html body nav.kullk-mobile-nav .kullk-mobile-nav__item--create > i {
    display: grid !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    place-items: center !important;
    border: 2px solid #0004FD !important;
    border-radius: 50% !important;
    color: #0004FD !important;
    background: #C5FB07 !important;
    box-shadow: 0 7px 18px rgba(0,4,253,.18) !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
  }
  html body nav.kullk-mobile-nav .kullk-mobile-nav__item--create > span {
    color: #0004FD !important;
    font-size: .62rem !important;
    font-weight: 800 !important;
  }
}


/* Mobile header: keep only the Get Listed action; hide menu, Explore and Sign In. */
.kullk-mobile-header-actions { display: none; }
@media (max-width: 767.98px) {
  html body #header-nav { z-index: 3300 !important; }
  html body #header-nav > .container-fluid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 64px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  html body #header-nav .navbar-brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 48vw !important;
    margin: 0 !important;
  }
  html body #header-nav .navbar-brand img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 34px !important;
    object-fit: contain !important;
  }
  html body #header-nav .kullk-mobile-header-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }
  html body #header-nav .kullk-mobile-header-action {
    display: inline-flex !important;
    min-width: 0 !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    border: 1px solid #b8d900 !important;
    border-radius: 10px !important;
    color: #111111 !important;
    background: #C5FB07 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  html body #header-nav .navbar-toggler {
    display: none !important;
  }
}


/* KULLK homepage typography rule: no blue text anywhere on the homepage. */
html body.tpl-home,
html body.tpl-home * ,
html body.tpl-home *::before,
html body.tpl-home *::after {
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
  text-shadow: none !important;
}
html body.tpl-home :is(.lead,.home-section-copy,.home-section-kicker,.home-eyebrow,
.home-popular,.text-muted,.small,.listing-meta,.home-listing-category,
footer,.site-footer .footer-note,.site-footer .copyright) {
  color: #666666 !important;
  -webkit-text-fill-color: #666666 !important;
}
html body.tpl-home a,
html body.tpl-home a:hover,
html body.tpl-home a:focus,
html body.tpl-home button,
html body.tpl-home button:hover,
html body.tpl-home button:focus,
html body.tpl-home .btn,
html body.tpl-home .btn:hover,
html body.tpl-home .btn:focus,
html body.tpl-home .home-search-submit,
html body.tpl-home .home-search-submit *,
html body.tpl-home #header-nav #navbarBtnGetListed,
html body.tpl-home #header-nav #navbarBtnGetListed * {
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
}
html body.tpl-home .home-search-submit,
html body.tpl-home .home-search-submit:hover,
html body.tpl-home .home-search-submit:focus,
html body.tpl-home #header-nav #navbarBtnGetListed {
  background: #C5FB07 !important;
  border-color: #b8d900 !important;
  box-shadow: none !important;
}
html body.tpl-home :is(.home-category-icon,.home-benefit-icon,.footer-social a),
html body.tpl-home :is(.home-category-icon,.home-benefit-icon,.footer-social a) * {
  color: #555555 !important;
  -webkit-text-fill-color: #555555 !important;
}


/* Homepage listing cards: stable sizing, calm featured label and single-line action. */
html body.tpl-home .home-listing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  min-width: 0;
}
html body.tpl-home .home-listing-card {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden !important;
  border-radius: 16px !important;
  box-sizing: border-box;
}
html body.tpl-home .home-listing-media {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f0f1ed;
}
html body.tpl-home .home-listing-media > img,
html body.tpl-home .home-listing-media > a > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  object-fit: cover;
}
html body.tpl-home .home-listing-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 14px !important;
  box-sizing: border-box;
}
html body.tpl-home .home-listing-title {
  display: -webkit-box;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
}
html body.tpl-home .home-listing-location {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html body.tpl-home .home-listing-bottom {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  gap: 8px;
  min-width: 0;
  margin-top: auto;
  padding-top: 12px;
}
html body.tpl-home .home-listing-price {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(.82rem, 1.2vw, 1rem);
  line-height: 1.25;
}
html body.tpl-home .home-listing-bottom .home-view-link {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: 46%;
  padding: 7px 10px;
  border: 1px solid #d7ddd0;
  border-radius: 999px;
  background: #f3f5ee;
  color: #30332d !important;
  -webkit-text-fill-color: #30332d !important;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap !important;
  text-decoration: none !important;
}
html body.tpl-home .home-listing-bottom .home-view-link:hover,
html body.tpl-home .home-listing-bottom .home-view-link:focus {
  background: #e9eddf;
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
}
html body.tpl-home .home-featured-label {
  color: #30332d !important;
  -webkit-text-fill-color: #30332d !important;
  background: #e8edda !important;
  border: 1px solid #d5ddc1 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.15;
}
html body.tpl-home .home-listing-category {
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  html body.tpl-home .home-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }
}
@media (max-width: 767.98px) {
  html body.tpl-home .home-listing-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }
  html body.tpl-home .home-listing-card {
    width: 100%;
    max-width: 100%;
  }
  html body.tpl-home .home-listing-media {
    aspect-ratio: 16 / 9;
  }
  html body.tpl-home .home-listing-body {
    padding: 13px !important;
  }
  html body.tpl-home .home-listing-title {
    font-size: .96rem !important;
  }
  html body.tpl-home .home-listing-bottom .home-view-link {
    min-height: 36px;
    padding-inline: 12px;
    font-size: .8rem;
  }
}
@media (max-width: 360px) {
  html body.tpl-home .home-listing-bottom {
    gap: 6px;
  }
  html body.tpl-home .home-listing-price {
    font-size: .78rem;
  }
  html body.tpl-home .home-listing-bottom .home-view-link {
    padding-inline: 9px;
    font-size: .74rem;
  }
}


/* Direction-aware mobile header: keep the header off-canvas only while scrolling down. */
@media (max-width: 767.98px) {
  html body #header-nav {
    transition: transform 220ms ease !important;
    will-change: transform;
  }
  html body #header-nav.kullk-header-hidden {
    transform: translate3d(0, -110%, 0) !important;
    pointer-events: none !important;
  }
}
@media (min-width: 768px) {
  html body #header-nav.kullk-header-hidden {
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
  }
}


/* Compact mobile header: reduce the overall bar and its controls. */
@media (max-width: 767.98px) {
  html body #header-nav {
    min-height: 48px !important;
    height: auto !important;
    padding-top: 0 !important;
  }
  html body #header-nav > .container-fluid {
    min-height: 48px !important;
    height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 8px !important;
  }
  html body #header-nav .navbar-brand img {
    max-height: 27px !important;
  }
  html body #header-nav .kullk-mobile-header-action {
    min-height: 33px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    border-radius: 8px !important;
  }
}


/* Contrast rule: blue button surfaces always use white text and icons. */
html body :is(
  .btn-primary,.btn-info,.btn-blue,.button-primary,.button-blue,
  .k-btn--primary,.k-btn--blue,.btn-outline-primary:hover,
  #navbarBtnCreateListing,#navbarBtnGetListed
),
html body :is(
  .btn-primary,.btn-info,.btn-blue,.button-primary,.button-blue,
  .k-btn--primary,.k-btn--blue,#navbarBtnCreateListing,#navbarBtnGetListed
) :is(i,svg,span,strong) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Homepage hero heading and search action use white foregrounds. */
html body.tpl-home .home-hero-content h1,
html body.tpl-home .home-hero-content h1 * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body.tpl-home .home-hero-content .home-eyebrow,
html body.tpl-home .home-hero-content .home-eyebrow * ,
html body.tpl-home .home-hero-content > .lead {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body.tpl-home .home-search-card .home-search-submit,
html body.tpl-home .home-search-card .home-search-submit * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Homepage hero/search contrast: white foreground on blue search controls.
   Keep the navigation on its white surface dark for comfortable readability. */
html body.tpl-home .home-search-card .input-group-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #315b8a !important;
  border-color: #315b8a !important;
}
html body.tpl-home .home-search-card .input-group-text *,
html body.tpl-home .home-search-card .home-search-submit,
html body.tpl-home .home-search-card .home-search-submit * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body.tpl-home .home-search-card .home-search-submit,
html body.tpl-home .home-search-card .home-search-submit:hover,
html body.tpl-home .home-search-card .home-search-submit:focus {
  background: #315b8a !important;
  border-color: #315b8a !important;
}
html body.tpl-home .home-search-card .home-search-submit:hover {
  background: #23466d !important;
  border-color: #23466d !important;
}

/* KULLK refreshed visual system: mostly white/charcoal, with restrained lime and blue.
   Shared header styles apply consistently on desktop and mobile. */
:root {
  --kullk-white: #ffffff;
  --kullk-ink: #171a17;
  --kullk-gray: #666d68;
  --kullk-line: #e7ebe6;
  --kullk-lime: #c5fb07;
  --kullk-blue: #315b8a;
  --kullk-blue-dark: #23466d;
}
html body #header-nav {
  min-height: 66px !important;
  padding: 0 !important;
  background: rgba(255,255,255,.98) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--kullk-line) !important;
  box-shadow: 0 3px 16px rgba(20,28,22,.055) !important;
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
}
html body #header-nav > .container-fluid {
  min-height: 66px !important;
  padding: 8px clamp(14px,3vw,36px) !important;
  gap: 14px !important;
}
html body #header-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 18px !important;
}
html body #header-nav .navbar-brand img {
  display: block;
  max-height: 38px;
  width: auto;
  object-fit: contain;
}
html body #header-nav .navbar-nav {
  gap: 7px;
}
html body #header-nav .navbar-nav .nav-item > .btn,
html body #header-nav .navbar-nav .nav-item > a.btn {
  min-height: 40px;
  padding: 9px 13px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: var(--kullk-ink) !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 650;
  box-shadow: none !important;
}
html body #header-nav .navbar-nav .nav-item > .btn:hover,
html body #header-nav .navbar-nav .nav-item > a.btn:hover {
  color: var(--kullk-blue-dark) !important;
  background: #f3f6f9 !important;
}
html body #header-nav #navbarBtnGetListed,
html body #header-nav #navbarBtnCreateListing,
html body #header-nav .kullk-mobile-header-action {
  min-height: 40px !important;
  padding: 9px 16px !important;
  border: 1px solid #b8d900 !important;
  border-radius: 10px !important;
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
  background: var(--kullk-lime) !important;
  font-weight: 800 !important;
  box-shadow: 0 3px 9px rgba(110,140,20,.10) !important;
}
html body #header-nav #navbarBtnGetListed:hover,
html body #header-nav #navbarBtnCreateListing:hover,
html body #header-nav .kullk-mobile-header-action:hover {
  color: #171a17 !important;
  background: #b9ed00 !important;
}
html body #header-nav .dropdown-menu {
  padding: 7px;
  border: 1px solid var(--kullk-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(20,28,22,.12) !important;
}
html body #header-nav .dropdown-item {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--kullk-ink) !important;
}
html body #header-nav .dropdown-item:hover {
  color: var(--kullk-blue-dark) !important;
  background: #f3f6f9 !important;
}
html body #header-nav .navbar-toggler {
  width: 40px;
  height: 40px;
  padding: 8px !important;
  border: 1px solid var(--kullk-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--kullk-ink) !important;
}
html body #header-nav .kullk-hamburger-lines span {
  background: var(--kullk-ink) !important;
}
@media (max-width: 767.98px) {
  html body #header-nav {
    min-height: 52px !important;
  }
  html body #header-nav > .container-fluid {
    min-height: 52px !important;
    height: 52px !important;
    padding: 4px 12px !important;
    gap: 8px !important;
  }
  html body #header-nav .navbar-brand {
    margin-right: 0 !important;
  }
  html body #header-nav .navbar-brand img {
    max-height: 29px !important;
  }
  html body #header-nav .kullk-mobile-header-action {
    min-height: 35px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
    border-radius: 9px !important;
  }
}

/* Homepage: an airy white canvas with charcoal typography and small lime/blue accents. */
html body.tpl-home {
  color: var(--kullk-ink) !important;
  background: #ffffff !important;
}
html body.tpl-home .home-hero {
  min-height: 590px;
  background:
    radial-gradient(circle at 88% 18%, rgba(197,251,7,.10), transparent 24%),
    linear-gradient(145deg,#ffffff 0%,#f8faf8 58%,#f3f6f8 100%) !important;
  border-radius: 0 0 30px 30px !important;
}
html body.tpl-home .home-hero-content h1 {
  color: var(--kullk-ink) !important;
  -webkit-text-fill-color: var(--kullk-ink) !important;
  text-shadow: none !important;
}
html body.tpl-home .home-hero-content .home-eyebrow {
  color: var(--kullk-blue-dark) !important;
  -webkit-text-fill-color: var(--kullk-blue-dark) !important;
  border-color: #dce5ed !important;
  background: #f4f7fa !important;
}
html body.tpl-home .home-hero-content > .lead {
  color: var(--kullk-gray) !important;
  -webkit-text-fill-color: var(--kullk-gray) !important;
}
html body.tpl-home .home-search-card {
  border: 1px solid #e3e9e3 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 34px rgba(25,35,26,.09) !important;
}
html body.tpl-home .home-search-card :is(.form-control,.select2-selection--single) {
  min-height: 50px !important;
  color: var(--kullk-ink) !important;
  background: #fbfcfb !important;
  border-color: #e0e6e0 !important;
}
html body.tpl-home .home-search-card .input-group-text {
  min-width: 48px;
  justify-content: center;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: var(--kullk-blue) !important;
  border-color: var(--kullk-blue) !important;
}
html body.tpl-home .home-search-card .home-search-submit,
html body.tpl-home .home-search-card .home-search-submit * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body.tpl-home .home-search-card .home-search-submit {
  min-height: 50px;
  border-radius: 10px !important;
  background: var(--kullk-blue) !important;
  border-color: var(--kullk-blue) !important;
}
html body.tpl-home .home-search-card .home-search-submit:hover {
  background: var(--kullk-blue-dark) !important;
  border-color: var(--kullk-blue-dark) !important;
}
html body.tpl-home .home-popular {
  color: var(--kullk-gray) !important;
}
html body.tpl-home .home-popular a {
  color: var(--kullk-blue-dark) !important;
  background: #fff !important;
  border-color: #dfe6ed !important;
}
html body.tpl-home .home-section-white { background: #ffffff !important; }
html body.tpl-home .home-section-soft { background: #f7f9f7 !important; }
html body.tpl-home :is(.home-section-title,.home-listing-title,.home-category-name,
.home-benefit h3,.home-city-name) {
  color: var(--kullk-ink) !important;
}
html body.tpl-home :is(.home-section-copy,.home-listing-location,.home-benefit p) {
  color: var(--kullk-gray) !important;
}
html body.tpl-home .home-section-kicker {
  color: var(--kullk-blue-dark) !important;
  -webkit-text-fill-color: var(--kullk-blue-dark) !important;
}
html body.tpl-home .home-category-icon,
html body.tpl-home .home-benefit-icon {
  color: var(--kullk-blue-dark) !important;
  background: #eef3f7 !important;
}
html body.tpl-home .home-listing-category {
  color: #293229 !important;
  background: #f0f5e2 !important;
  border-color: #e0e9c5 !important;
}
html body.tpl-home .home-featured-label {
  color: #293229 !important;
  background: #eff6d9 !important;
  border-color: #e0e9c5 !important;
}
html body.tpl-home .home-view-link {
  color: var(--kullk-blue-dark) !important;
  background: #f3f6f9 !important;
  border-color: #e0e6ed !important;
}
html body.tpl-home .home-cta {
  background: linear-gradient(110deg,#f7f9f4 0%,#eef3f7 100%) !important;
  border: 1px solid #e4e9e2 !important;
  border-radius: 20px !important;
}
html body.tpl-home .home-cta h2 { color: var(--kullk-ink) !important; }
html body.tpl-home .home-cta p { color: var(--kullk-gray) !important; }
html body.tpl-home .home-cta .btn-light {
  color: var(--kullk-ink) !important;
  background: var(--kullk-lime) !important;
  border-color: #b8d900 !important;
}
html body.tpl-home .site-footer {
  color: var(--kullk-ink) !important;
  background: #ffffff !important;
  border-top: 1px solid var(--kullk-line) !important;
}
@media (max-width: 767.98px) {
  html body.tpl-home .home-hero {
    min-height: 0 !important;
    padding-top: 28px !important;
    padding-bottom: 32px !important;
    border-radius: 0 0 20px 20px !important;
  }
  html body.tpl-home .home-search-card {
    padding: 12px !important;
  }
}

/* TOP HEADER ONLY: calm, high-contrast white/charcoal navigation for comfortable reading. */
html body #header-nav {
  min-height: 64px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e8ebe7 !important;
  box-shadow: 0 2px 10px rgba(20, 26, 22, .045) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html body #header-nav > .container-fluid {
  min-height: 64px !important;
  padding: 7px clamp(16px, 3vw, 38px) !important;
  gap: 16px !important;
}
html body #header-nav .navbar-brand img {
  max-height: 36px !important;
}
html body #header-nav .navbar-nav .nav-item > .btn,
html body #header-nav .navbar-nav .nav-item > a.btn {
  color: #252925 !important;
  -webkit-text-fill-color: #252925 !important;
  background: transparent !important;
  border-color: transparent !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  transition: background-color .16s ease, color .16s ease !important;
}
html body #header-nav .navbar-nav .nav-item > .btn:hover,
html body #header-nav .navbar-nav .nav-item > a.btn:hover,
html body #header-nav .navbar-nav .nav-item > .btn:focus,
html body #header-nav .navbar-nav .nav-item > a.btn:focus {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
  background: #f3f5f2 !important;
  border-color: #edf0ec !important;
}
html body #header-nav .navbar-nav .nav-item > .btn i,
html body #header-nav .navbar-nav .nav-item > a.btn i {
  color: #626a63 !important;
}
html body #header-nav .dropdown-menu {
  border: 1px solid #e7ebe6 !important;
  box-shadow: 0 8px 24px rgba(20, 28, 22, .09) !important;
}
html body #header-nav .dropdown-item {
  color: #292e29 !important;
  font-size: 14px !important;
}
html body #header-nav .dropdown-item:hover,
html body #header-nav .dropdown-item:focus {
  color: #171a17 !important;
  background: #f3f5f2 !important;
}
html body #header-nav #navbarBtnGetListed,
html body #header-nav #navbarBtnCreateListing,
html body #header-nav .kullk-mobile-header-action {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
  background: #c5fb07 !important;
  border: 1px solid #b8df12 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}
html body #header-nav #navbarBtnGetListed *,
html body #header-nav #navbarBtnCreateListing *,
html body #header-nav .kullk-mobile-header-action * {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
}
html body #header-nav .navbar-toggler {
  color: #252925 !important;
  background: #ffffff !important;
  border: 1px solid #e4e8e3 !important;
  box-shadow: none !important;
}
html body #header-nav .kullk-hamburger-lines span {
  background: #252925 !important;
}
@media (max-width: 767.98px) {
  html body #header-nav,
  html body #header-nav > .container-fluid {
    min-height: 52px !important;
    height: 52px !important;
  }
  html body #header-nav > .container-fluid {
    padding: 4px 13px !important;
  }
  html body #header-nav .navbar-brand img {
    max-height: 29px !important;
  }
  html body #header-nav .kullk-mobile-header-action {
    min-height: 35px !important;
    padding: 7px 13px !important;
    font-size: 12px !important;
  }
}

/* Corrected scope: TOP NAV is the logo / Sign In / Explore bar.
   Keep it white and orderly; homepage search uses KULLK lime + charcoal, not blue. */
html body #header-nav {
  display: block !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid #e8ebe7 !important;
  box-shadow: 0 2px 12px rgba(23,26,23,.045) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html body #header-nav > .container-fluid {
  display: flex !important;
  align-items: center !important;
  min-height: 66px !important;
  max-width: 1320px;
  margin-inline: auto;
  padding: 8px 24px !important;
}
html body #header-nav .navbar-brand { margin: 0 28px 0 0 !important; }
html body #header-nav .navbar-brand img { max-height: 38px !important; }
html body #header-nav .navbar-collapse { align-items: center !important; }
html body #header-nav .navbar-nav {
  align-items: center !important;
  gap: 8px !important;
}
html body #header-nav .navbar-nav .nav-item > a.btn,
html body #header-nav .navbar-nav .nav-item > .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 8px 14px !important;
  color: #292d29 !important;
  -webkit-text-fill-color: #292d29 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
html body #header-nav .navbar-nav .nav-item > a.btn:hover,
html body #header-nav .navbar-nav .nav-item > .btn:hover {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
  background: #f4f5f2 !important;
}
html body #header-nav .navbar-nav .nav-item > a.btn i,
html body #header-nav .navbar-nav .nav-item > .btn i {
  color: #555d55 !important;
}
html body #header-nav #navbarBtnGetListed,
html body #header-nav #navbarBtnCreateListing,
html body #header-nav .kullk-mobile-header-action {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
  background: #c5fb07 !important;
  border: 1px solid #b5df08 !important;
  border-radius: 9px !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}
html body #header-nav #navbarBtnGetListed *,
html body #header-nav #navbarBtnCreateListing *,
html body #header-nav .kullk-mobile-header-action * {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
}
html body #header-nav .dropdown-menu {
  margin-top: 8px !important;
  padding: 7px !important;
  background: #ffffff !important;
  border: 1px solid #e8ebe7 !important;
  border-radius: 11px !important;
  box-shadow: 0 10px 26px rgba(23,26,23,.09) !important;
}
html body #header-nav .dropdown-item {
  padding: 9px 12px !important;
  color: #292d29 !important;
  border-radius: 7px !important;
  font-size: 14px !important;
}
html body #header-nav .dropdown-item:hover { background: #f4f5f2 !important; color: #171a17 !important; }
html body #header-nav .navbar-toggler {
  color: #252925 !important;
  background: #ffffff !important;
  border: 1px solid #e5e9e3 !important;
  box-shadow: none !important;
}
html body #header-nav .kullk-hamburger-lines span { background: #252925 !important; }
@media (max-width: 767.98px) {
  html body #header-nav,
  html body #header-nav > .container-fluid {
    min-height: 52px !important;
    height: 52px !important;
  }
  html body #header-nav > .container-fluid { padding: 4px 13px !important; }
  html body #header-nav .navbar-brand img { max-height: 29px !important; }
  html body #header-nav .navbar-nav { align-items: stretch !important; }
}

/* Homepage search area: KULLK brand palette (lime, charcoal, white).
   Remove the previous blue search icon/button treatment completely. */
html body.tpl-home .home-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(197,251,7,.16), transparent 25%),
    linear-gradient(145deg, #ffffff 0%, #fafcf5 58%, #f3f5ee 100%) !important;
}
html body.tpl-home .home-hero-content .home-eyebrow,
html body.tpl-home .home-hero-content .home-eyebrow * {
  color: #343a30 !important;
  -webkit-text-fill-color: #343a30 !important;
  background: #f2f7df !important;
  border-color: #e0eab9 !important;
}
html body.tpl-home .home-search-card {
  background: #ffffff !important;
  border: 1px solid #e5e9dc !important;
  box-shadow: 0 12px 34px rgba(34,42,25,.09) !important;
}
html body.tpl-home .home-search-card :is(.form-control,.select2-selection--single) {
  color: #252925 !important;
  background: #fbfcf8 !important;
  border-color: #e0e5d8 !important;
}
html body.tpl-home .home-search-card .input-group-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #252925 !important;
  border-color: #252925 !important;
}
html body.tpl-home .home-search-card .input-group-text *,
html body.tpl-home .home-search-card .home-search-submit,
html body.tpl-home .home-search-card .home-search-submit * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body.tpl-home .home-search-card .home-search-submit,
html body.tpl-home .home-search-card .home-search-submit:hover,
html body.tpl-home .home-search-card .home-search-submit:focus {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
  background: #c5fb07 !important;
  border: 1px solid #b5df08 !important;
  box-shadow: none !important;
}
html body.tpl-home .home-search-card .home-search-submit *,
html body.tpl-home .home-search-card .home-search-submit:hover * {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
}
html body.tpl-home .home-search-card .home-search-submit:hover { background: #b9ed00 !important; }
html body.tpl-home .home-popular a {
  color: #292e25 !important;
  background: #ffffff !important;
  border-color: #e0e7d0 !important;
}
html body.tpl-home .home-popular a:hover {
  background: #f2f7df !important;
  border-color: #c5df73 !important;
}

/* Homepage TOP HEADER BAR ONLY — replace its lime background with white.
   Deliberately scoped to nav#header-nav; hero/search styling is untouched. */
html body.tpl-home nav#header-nav.navbar,
html body.tpl-home nav#header-nav.navbar.fixed-top,
html body.tpl-home nav#header-nav#header-nav {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid #e8ebe7 !important;
  box-shadow: 0 2px 10px rgba(23,26,23,.05) !important;
}
html body.tpl-home nav#header-nav > .container-fluid,
html body.tpl-home nav#header-nav .navbar-collapse,
html body.tpl-home nav#header-nav .navbar-nav {
  background-color: transparent !important;
  background-image: none !important;
}

/* Homepage search and Get Listed contrast refinements */
html body.tpl-home .home-search-card .input-group-text,
html body.tpl-home .home-search-card .input-group-text i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body.tpl-home .home-search-card .home-search-submit {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
}
html body.tpl-home .home-search-card .home-search-submit span {
  color: #171a17 !important;
  -webkit-text-fill-color: #171a17 !important;
}
html body.tpl-home .home-search-card .home-search-submit i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Green Get Listed action with white lettering on phone and desktop */
html body #header-nav #navbarBtnGetListed,
html body #header-nav .kullk-mobile-header-action {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #239b45 !important;
  border: 1px solid #1d873b !important;
}
html body #header-nav #navbarBtnGetListed *,
html body #header-nav .kullk-mobile-header-action * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body #header-nav #navbarBtnGetListed:hover,
html body #header-nav .kullk-mobile-header-action:hover {
  background: #1d873b !important;
  border-color: #176f31 !important;
}

/* On mobile, let the hero/search occupy the first screen; categories start below it. */
@media (max-width: 767.98px) {
  html body.tpl-home .home-hero {
    min-height: calc(100svh - var(--kullk-header-height, 52px)) !important;
    min-height: calc(100vh - var(--kullk-header-height, 52px)) !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }
  html body.tpl-home .home-hero > .home-container {
    width: 100% !important;
  }
  html body.tpl-home .home-hero-content {
    width: 100% !important;
  }
}

/* Mobile category discovery: calm, readable cards with real category artwork. */
.home-category-image-mobile { display: none; }
.home-category-summary { display: none; }
@media (max-width: 767.98px) {
  html body.tpl-home .home-section.home-section-white { background: #ffffff !important; }
  html body.tpl-home .home-section.home-section-white .home-container {
    padding-left: 18px !important; padding-right: 18px !important;
  }
  html body.tpl-home .home-section-head { margin-bottom: 20px !important; gap: 8px !important; }
  html body.tpl-home .home-section-kicker {
    color: #687168 !important; font-size: 11px !important; font-weight: 750 !important;
    letter-spacing: .07em !important; text-transform: uppercase !important;
  }
  html body.tpl-home .home-section-title {
    max-width: 340px; color: #202520 !important; font-size: clamp(22px, 6vw, 27px) !important;
    line-height: 1.2 !important; letter-spacing: -.035em !important;
  }
  html body.tpl-home .home-section-copy {
    max-width: 390px; color: #687168 !important; font-size: 14px !important; line-height: 1.55 !important;
  }
  html body.tpl-home .home-category-grid {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important;
  }
  html body.tpl-home .home-category-card {
    display: flex !important; min-width: 0 !important; min-height: 0 !important;
    align-items: flex-start !important; padding: 13px !important; gap: 8px !important;
    border: 1px solid #e7ebe5 !important; border-radius: 14px !important;
    background: #ffffff !important; box-shadow: 0 2px 9px rgba(25, 35, 25, .045) !important;
    text-align: left !important;
  }
  html body.tpl-home .home-category-card:active { background: #f8faf6 !important; border-color: #d5dfce !important; }
  html body.tpl-home .home-category-icon-desktop { display: none !important; }
  html body.tpl-home .home-category-image-mobile {
    display: flex !important; width: 100% !important; height: 88px !important;
    align-items: center !important; justify-content: center !important; overflow: hidden !important;
    border-radius: 9px !important; background: #f5f7f3 !important;
  }
  html body.tpl-home .home-category-image-mobile img {
    display: block !important; width: 100% !important; height: 100% !important; object-fit: contain !important;
  }
  html body.tpl-home .home-category-name {
    display: block !important; width: 100% !important; color: #252b25 !important;
    font-size: 13px !important; font-weight: 750 !important; line-height: 1.3 !important; overflow-wrap: anywhere !important;
  }
  html body.tpl-home .home-category-summary {
    display: block !important; width: 100% !important; color: #737c73 !important;
    font-size: 11px !important; font-weight: 450 !important; line-height: 1.45 !important;
  }
}
@media (max-width: 360px) {
  html body.tpl-home .home-category-grid { gap: 9px !important; }
  html body.tpl-home .home-category-card { padding: 10px !important; }
  html body.tpl-home .home-category-image-mobile { height: 76px !important; }
  html body.tpl-home .home-category-name { font-size: 12px !important; }
  html body.tpl-home .home-category-summary { font-size: 10.5px !important; }
}

/* Keep category cards stacked and readable on small screens. */
@media (max-width: 767.98px) {
  html body.tpl-home .home-category-card {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
}

/* Final header action contrast override: white labels on green listing buttons. */
html body #header-nav a#navbarBtnGetListed,
html body #header-nav a#navbarBtnCreateListing,
html body #header-nav a.kullk-mobile-header-action,
html body #header-nav a#navbarBtnGetListed *,
html body #header-nav a#navbarBtnCreateListing *,
html body #header-nav a.kullk-mobile-header-action * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Force white foreground on the blue Get Listed button in every state.
   High-specificity selectors override Bootstrap .btn-primary and theme rules. */
html body.tpl-home nav#header-nav #navbarBtnGetListed.btn,
html body.tpl-home nav#header-nav #navbarBtnGetListed.btn.btn-primary,
html body nav#header-nav #navbarBtnGetListed.btn,
html body nav#header-nav #navbarBtnGetListed.btn.btn-primary,
html body nav#header-nav #navbarBtnGetListed.btn:link,
html body nav#header-nav #navbarBtnGetListed.btn:visited,
html body nav#header-nav #navbarBtnGetListed.btn:hover,
html body nav#header-nav #navbarBtnGetListed.btn:focus,
html body nav#header-nav #navbarBtnGetListed.btn:active,
html body nav#header-nav #navbarBtnGetListed.btn *,
html body nav#header-nav #navbarBtnCreateListing.btn,
html body nav#header-nav #navbarBtnCreateListing.btn *,
html body nav#header-nav .kullk-mobile-header-action,
html body nav#header-nav .kullk-mobile-header-action * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}


/* Homepage Search button: blue label text, retain the white search icon. */
html body.tpl-home .home-search-card button.home-search-submit span,
html body.tpl-home .home-search-card button.home-search-submit:hover span,
html body.tpl-home .home-search-card button.home-search-submit:focus span,
html body.tpl-home .home-search-card button.home-search-submit:active span {
  color: #0756b8 !important;
  -webkit-text-fill-color: #0756b8 !important;
}

/* Final homepage search contrast: blue label on lime button, white search icon. */
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:hover,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:focus,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:active,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary span,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:hover span,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:focus span,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:active span {
  color: #0756b8 !important;
  -webkit-text-fill-color: #0756b8 !important;
}
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary i,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:hover i,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:focus i,
html body.tpl-home .home-search-card button.home-search-submit.btn.btn-primary:active i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Site-wide button standard: solid blue backgrounds with white labels and icons. */
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
),
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
):link,
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
):visited {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #0756b8 !important;
  border-color: #0756b8 !important;
  text-shadow: none !important;
}
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
) *,
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
) :is(i,svg) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  fill: #ffffff !important;
}
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
):hover,
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
):focus,
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
):active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #064a9e !important;
  border-color: #064a9e !important;
}
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
):disabled,
html body :is(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  a.btn,
  .btn,
  .k-btn,
  [role="button"]
)[aria-disabled="true"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #0756b8 !important;
  border-color: #0756b8 !important;
  opacity: .62;
}


/* Shared category strip inspired by leboncoin: visible below the main header site-wide. */
#header-nav { flex-wrap: wrap; }
#header-nav .kullk-category-nav-wrap {
  flex: 0 0 100%;
  width: 100%;
  border-top: 1px solid rgba(215,224,232,.72);
  background: rgba(255,255,255,.94);
}
#header-nav .kullk-category-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  width: min(100%,1440px);
  min-height: 48px;
  margin: 0 auto;
  padding: 5px 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  white-space: nowrap;
}
#header-nav .kullk-category-nav::-webkit-scrollbar { display: none; }
#header-nav .kullk-category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--k-text) !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s ease,color .18s ease;
}
#header-nav .kullk-category-nav a:hover,
#header-nav .kullk-category-nav a:focus-visible {
  color: var(--k-accent-dark) !important;
  background: var(--k-accent-soft);
  text-decoration: none;
}
#header-nav .kullk-category-nav .kullk-category-nav__all {
  color: #fff !important;
  background: var(--k-accent);
}
#header-nav .kullk-category-nav .kullk-category-nav__all:hover {
  color: #fff !important;
  background: var(--k-accent-dark);
}
@media (max-width:767.98px) {
  #header-nav .kullk-category-nav { min-height: 44px; padding: 4px 12px; gap: 3px; }
  #header-nav .kullk-category-nav a { min-height: 34px; padding: 7px 11px; font-size: 12px; }
}


/* Homepage: keep the shared header/category strip visible while scrolling. */
body.tpl-home #header-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2000 !important;
  transform: translate3d(0,0,0) !important;
}

/* Neutral glass controls: avoid dark-blue fills and keep a consistent glass surface. */
html body :is(
  button,input[type="button"],input[type="submit"],input[type="reset"],
  a.btn,.btn,.k-btn,[role="button"]
),
html body :is(
  button,input[type="button"],input[type="submit"],input[type="reset"],
  a.btn,.btn,.k-btn,[role="button"]
):link,
html body :is(
  button,input[type="button"],input[type="submit"],input[type="reset"],
  a.btn,.btn,.k-btn,[role="button"]
):visited {
  color: #303a32 !important;
  -webkit-text-fill-color: #303a32 !important;
  background: rgba(255,255,255,.76) !important;
  border: 1px solid rgba(205,216,204,.9) !important;
  box-shadow: 0 5px 18px rgba(35,48,36,.07), inset 0 1px 0 rgba(255,255,255,.88) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%) !important;
  backdrop-filter: blur(16px) saturate(135%) !important;
  text-shadow: none !important;
}
html body :is(
  button,input[type="button"],input[type="submit"],input[type="reset"],
  a.btn,.btn,.k-btn,[role="button"]
) * {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
html body :is(.btn-primary,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,.kullk-mobile-header-action),
html body.tpl-home .home-search-submit {
  color: #263022 !important;
  -webkit-text-fill-color: #263022 !important;
  background: rgba(197,251,7,.78) !important;
  border: 1px solid rgba(159,190,54,.72) !important;
  box-shadow: 0 6px 18px rgba(128,153,39,.13), inset 0 1px 0 rgba(255,255,255,.55) !important;
}
html body :is(.btn-primary,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,.kullk-mobile-header-action):hover,
html body.tpl-home .home-search-submit:hover {
  background: rgba(197,251,7,.92) !important;
  color: #263022 !important;
  -webkit-text-fill-color: #263022 !important;
}
#header-nav .kullk-category-nav-wrap {
  background: rgba(255,255,255,.78) !important;
  -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
  backdrop-filter: blur(18px) saturate(145%) !important;
}
#header-nav .kullk-category-nav a,
#header-nav .kullk-category-nav a:hover,
#header-nav .kullk-category-nav a:focus-visible {
  color: #303a32 !important;
  background: rgba(255,255,255,.58) !important;
  border: 1px solid rgba(205,216,204,.72) !important;
}
#header-nav .kullk-category-nav .kullk-category-nav__all,
#header-nav .kullk-category-nav .kullk-category-nav__all:hover {
  color: #263022 !important;
  background: rgba(197,251,7,.72) !important;
  border-color: rgba(159,190,54,.7) !important;
}


/* Scroll behavior: deterministic row collapse; do not animate layout height while scrolling. */
#header-nav .container-fluid {
  overflow: visible;
  opacity: 1;
  transition: none !important;
}
#header-nav.kullk-main-row-hidden .kullk-category-nav-wrap {
  border-top: 0;
}
#header-nav-dummy {
  overflow-anchor: none;
}
html {
  overflow-anchor: none;
}


/* Correct collapse geometry: remove the top row from layout so the bar moves up. */
#header-nav.kullk-main-row-hidden {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}
#header-nav.kullk-main-row-hidden > .container-fluid {
  display: none !important;
  max-height: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
#header-nav.kullk-main-row-hidden > .kullk-category-nav-wrap {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* Mobile scroll stability: viewport chrome and form controls must not toggle
   the header. Keep the category strip at the exact compact spacer height. */
@media (max-width: 767.98px) {
  #header-nav {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(255,255,255,.97) !important;
    contain: layout paint;
  }
  #header-nav .kullk-category-nav-wrap {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  #header-nav.kullk-main-row-hidden {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  #header-nav.kullk-main-row-hidden > .container-fluid {
    display: none !important;
  }
  #header-nav.kullk-main-row-hidden > .kullk-category-nav-wrap {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }
  #header-nav-dummy {
    transition: none !important;
    overflow-anchor: none !important;
  }
}


/* Keep the mobile page flow aligned with the compact fixed category header.
   The spacer is border-box so Bootstrap navbar padding cannot add hidden height. */
@media (max-width: 767.98px) {
  html body #header-nav.kullk-main-row-hidden,
  html body:not(#kullk-header-specificity) #header-nav.kullk-main-row-hidden {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  html body #header-nav.kullk-main-row-hidden > .container-fluid {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body #header-nav-dummy {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    flex: none !important;
  }
  html body #header-nav .kullk-category-nav-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
  }
}


/* Mobile fixed-header overlap guard: keep the page's flow clearance stable
   while the category-only header is shown. Do not animate or translate page content. */
@media (max-width: 767.98px) {
  html body #header-nav,
  html body:not(#kullk-header-specificity) #header-nav {
    position: fixed !important;
    top: 0 !important;
    z-index: 5000 !important;
    transition: none !important;
    scroll-margin-top: 0 !important;
  }
  html body #header-nav.kullk-main-row-hidden > .container-fluid {
    display: none !important;
  }
  html body #header-nav.kullk-main-row-hidden > .kullk-category-nav-wrap {
    position: relative !important;
    top: 0 !important;
    z-index: 5001 !important;
  }
  html body #header-nav-dummy {
    position: relative !important;
    display: block !important;
    height: var(--kullk-header-height) !important;
    min-height: var(--kullk-header-height) !important;
    max-height: var(--kullk-header-height) !important;
    flex: 0 0 var(--kullk-header-height) !important;
  }
}


/* Homepage glass action system: one reusable shape, readable state colors, per-section accents. */
html body.tpl-home .home-shell .home-glass-btn,
html body.tpl-home .home-shell .home-glass-btn:link,
html body.tpl-home .home-shell .home-glass-btn:visited {
  --home-glass-ink: #253044;
  --home-glass-tint: 255,255,255;
  --home-glass-edge: 190,202,220;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(var(--home-glass-edge),.72) !important;
  border-radius: 12px !important;
  color: var(--home-glass-ink) !important;
  -webkit-text-fill-color: var(--home-glass-ink) !important;
  background: linear-gradient(145deg,rgba(var(--home-glass-tint),.84),rgba(var(--home-glass-tint),.48)) !important;
  box-shadow: 0 8px 22px rgba(26,39,62,.09), inset 0 1px 0 rgba(255,255,255,.9) !important;
  -webkit-backdrop-filter: blur(18px) saturate(155%) !important;
  backdrop-filter: blur(18px) saturate(155%) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
html body.tpl-home .home-shell .home-glass-btn *,
html body.tpl-home .home-shell .home-glass-btn i {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  fill: currentColor !important;
}
html body.tpl-home .home-shell .home-glass-btn:hover,
html body.tpl-home .home-shell .home-glass-btn:focus-visible,
html body.tpl-home .home-shell .home-glass-btn:active {
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
  background: linear-gradient(145deg,rgba(var(--home-glass-tint),.98),rgba(var(--home-glass-tint),.76)) !important;
  border-color: rgba(var(--home-glass-edge),.98) !important;
  box-shadow: 0 11px 26px rgba(26,39,62,.15), inset 0 1px 0 #fff !important;
  transform: translateY(-2px) !important;
  outline: none !important;
}
html body.tpl-home .home-shell .home-glass-btn:focus-visible {
  outline: 3px solid rgba(var(--home-glass-edge),.42) !important;
  outline-offset: 3px !important;
}
html body.tpl-home .home-shell .home-glass-btn:disabled,
html body.tpl-home .home-shell .home-glass-btn[aria-disabled="true"] {
  opacity: .55 !important;
  transform: none !important;
  cursor: not-allowed !important;
}
html body.tpl-home .home-shell .home-glass-btn--lime { --home-glass-tint: 222,255,135; --home-glass-edge: 148,190,47; --home-glass-ink: #263514; }
html body.tpl-home .home-shell .home-glass-btn--blue { --home-glass-tint: 190,220,255; --home-glass-edge: 104,153,224; --home-glass-ink: #153b70; }
html body.tpl-home .home-shell .home-glass-btn--rose { --home-glass-tint: 255,210,220; --home-glass-edge: 222,139,162; --home-glass-ink: #70243d; }
html body.tpl-home .home-shell .home-glass-btn--violet { --home-glass-tint: 222,210,255; --home-glass-edge: 159,139,220; --home-glass-ink: #44306f; }
html body.tpl-home .home-shell .home-glass-btn--teal { --home-glass-tint: 184,241,235; --home-glass-edge: 104,184,173; --home-glass-ink: #14534d; }

/* Use the same square glass language for homepage quick links and card actions. */
html body.tpl-home .home-popular a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 7px 11px !important;
  margin: 3px 4px 3px 0 !important;
  border: 1px solid rgba(104,153,224,.48) !important;
  border-radius: 10px !important;
  color: #153b70 !important;
  -webkit-text-fill-color: #153b70 !important;
  background: rgba(190,220,255,.38) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
  text-decoration: none !important;
}
html body.tpl-home .home-popular a:hover,
html body.tpl-home .home-popular a:focus-visible {
  color: #102d55 !important;
  -webkit-text-fill-color: #102d55 !important;
  background: rgba(190,220,255,.76) !important;
  border-color: rgba(75,127,207,.8) !important;
}
html body.tpl-home .home-favorite.home-glass-btn {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 12px !important;
}
html body.tpl-home .home-search-submit.home-glass-btn {
  min-height: 48px !important;
}
html body.tpl-home .home-search-submit.home-glass-btn i {
  color: #263514 !important;
  -webkit-text-fill-color: #263514 !important;
}
html body.tpl-home .home-shell select:focus,
html body.tpl-home .home-shell .select2-container--default .select2-selection--single:focus {
  color: #253044 !important;
  border-color: #78a9e8 !important;
  box-shadow: 0 0 0 3px rgba(104,153,224,.18) !important;
  outline: none !important;
}
html body.tpl-home .home-shell select option:checked {
  color: #253044 !important;
  background: #eaf2ff !important;
}
@media (prefers-reduced-motion: reduce) {
  html body.tpl-home .home-shell .home-glass-btn { transition: none !important; }
  html body.tpl-home .home-shell .home-glass-btn:hover { transform: none !important; }
}


/* KULLK shared glass language: category navigation, controls and cards across the classified site.
   Brand palette only: KULLK blue + lime, with neutral glass surfaces for comfortable reading. */
:root {
  --kullk-glass-blue: #0756b8;
  --kullk-glass-blue-deep: #06458f;
  --kullk-glass-lime: #c5fb07;
  --kullk-glass-ink: #243247;
  --kullk-glass-muted: #64748b;
  --kullk-glass-line: rgba(148,163,184,.28);
  --kullk-glass-surface: rgba(255,255,255,.76);
  --kullk-glass-shadow: 0 8px 26px rgba(22,42,72,.075), inset 0 1px 0 rgba(255,255,255,.88);
}

/* Category strip is a shared glass tray, not a row of unrelated flat pills. */
html body #header-nav .kullk-category-nav-wrap {
  width: min(var(--k-container,1240px),calc(100% - 32px)) !important;
  margin: 0 auto !important;
  padding: 5px 8px 9px !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg,rgba(255,255,255,.84),rgba(244,248,255,.66)) !important;
  box-shadow: var(--kullk-glass-shadow) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
}
html body #header-nav .kullk-category-nav {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 2px !important;
}
html body #header-nav .kullk-category-nav__all,
html body #header-nav .kullk-category-nav__link,
html body #header-nav .kullk-category-nav__toggle {
  min-height: 38px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(148,163,184,.24) !important;
  border-radius: 11px !important;
  color: var(--kullk-glass-ink) !important;
  -webkit-text-fill-color: var(--kullk-glass-ink) !important;
  background: rgba(255,255,255,.54) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
  font-weight: 720 !important;
  transition: background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease !important;
}
html body #header-nav .kullk-category-nav__all,
html body #header-nav .kullk-category-nav__all:hover,
html body #header-nav .kullk-category-nav__all:focus-visible {
  color: #263514 !important;
  -webkit-text-fill-color: #263514 !important;
  border-color: rgba(159,190,54,.58) !important;
  background: linear-gradient(135deg,rgba(220,255,130,.84),rgba(197,251,7,.54)) !important;
}
html body #header-nav .kullk-category-nav__link:hover,
html body #header-nav .kullk-category-nav__link:focus-visible,
html body #header-nav .kullk-category-nav__toggle:hover,
html body #header-nav .kullk-category-nav__toggle:focus-visible,
html body #header-nav .kullk-category-nav__item.is-expanded > .kullk-category-nav__toggle {
  color: var(--kullk-glass-blue-deep) !important;
  -webkit-text-fill-color: var(--kullk-glass-blue-deep) !important;
  border-color: rgba(7,86,184,.34) !important;
  background: rgba(219,235,255,.82) !important;
  box-shadow: 0 4px 14px rgba(7,86,184,.09),inset 0 1px 0 #fff !important;
  transform: translateY(-1px);
}
html body #header-nav .kullk-category-nav__panel {
  border: 1px solid rgba(255,255,255,.88) !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(245,249,255,.91)) !important;
  box-shadow: 0 20px 54px rgba(21,42,75,.17),inset 0 1px 0 #fff !important;
  -webkit-backdrop-filter: blur(24px) saturate(155%) !important;
  backdrop-filter: blur(24px) saturate(155%) !important;
}
html body #header-nav .kullk-category-nav__panel-heading {
  border-bottom-color: rgba(148,163,184,.24) !important;
}
html body #header-nav .kullk-category-nav__panel-heading strong {
  color: var(--kullk-glass-ink) !important;
}
html body #header-nav .kullk-category-nav__panel-heading a {
  color: var(--kullk-glass-blue) !important;
  -webkit-text-fill-color: var(--kullk-glass-blue) !important;
}
html body #header-nav .kullk-category-nav__subcategories a {
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: #344256 !important;
  -webkit-text-fill-color: #344256 !important;
  background: rgba(255,255,255,.42) !important;
}
html body #header-nav .kullk-category-nav__subcategories a:hover,
html body #header-nav .kullk-category-nav__subcategories a:focus-visible {
  color: var(--kullk-glass-blue-deep) !important;
  -webkit-text-fill-color: var(--kullk-glass-blue-deep) !important;
  border-color: rgba(7,86,184,.2) !important;
  background: rgba(219,235,255,.72) !important;
}

/* Reusable glass button treatment for public classified pages; excludes form fields and icon-only utilities. */
html body:not([class*="tpl-admin-"]) :is(
  button.btn,a.btn,.btn-primary,.btn-outline-primary,.btn-success,.btn-info,
  .k-btn,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,
  input[type="submit"],input[type="button"],input[type="reset"]
) {
  border-radius: 11px !important;
  font-weight: 750 !important;
  box-shadow: 0 6px 18px rgba(7,86,184,.10),inset 0 1px 0 rgba(255,255,255,.42) !important;
  -webkit-backdrop-filter: blur(14px) saturate(145%) !important;
  backdrop-filter: blur(14px) saturate(145%) !important;
  transition: color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease !important;
}
html body:not([class*="tpl-admin-"]) :is(
  .btn-primary,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,
  input[type="submit"]
),
html body:not([class*="tpl-admin-"]) :is(
  .btn-primary,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,
  input[type="submit"]
):link,
html body:not([class*="tpl-admin-"]) :is(
  .btn-primary,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,
  input[type="submit"]
):visited {
  color: #253514 !important;
  -webkit-text-fill-color: #253514 !important;
  border: 1px solid rgba(159,190,54,.7) !important;
  background: linear-gradient(135deg,rgba(220,255,130,.9),rgba(197,251,7,.68)) !important;
}
html body:not([class*="tpl-admin-"]) :is(
  .btn-primary,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,
  input[type="submit"]
):hover,
html body:not([class*="tpl-admin-"]) :is(
  .btn-primary,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,
  input[type="submit"]
):focus-visible,
html body:not([class*="tpl-admin-"]) :is(
  .btn-primary,.k-btn--primary,#navbarBtnGetListed,#navbarBtnCreateListing,
  input[type="submit"]
):active {
  color: #20300e !important;
  -webkit-text-fill-color: #20300e !important;
  background: linear-gradient(135deg,rgba(232,255,177,.98),rgba(197,251,7,.9)) !important;
  border-color: rgba(126,164,28,.82) !important;
  box-shadow: 0 9px 22px rgba(90,125,20,.16),inset 0 1px 0 #fff !important;
  transform: translateY(-1px);
}
html body:not([class*="tpl-admin-"]) :is(.btn-outline-primary,.btn-success,.btn-info) {
  color: var(--kullk-glass-blue-deep) !important;
  -webkit-text-fill-color: var(--kullk-glass-blue-deep) !important;
  border: 1px solid rgba(7,86,184,.28) !important;
  background: rgba(219,235,255,.58) !important;
}
html body:not([class*="tpl-admin-"]) :is(.btn-outline-primary,.btn-success,.btn-info):hover,
html body:not([class*="tpl-admin-"]) :is(.btn-outline-primary,.btn-success,.btn-info):focus-visible {
  color: #073b7c !important;
  -webkit-text-fill-color: #073b7c !important;
  border-color: rgba(7,86,184,.48) !important;
  background: rgba(201,224,255,.86) !important;
}

/* Common listing/category cards: soft glass edge and brand-tinted hover, not harsh colored fills. */
html body:not([class*="tpl-admin-"]) :is(
  .home-listing-card,.home-category-card,.home-city-card,.listing-card,.item,.coupon-item,
  .marketplace-card,.classified-card
) {
  border: 1px solid rgba(148,163,184,.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 26px rgba(22,42,72,.065),inset 0 1px 0 rgba(255,255,255,.72) !important;
  background-color: rgba(255,255,255,.86) !important;
  transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease !important;
}
html body:not([class*="tpl-admin-"]) :is(
  .home-listing-card,.home-category-card,.home-city-card,.listing-card,.item,.coupon-item,
  .marketplace-card,.classified-card
):hover {
  border-color: rgba(7,86,184,.24) !important;
  box-shadow: 0 13px 32px rgba(7,86,184,.10),inset 0 1px 0 rgba(255,255,255,.86) !important;
}
html body:not([class*="tpl-admin-"]) :is(.home-listing-card,.home-category-card,.listing-card,.item,.marketplace-card,.classified-card) :is(h2,h3,h4,.title,.listing-title,a:not(.btn)) {
  text-decoration-color: rgba(7,86,184,.22);
}
@media (max-width: 575.98px) {
  html body #header-nav .kullk-category-nav-wrap {
    width: calc(100% - 16px) !important;
    padding: 4px 5px 7px !important;
    border-radius: 13px !important;
  }
  html body #header-nav .kullk-category-nav { gap: 5px !important; }
  html body #header-nav .kullk-category-nav__all,
  html body #header-nav .kullk-category-nav__link,
  html body #header-nav .kullk-category-nav__toggle {
    min-height: 36px !important;
    padding: 7px 10px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body #header-nav .kullk-category-nav__all,
  html body #header-nav .kullk-category-nav__link,
  html body #header-nav .kullk-category-nav__toggle,
  html body:not([class*="tpl-admin-"]) :is(button.btn,a.btn,.btn-primary,.btn-outline-primary,.btn-success,.btn-info,.k-btn,.k-btn--primary) {
    transition: none !important;
  }
}


/* Create-listing page: guarantee readable button contrast in every state.
   Solid KULLK blue always uses white text; pale glass buttons use dark text. */
html body.tpl-user-create-listing :is(
  button.btn-primary,a.btn-primary,.btn-primary,
  button.btn-info,a.btn-info,.btn-info,
  button.btn-success,a.btn-success,.btn-success,
  button[type="submit"],input[type="submit"],
  #upload-button
) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg,#0756b8,#06458f) !important;
  border: 1px solid #06458f !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.12) !important;
}
html body.tpl-user-create-listing :is(
  button.btn-primary,a.btn-primary,.btn-primary,
  button.btn-info,a.btn-info,.btn-info,
  button.btn-success,a.btn-success,.btn-success,
  button[type="submit"],input[type="submit"],
  #upload-button
):is(:hover,:focus,:focus-visible,:active) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg,#06458f,#04366f) !important;
  border-color: #04366f !important;
}
html body.tpl-user-create-listing :is(.btn-light,button.btn-light,a.btn-light) {
  color: #243247 !important;
  -webkit-text-fill-color: #243247 !important;
  background: linear-gradient(135deg,rgba(255,255,255,.94),rgba(235,243,253,.88)) !important;
  border: 1px solid rgba(7,86,184,.22) !important;
}
html body.tpl-user-create-listing :is(.btn-light,button.btn-light,a.btn-light):is(:hover,:focus,:focus-visible,:active) {
  color: #06458f !important;
  -webkit-text-fill-color: #06458f !important;
  background: rgba(219,235,255,.96) !important;
  border-color: rgba(7,86,184,.42) !important;
}
html body.tpl-user-create-listing :is(.btn-secondary,button.btn-secondary,a.btn-secondary) {
  color: #344256 !important;
  -webkit-text-fill-color: #344256 !important;
  background: rgba(241,245,249,.94) !important;
  border: 1px solid rgba(100,116,139,.26) !important;
}
html body.tpl-user-create-listing :is(.btn-secondary,button.btn-secondary,a.btn-secondary):disabled {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  opacity: 1 !important;
}
html body.tpl-user-create-listing :is(.btn,.btn) :is(i,svg,span),
html body.tpl-user-create-listing :is(.btn,.btn):is(:hover,:focus,:active) :is(i,svg,span) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}


/* Create-listing photo reset action: blue control with consistently white label. */
html body.tpl-user-create-listing .k-listing-form :is(
  #clear-photo-btn,#clear-main-pic-btn,#remove-photo-btn,
  .clear-photo,.clear-photo-btn,.clear-image,.clear-image-btn,.remove-photo,
  [data-action="clear-photo"],[data-action="remove-photo"],
  button[id*="clear" i][id*="photo" i],
  button[class*="clear" i][class*="photo" i],
  button[class*="clear" i][class*="image" i]
) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg,#0756b8,#06458f) !important;
  border: 1px solid #06458f !important;
}
html body.tpl-user-create-listing .k-listing-form :is(
  #clear-photo-btn,#clear-main-pic-btn,#remove-photo-btn,
  .clear-photo,.clear-photo-btn,.clear-image,.clear-image-btn,.remove-photo,
  [data-action="clear-photo"],[data-action="remove-photo"],
  button[id*="clear" i][id*="photo" i],
  button[class*="clear" i][class*="photo" i],
  button[class*="clear" i][class*="image" i]
):is(:hover,:focus,:focus-visible,:active) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg,#06458f,#04366f) !important;
  border-color: #04366f !important;
}
html body.tpl-user-create-listing .k-listing-form :is(
  #clear-photo-btn,#clear-main-pic-btn,#remove-photo-btn,
  .clear-photo,.clear-photo-btn,.clear-image,.clear-image-btn,.remove-photo,
  [data-action="clear-photo"],[data-action="remove-photo"],
  button[id*="clear" i][id*="photo" i],
  button[class*="clear" i][class*="photo" i],
  button[class*="clear" i][class*="image" i]
) :is(i,svg,span) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  fill: currentColor !important;
}


/* Final high-specificity override for the Create Listing photo clear/reset control.
   Do not depend on a particular uploader wrapper: templates use different wrappers. */
html body.tpl-user-create-listing :is(
  button[id*="clear" i],a[id*="clear" i],input[id*="clear" i],
  button[class*="clear" i],a[class*="clear" i],input[class*="clear" i],
  button[class*="photo" i],a[class*="photo" i],
  button[data-action*="clear" i],button[data-action*="photo" i],
  button[aria-label*="clear photo" i],button[title*="clear photo" i]
) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg,#0756b8,#06458f) !important;
  border: 1px solid #06458f !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.14) !important;
}
html body.tpl-user-create-listing :is(
  button[id*="clear" i],a[id*="clear" i],input[id*="clear" i],
  button[class*="clear" i],a[class*="clear" i],input[class*="clear" i],
  button[class*="photo" i],a[class*="photo" i],
  button[data-action*="clear" i],button[data-action*="photo" i],
  button[aria-label*="clear photo" i],button[title*="clear photo" i]
):is(:hover,:focus,:focus-visible,:active),
html body.tpl-user-create-listing :is(
  button[id*="clear" i],a[id*="clear" i],input[id*="clear" i],
  button[class*="clear" i],a[class*="clear" i],input[class*="clear" i],
  button[class*="photo" i],a[class*="photo" i],
  button[data-action*="clear" i],button[data-action*="photo" i],
  button[aria-label*="clear photo" i],button[title*="clear photo" i]
) :is(span,i,svg) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  fill: currentColor !important;
}


/* Create Listing: clear-photo / photo-step menu action. Keep this rule independent
   of uploader wrappers because the photo step menu is rendered by the form plugin. */
html body.tpl-user-create-listing :is(
  button,a,[role="button"],input[type="button"],input[type="submit"]
):is(
  [id*="clear" i],[class*="clear" i],[name*="clear" i],
  [data-action*="clear" i],[aria-label*="clear" i],[title*="clear" i],
  [id*="photo" i],[class*="photo" i],[name*="photo" i],
  [data-action*="photo" i],[aria-label*="photo" i],[title*="photo" i],
  [id*="image" i],[class*="image" i],[data-action*="image" i]
) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #0756b8 !important;
  background-image: linear-gradient(135deg,#0756b8,#06458f) !important;
  border-color: #06458f !important;
}
html body.tpl-user-create-listing :is(
  button,a,[role="button"],input[type="button"],input[type="submit"]
):is(
  [id*="clear" i],[class*="clear" i],[name*="clear" i],
  [data-action*="clear" i],[aria-label*="clear" i],[title*="clear" i],
  [id*="photo" i],[class*="photo" i],[name*="photo" i],
  [data-action*="photo" i],[aria-label*="photo" i],[title*="photo" i],
  [id*="image" i],[class*="image" i],[data-action*="image" i]
):is(:hover,:focus,:focus-visible,:active) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #04366f !important;
  background-image: linear-gradient(135deg,#06458f,#04366f) !important;
  border-color: #04366f !important;
}
html body.tpl-user-create-listing :is(
  button,a,[role="button"],input[type="button"],input[type="submit"]
):is(
  [id*="clear" i],[class*="clear" i],[name*="clear" i],
  [data-action*="clear" i],[aria-label*="clear" i],[title*="clear" i],
  [id*="photo" i],[class*="photo" i],[name*="photo" i],
  [data-action*="photo" i],[aria-label*="photo" i],[title*="photo" i],
  [id*="image" i],[class*="image" i],[data-action*="image" i]
) :is(span,i,svg,em,strong) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  fill: currentColor !important;
}


/* Create Listing guided-step navigation: the selected blue pill must have a
   white, high-contrast label. Earlier photo-action selectors do not target
   this wizard navigation, so style the selected tab and all nested label nodes. */
html body.tpl-user-create-listing :is(
  .nav-pills,.nav-tabs,.steps,.stepper,.wizard,.wizard-steps,
  .listing-steps,.create-listing-steps,.step-navigation,[role="tablist"]
) :is(
  .active,.is-active,.current,[aria-selected="true"],[aria-current="step"]
),
html body.tpl-user-create-listing :is(
  .nav-pills,.nav-tabs,.steps,.stepper,.wizard,.wizard-steps,
  .listing-steps,.create-listing-steps,.step-navigation,[role="tablist"]
) :is(
  .active,.is-active,.current,[aria-selected="true"],[aria-current="step"]
) * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 1px rgba(0,32,90,.18) !important;
}
html body.tpl-user-create-listing :is(
  .nav-pills,.nav-tabs,.steps,.stepper,.wizard,.wizard-steps,
  .listing-steps,.create-listing-steps,.step-navigation,[role="tablist"]
) :is(
  .active,.is-active,.current,[aria-selected="true"],[aria-current="step"]
) :is(svg,path,i) {
  color: #fff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}
