/* =========================================================
   ARROTONDA - ARCHIVIO / CATEGORIE / SEARCH CSS DEDICATO
   Fonte: style rotto.css, sezioni 10, 20 e 20.1.
   Nota: file generato senza modificare functions.php o il CSS sorgente.
   ========================================================= */

/* ═══════════════════════════════════════════════════════════════════
   10 SEARCH — Search bar HivePress, hero search, search archive/home
   Regole in questa sezione: 36
   ═══════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────
   10 SEARCH — Search bar HivePress, hero search, search archive/home — base
   ─────────────────────────────────────────────────────────────── */
.hp-form--listing-search {
  display: flex;
      align-items: center;
      background: rgba(255,255,255,0.55);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 50px;
      padding: 8px;
      box-shadow: 0 18px 45px rgba(0,0,0,0.10);
      border: 1px solid rgba(255,255,255,0.6);
      overflow: hidden;
}

.hp-form--listing-search .hp-form__fields {
  display: flex;
      align-items: center;
      flex: 1;
      min-width: 0;
}

.hp-form--listing-search .hp-form__field {
  flex: 1;
      position: relative;
      padding: 0 18px;
      min-width: 0;
}

.hp-form--listing-search .hp-form__field:not(:last-child)::after {
  content: "";
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
      height: 45px;
      background: rgba(0,0,0,0.1);
}

.hp-form--listing-search .hp-field__label, .hp-form--listing-search .hp-form__label, .hp-form--listing-search select.hp-field--select, .hp-form--listing-search .hp-form__messages, .hp-form--listing-search .hp-block {
  display: none !important;
      margin: 0;
}

.hp-form--listing-search input[type="search"], .hp-form--listing-search .hp-field--search {
  height: 64px !important;
      min-height: 64px !important;
      border: none !important;
      background: transparent !important;
      box-shadow: none !important;
      font-size: 16px;
      color: #2f3947 !important;
      padding: 0 !important;
      outline: none !important;
      display: flex;
      align-items: center;
      width: 100%;
}

.hp-form--listing-search input::placeholder {
  color: #8b97a3;
      opacity: 1;
}

.hp-form--listing-search .select2-container {
  width: 100% !important;
}

.hp-form--listing-search .select2-selection--single {
  height: 64px !important;
      min-height: 64px !important;
      border: none !important;
      background: transparent !important;
      box-shadow: none !important;
      display: flex !important;
      align-items: center !important;
      padding: 0 20px 0 0 !important;
}

.hp-form--listing-search .select2-selection__rendered {
  font-size: 16px !important;
      color: #2f3947 !important;
      line-height: normal !important;
      height: 100% !important;
      display: flex !important;
      align-items: center !important;
      padding: 0 10px 0 0 !important;
      margin: 0 !important;
}

.hp-form--listing-search .select2-selection__arrow {
  position: absolute !important;
      right: 0 !important;
      top: 0 !important;
      width: 34px !important;
      height: 64px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
}

.hp-form--listing-search .select2-selection__arrow b {
  margin: 0 !important;
}

.hp-form--listing-search .hp-form__footer {
  margin-left: 6px;
      flex: 0 0 auto;
}

