/* --- ID 218: commandes rows visual parity with annonces (safe table mode) --- */
@media (min-width: 769px){
  .hp-page__content .woocommerce-orders-table.woocommerce-MyAccount-orders{
    border-collapse:separate !important;
    border-spacing:0 18px !important;
    background:transparent !important;
    table-layout:auto !important;
  }

  .hp-page__content .woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr{
    background:transparent !important;
    filter:drop-shadow(0 24px 80px rgba(15,23,42,.06));
    transition:filter .18s ease, transform .18s ease !important;
  }

  .hp-page__content .woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr:hover{
    transform:translateY(-2px) !important;
    filter:drop-shadow(0 22px 60px rgba(76,111,255,.22));
  }

  .hp-page__content .woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr > th,
  .hp-page__content .woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr > td{
    background:#ffffff !important;
    border:0 !important;
    padding:16px 24px !important;
    vertical-align:middle !important;
    overflow:visible !important;
    text-overflow:clip !important;
    white-space:normal !important;
  }

  .hp-page__content .woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr > *:first-child{
    border-top-left-radius:26px !important;
    border-bottom-left-radius:26px !important;
  }

  .hp-page__content .woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr > *:last-child{
    border-top-right-radius:26px !important;
    border-bottom-right-radius:26px !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-number,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-date,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-status,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-total,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-actions,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-number,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-date,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-status,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-total,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-actions{
    width:auto !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-date time{
    overflow:visible !important;
    text-overflow:clip !important;
    white-space:nowrap !important;
    max-width:none !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-status,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-actions{
    white-space:nowrap !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-actions{
    text-align:right !important;
    padding-right:26px !important;
  }
}

/* --- ID 219: commandes desktop anti-clipping (align style annonces) --- */
@media (min-width: 769px){
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-MyAccount-content,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table.woocommerce-MyAccount-orders,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table.woocommerce-MyAccount-orders tbody,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr{
    overflow: visible !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table.woocommerce-MyAccount-orders::before{
    content: none !important;
    display: none !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table.woocommerce-MyAccount-orders{
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 18px !important;
    background: transparent !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr:hover{
    transform: none !important;
    filter: drop-shadow(0 12px 28px rgba(15,23,42,.10)) !important;
    box-shadow: none !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr > th,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr > td{
    background: #ffffff !important;
    border: 0 !important;
    padding: 18px 22px !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr > *:first-child{
    border-top-left-radius: 26px !important;
    border-bottom-left-radius: 26px !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr > *:last-child{
    border-top-right-radius: 26px !important;
    border-bottom-right-radius: 26px !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr:hover > th,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr:hover > td{
    background: #fbfcff !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table tbody tr:hover{
    filter: drop-shadow(0 18px 38px rgba(76,111,255,.18)) !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-number,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-date,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-status,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-total,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__header-order-actions,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-number,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-date,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-status,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-total,
  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-actions{
    width: auto !important;
    max-width: none !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-date time{
    display: block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .hp-page__content:has(.woocommerce-orders-table) .woocommerce-orders-table__cell-order-actions{
    text-align: center !important;
    white-space: nowrap !important;
    min-width: 140px !important;
    padding-right: 22px !important;
  }
}

/* --- ID 220: commandes détail (view-order) - style DA moderne --- */
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details){
  padding-top: 0 !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) > p{
  margin: 0 0 8px !important;
  color: #8e99ad !important;
  font-size: .84rem !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-order-details{
  margin-top: 14px !important;
  padding: 18px 18px 10px !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  border: 1px solid rgba(76,111,255,.08) !important;
  box-shadow: 0 18px 46px rgba(15,23,42,.09) !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-order-details__title{
  margin: 2px 0 14px !important;
  color: #1f2b45 !important;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem) !important;
  line-height: 1.15 !important;
}

body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details{
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #ffffff !important;
}

body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details thead th,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details thead th{
  background: linear-gradient(180deg, #f6f8ff 0%, #eef2ff 100%) !important;
  color: #6e7b91 !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
  border: 0 !important;
  padding: 14px 16px !important;
}

body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tbody td,
body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tfoot td,
body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tfoot th,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tbody td,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tfoot td,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tfoot th{
  border-top: 1px solid rgba(15,23,42,.08) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  padding: 13px 16px !important;
  background: #ffffff !important;
}

body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tbody tr:first-child td,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tbody tr:first-child td{
  border-top: 0 !important;
}

body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:last-child td,
body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tfoot tr:last-child td,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tfoot tr:last-child th{
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-details .product-name,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-table--order-details .product-name{
  color: #1f2b45 !important;
  font-size: 1.03rem !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-details .product-quantity.hr-order-quantity,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-table--order-details .product-quantity.hr-order-quantity{
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 8px !important;
  padding: 2px 10px !important;
  border-radius: 999px !important;
  background: rgba(76,111,255,.1) !important;
  color: #4c6fff !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-details tfoot tr:last-child td,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-table--order-details tfoot tr:last-child td{
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #1f2b45 !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .order-again .button,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-order-details .order-again .button{
  margin-top: 12px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #5f7cff 0%, #3f63f2 100%) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(76,111,255,.25) !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details,
body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-customer-details{
  margin-top: 16px !important;
  padding: 18px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(76,111,255,.08) !important;
  box-shadow: 0 12px 30px rgba(15,23,42,.07) !important;
}

@media (max-width: 768px){
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details,
  body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) .woocommerce-order-details{
    padding: 14px 12px 8px !important;
    border-radius: 20px !important;
  }

  body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details thead th,
  body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details thead th,
  body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tbody td,
  body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tfoot th,
  body.woocommerce-account.woocommerce-view-order table.woocommerce-table--order-details tfoot td,
  body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tbody td,
  body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tfoot th,
  body.woocommerce-account .woocommerce-MyAccount-content:has(.woocommerce-order-details) table.woocommerce-table--order-details tfoot td{
    padding: 11px 10px !important;
    font-size: .94rem !important;
  }
}

/* --- ID 221: header icons parity (home = add listing) --- */
:root{
  --hr-header-circle-size-desktop: 52px;
  --hr-header-circle-size-mobile: 48px;
}

.site-header .header-navbar__menu .menu > li.menu-item-home > a,
.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit{
  aspect-ratio: 1 / 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 var(--hr-header-circle-size-desktop) !important;
}

.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit i{
  font-size: 21px !important;
}

/* --- ID 222: similar cards radius parity (frame = image corners) --- */
body.single-hp_listing .hp-page__footer .hp-section{
  --hr-similar-card-radius: 26px;
}

body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block{
  border-radius: var(--hr-similar-card-radius) !important;
  overflow: hidden !important;
}

body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block .hp-listing__header,
body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block .hp-listing__image,
body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block .hp-listing__image > a,
body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block .hp-listing__image img{
  border-top-left-radius: var(--hr-similar-card-radius) !important;
  border-top-right-radius: var(--hr-similar-card-radius) !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 768px){
  body.single-hp_listing .hp-page__footer .hp-section{
    --hr-similar-card-radius: 24px;
  }
}

/* --- ID 223: property cards footer parity (prix gauche, actions droite) --- */
body .hp-listings.hp-grid .hp-listing.hp-listing--view-block{
  display: flex !important;
  flex-direction: column !important;
}

body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__content{
  flex: 1 1 auto !important;
}

body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__footer{
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__attributes--primary{
  display: flex !important;
  align-items: center !important;
  margin-right: auto !important;
  min-width: 0 !important;
}

body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__attribute--price{
  margin-right: 0 !important;
}

body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__actions--primary{
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

/* --- ID 224: mobile cards radius parity (frame = image) --- */
@media (max-width: 768px){
  body .hp-listings.hp-grid .hp-listing.hp-listing--view-block{
    --hr-mobile-card-radius: 24px;
    border-radius: var(--hr-mobile-card-radius) !important;
    overflow: hidden !important;
  }

  body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__header,
  body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__image,
  body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__image > a,
  body .hp-listings.hp-grid .hp-listing.hp-listing--view-block .hp-listing__image img{
    border-top-left-radius: var(--hr-mobile-card-radius) !important;
    border-top-right-radius: var(--hr-mobile-card-radius) !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    overflow: hidden !important;
  }
}

/* --- ID 225: mobile/desktop hard lock (add button size = home button size) --- */
:root{
  --hr-header-circle-size-current: var(--hr-header-circle-size-desktop, 52px);
}

@media (max-width: 768px){
  :root{
    --hr-header-circle-size-current: var(--hr-header-circle-size-mobile, 48px);
  }
}

.site-header .header-navbar__menu .menu > li.menu-item-home,
.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit,
.site-header .header-navbar__actions .hp-menu__item--listing-submit{
  width: var(--hr-header-circle-size-current) !important;
  min-width: var(--hr-header-circle-size-current) !important;
  max-width: var(--hr-header-circle-size-current) !important;
  height: var(--hr-header-circle-size-current) !important;
  min-height: var(--hr-header-circle-size-current) !important;
  max-height: var(--hr-header-circle-size-current) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
}

.site-header .header-navbar__menu .menu > li.menu-item-home,
.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit{
  flex: 0 0 var(--hr-header-circle-size-current) !important;
}

.site-header .header-navbar__menu .menu > li.menu-item-home > a,
.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit{
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  transform: none !important;
}

.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit i{
  transform: none !important;
  line-height: 1 !important;
}

/* --- ID 226: mobile header hard layout lock (logo left, icons right, no overlap) --- */
@media (max-width: 768px){
  body .site-header .header-navbar{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    overflow:visible !important;
  }

  /* Neutralize legacy "display: contents" flattening on mobile */
  body .site-header .header-navbar__menu,
  body .site-header .header-navbar__actions,
  body .site-header .header-navbar__menu .menu.wrap,
  body .site-header .header-navbar__menu > ul.wrap,
  body .site-header .header-navbar__actions .hp-menu--site-header,
  body .site-header .header-navbar__actions .hp-menu.hp-menu--main{
    display:block !important;
  }

  body .site-header .header-navbar__start{
    display:flex !important;
    align-items:center !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:52vw !important;
    margin-right:8px !important;
    order:1 !important;
  }

  body .site-header .header-logo,
  body .site-header .header-logo .custom-logo-link{
    display:block !important;
    line-height:0 !important;
    max-width:100% !important;
  }

  body .site-header .header-logo img,
  body .site-header .header-logo img.custom-logo{
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-height:34px !important;
    max-width:100% !important;
    object-fit:contain !important;
  }

  body .site-header .header-navbar__end{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    flex:0 0 auto !important;
    min-width:max-content !important;
    margin-left:auto !important;
    overflow:visible !important;
    order:2 !important;
  }

  /* Fallback if logo is rendered inside __end on some templates */
  body .site-header .header-navbar__end .header-logo,
  body .site-header .header-navbar__end .header-logo .custom-logo-link{
    order:-100 !important;
    margin-right:auto !important;
    max-width:52vw !important;
  }

  body .site-header .header-navbar__menu{
    flex:0 0 auto !important;
    margin:0 !important;
    padding:0 !important;
  }

  body .site-header .header-navbar__menu .menu,
  body .site-header .header-navbar__menu .menu.wrap,
  body .site-header .header-navbar__menu > ul.wrap{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
  }

  body .site-header .header-navbar__menu .menu > li{
    flex:0 0 auto !important;
    margin:0 !important;
    padding:0 !important;
  }

  /* Avoid right-group overlap by removing mobile legacy offset on user trigger */
  body .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"]{
    margin-inline-start:0 !important;
  }

  /* Business shortcuts stay in account dropdown on mobile */
  body .site-header .header-navbar__menu .menu > li.hr-menu-item--proshop,
  body .site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions{
    display:none !important;
  }

  /* Keep only menu-hosted controls in the right cluster */
  body .site-header .header-navbar__actions{
    display:none !important;
  }
}

/* --- ID 227: mobile header final anti-overlap fix (no absolute logo) --- */
@media (max-width: 768px){
  body .site-header .header-navbar{
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 8px !important;
    min-height: 64px !important;
    padding: 10px 10px !important;
    box-sizing: border-box !important;
  }

  body .site-header .header-navbar__start{
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body .site-header .header-logo{
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body .site-header .header-logo .custom-logo-link{
    display: block !important;
    line-height: 0 !important;
  }

  body .site-header .header-logo img,
  body .site-header .header-logo img.custom-logo{
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(48vw, 190px) !important;
    max-height: 34px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body .site-header .header-navbar__end{
    grid-column: 2 !important;
    width: auto !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body .site-header .header-navbar__end .header-logo,
  body .site-header .header-navbar__end .header-logo .custom-logo-link{
    display: none !important;
  }

  body .site-header .header-navbar__menu{
    width: auto !important;
    margin-left: auto !important;
    display: block !important;
  }

  body .site-header .header-navbar__menu .menu,
  body .site-header .header-navbar__menu .menu.wrap{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  body .site-header .header-navbar__menu .menu > li.hr-menu-item--proshop,
  body .site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions{
    display: none !important;
  }

  body .site-header .header-navbar__menu .menu > li.menu-item-home > a,
  body .site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit,
  body .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item,
  body .site-header .header-navbar__menu .menu > li.menu-item--last.menu-item--user-account > a.hp-menu__item{
    width: var(--hr-header-circle-size-current) !important;
    height: var(--hr-header-circle-size-current) !important;
    min-width: var(--hr-header-circle-size-current) !important;
    min-height: var(--hr-header-circle-size-current) !important;
    max-width: var(--hr-header-circle-size-current) !important;
    max-height: var(--hr-header-circle-size-current) !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.12) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body .site-header .header-navbar__menu .menu > li.menu-item--user-account > a.hp-menu__item{
    font-size: 0 !important;
  }

  body .site-header .header-navbar__menu .menu > li.menu-item--user-account > a.hp-menu__item > span,
  body .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children > a.hp-menu__item > span,
  body .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item > span{
    display: none !important;
  }

  body .site-header .header-navbar__menu .menu > li.menu-item--user-account > a.hp-menu__item i.hp-icon{
    font-size: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: #ffffff !important;
  }
}

/* --- ID 228: header icon system refresh (desktop + mobile) --- */
:root{
  --hr-header-icon-size-desktop: 52px;
  --hr-header-icon-size-mobile: 48px;
  --hr-header-icon-bg: rgba(255,255,255,.13);
  --hr-header-icon-border: rgba(255,255,255,.25);
  --hr-header-icon-glow: 0 10px 24px rgba(16,29,66,.24), 0 0 0 1px rgba(210,224,255,.38);
}

.hr-sr-only{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.site-header .header-navbar__menu .menu > li.menu-item-home > a,
.site-header .header-navbar__menu .menu > li.hr-menu-item--proshop > a.hr-header-link-button,
.site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions > a.hr-header-link-button,
.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit,
.site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > a,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > button,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap .hr-cart-toggle{
  background: var(--hr-header-icon-bg) !important;
  border: 1px solid var(--hr-header-icon-border) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transition: box-shadow .2s ease, transform .18s ease, border-color .2s ease, background .2s ease !important;
}

.site-header .header-navbar__menu .menu > li.hr-menu-item--proshop > a.hr-header-link-button,
.site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions > a.hr-header-link-button{
  font-size: 0 !important;
}

.site-header .header-navbar__menu .menu > li.hr-menu-item--proshop > a.hr-header-link-button::before,
.site-header .header-navbar__menu .menu > li.hr-menu-item--proshop > a.hr-header-link-button::after,
.site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions > a.hr-header-link-button::before,
.site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions > a.hr-header-link-button::after{
  content: none !important;
  display: none !important;
}

.site-header .header-navbar__menu .menu > li.hr-menu-item--proshop > a.hr-header-link-button > i,
.site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions > a.hr-header-link-button > i{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.site-header .header-navbar__menu .menu > li.menu-item-home > a:hover,
.site-header .header-navbar__menu .menu > li.menu-item-home > a:focus-visible,
.site-header .header-navbar__menu .menu > li.hr-menu-item--proshop > a.hr-header-link-button:hover,
.site-header .header-navbar__menu .menu > li.hr-menu-item--proshop > a.hr-header-link-button:focus-visible,
.site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions > a.hr-header-link-button:hover,
.site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions > a.hr-header-link-button:focus-visible,
.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit:hover,
.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit:focus-visible,
.site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item:hover,
.site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item:focus-visible,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > a:hover,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > a:focus-visible,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > button:hover,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > button:focus-visible,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap .hr-cart-toggle:hover,
.site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap .hr-cart-toggle:focus-visible,
.site-header .hr-mobile-business-grid > .hr-mobile-business-link:hover,
.site-header .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible{
  box-shadow: var(--hr-header-icon-glow) !important;
  transform: translateY(-1px) !important;
}

@media (min-width: 769px){
  .site-header .header-navbar__menu .menu > li.menu-item-home > a,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--proshop > a.hr-header-link-button,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions > a.hr-header-link-button,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > a,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > button,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap .hr-cart-toggle{
    width: var(--hr-header-icon-size-desktop) !important;
    height: var(--hr-header-icon-size-desktop) !important;
    min-width: var(--hr-header-icon-size-desktop) !important;
    min-height: var(--hr-header-icon-size-desktop) !important;
    max-width: var(--hr-header-icon-size-desktop) !important;
    max-height: var(--hr-header-icon-size-desktop) !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .site-header .header-navbar__menu .menu > li.hr-menu-item--proshop{
    margin-inline-start: 18px !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"]{
    margin-inline-start: 18px !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item{
    width: auto !important;
    min-width: var(--hr-header-icon-size-desktop) !important;
    min-height: var(--hr-header-icon-size-desktop) !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 15px !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item > span:not(.hr-user-shortname):not(.screen-reader-text):not(.hr-sr-only){
    display: none !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item .hr-user-shortname{
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
    color: #ffffff !important;
    line-height: 1 !important;
  }
}

@media (max-width: 768px){
  .site-header .header-navbar__menu .menu > li.hr-menu-item--proshop,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions{
    display: none !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"]{
    margin-inline-start: 10px !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item-home > a,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit,
  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > a,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > button,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap .hr-cart-toggle{
    width: var(--hr-header-icon-size-mobile) !important;
    height: var(--hr-header-icon-size-mobile) !important;
    min-width: var(--hr-header-icon-size-mobile) !important;
    min-height: var(--hr-header-icon-size-mobile) !important;
    max-width: var(--hr-header-icon-size-mobile) !important;
    max-height: var(--hr-header-icon-size-mobile) !important;
    border-radius: 999px !important;
    padding: 0 !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item{
    font-size: 0 !important;
    gap: 0 !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item .hr-user-shortname{
    display: none !important;
  }

  .site-header .header-navbar__menu .menu > li.hr-mobile-business-blocks{
    list-style: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  .site-header .hr-mobile-business-grid{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  .site-header .hr-mobile-business-grid > .hr-mobile-business-link{
    min-height: 56px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(188,209,255,.52) !important;
    background: linear-gradient(140deg, rgba(255,255,255,.40), rgba(195,216,255,.20)) !important;
    color: #224283 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .site-header .hr-mobile-business-grid > .hr-mobile-business-link > span{
    display: none !important;
  }

  .site-header .hr-mobile-business-grid > .hr-mobile-business-link > i{
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }
}

/* --- ID 233: header final contract (desktop + mobile/tablet) --- */
.site-header{
  background: #1d2850 !important;
}

.site-header .header-navbar__menu .menu > li.menu-item-home > a{
  font-size: 0 !important;
  color: transparent !important;
  text-shadow: none !important;
  position: relative !important;
}

.site-header .header-navbar__menu .menu > li.menu-item-home > a::before{
  content: "" !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23FFFFFF" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3 10L12 3l9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1v-9z"/></svg>') !important;
}

.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit{
  font-size: 0 !important;
}

.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit span{
  display: none !important;
}

.site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit i{
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

@media (min-width: 1025px){
  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item{
    min-width: 128px !important;
    max-width: 230px !important;
    padding-inline: 14px !important;
    white-space: nowrap !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item .hr-user-shortname{
    display: inline-flex !important;
    max-width: 150px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #ffffff !important;
  }
}

@media (max-width: 1024px){
  .site-header .header-navbar{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 64px !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
  }

  .site-header .header-navbar__burger{
    display: none !important;
  }

  .site-header .header-navbar__start{
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    max-width: 56% !important;
    overflow: hidden !important;
  }

  .site-header .header-logo,
  .site-header .header-logo .custom-logo-link{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .header-logo img,
  .site-header .header-logo img.custom-logo{
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(52vw, 196px) !important;
    max-height: 34px !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain !important;
  }

  .site-header .header-navbar__end{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .site-header .header-navbar__menu{
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }

  .site-header .header-navbar__menu .menu,
  .site-header .header-navbar__menu .menu.wrap,
  .site-header .header-navbar__menu > ul.wrap{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .header-navbar__menu .menu > li.hr-menu-item--proshop,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--subscriptions,
  .site-header .header-navbar__menu .menu > li.menu-item--first.menu-item--user-account,
  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="0"]{
    display: none !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"]{
    display: list-item !important;
    margin-inline-start: 10px !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item-home > a,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--listing-submit > .hp-menu__item--listing-submit,
  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > a,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap > button,
  .site-header .header-navbar__menu .menu > li.hr-menu-item--cart > .hr-cart-wrap .hr-cart-toggle{
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    gap: 0 !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account::before,
  .site-header .header-navbar__menu .menu > li.menu-item--user-account::after,
  .site-header .header-navbar__menu .menu > li.menu-item--user-account > a::before,
  .site-header .header-navbar__menu .menu > li.menu-item--user-account > a::after,
  .site-header .header-navbar__menu ul li.menu-item-has-children::before,
  .site-header .header-navbar__menu ul li.menu-item-has-children::after{
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account > a.hp-menu__item > span:not(.screen-reader-text):not(.hr-sr-only),
  .site-header .header-navbar__menu .menu > li.menu-item--user-account > a.hp-menu__item .hr-user-shortname{
    display: none !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account > a.hp-menu__item i.hp-icon{
    display: inline-flex !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    opacity: 1 !important;
  }
}

/* --- ID 234b: header polish final priority (desktop alignment + stable dropdown + mobile fullscreen panel) --- */
html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children:not(.is-open):focus-within > .sub-menu,
html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children:not(.is-open):focus-within > ul.sub-menu,
html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children:not(.is-open):hover > .sub-menu,
html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children:not(.is-open):hover > ul.sub-menu{
  display: none !important;
  max-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

html.hr-header-dropdown-open,
body.hr-header-dropdown-open{
  overflow: hidden !important;
}

/* Desktop: lock page scroll when opening account dropdown */
@media (min-width: 1025px){
  html.hr-header-dropdown-open,
  body.hr-header-dropdown-open,
  html.hr-lock-scroll,
  body.hr-lock-scroll{
    overflow: hidden !important;
    height: 100dvh !important;
    overscroll-behavior: none !important;
  }

  body.hr-lock-scroll{
    position: fixed !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
}

@media (min-width: 1025px){
  .site-header .header-navbar{
    align-items: center !important;
    min-height: 96px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .site-header .header-navbar__start,
  .site-header .header-navbar__end{
    display: flex !important;
    align-items: center !important;
  }

  .site-header .header-logo,
  .site-header .header-logo .custom-logo-link{
    display: block !important;
    line-height: 0 !important;
  }

  .site-header .header-logo img,
  .site-header .header-logo img.custom-logo{
    width: auto !important;
    height: auto !important;
    max-height: 88px !important;
    max-width: min(38vw, 520px) !important;
    object-fit: contain !important;
  }
}

@media (max-width: 1024px){
  .site-header .header-navbar__menu .menu,
  .site-header .header-navbar__menu .menu.wrap,
  .site-header .header-navbar__menu > ul.wrap{
    gap: 10px !important;
  }

  .site-header .header-navbar__menu .menu > li{
    margin: 0 !important;
  }

  .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"]{
    margin-inline-start: 0 !important;
  }
}

/* --- ID 234-final: canonical header dropdown (clean single-source) --- */
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu{
  position: fixed !important;
  top: var(--hr-header-dropdown-top-desktop, var(--hr-header-dropdown-top-mobile, calc(env(safe-area-inset-top, 0px) + 78px))) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 10px 18px !important;
  align-content: start !important;
  padding: 16px 20px 20px !important;
  border-radius: 0 0 24px 24px !important;
  border: 1px solid rgba(214, 229, 255, .28) !important;
  border-top-color: rgba(226, 237, 255, .34) !important;
  background:
    radial-gradient(130% 60% at 50% -10%, rgba(165, 196, 255, .30) 0%, rgba(165, 196, 255, 0) 58%),
    linear-gradient(180deg, rgba(18, 30, 74, .94) 0%, rgba(16, 28, 68, .96) 100%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(165%) !important;
  backdrop-filter: blur(22px) saturate(165%) !important;
  box-shadow: 0 24px 56px rgba(3, 10, 34, .48) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: calc(100dvh - var(--hr-header-dropdown-top-desktop, var(--hr-header-dropdown-top-mobile, calc(env(safe-area-inset-top, 0px) + 78px))) - 8px) !important;
  z-index: 1305 !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li{
  list-style: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks{
  grid-column: 1 / -1 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link{
  width: 100% !important;
  min-width: 0 !important;
  min-height: 64px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 14px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(223, 237, 255, .42) !important;
  background: linear-gradient(145deg, rgba(112, 145, 220, .84), rgba(72, 104, 184, .86)) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 12px 30px rgba(7, 15, 44, .34) !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease, filter .2s ease !important;
  transform: none !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > i,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > .hp-icon,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > i,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > .hp-icon{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > .hr-mobile-business-label,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > .hr-mobile-business-label{
  display: inline-block !important;
  color: #f2f7ff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > .screen-reader-text,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > .hr-sr-only,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > .screen-reader-text,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link > .hr-sr-only{
  display: none !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li:not(.hr-mobile-business-blocks) > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li:not(.hr-mobile-business-blocks) > a{
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  width: 100% !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(199, 219, 255, .20) !important;
  background: linear-gradient(150deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06)) !important;
  color: #ecf4ff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease !important;
  transform: none !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li:not(.hr-mobile-business-blocks),
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li:not(.hr-mobile-business-blocks){
  position: relative !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header ul.sub-menu.hp-menu--user-account > li:not(.hr-mobile-business-blocks):hover > a,
html.hr-header-v5.hr-header-dropdown-open .site-header ul.sub-menu.hp-menu--user-account > li:not(.hr-mobile-business-blocks):focus-within > a,
html.hr-header-v5.hr-header-dropdown-open .site-header ul.sub-menu.hp-menu--user-account > li:not(.hr-mobile-business-blocks) > a:hover,
html.hr-header-v5.hr-header-dropdown-open .site-header ul.sub-menu.hp-menu--user-account > li:not(.hr-mobile-business-blocks) > a:focus-visible,
html.hr-header-v5.hr-header-dropdown-open .site-header ul.sub-menu.hp-menu--user-account a.hr-force-hover-link{
  background: linear-gradient(135deg, rgba(190, 217, 255, .86), rgba(132, 172, 255, .78)) !important;
  border-color: rgba(242, 249, 255, .88) !important;
  color: #173a80 !important;
  box-shadow:
    inset 0 0 0 1px rgba(224, 237, 255, .76),
    0 12px 24px rgba(32, 70, 196, .30),
    0 0 24px rgba(142, 184, 255, .38) !important;
  filter: saturate(1.05) brightness(1.03) !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a{
  background: linear-gradient(135deg, rgba(252, 142, 160, .12), rgba(239, 95, 129, .14)) !important;
  border-color: rgba(255, 154, 176, .38) !important;
  color: #ffdfe5 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 176, 193, .14),
    0 8px 16px rgba(131, 20, 50, .18) !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a > span,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a > span{
  color: inherit !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout:hover > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout:focus-within > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a:hover,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a:focus-visible,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a.hr-force-hover-link,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout:hover > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout:focus-within > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a:hover,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a:focus-visible,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a.hr-force-hover-link{
  background: linear-gradient(135deg, rgba(255, 162, 178, .24), rgba(244, 104, 137, .26)) !important;
  border-color: rgba(255, 184, 199, .62) !important;
  color: #fff2f4 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 209, 220, .26),
    0 10px 20px rgba(154, 31, 67, .26),
    0 0 18px rgba(255, 138, 164, .24) !important;
  filter: saturate(1.04) brightness(1.03) !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:hover,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-force-hover-link,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:hover,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-force-hover-link{
  background: linear-gradient(135deg, rgba(208, 228, 255, .92), rgba(152, 188, 255, .84)) !important;
  border-color: rgba(246, 251, 255, .94) !important;
  color: #173a80 !important;
  box-shadow:
    inset 0 0 0 1px rgba(232, 242, 255, .86),
    0 12px 24px rgba(32, 70, 196, .28),
    0 0 20px rgba(142, 184, 255, .34) !important;
  filter: saturate(1.06) brightness(1.04) !important;
  transform: translateY(-1px) !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:hover > i,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:hover > .hp-icon,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible > i,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible > .hp-icon,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-force-hover-link > i,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-force-hover-link > .hp-icon,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:hover > i,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:hover > .hp-icon,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible > i,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible > .hp-icon,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-force-hover-link > i,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-force-hover-link > .hp-icon,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:hover > .hr-mobile-business-label,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible > .hr-mobile-business-label,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-force-hover-link > .hr-mobile-business-label,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:hover > .hr-mobile-business-label,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link:focus-visible > .hr-mobile-business-label,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-force-hover-link > .hr-mobile-business-label{
  color: #173a80 !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li:not(.hr-mobile-business-blocks) > a::before,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li:not(.hr-mobile-business-blocks) > a::after,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li:not(.hr-mobile-business-blocks) > a::before,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li:not(.hr-mobile-business-blocks) > a::after{
  content: none !important;
  pointer-events: none !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu::before,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu::after,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu::before,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu::after,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li::before,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li::after,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li::before,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li::after{
  content: none !important;
  display: none !important;
  pointer-events: none !important;
}

@media (max-width: 1099px){
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu{
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding-inline: 14px !important;
  }

  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li{
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  html.hr-header-v5.hr-header-dropdown-open .site-header .hr-mobile-business-blocks{
    margin-bottom: 20px !important;
  }

  html.hr-header-v5.hr-header-dropdown-open .site-header .hr-mobile-business-grid{
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  html.hr-header-v5.hr-header-dropdown-open .site-header .hr-mobile-business-grid > .hr-mobile-business-link > .hr-mobile-business-label{
    font-size: 13px !important;
  }
}

@media (max-width: 1024px){
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu{
    top: var(--hr-header-dropdown-top-mobile, calc(env(safe-area-inset-top, 0px) + 78px)) !important;
    max-height: calc(100dvh - var(--hr-header-dropdown-top-mobile, calc(env(safe-area-inset-top, 0px) + 78px))) !important;
    height: calc(100dvh - var(--hr-header-dropdown-top-mobile, calc(env(safe-area-inset-top, 0px) + 78px))) !important;
    border-radius: 0 0 22px 22px !important;
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (min-width: 1100px){
  html.hr-header-v5 .site-header .header-logo img.custom-logo,
  html.hr-header-v5 .site-header .header-logo .custom-logo{
    max-height: 46px !important;
    width: auto !important;
    height: auto !important;
  }

  html.hr-header-v5 .site-header .header-navbar{
    min-height: 74px !important;
  }

  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu{
    align-items: start !important;
    grid-auto-flow: row dense !important;
  }
}

/* Mobile only: top business buttons (Boutique Propriétaire / Abonnements)
   icon on first line, label under icon, centered */
@media (max-width: 768px){
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-mobile-business-link--proshop,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-mobile-business-link--subscriptions,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-mobile-business-link--proshop,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-mobile-business-link--subscriptions{
    min-height: 84px !important;
    padding: 10px 8px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
  }

  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-mobile-business-link--proshop > .hr-mobile-business-label,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-mobile-business-link--subscriptions > .hr-mobile-business-label,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-mobile-business-link--proshop > .hr-mobile-business-label,
  html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hr-mobile-business-blocks > .hr-mobile-business-grid > .hr-mobile-business-link.hr-mobile-business-link--subscriptions > .hr-mobile-business-label{
    display: block !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
    line-height: 1.15 !important;
    font-size: 12px !important;
    letter-spacing: 0.01em !important;
  }
}
/* --- ID 404b: native system dropdowns (all pages) --- */
body select,
body .hp-form select,
body .hp-field--select select,
body .woocommerce-ordering select,
body select.orderby,
body select.select2-hidden-accessible{
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  -moz-appearance: auto !important;
  background-image: none !important;
  border-radius: 8px !important;
  padding-right: 10px !important;
}

body .select2,
body .select2-container,
body span.select2{
  display: none !important;
}

body select.select2-hidden-accessible{
  position: static !important;
  width: 100% !important;
  height: auto !important;
  clip: auto !important;
  clip-path: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  left: auto !important;
  top: auto !important;
  pointer-events: auto !important;
}

/* --- ID 405: global property-card media ratio model (home reference) --- */
:root{
  --hr-property-card-media-ratio: 4 / 3;
}

body .hp-listing.hp-listing--view-block .hp-listing__image,
body .hp-listings.hp-grid .hp-grid__item .hp-listing.hp-listing--view-block .hp-listing__image,
body .hp-listings.hp-grid .hp-row .hp-grid__item .hp-listing.hp-listing--view-block .hp-listing__image,
body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block .hp-listing__image{
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: var(--hr-property-card-media-ratio) !important;
  overflow: hidden !important;
  margin: 0 !important;
}

body .hp-listing.hp-listing--view-block .hp-listing__image > a,
body .hp-listings.hp-grid .hp-grid__item .hp-listing.hp-listing--view-block .hp-listing__image > a,
body .hp-listings.hp-grid .hp-row .hp-grid__item .hp-listing.hp-listing--view-block .hp-listing__image > a,
body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block .hp-listing__image > a{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body .hp-listing.hp-listing--view-block .hp-listing__image img,
body .hp-listings.hp-grid .hp-grid__item .hp-listing.hp-listing--view-block .hp-listing__image img,
body .hp-listings.hp-grid .hp-row .hp-grid__item .hp-listing.hp-listing--view-block .hp-listing__image img,
body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block .hp-listing__image img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* --- ID 406: card size tuning (similar listings + search grid) --- */
@media (min-width: 992px){
  /* Search cards a bit wider while keeping 4 columns. */
  body.hr-search-page,
  body.post-type-archive-hp_listing{
    --hr-search-grid-gap: 16px;
  }

  /* Similar listings cards: cap max width to avoid oversized blocks. */
  body.single-hp_listing .hp-page__footer .hp-section .hp-listings.hp-grid > .hp-row{
    gap: 20px !important;
    justify-content: flex-start !important;
  }

  body.single-hp_listing .hp-page__footer .hp-section .hp-listings.hp-grid > .hp-row > .hp-grid__item{
    flex: 0 1 clamp(250px, 26vw, 360px) !important;
    width: auto !important;
    max-width: 360px !important;
  }
}

@media (max-width: 768px){
  body.single-hp_listing .hp-page__footer .hp-section .hp-listings.hp-grid > .hp-row{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  body.single-hp_listing .hp-page__footer .hp-section .hp-listings.hp-grid > .hp-row > .hp-grid__item{
    flex: 0 0 calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
  }
}

/* --- ID 407: subscriptions page (/tarifs-abonnements/) --- */
body.page-id-60 .header-hero,
body.page-id-60 .page-title,
body.page-id-60 .hp-page__title{
  display: none !important;
}

body.page-id-60 .site-content .container,
body.page-id-60 main.col-sm-8.col-xs-12.col-sm-offset-2{
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  float: none !important;
}

body.page-id-60 .site-content .container{
  padding: 22px 20px 44px !important;
}

body.page-id-60 .entry-content > h2.wp-block-heading:first-child,
body.page-id-60 .post__content > h2.wp-block-heading:first-child,
body.page-id-60 .wp-block-post-content > h2.wp-block-heading:first-child{
  margin: 0 0 14px !important;
  color: #2f394d;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: -0.02em;
}

body.page-id-60 .hr-subscriptions-active-plan{
  margin: -8px 0 18px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(76, 111, 255, 0.34);
  background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
  color: #1d2850;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-id-60 .hr-subscriptions-active-plan__label{
  color: #5d6a84;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.page-id-60 .hr-subscriptions-active-plan__name{
  font-size: 15px;
  line-height: 1.2;
  font-weight: 750;
}

body.page-id-60 .hp-membership-plans.hp-grid{
  margin: 0 !important;
}

body.page-id-60 .hp-membership-plans > .hp-row{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 0 !important;
}

body.page-id-60 .hp-membership-plans > .hp-row > .hp-grid__item{
  width: auto !important;
  max-width: none !important;
  flex: initial !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.page-id-60 .hp-membership-plan.hp-membership-plan--view-block{
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0 !important;
  border-radius: 22px;
  overflow: hidden;
  background: #f8f9fd;
  border: 1px solid rgba(164, 178, 212, 0.38);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

body.page-id-60 .hp-membership-plan__header{
  padding: 20px 22px 14px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

body.page-id-60 .hp-membership-plan__name{
  margin: 0 !important;
  color: #1d2850;
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: -0.02em;
}

body.page-id-60 .hp-membership-plan__price{
  margin: 0 !important;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(160, 173, 205, 0.26);
  background: #ffffff;
  color: #1d2850;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
}

body.page-id-60 .hp-membership-plan__content{
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 16px 22px;
  border-top: 1px solid rgba(160, 173, 205, 0.3);
  border-bottom: 1px solid rgba(160, 173, 205, 0.3);
}

body.page-id-60 .hp-membership-plan__description{
  margin: 0 !important;
  color: #5d677f;
  font-size: 15px;
  line-height: 1.46;
}

body.page-id-60 .hp-membership-plan__description p{
  margin: 0;
}

body.page-id-60 .hp-membership-plan__description p + p{
  margin-top: 6px;
}

body.page-id-60 .hp-membership-plan__footer{
  margin: 0 !important;
  padding: 14px 18px;
}

body.page-id-60 .hp-membership-plan__select-button.button{
  width: 100%;
  min-height: 46px;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #4c6fff 0%, #2948d8 100%) !important;
  box-shadow: 0 12px 26px rgba(63, 92, 221, 0.25);
  color: #ffffff !important;
  font-size: 16px;
  line-height: 1;
  font-weight: 750;
}

body.page-id-60 .hp-membership-plan.is-current .hp-membership-plan__select-button.button,
body.page-id-60 .hp-membership-plan .hp-membership-plan__select-button.button:disabled{
  background: #c2c8d8 !important;
  box-shadow: none !important;
  color: #f8fbff !important;
  cursor: not-allowed;
}

/* Unified premium badge style (plan recommande + listing mis en avant). */
body.page-id-60 .hp-membership-plan__primary-badge,
body .hp-listing__header .hp-listing__featured-badge,
body .hp-listing__header .hp-listing__featured-badge.hp-listing__featured{
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid rgba(183, 126, 18, 0.42) !important;
  background: linear-gradient(155deg, #fff9eb 0%, #ffe8ad 62%, #ffd576 100%) !important;
  color: #8b5400 !important;
  box-shadow:
    0 8px 18px rgba(179, 124, 20, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.72) inset !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
}

body.page-id-60 .hp-membership-plan__primary-badge{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

body .hp-listing__header .hp-listing__featured-badge,
body .hp-listing__header .hp-listing__featured-badge.hp-listing__featured{
  top: 12px !important;
  left: 12px !important;
}

body.page-id-60 .hp-membership-plan__primary-badge:hover,
body .hp-listing__header .hp-listing__featured-badge:hover,
body .hp-listing__header .hp-listing__featured-badge.hp-listing__featured:hover{
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow:
    0 12px 24px rgba(179, 124, 20, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.78) inset !important;
}

body.page-id-60 .hp-membership-plan__primary-badge i,
body .hp-listing__header .hp-listing__featured-badge i{
  color: currentColor !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

@media (max-width: 767px){
  body.page-id-60 .hp-membership-plan__primary-badge,
  body .hp-listing__header .hp-listing__featured-badge,
  body .hp-listing__header .hp-listing__featured-badge.hp-listing__featured{
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
  }

  body.page-id-60 .hp-membership-plan__primary-badge i,
  body .hp-listing__header .hp-listing__featured-badge i{
    font-size: 12px !important;
  }
}

body.page-id-60 .hp-membership-plan.hr-plan-featured{
  border-color: rgba(76, 111, 255, 0.5);
}

body.page-id-60 .hr-subscriptions-contact{
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(164, 178, 212, 0.38);
  background: linear-gradient(180deg, #fbfcff 0%, #f4f6ff 100%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  text-align: center;
}

body.page-id-60 .hr-subscriptions-contact__title{
  margin: 0;
  color: #1d2850;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.14;
  font-weight: 740;
}

body.page-id-60 .hr-subscriptions-contact__text{
  margin: 6px 0 0;
  color: #5d677f;
  font-size: 15px;
  line-height: 1.45;
}

body.page-id-60 .hr-subscriptions-contact__actions{
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.page-id-60 .hr-subscriptions-contact__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

body.page-id-60 .hr-subscriptions-contact__button--call{
  background: linear-gradient(135deg, #4c6fff 0%, #2948d8 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(63, 92, 221, 0.24);
}

body.page-id-60 .hr-subscriptions-contact__button--mail{
  background: #ffffff;
  color: #1d2850;
  border-color: rgba(76, 111, 255, 0.34);
}

@media (min-width: 880px){
  body.page-id-60 .hp-membership-plans > .hp-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px){
  body.page-id-60 .hp-membership-plans > .hp-row{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 879px){
  body.page-id-60 .hp-membership-plan__header{
    min-height: 0;
    padding: 16px 16px 12px;
  }

  body.page-id-60 .hp-membership-plan__name{
    font-size: clamp(18px, 5.4vw, 22px);
  }

  body.page-id-60 .hp-membership-plan__price{
    font-size: 14px;
    padding: 5px 14px;
  }

  body.page-id-60 .hp-membership-plan__description{
    font-size: 14px;
    line-height: 1.42;
  }

  body.page-id-60 .hp-membership-plan__content{
    padding: 12px 16px;
  }

  body.page-id-60 .hp-membership-plan__footer{
    padding: 10px 14px 12px;
  }

  body.page-id-60 .hr-subscriptions-contact{
    padding: 14px;
  }

  body.page-id-60 .hr-subscriptions-contact__button{
    width: 100%;
  }
}

/* --- ID 408: virtual subscription request page (/demande-abonnement/) --- */
body.hr-subscription-request-page .site-content .container,
body.hr-subscription-request-page main.col-xs-12{
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  float: none !important;
}

body.hr-subscription-request-page .site-content .container{
  padding: 36px 20px 70px !important;
}

body.hr-subscription-request-page .hr-subscription-request{
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.hr-subscription-request-page .hr-subscription-request__layout{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: start;
}

body.hr-subscription-request-page .hr-subscription-request__main{
  border: 1px solid rgba(142, 160, 201, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(1000px 260px at 100% -10%, rgba(76, 111, 255, 0.12), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
  padding: 30px;
}

body.hr-subscription-request-page .hr-subscription-request__side{
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

body.hr-subscription-request-page .hr-subscription-request__title{
  margin: 0;
  color: #1d2850;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 760;
}

body.hr-subscription-request-page .hr-subscription-request__intro{
  margin: 10px 0 0;
  color: #5d677f;
  font-size: 18px;
  line-height: 1.45;
}

body.hr-subscription-request-page .hr-subscription-request__plan{
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(76, 111, 255, 0.28);
  background: #ffffff;
  color: #1d2850;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 650;
}

body.hr-subscription-request-page .hr-subscription-request__plan > span{
  color: #5d677f;
  font-weight: 700;
}

body.hr-subscription-request-page .hr-subscription-request__notice{
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
}

body.hr-subscription-request-page .hr-subscription-request__notice--success{
  border: 1px solid rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

body.hr-subscription-request-page .hr-subscription-request__notice--error{
  border: 1px solid rgba(220, 38, 38, 0.32);
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

body.hr-subscription-request-page .hr-subscription-request__form{
  margin-top: 20px;
}

body.hr-subscription-request-page .hr-subscription-request__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.hr-subscription-request-page .hr-subscription-request__field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.hr-subscription-request-page .hr-subscription-request__required-note{
  margin: -2px 0 8px;
  color: #5f6e91;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

body.hr-subscription-request-page .hr-required{
  display: inline-block;
  margin-left: 2px;
  color: #e43a52;
  font-weight: 800;
}

body.hr-subscription-request-page .hr-subscription-request__field > label{
  color: #1d2850;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

body.hr-subscription-request-page .hr-subscription-request__field > input,
body.hr-subscription-request-page .hr-subscription-request__field > textarea{
  width: 100%;
  border: 1px solid rgba(160, 173, 205, 0.42);
  border-radius: 14px;
  background: #f9fbff;
  color: #1d2850;
  font-size: 16px;
  line-height: 1.3;
  padding: 13px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.hr-subscription-request-page .hr-subscription-request__field > textarea{
  resize: vertical;
  min-height: 150px;
}

body.hr-subscription-request-page .hr-subscription-request__field > input:focus,
body.hr-subscription-request-page .hr-subscription-request__field > textarea:focus{
  outline: none;
  border-color: rgba(76, 111, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(76, 111, 255, 0.14);
}

body.hr-subscription-request-page .hr-subscription-request__field--full{
  margin-top: 14px;
}

body.hr-subscription-request-page .hr-subscription-request__actions{
  margin-top: 18px;
}

body.hr-subscription-request-page .hr-subscription-request__submit{
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #4c6fff 0%, #2948d8 100%);
  box-shadow: 0 12px 25px rgba(63, 92, 221, 0.24);
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  font-weight: 750;
}

body.hr-subscription-request-page .hr-subscription-panel{
  border: 1px solid rgba(142, 160, 201, 0.3);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 18px;
}

body.hr-subscription-request-page .hr-subscription-panel--active{
  background: linear-gradient(180deg, #f9fbff 0%, #eef3ff 100%);
  border-color: rgba(76, 111, 255, 0.35);
}

body.hr-subscription-request-page .hr-subscription-panel__label{
  color: #69758f;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.hr-subscription-request-page .hr-subscription-panel__status{
  margin-top: 8px;
  color: #2a4de0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 760;
}

body.hr-subscription-request-page .hr-subscription-panel__value{
  margin-top: 6px;
  color: #1d2850;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
}

body.hr-subscription-request-page .hr-subscription-panel__actions{
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

body.hr-subscription-request-page .hr-subscription-panel__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

body.hr-subscription-request-page .hr-subscription-panel__button--call{
  background: linear-gradient(135deg, #4c6fff 0%, #2948d8 100%);
  color: #ffffff;
}

body.hr-subscription-request-page .hr-subscription-panel__button--mail{
  background: #ffffff;
  color: #1d2850;
  border-color: rgba(76, 111, 255, 0.3);
}

body.hr-subscription-request-page .hr-subscription-panel__list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: #4f5b75;
  font-size: 15px;
  line-height: 1.45;
}

body.hr-subscription-request-page .hr-subscription-panel__list li + li{
  margin-top: 6px;
}

@media (max-width: 880px){
  body.hr-subscription-request-page .hr-subscription-request__layout{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.hr-subscription-request-page .hr-subscription-request__main{
    padding: 20px;
  }

  body.hr-subscription-request-page .hr-subscription-request__side{
    position: static;
  }

  body.hr-subscription-request-page .hr-subscription-request__grid{
    grid-template-columns: 1fr;
  }

  body.hr-subscription-request-page .hr-subscription-request__submit{
    width: 100%;
  }
}

/* --- ID 409: listing page - max capacity badge --- */
body.single-hp_listing .hr-listing-capacity-row{
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

/* Mobile: capacity in the flow, directly above the media block. */
body.single-hp_listing .hr-listing-capacity-row.hr-listing-capacity-row--above-media{
  margin: 0 0 12px;
}

body.single-hp_listing .hr-listing-media-shell{
  position: relative;
  width: 100%;
}

/* Desktop: capacity overlay on the media block (top-left). */
body.single-hp_listing .hr-listing-media-shell > .hr-capacity-overlay{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 36;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

body.single-hp_listing .hr-listing-media-shell > .hr-capacity-overlay .hr-listing-capacity-row{
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-hp_listing .hr-listing-media-shell > .hr-fav-overlay{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 36;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body.single-hp_listing .hr-listing-media-shell > .hr-fav-overlay .hp-listing__action--favorite{
  position: static !important;
  top: auto !important;
  right: auto !important;
  margin: 0 !important;
  pointer-events: auto;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 37 !important;
}

body.single-hp_listing .hr-listing-capacity-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(188, 200, 232, 0.62);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.16);
  backdrop-filter: blur(6px);
}

body.single-hp_listing .hr-listing-capacity-badge__label{
  color: #6b7795;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.single-hp_listing .hr-listing-capacity-badge__value{
  color: #1d2850;
  font-size: 13px;
  line-height: 1;
  font-weight: 760;
}

@media (max-width: 767px){
  body.single-hp_listing .hr-listing-capacity-row{
    margin: 0 0 10px;
    padding: 0;
  }

  body.single-hp_listing .hr-listing-media-shell > .hr-capacity-overlay{
    display: none !important;
  }

  body.single-hp_listing .hr-listing-media-shell > .hr-fav-overlay{
    top: 10px;
    right: 10px;
  }

  body.single-hp_listing .hr-listing-capacity-badge{
    padding: 8px 10px;
    gap: 6px;
  }

  body.single-hp_listing .hr-listing-capacity-badge__label{
    font-size: 11px;
  }

  body.single-hp_listing .hr-listing-capacity-badge__value{
    font-size: 12px;
  }

  body.single-hp_listing .hp-page__content > .hp-listing__tags{
    margin-top: 12px !important;
    margin-bottom: 14px !important;
  }

  body.single-hp_listing .hp-page__content > .hp-listing__tags + .hp-listing__description{
    margin-top: 0 !important;
  }
}

/* --- ID 410: listing tabs compact mode --- */
body.single-hp_listing .hp-page__topbar--separate.hr-topbar--single-tab,
body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed > ul > .hp-menu__item:only-child){
  display: none !important;
}

@media (min-width: 769px){
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed){
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) > .hp-menu--listing-manage.hp-menu--tabbed,
  body .hp-page__topbar--separate > .hp-menu--listing-manage.hp-menu--tabbed{
    --hr-listing-tabs-shell-radius: 14px;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid rgba(180, 194, 226, 0.55) !important;
    border-radius: var(--hr-listing-tabs-shell-radius) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) > .hp-menu--listing-manage.hp-menu--tabbed > ul,
  body .hp-page__topbar--separate > .hp-menu--listing-manage.hp-menu--tabbed > ul{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item{
    margin: 0 !important;
    padding: 0 !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item > a,
  body .hp-page__topbar--separate > .hp-menu--listing-manage.hp-menu--tabbed .hp-menu__item > a{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    color: #5e6c89 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    margin-right: 0 !important;
    text-decoration: none !important;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item > a:hover{
    background: rgba(76, 111, 255, 0.09) !important;
    color: #2f4edd !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item--current > a,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .current-menu-item > a,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .current_page_item > a,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item.active > a,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item.is-active > a,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item.hr-tab-active > a,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item > a[aria-current="page"],
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item > a[aria-current="true"],
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item > a.hr-tab-active-link{
    background: linear-gradient(135deg, #4c6fff 0%, #3252de 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(62, 93, 224, 0.24) !important;
    border-radius: var(--hr-listing-tabs-shell-radius) !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item > a span{
    color: inherit !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-listing__actions--secondary{
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 18px !important;
  }

  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed)::before,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed)::after,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage::before,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage::after,
  body .hp-page__topbar--separate:has(> .hp-menu--listing-manage.hp-menu--tabbed) .hp-menu--listing-manage .hp-menu__item::before{
    content: none !important;
    display: none !important;
  }
}

/* --- ID 410m: single listing mobile tabs parity (Details/Reservations/Modifier) --- */
@media (max-width: 768px){
  body.single-hp_listing .hp-page__topbar--separate{
    display: block !important;
    width: calc(100% - 32px) !important;
    margin: 14px auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed{
    --hr-listing-tabs-shell-radius: 14px;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid rgba(180, 194, 226, 0.55) !important;
    border-radius: var(--hr-listing-tabs-shell-radius) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed > ul,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed > ul{
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item{
    flex: 1 1 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item::before,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item::before,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a::after,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a::after{
    content: none !important;
    display: none !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #5e6c89 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a span{
    color: inherit !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a:hover,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a:hover{
    background: rgba(76, 111, 255, 0.09) !important;
    color: #2f4edd !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item--current > a,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .current-menu-item > a,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .current_page_item > a,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item.active > a,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item.is-active > a,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item.hr-tab-active > a,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a[aria-current="page"],
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a[aria-current="true"],
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a.hr-tab-active-link,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item--current > a,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .current-menu-item > a,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .current_page_item > a,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item.active > a,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item.is-active > a,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item.hr-tab-active > a,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a[aria-current="page"],
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a[aria-current="true"],
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a.hr-tab-active-link{
    background: linear-gradient(135deg, #4c6fff 0%, #3252de 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(62, 93, 224, 0.24) !important;
  }

  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item--current > a span,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .current-menu-item > a span,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .current_page_item > a span,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item.active > a span,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item.is-active > a span,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item.hr-tab-active > a span,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a[aria-current="page"] span,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a[aria-current="true"] span,
  body.single-hp_listing .hp-page__topbar--separate > nav.hp-menu--tabbed .hp-menu__item > a.hr-tab-active-link span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item--current > a span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .current-menu-item > a span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .current_page_item > a span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item.active > a span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item.is-active > a span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item.hr-tab-active > a span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a[aria-current="page"] span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a[aria-current="true"] span,
  body.single-hp_listing .hp-page__topbar--separate > .hp-menu--tabbed .hp-menu__item > a.hr-tab-active-link span{
    color: #ffffff !important;
  }
}

/* --- ID 410m-final: force same mobile tab design on Details/Reservations/Modifier --- */
@media (max-width: 768px){
  body.single-hp_listing .hp-page__topbar .hp-menu--tabbed,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu--tabbed,
  body.single-hp_listing .hp-page__topbar .hp-menu--listing-manage,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu--listing-manage,
  body.single-hp_listing .hp-page__topbar .hr-listing-manage-tabs,
  body.single-hp_listing .hp-page__topbar--separate .hr-listing-manage-tabs{
    padding: 6px !important;
    border: 1px solid rgba(180, 194, 226, 0.55) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  }

  body.single-hp_listing .hp-page__topbar .hp-menu--tabbed > ul,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu--tabbed > ul,
  body.single-hp_listing .hp-page__topbar .hp-menu--listing-manage > ul,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu--listing-manage > ul,
  body.single-hp_listing .hp-page__topbar .hr-listing-manage-tabs > ul,
  body.single-hp_listing .hp-page__topbar--separate .hr-listing-manage-tabs > ul{
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-hp_listing .hp-page__topbar .hp-menu__item,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item{
    flex: 1 1 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-hp_listing .hp-page__topbar .hp-menu__item::before,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item::before,
  body.single-hp_listing .hp-page__topbar .hp-menu__item > a::after,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a::after{
    content: none !important;
    display: none !important;
  }

  body.single-hp_listing .hp-page__topbar .hp-menu__item > a,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    margin-right: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #5e6c89 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  body.single-hp_listing .hp-page__topbar .hp-menu__item > a span,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a span{
    color: inherit !important;
  }

  body.single-hp_listing .hp-page__topbar .hp-menu__item--current > a,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item--current > a,
  body.single-hp_listing .hp-page__topbar .current-menu-item > a,
  body.single-hp_listing .hp-page__topbar--separate .current-menu-item > a,
  body.single-hp_listing .hp-page__topbar .current-menu-parent > a,
  body.single-hp_listing .hp-page__topbar--separate .current-menu-parent > a,
  body.single-hp_listing .hp-page__topbar .current-menu-ancestor > a,
  body.single-hp_listing .hp-page__topbar--separate .current-menu-ancestor > a,
  body.single-hp_listing .hp-page__topbar .current_page_item > a,
  body.single-hp_listing .hp-page__topbar--separate .current_page_item > a,
  body.single-hp_listing .hp-page__topbar .current_page_parent > a,
  body.single-hp_listing .hp-page__topbar--separate .current_page_parent > a,
  body.single-hp_listing .hp-page__topbar .hp-menu__item.active > a,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item.active > a,
  body.single-hp_listing .hp-page__topbar .hp-menu__item.is-active > a,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item.is-active > a,
  body.single-hp_listing .hp-page__topbar .hp-menu__item.hr-tab-active > a,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item.hr-tab-active > a,
  body.single-hp_listing .hp-page__topbar .hp-menu__item > a[aria-current="page"],
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a[aria-current="page"],
  body.single-hp_listing .hp-page__topbar .hp-menu__item > a[aria-current="true"],
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a[aria-current="true"],
  body.single-hp_listing .hp-page__topbar .hp-menu__item > a.hr-tab-active-link,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a.hr-tab-active-link{
    background: linear-gradient(135deg, #4c6fff 0%, #3252de 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(62, 93, 224, 0.24) !important;
  }

  body.single-hp_listing .hp-page__topbar .hp-menu__item--current > a span,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item--current > a span,
  body.single-hp_listing .hp-page__topbar .current-menu-item > a span,
  body.single-hp_listing .hp-page__topbar--separate .current-menu-item > a span,
  body.single-hp_listing .hp-page__topbar .current-menu-parent > a span,
  body.single-hp_listing .hp-page__topbar--separate .current-menu-parent > a span,
  body.single-hp_listing .hp-page__topbar .current-menu-ancestor > a span,
  body.single-hp_listing .hp-page__topbar--separate .current-menu-ancestor > a span,
  body.single-hp_listing .hp-page__topbar .current_page_item > a span,
  body.single-hp_listing .hp-page__topbar--separate .current_page_item > a span,
  body.single-hp_listing .hp-page__topbar .current_page_parent > a span,
  body.single-hp_listing .hp-page__topbar--separate .current_page_parent > a span,
  body.single-hp_listing .hp-page__topbar .hp-menu__item.active > a span,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item.active > a span,
  body.single-hp_listing .hp-page__topbar .hp-menu__item.is-active > a span,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item.is-active > a span,
  body.single-hp_listing .hp-page__topbar .hp-menu__item.hr-tab-active > a span,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item.hr-tab-active > a span,
  body.single-hp_listing .hp-page__topbar .hp-menu__item > a[aria-current="page"] span,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a[aria-current="page"] span,
  body.single-hp_listing .hp-page__topbar .hp-menu__item > a[aria-current="true"] span,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a[aria-current="true"] span,
  body.single-hp_listing .hp-page__topbar .hp-menu__item > a.hr-tab-active-link span,
  body.single-hp_listing .hp-page__topbar--separate .hp-menu__item > a.hr-tab-active-link span{
    color: #ffffff !important;
  }
}

/* --- ID 411: header dropdown minimal (text click + subtle glow) --- */
html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item,
html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item > *{
  pointer-events: auto !important;
}

html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item{
  position: relative !important;
}

html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item > .hr-user-trigger-hitbox{
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  display: block !important;
  background: transparent !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item > *:not(.hr-user-trigger-hitbox){
  position: relative !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

html.hr-header-v5 .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > a.hp-menu__item > .hr-user-shortname{
  user-select: none !important;
}

/* --- ID 412: logout button final color contract (base + hover) --- */
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a{
  border-color: rgba(255, 154, 176, .44) !important;
  background-color: rgba(241, 106, 137, .16) !important;
  background-image: linear-gradient(135deg, rgba(255, 172, 187, .16), rgba(233, 90, 124, .18)) !important;
  color: #ffe8ed !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 188, 202, .18),
    0 10px 20px rgba(139, 22, 56, .20) !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a > span,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a > span{
  color: inherit !important;
}

html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout:hover > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout:focus-within > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a:hover,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a:focus-visible,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > .sub-menu > li.hp-menu__item--user-logout > a.hr-force-hover-link,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout:hover > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout:focus-within > a,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a:hover,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a:focus-visible,
html.hr-header-v5.hr-header-dropdown-open .site-header .header-navbar__menu .menu > li.menu-item--user-account.menu-item-has-children[data-hr-header-main="1"] > ul.sub-menu > li.hp-menu__item--user-logout > a.hr-force-hover-link{
  border-color: rgba(255, 188, 201, .66) !important;
  background-color: rgba(247, 126, 153, .24) !important;
  background-image: linear-gradient(135deg, rgba(255, 186, 198, .28), rgba(242, 107, 139, .30)) !important;
  color: #fff4f6 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 216, 225, .30),
    0 12px 24px rgba(156, 31, 67, .28),
    0 0 18px rgba(255, 142, 168, .26) !important;
}

/* --- ID 413: IA search transitions + unified control geometry --- */
body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search{
  --hr-ai-control-size-desktop: 56px;
  --hr-ai-control-size-mobile: 46px;
  --hr-ai-cta-width: clamp(220px, 24vw, 330px);
  --hr-ai-action-gap: 12px;
  --hr-ai-input-shrink-desktop: 38px;
}

/* Desktop + tablette:
   - toggle/close in the same inner slot
   - same CTA size for "Rechercher" and "Lancer"
   - stable frame size for smoother transition */
@media (min-width: 769px){
  /* Barre standard uniquement (hors mode IA) :
     - Rechercher: +2mm vers la droite
     - Bouton IA: -1mm vers la gauche */
  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search:not(.hr-ai-active) .hp-form__footer .hp-form__button.button-primary{
    margin-left: 8px !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search:not(.hr-ai-active) .hp-form__footer .hr-ai-toggle{
    margin-left: -4px !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hp-form__footer{
    display: flex !important;
    align-items: center !important;
    gap: var(--hr-ai-action-gap) !important;
    margin-left: 12px !important;
    flex: 0 0 auto !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hp-form__footer .hp-form__button.button-primary{
    width: var(--hr-ai-cta-width) !important;
    flex: 0 0 var(--hr-ai-cta-width) !important;
    height: var(--hr-ai-control-size-desktop) !important;
    min-height: var(--hr-ai-control-size-desktop) !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hp-form__footer .hr-ai-toggle{
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: var(--hr-ai-control-size-desktop) !important;
    height: var(--hr-ai-control-size-desktop) !important;
    min-height: var(--hr-ai-control-size-desktop) !important;
    flex: 0 0 var(--hr-ai-control-size-desktop) !important;
    margin: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Re-apply micro offset after base toggle reset (standard mode only). */
  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search:not(.hr-ai-active) .hp-form__footer .hr-ai-toggle{
    margin-left: -4px !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-bar{
    /* léger retrait à droite pour aligner exactement Lancer/X
       avec la géométrie du mode classique */
    inset: 10px 14px 10px 24px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    transform: translateY(2px) scale(0.995);
    transition: opacity 0.24s ease, transform 0.24s ease !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-bar__inner{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-bar.is-visible{
    transform: translateY(0) scale(1);
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-row{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) var(--hr-ai-cta-width) var(--hr-ai-control-size-desktop) !important;
    align-items: center !important;
    gap: var(--hr-ai-action-gap) !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-input{
    height: var(--hr-ai-control-size-desktop) !important;
    min-height: var(--hr-ai-control-size-desktop) !important;
    width: calc(100% - var(--hr-ai-input-shrink-desktop)) !important;
    justify-self: start !important;
    border-radius: 999px !important;
    border: 1px solid rgba(166, 186, 222, 0.42) !important;
    background: rgba(255, 255, 255, 0.74) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
    padding: 0 18px !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-submit.button-primary{
    width: 100% !important;
    flex: 0 0 100% !important;
    height: var(--hr-ai-control-size-desktop) !important;
    min-height: var(--hr-ai-control-size-desktop) !important;
    margin: 0 !important;
    transform: translateX(calc(var(--hr-ai-input-shrink-desktop) * -1)) !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-close{
    width: var(--hr-ai-control-size-desktop) !important;
    height: var(--hr-ai-control-size-desktop) !important;
    min-height: var(--hr-ai-control-size-desktop) !important;
    flex: 0 0 var(--hr-ai-control-size-desktop) !important;
    margin: 0 !important;
    transform: translateX(calc(var(--hr-ai-input-shrink-desktop) * -1)) !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-close:hover,
  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-close:focus-visible,
  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-close:active{
    transform: translateX(calc(var(--hr-ai-input-shrink-desktop) * -1)) !important;
  }
}

/* Mobile:
   - keep a little bottom air under the CTA
   - close button never taller than "Lancer" */
@media (max-width: 768px){
  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hr-ai-input,
  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search .hp-form__field--location input.hp-field--text{
    font-size: 16px !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search.hr-ai-active .hr-ai-bar__inner{
    padding: 0.82rem 0.78rem 0.98rem !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search.hr-ai-active .hr-ai-row{
    gap: 0.7rem !important;
    align-items: end !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search.hr-ai-active .hr-ai-submit.button-primary{
    height: var(--hr-ai-control-size-mobile) !important;
    min-height: var(--hr-ai-control-size-mobile) !important;
  }

  body:is(.home, .hr-search-page, .post-type-archive-hp_listing) form.hp-form--listing-search.hr-ai-active .hr-ai-close{
    width: var(--hr-ai-control-size-mobile) !important;
    height: var(--hr-ai-control-size-mobile) !important;
    min-height: var(--hr-ai-control-size-mobile) !important;
    flex: 0 0 var(--hr-ai-control-size-mobile) !important;
  }
}

@media (max-width: 991px){
  .fancybox-container .fancybox-content.hp-modal.hr-listing-filter-content,
  .fancybox__container .fancybox__content.hp-modal.hr-listing-filter-content,
  #listing_filter_modal.hp-modal.hr-listing-filter-inline-open{
    padding: 64px 10px 12px !important;
  }

  .fancybox-container .fancybox-content.hp-modal.hr-listing-filter-content .fancybox-close-small,
  .fancybox__container .fancybox__content.hp-modal.hr-listing-filter-content .fancybox-close-small,
  #listing_filter_modal.hp-modal.hr-listing-filter-inline-open .hr-modal-fallback-close{
    top: 8px !important;
    right: 8px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 8 !important;
  }

  .fancybox-container .fancybox-content.hp-modal.hr-listing-filter-content .hp-form--listing-filter .hp-form__field--number-range > .hp-field__label,
  .fancybox-container .fancybox-content.hp-modal.hr-listing-filter-content .hp-form--listing-filter .hp-form__field--number-range > .hp-form__label,
  .fancybox__container .fancybox__content.hp-modal.hr-listing-filter-content .hp-form--listing-filter .hp-form__field--number-range > .hp-field__label,
  .fancybox__container .fancybox__content.hp-modal.hr-listing-filter-content .hp-form--listing-filter .hp-form__field--number-range > .hp-form__label,
  #listing_filter_modal.hp-modal.hr-listing-filter-inline-open .hp-form--listing-filter .hp-form__field--number-range > .hp-field__label,
  #listing_filter_modal.hp-modal.hr-listing-filter-inline-open .hp-form--listing-filter .hp-form__field--number-range > .hp-form__label{
    margin-bottom: 14px !important;
    padding-right: 58px !important;
  }

  .fancybox-container .fancybox-content.hp-modal.hr-listing-filter-content .hp-form--listing-filter .hp-form__field--number-range .hp-field--number-range,
  .fancybox__container .fancybox__content.hp-modal.hr-listing-filter-content .hp-form--listing-filter .hp-form__field--number-range .hp-field--number-range,
  #listing_filter_modal.hp-modal.hr-listing-filter-inline-open .hp-form--listing-filter .hp-form__field--number-range .hp-field--number-range{
    margin-top: 10px !important;
  }

  .fancybox-container .fancybox-content.hp-modal.hr-listing-filter-content .hp-form--listing-filter .hr-tags-search__input,
  .fancybox__container .fancybox__content.hp-modal.hr-listing-filter-content .hp-form--listing-filter .hr-tags-search__input,
  #listing_filter_modal.hp-modal.hr-listing-filter-inline-open .hp-form--listing-filter .hr-tags-search__input{
    font-size: 16px !important;
    line-height: 1.35 !important;
    -webkit-text-size-adjust: 100% !important;
  }
}

@media (max-width: 768px){
  .hr-ai-suggestions.hr-ai-suggestions--outside.is-visible{
    margin-bottom: 14px !important;
  }
}

/* --- ID 431: single listing fixes (capacity row, thumbs center, similar cards mobile) --- */
body.single-hp_listing .hp-listing__images .hp-listing__images-carousel{
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(720px, calc(100% - 88px)) !important;
  max-width: calc(100% - 24px) !important;
  margin: 0 !important;
}

body.single-hp_listing .hp-listing__images .hp-listing__images-carousel .slick-list{
  margin: 0 auto !important;
}

body.single-hp_listing .hp-listing__images.hr-thumbs-static .hp-listing__images-carousel .slick-track{
  left: auto !important;
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  justify-content: center !important;
}

@media (max-width: 768px){
  body.single-hp_listing .hp-listing__images .hp-listing__images-carousel{
    width: calc(100% - 28px) !important;
    bottom: 10px !important;
  }

  body.single-hp_listing .hp-page__footer .hp-section .hp-listings.hp-grid > .hp-row{
    gap: 14px !important;
  }

  body.single-hp_listing .hp-page__footer .hp-section .hp-listings.hp-grid > .hp-row > .hp-grid__item{
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-hp_listing .hp-page__footer .hp-section .hp-listing.hp-listing--view-block .hp-listing__image{
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
  }
}