.hp-form--listing-search .hp-form__button, .hp-form--listing-search button[type="submit"] {
  height: 64px;
      min-width: 180px;
      border-radius: 40px !important;
      background: linear-gradient(135deg, #00a86b, #007a4d) !important;
      color: #fff !important;
      font-size: 16px;
      font-weight: 700;
      padding: 0 32px !important;
      box-shadow: 0 10px 24px rgba(0,168,107,0.24);
      border: none !important;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-form--listing-search .hp-form__button:hover, .hp-form--listing-search button[type="submit"]:hover {
  transform: translateY(-1px);
      box-shadow: 0 18px 40px rgba(0,168,107,0.4);
}

.hp-form--listing-search .hp-form__field--search, .hp-form--listing-search .hp-form__field--select {
  padding-left: 45px !important;
}

.hp-form--listing-search .hp-form__field--search input[type="search"], .hp-form--listing-search .hp-form__field--search .hp-field--search, .hp-form--listing-search .hp-form__field--select .select2-selection--single {
  padding-left: 0 !important;
}

.hp-form--listing-search .hp-form__field--search::before, .hp-form--listing-search .hp-form__field--select::before {
  position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 18px;
      line-height: 1;
      color: #7b8794;
      z-index: 5 !important;
      pointer-events: none;
      opacity: 0.95;
}

.hp-form--listing-search .hp-form__field--search::before {
  content: "⌕";
      font-size: 22px;
      left: 18px;
}

.hp-form--listing-search .hp-form__field--select:nth-of-type(2)::before {
  content: "≡";
      font-size: 22px;
      left: 20px;
}

.hp-form--listing-search .hp-form__field--select:nth-of-type(3)::before {
  content: "⌖";
      font-size: 22px;
      left: 19px;
}

.hp-form--listing-search .hp-form__field--select:nth-of-type(4)::before {
  content: "⌂";
      font-size: 22px;
      left: 19px;
}

.hero-search-wrap {
  margin-top: 30px;
      position: relative;
      z-index: 10;
}


/* ───────────────────────────────────────────────────────────────
   10 SEARCH — Search bar HivePress, hero search, search archive/home — @media (max-width: 768px)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #hero-search-wrap, .hero-search-wrap, body.home.elementor-page-8 #hero-search-wrap, body.home.elementor-page-8 .hero-search-wrap {
    width: 100% !important;
            max-width: 330px !important;
            height: 48px !important;
            min-height: 48px !important;
            margin: 8px 0 0 !important;
            padding: 0 !important;
            position: relative !important;
            box-sizing: border-box !important;
  }

  #hero-search-wrap .hp-form--listing-search, .hero-search-wrap .hp-form--listing-search {
    width: 100% !important;
            height: 44px !important;
            min-height: 44px !important;
            padding: 0 !important;
            margin: 0 !important;
            display: block !important;
            border-radius: 999px !important;
            background: rgba(255,255,255,0.92) !important;
            border: 1px solid rgba(0,0,0,0.05) !important;
            box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
  }

  #hero-search-wrap .hp-form__field::before, #hero-search-wrap .hp-form__field::after, #hero-search-wrap .hp-form__fields::before, #hero-search-wrap .hp-form__fields::after, #hero-search-wrap .hp-form--listing-search::before, #hero-search-wrap .hp-form--listing-search::after, .hero-search-wrap .hp-form__field::before, .hero-search-wrap .hp-form__field::after, .hero-search-wrap .hp-form__fields::before, .hero-search-wrap .hp-form__fields::after, .hero-search-wrap .hp-form--listing-search::before, .hero-search-wrap .hp-form--listing-search::after {
    display: none !important;
            content: none !important;
            width: 0 !important;
            height: 0 !important;
            border: 0 !important;
            background: transparent !important;
  }

  #hero-search-wrap .hp-form__fields, .hero-search-wrap .hp-form__fields, #hero-search-wrap .hp-form__field--search, .hero-search-wrap .hp-form__field--search {
    width: 100% !important;
            height: 44px !important;
            min-height: 44px !important;
            line-height: 44px !important;
            display: block !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            position: relative !important;
            box-sizing: border-box !important;
  }

  #hero-search-wrap .hp-form__field--search {
    position: relative !important;
  }

  #hero-search-wrap .hp-form__field--search::before {
    content: "" !important;
            position: absolute !important;
            left: 19px !important;
            top: 50% !important;
            width: 12px !important;
            height: 12px !important;
            border: 2px solid rgba(100, 116, 139, 0.38) !important;
            border-radius: 50% !important;
            transform: translateY(-50%) !important;
            z-index: 5 !important;
            pointer-events: none !important;
            box-sizing: border-box !important;
            display: block !important;
  }

  #hero-search-wrap .hp-form__field--search::after {
    content: "" !important;
            position: absolute !important;
            left: 29px !important;
            top: 50% !important;
            width: 8px !important;
            height: 2px !important;
            background: rgba(100, 116, 139, 0.38) !important;
            border-radius: 999px !important;
            transform: translateY(5px) rotate(45deg) !important;
            transform-origin: left center !important;
            z-index: 5 !important;
            pointer-events: none !important;
            display: block !important;
  }

  #hero-search-wrap input[name="s"] {
    padding-left: 48px !important;
  }

  #hero-search-wrap input[name="s"], .hero-search-wrap input[name="s"] {
    width: 100% !important;
            height: 48px !important;
            min-height: 48px !important;
            padding: 0 10px 5px 50px !important;
            margin: 0 !important;
            border: 0 !important;
            outline: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            font-size: 15px !important;
            line-height: 48px !important;
            color: #111827 !important;
            -webkit-appearance: none !important;
            appearance: none !important;
            box-sizing: border-box !important;
            display: block !important;
            transform: none !important;
  }

  #hero-search-wrap input[name="s"]::placeholder, .hero-search-wrap input[name="s"]::placeholder {
    color: #8f9aa6 !important;
            opacity: 1 !important;
            font-size: 14px !important;
  }

  #hero-search-wrap input[name="s"]:focus, .hero-search-wrap input[name="s"]:focus {
    background: transparent !important;
            box-shadow: none !important;
            outline: 0 !important;
            border: 0 !important;
  }

  #hero-search-wrap .hp-form__field--select, #hero-search-wrap .hp-form__footer, .hero-search-wrap .hp-form__field--select, .hero-search-wrap .hp-form__footer {
    display: none !important;
  }



}

/* ═══════════════════════════════════════════════════════════════════
   20 ARCHIVIO / CATEGORIE — Pagine annunci, categorie, hero e filtri
   Regole in questa sezione: 76
   ═══════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────
   20 ARCHIVIO / CATEGORIE — Pagine annunci, categorie, hero e filtri — base
   ─────────────────────────────────────────────────────────────── */
.hp-listing-category__header {
  display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      padding-top: 55px !important;
}

body.hp-template--listings-view-page .hp-page .hp-page__header .hp-button--listing-filter {
  margin-top: 16px !important;
      margin-bottom: 16px !important;
}

.tax-hp_listing_category .hero-search-wrap, .term-hp_listing_category .hero-search-wrap, .hp-listing-category--view-page .hero-search-wrap {
  position: relative !important;
      z-index: 30 !important;
      margin-top: 28px !important;
      margin-bottom: -70px !important;
}

body.hp-template--listings-view-page .header-hero .hero-search-wrap {
  position: absolute !important;
      bottom: 90px !important;
      left: 30px !important;
      right: 30px !important;
      margin: 0 auto !important;
      width: auto !important;
      max-width: 1100px !important;
      z-index: 30 !important;
}

body.hp-template--listings-view-page .hero-search-wrap .hp-form--listing-search {
  position: relative !important;
      z-index: 31 !important;
      margin: 0 !important;
}

body.post-type-archive-hp_listing .header-navbar__menu > ul > li.menu-item-277 > a, body.post-type-archive-hp_listing .header-navbar__burger .menu > li.menu-item-277 > a, body.tax-hp_listing_category .header-navbar__menu > ul > li.menu-item-278 > a, body.tax-hp_listing_category .header-navbar__burger .menu > li.menu-item-278 > a, body.term-hp_listing_category .header-navbar__menu > ul > li.menu-item-278 > a, body.term-hp_listing_category .header-navbar__burger .menu > li.menu-item-278 > a, .current-menu-item > a, .current_page_item > a, .current-menu-ancestor > a, .current_page_ancestor > a, .current_page_parent > a, .hp-menu--site-header .current-menu-item > a, .hp-menu--site-header .current-menu-ancestor > a, .hp-menu--primary .current-menu-item > a, .hp-menu--primary .current-menu-ancestor > a, .menu-item--active > a, .is-active > a, a[aria-current="page"] {
  background: rgba(214,163,24,0.10) !important;
      color: #d6a318 !important;
      font-weight: 600 !important;
}

.tax-hp_listing_category .header-hero, .term-hp_listing_category .header-hero, .hp-listing-category--view-page.header-hero {
  overflow: visible !important;
      padding-bottom: 120px !important;
}

.tax-hp_listing_category .header-hero__content, .term-hp_listing_category .header-hero__content, .hp-listing-category--view-page .header-hero__content {
  overflow: visible !important;
      padding-bottom: 40px !important;
}

.tax-hp_listing_category .hp-form--listing-search, .term-hp_listing_category .hp-form--listing-search, .hp-listing-category--view-page .hp-form--listing-search {
  position: relative !important;
      z-index: 31 !important;
}

.tax-hp_listing_category .site-content, .term-hp_listing_category .site-content, body.tax-hp_listing_category .hp-page, body.term-hp_listing_category .hp-page {
  position: relative !important;
      z-index: 1 !important;
      padding-top: 80px !important;
}

.widget.hp-widget.hp-widget--listing-filter {
  margin-right: 20px !important;
      padding: 18px !important;
      border-radius: 24px !important;
      background: rgba(255,255,255,0.86) !important;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 18px 40px rgba(31,43,55,0.07), inset 0 1px 0 rgba(255,255,255,0.6) !important;
      border: 1px solid rgba(255,255,255,0.9) !important;
}

.hp-form--listing-filter {
  display: flex;
      flex-direction: column;
      gap: 2px;
}

.hp-form--listing-filter .hp-form__fields {
  display: flex;
      flex-direction: column;
      gap: 8px !important;
}

.hp-form--listing-filter .hp-form__field {
  padding: 0 !important;
      position: relative;
      margin: 0 !important;
}

.hp-form--listing-filter .hp-field__label {
  margin-bottom: 6px !important;
}

.hp-form--listing-filter .hp-field__label span {
  font-size: 11px !important;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #6c7682;
}

.hp-form--listing-filter select.hp-field--select {
  display: none !important;
}

.hp-form--listing-filter .select2-container {
  width: 100% !important;
}

.hp-form--listing-filter .select2-selection--single {
  height: 48px !important;
      min-height: 48px !important;
      border-radius: 16px !important;
      background: rgba(255,255,255,0.95) !important;
      border: 1px solid rgba(0,0,0,0.07) !important;
      display: flex !important;
      align-items: center !important;
      padding-left: 16px !important;
      padding-right: 40px !important;
      box-shadow: 0 4px 12px rgba(31,43,55,0.035), inset 0 1px 0 rgba(255,255,255,0.6);
      transition: all 0.22s ease;
}

.hp-form--listing-filter .select2-selection__rendered {
  padding: 0 !important;
      margin: 0 !important;
      display: flex !important;
      align-items: center !important;
      height: 100% !important;
      width: 100% !important;
      font-size: 14px !important;
      color: #2f3947 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      line-height: 1 !important;
      transform: none !important;
      text-indent: 0 !important;
}

.hp-form--listing-filter .select2-selection__rendered span {
  padding-left: 0 !important;
}

.hp-form--listing-filter .select2-selection__arrow {
  width: 36px !important;
      right: 10px !important;
      top: 0 !important;
      height: 100% !important;
      display: flex !important;
      align-items: center;
      justify-content: center;
}

.hp-form--listing-filter .select2-selection__arrow b {
  border-color: #8a939d transparent transparent transparent !important;
      border-width: 5px 4px 0 4px !important;
}

.hp-form--listing-filter .select2-selection--single:hover {
  border-color: rgba(0,168,107,0.22) !important;
      box-shadow: 0 6px 16px rgba(31,43,55,0.05), 0 0 0 3px rgba(0,168,107,0.04);
}

.hp-form--listing-filter .select2-container--open .select2-selection--single {
  border-color: rgba(0,168,107,0.30) !important;
      box-shadow: 0 6px 16px rgba(31,43,55,0.05), 0 0 0 4px rgba(0,168,107,0.06);
}

.hp-form--listing-filter .hp-form__footer {
  margin-top: 12px !important;
}

.hp-form--listing-filter .hp-form__button, .hp-form--listing-filter button[type="submit"] {
  width: 100%;
      height: 50px !important;
      border-radius: 16px !important;
      border: none !important;
      background: linear-gradient(135deg, #00a86b, #007a4d) !important;
      color: #fff !important;
      font-size: 15px !important;
      font-weight: 800;
      box-shadow: 0 10px 22px rgba(0,168,107,0.22), 0 4px 10px rgba(0,0,0,0.05);
      transition: all 0.25s ease;
}

.hp-form--listing-filter .hp-form__button:hover, .hp-form--listing-filter button[type="submit"]:hover {
  background: #23684f !important;
      transform: translateY(-2px);
      box-shadow: 0 14px 30px rgba(0,168,107,0.28), 0 6px 12px rgba(0,0,0,0.06);
}

.widget.hp-widget.hp-widget--listing-filter .select2-dropdown {
  background: rgba(255,255,255,0.9) !important;
      backdrop-filter: blur(14px);
      border-radius: 16px !important;
      border: 1px solid rgba(255,255,255,0.7) !important;
}

.widget.hp-widget.hp-widget--listing-filter .select2-results__option {
  border-radius: 12px !important;
      padding: 10px 12px !important;
}

.widget.hp-widget.hp-widget--listing-filter .select2-results__option--highlighted {
  background: rgba(0,168,107,0.10) !important;
      color: #007a4d !important;
}

.header-hero.hp-listing-category.header-hero--large {
  min-height: 520px;
}

body.hp-template--listings-view-page .header-hero, body.hp-template--listings-view-page section.header-hero {
  height: 520px !important;
      min-height: 520px !important;
      max-height: 520px !important;
      position: relative !important;
      overflow: visible !important;
      padding: 0 !important;
      margin: 0 !important;
      box-sizing: border-box !important;
}

body.hp-template--listings-view-page .header-hero__content {
  height: 520px !important;
      max-height: 520px !important;
      overflow: visible !important;
      box-sizing: border-box !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
      padding: 40px 20px 140px 20px !important;
}

body.hp-template--listings-view-page .header-hero .hp-form--listing-search {
  background: rgba(255,255,255,0.72) !important;
      box-shadow: 0 18px 50px rgba(0,0,0,0.18) !important;
}

body.hp-template--listings-view-page .site-content, body.hp-template--listings-view-page .content-area {
  margin-top: 0 !important;
      padding-top: 0 !important;
}

body.hp-template--listings-view-page .hp-page {
  margin-top: 0 !important;
      padding-top: 40px !important;
}

body.hp-template--listings-view-page .hp-page .hp-page__header {
  margin: 0 !important;
      padding: 0 !important;
      min-height: 0 !important;
}


/* ───────────────────────────────────────────────────────────────
   20 ARCHIVIO / CATEGORIE — Pagine annunci, categorie, hero e filtri — @media (max-width: 375px)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 375px) {
  body.post-type-archive-hp_listing .hp-page > .hp-row, body.tax-hp_listing_category .hp-page > .hp-row, body.search .hp-page > .hp-row {
    padding-left: 14px !important;
            padding-right: 14px !important;
  }

  body.post-type-archive-hp_listing .hp-no-results, body.tax-hp_listing_category .hp-no-results, body.search .hp-no-results {
    padding: 20px 16px 18px !important;
            border-radius: 16px !important;
  }

}

/* ───────────────────────────────────────────────────────────────
   20 ARCHIVIO / CATEGORIE — Pagine annunci, categorie, hero e filtri — @media (max-width: 768px)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  body.post-type-archive-hp_listing .header-hero .hero-search-wrap, body.tax-hp_listing_category .header-hero .hero-search-wrap, body.search .header-hero .hero-search-wrap {
    position: relative !important;
            inset: auto !important;
            top: auto !important;
            right: auto !important;
            bottom: auto !important;
            left: auto !important;
            transform: none !important;
            width: 100% !important;
            max-width: 330px !important;
            margin: 24px auto 0 !important;
            padding: 0 !important;
            z-index: 4 !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .site-header, body.tax-hp_listing_category .site-header, body.search .site-header {
    min-height: auto !important;
            max-height: none !important;
            height: auto !important;
            overflow: visible !important;
            display: block !important;
            padding: 0 !important;
  }

  body.post-type-archive-hp_listing .header-navbar, body.tax-hp_listing_category .header-navbar, body.search .header-navbar {
    height: 60px !important;
            min-height: 60px !important;
            max-height: 60px !important;
            overflow: hidden !important;
            display: flex !important;
  }

  body.post-type-archive-hp_listing .site-content, body.tax-hp_listing_category .site-content, body.search .site-content {
    padding-top: 0 !important;
            margin-top: 0 !important;
  }

  body.post-type-archive-hp_listing .site-content > .container, body.tax-hp_listing_category .site-content > .container, body.search .site-content > .container {
    width: 100% !important;
            max-width: 100% !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .header-hero.hp-listing-category, body.tax-hp_listing_category .header-hero.hp-listing-category, body.search .header-hero.hp-listing-category {
    width: 100vw !important;
            max-width: 100vw !important;
            height: 360px !important;
            min-height: 360px !important;
            margin: 0 0 0 calc(50% - 50vw) !important;
            padding: 0 !important;
            position: relative !important;
            overflow: hidden !important;
            background-size: cover !important;
            background-position: center top !important;
            border-radius: 0 !important;
  }

  body.post-type-archive-hp_listing .header-hero.hp-listing-category::before, body.tax-hp_listing_category .header-hero.hp-listing-category::before, body.search .header-hero.hp-listing-category::before {
    content: "" !important;
            position: absolute !important;
            inset: 0 !important;
            z-index: 0 !important;
            background: linear-gradient( to bottom, rgba(5, 18, 28, 0.56), rgba(5, 18, 28, 0.42) ) !important;
            pointer-events: none !important;
  }

  body.post-type-archive-hp_listing .header-hero__content, body.tax-hp_listing_category .header-hero__content, body.search .header-hero__content {
    height: 360px !important;
            min-height: 360px !important;
            padding: 78px 22px 0 !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: flex-start !important;
            position: relative !important;
            z-index: 2 !important;
            overflow: visible !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .header-hero .container, body.post-type-archive-hp_listing .header-hero .row, body.post-type-archive-hp_listing .header-hero [class*="col-"], body.tax-hp_listing_category .header-hero .container, body.tax-hp_listing_category .header-hero .row, body.tax-hp_listing_category .header-hero [class*="col-"], body.search .header-hero .container, body.search .header-hero .row, body.search .header-hero [class*="col-"] {
    width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            float: none !important;
            left: auto !important;
            right: auto !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .hp-listing-category__header, body.tax-hp_listing_category .hp-listing-category__header, body.search .hp-listing-category__header {
    width: 100% !important;
            max-width: 340px !important;
            margin: 0 auto !important;
            padding: 0 !important;
            text-align: center !important;
            position: relative !important;
            z-index: 3 !important;
  }

  body.post-type-archive-hp_listing .hp-listing-category__name, body.tax-hp_listing_category .hp-listing-category__name, body.search .hp-listing-category__name {
    color: #ffffff !important;
            font-size: 34px !important;
            line-height: 1.05 !important;
            font-weight: 800 !important;
            letter-spacing: -0.9px !important;
            margin: 0 0 12px !important;
            padding: 0 !important;
            text-align: center !important;
            text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25) !important;
  }

  body.post-type-archive-hp_listing .hp-listing-category__description, body.tax-hp_listing_category .hp-listing-category__description, body.search .hp-listing-category__description {
    color: rgba(255, 255, 255, 0.94) !important;
            font-size: 15px !important;
            line-height: 1.38 !important;
            max-width: 320px !important;
            margin: 0 auto !important;
            padding: 0 !important;
            text-align: center !important;
  }

  body.post-type-archive-hp_listing .header-hero .hp-form--listing-search, body.tax-hp_listing_category .header-hero .hp-form--listing-search, body.search .header-hero .hp-form--listing-search {
    width: 100% !important;
            height: auto !important;
            min-height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            display: block !important;
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            overflow: visible !important;
  }

  body.post-type-archive-hp_listing .header-hero .hp-form__fields, body.tax-hp_listing_category .header-hero .hp-form__fields, body.search .header-hero .hp-form__fields {
    display: block !important;
            width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
  }

  body.post-type-archive-hp_listing .header-hero .hp-form__field--select, body.tax-hp_listing_category .header-hero .hp-form__field--select, body.search .header-hero .hp-form__field--select, body.post-type-archive-hp_listing .header-hero .hp-form__footer, body.tax-hp_listing_category .header-hero .hp-form__footer, body.search .header-hero .hp-form__footer {
    display: none !important;
  }

  body.post-type-archive-hp_listing .header-hero .hp-form__field--search, body.tax-hp_listing_category .header-hero .hp-form__field--search, body.search .header-hero .hp-form__field--search {
    width: 100% !important;
            height: 54px !important;
            min-height: 54px !important;
            margin: 0 !important;
            padding: 0 !important;
            position: relative !important;
            display: block !important;
            border-radius: 999px !important;
            background: rgba(255, 255, 255, 0.96) !important;
            border: 1px solid rgba(255, 255, 255, 0.70) !important;
            box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22) !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
  }

  body.post-type-archive-hp_listing .header-hero .hp-form__field--search::before, body.tax-hp_listing_category .header-hero .hp-form__field--search::before, body.search .header-hero .hp-form__field--search::before {
    content: "" !important;
            position: absolute !important;
            left: 20px !important;
            top: 50% !important;
            width: 13px !important;
            height: 13px !important;
            border: 2px solid rgba(100, 116, 139, 0.38) !important;
            border-radius: 50% !important;
            transform: translateY(-50%) !important;
            z-index: 5 !important;
            pointer-events: none !important;
            box-sizing: border-box !important;
            display: block !important;
  }

  body.post-type-archive-hp_listing .header-hero .hp-form__field--search::after, body.tax-hp_listing_category .header-hero .hp-form__field--search::after, body.search .header-hero .hp-form__field--search::after {
    content: "" !important;
            position: absolute !important;
            left: 31px !important;
            top: 50% !important;
            width: 8px !important;
            height: 2px !important;
            background: rgba(100, 116, 139, 0.38) !important;
            border-radius: 999px !important;
            transform: translateY(5px) rotate(45deg) !important;
            transform-origin: left center !important;
            z-index: 5 !important;
            pointer-events: none !important;
            display: block !important;
  }

  body.post-type-archive-hp_listing .header-hero input[name="s"], body.tax-hp_listing_category .header-hero input[name="s"], body.search .header-hero input[name="s"] {
    width: 100% !important;
            height: 54px !important;
            min-height: 54px !important;
            padding: 0 18px 0 52px !important;
            margin: 0 !important;
            border: 0 !important;
            outline: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            font-size: 15px !important;
            line-height: 54px !important;
            color: #111827 !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .header-hero input[name="s"]::placeholder, body.tax-hp_listing_category .header-hero input[name="s"]::placeholder, body.search .header-hero input[name="s"]::placeholder {
    color: #9aa4af !important;
            opacity: 1 !important;
  }

  body.post-type-archive-hp_listing .hp-page__header, body.tax-hp_listing_category .hp-page__header, body.search .hp-page__header {
    width: 100% !important;
            margin: 0 !important;
            padding: 12px 12px 10px !important;
            background: transparent !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .hp-button--listing-filter.arr-original-filter-btn, body.tax-hp_listing_category .hp-button--listing-filter.arr-original-filter-btn, body.search .hp-button--listing-filter.arr-original-filter-btn {
    display: none !important;
  }

  body.post-type-archive-hp_listing .arr-original-sort-form, body.tax-hp_listing_category .arr-original-sort-form, body.search .arr-original-sort-form {
    display: none !important;
  }

  body.post-type-archive-hp_listing .hp-page__topbar, body.tax-hp_listing_category .hp-page__topbar, body.search .hp-page__topbar {
    display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            margin: 2px 0 12px !important;
            padding: 0 12px !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .hp-result-count, body.tax-hp_listing_category .hp-result-count, body.search .hp-result-count {
    width: 100% !important;
            text-align: center !important;
            font-size: 12px !important;
            line-height: 1.3 !important;
            font-weight: 650 !important;
            color: #6b7280 !important;
            margin: 0 !important;
            padding: 0 !important;
  }

  body.post-type-archive-hp_listing .hp-page__content, body.tax-hp_listing_category .hp-page__content, body.search .hp-page__content {
    padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing, body.tax-hp_listing_category, body.search {
    background: #f5f7f8 !important;
  }

  body.post-type-archive-hp_listing .hp-page__content, body.tax-hp_listing_category .hp-page__content, body.search .hp-page__content {
    width: 100% !important;
            max-width: 100% !important;
            padding: 0 0 18px !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .hp-page > .hp-row, body.tax-hp_listing_category .hp-page > .hp-row, body.search .hp-page > .hp-row {
    display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding: 0 18px 24px !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .hp-page__content:has(.hp-no-results), body.tax-hp_listing_category .hp-page__content:has(.hp-no-results), body.search .hp-page__content:has(.hp-no-results) {
    display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .hp-no-results, body.tax-hp_listing_category .hp-no-results, body.search .hp-no-results {
    position: relative !important;
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 18px 0 24px !important;
            padding: 22px 18px 20px !important;
            border: 1px solid rgba(17, 24, 39, 0.06) !important;
            border-radius: 18px !important;
            background: #ffffff !important;
            box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08) !important;
            text-align: left !important;
            box-sizing: border-box !important;
  }

  body.post-type-archive-hp_listing .hp-no-results::before, body.tax-hp_listing_category .hp-no-results::before, body.search .hp-no-results::before {
    content: "" !important;
            display: inline-flex !important;
            position: absolute !important;
            top: 26px !important;
            left: 18px !important;
            align-items: center !important;
            justify-content: center !important;
            width: 22px !important;
            height: 26px !important;
            margin: 0 !important;
            border-radius: 0 !important;
            color: #00a86b !important;
            background: transparent !important;
            font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
            font-size: 17px !important;
            font-weight: 900 !important;
            line-height: 1 !important;
  }

  body.post-type-archive-hp_listing .hp-no-results h2, body.tax-hp_listing_category .hp-no-results h2, body.search .hp-no-results h2 {
    margin: 0 0 8px !important;
            padding: 0 0 0 30px !important;
            color: #111827 !important;
            font-size: 24px !important;
            font-weight: 850 !important;
            line-height: 1.08 !important;
            letter-spacing: 0 !important;
            text-align: left !important;
  }

  body.post-type-archive-hp_listing .hp-no-results p, body.tax-hp_listing_category .hp-no-results p, body.search .hp-no-results p {
    max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            color: #667085 !important;
            font-size: 15px !important;
            font-weight: 500 !important;
            line-height: 1.45 !important;
            letter-spacing: 0 !important;
            text-align: left !important;
  }

  body.hp-template--listings-view-page .hp-page {
    margin-top: 0px !important;
            padding-top: 0px !important;
  }

  body.hp-template--listings-view-page .hp-page > .hp-row {
    width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            box-sizing: border-box !important;
  }

}

/* ═══════════════════════════════════════════════════════════════════
   20.1 ARCHIVIO / CATEGORIE — toolbar mobile spostata da 90
   Regole in questa sezione: 25
   ═══════════════════════════════════════════════════════════════════ */
/* Spostato da fallback: toolbar mobile categorie/sort. */

/* ───────────────────────────────────────────────────────────────
   20.1 ARCHIVIO / CATEGORIE — toolbar mobile spostata da 90 — @media (max-width: 768px)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .arr-mobile-toolbar {
      width: 100% !important;
              max-width: 100% !important;
              display: grid !important;
              grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
              gap: 8px !important;
              padding: 8px !important;
              margin: 0 auto 8px !important;
              border-radius: 0 0 22px 22px !important;
              background: rgba(255, 255, 255, 0.96) !important;
              border: 1px solid rgba(15, 23, 42, 0.08) !important;
              box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
              box-sizing: border-box !important;
              position: relative !important;
              z-index: 80 !important;
    }

  .arr-mobile-toolbar--three {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

  .arr-mobile-category-wrap, .arr-mobile-sort-wrap {
      position: relative !important;
              min-width: 0 !important;
              width: 100% !important;
    }

  .arr-mobile-toolbar__btn {
      appearance: none !important;
              -webkit-appearance: none !important;
              width: 100% !important;
              height: 50px !important;
              min-height: 50px !important;
              display: inline-flex !important;
              align-items: center !important;
              justify-content: center !important;
              gap: 6px !important;
              padding: 0 6px !important;
              margin: 0 !important;
              border-radius: 16px !important;
              border: 1px solid rgba(15, 23, 42, 0.08) !important;
              background: linear-gradient(180deg, #ffffff, #fbfcfd) !important;
              color: #1f2937 !important;
              box-shadow: 0 6px 16px rgba(15, 23, 42, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
              font-family: inherit !important;
              font-size: 11px !important;
              font-weight: 800 !important;
              line-height: 1 !important;
              letter-spacing: -0.15px !important;
              cursor: pointer !important;
              box-sizing: border-box !important;
              text-decoration: none !important;
              -webkit-tap-highlight-color: transparent !important;
              transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease !important;
    }

  .arr-mobile-toolbar__btn i {
      font-size: 14px !important;
              line-height: 1 !important;
              color: #2a7a5c !important;
              margin: 0 !important;
              padding: 0 !important;
    }

  .arr-mobile-toolbar__btn span {
      display: inline-block !important;
              font-size: 11px !important;
              font-weight: 800 !important;
              line-height: 1 !important;
              color: inherit !important;
              white-space: nowrap !important;
    }

  .arr-mobile-toolbar__btn:active {
      transform: scale(0.98) !important;
    }

  .arr-mobile-toolbar__btn:hover, .arr-mobile-toolbar__btn:focus {
      border-color: rgba(42, 122, 92, 0.20) !important;
              background: linear-gradient(180deg, #ffffff, #f7fbf9) !important;
              box-shadow: 0 8px 18px rgba(42, 122, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
              outline: none !important;
    }

  .arr-mobile-category-wrap.is-open .arr-mobile-toolbar__btn--category, .arr-mobile-sort-wrap.is-open .arr-mobile-toolbar__btn--sort {
      border-color: rgba(42, 122, 92, 0.28) !important;
              background: rgba(42, 122, 92, 0.08) !important;
              color: #2a7a5c !important;
    }

  .arr-mobile-category-menu, .arr-mobile-sort-menu {
      display: none !important;
              position: absolute !important;
              top: calc(100% + 10px) !important;
              left: 0 !important;
              right: auto !important;
              width: 260px !important;
              max-width: calc(100vw - 24px) !important;
              max-height: 62vh !important;
              overflow-y: auto !important;
              padding: 8px !important;
              margin: 0 !important;
              border-radius: 22px !important;
              background: linear-gradient(180deg, #ffffff, #fbfcfd) !important;
              border: 1px solid rgba(15, 23, 42, 0.08) !important;
              box-shadow: 0 22px 58px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
              box-sizing: border-box !important;
              z-index: 99999 !important;
              -webkit-overflow-scrolling: touch !important;
    }

  .arr-mobile-sort-menu {
      left: auto !important;
              right: 0 !important;
    }

  .arr-mobile-category-wrap.is-open .arr-mobile-category-menu, .arr-mobile-sort-wrap.is-open .arr-mobile-sort-menu {
      display: block !important;
    }

  .arr-mobile-category-menu::before, .arr-mobile-sort-menu::before {
      content: "" !important;
              position: absolute !important;
              top: -6px !important;
              width: 12px !important;
              height: 12px !important;
              background: #ffffff !important;
              border-left: 1px solid rgba(15, 23, 42, 0.08) !important;
              border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
              transform: rotate(45deg) !important;
    }

  .arr-mobile-category-menu::before {
      left: 26px !important;
    }

  .arr-mobile-sort-menu::before {
      right: 26px !important;
    }

  .arr-mobile-category-menu__item, .arr-mobile-sort-menu__item {
      appearance: none !important;
              -webkit-appearance: none !important;
              width: 100% !important;
              min-height: 48px !important;
              display: flex !important;
              align-items: center !important;
              justify-content: flex-start !important;
              gap: 10px !important;
              padding: 0 12px !important;
              margin: 0 0 6px !important;
              border-radius: 15px !important;
              border: 1px solid transparent !important;
              background: transparent !important;
              color: #1f2937 !important;
              box-shadow: none !important;
              font-family: inherit !important;
              text-align: left !important;
              cursor: pointer !important;
              box-sizing: border-box !important;
              -webkit-tap-highlight-color: transparent !important;
              transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease !important;
    }

  .arr-mobile-category-menu__item:last-child, .arr-mobile-sort-menu__item:last-child {
      margin-bottom: 0 !important;
    }

  .arr-mobile-category-menu__item {
      gap: 0 !important;
    }

  .arr-mobile-category-menu__item i {
      display: none !important;
    }

  .arr-mobile-sort-menu__item i {
      width: 28px !important;
              min-width: 28px !important;
              height: 28px !important;
              display: inline-flex !important;
              align-items: center !important;
              justify-content: center !important;
              border-radius: 50% !important;
              background: rgba(42, 122, 92, 0.08) !important;
              color: #2a7a5c !important;
              font-size: 13px !important;
              line-height: 1 !important;
              margin: 0 !important;
              padding: 0 !important;
    }

  .arr-mobile-category-menu__item span, .arr-mobile-sort-menu__item span {
      display: block !important;
              min-width: 0 !important;
              font-size: 13px !important;
              line-height: 1.22 !important;
              font-weight: 750 !important;
              color: inherit !important;
              white-space: normal !important;
              overflow-wrap: anywhere !important;
    }

  .arr-mobile-category-menu__item:hover, .arr-mobile-sort-menu__item:hover {
      background: rgba(42, 122, 92, 0.06) !important;
              border-color: rgba(42, 122, 92, 0.10) !important;
              color: #2a7a5c !important;
    }

  .arr-mobile-category-menu__item:active, .arr-mobile-sort-menu__item:active {
      transform: scale(0.985) !important;
    }

  .arr-mobile-category-menu__item.is-active, .arr-mobile-sort-menu__item.is-active {
      background: rgba(42, 122, 92, 0.10) !important;
              border-color: rgba(42, 122, 92, 0.18) !important;
              color: #2a7a5c !important;
              font-weight: 800 !important;
    }

  .arr-mobile-sort-menu__item.is-active i {
      background: #2a7a5c !important;
              color: #ffffff !important;
    }
}
