/**
 * Epsilon child theme custom styles.
 * Color tokens (--pch-*) from Planète Chasse palette — injected in functions_child.php.
 *
 * Brand system:
 * - Deep Navy #1B2A4A — top bar, header accents
 * - Action Orange #EA580C — CTAs, prices, active filters
 * - Cool Off-White #F8FAFC — page background (white cards stand out)
 * - White #FFFFFF — cards / header surface
 */

/* ------------------------------------------------------------------ */
/* 1.3 Typography hierarchy + base surfaces                            */
/* ------------------------------------------------------------------ */
html,
body {
  font-family: var(--pch-font-ui, Inter, system-ui, sans-serif);
  font-weight: 400;
  color: var(--pch-charcoal, #1B2A4A);
  background-color: var(--pch-page-bg, #F8FAFC);
  /* Fixed header + brand bar (~32px) + main row + category nav */
  padding-top: 136px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

html {
  padding-top: 0;
  overflow-x: hidden;
  max-width: 100%;
}

header,
header .container,
header .container.cmain,
.pc-top-brand-bar,
.pc-top-brand-bar .container {
  max-width: 100%;
  box-sizing: border-box;
}

h1, h2, h3,
body#home h1,
body#home h2,
body#home h3,
body#home .pch-section-head,
body#home .pch-section-head__title,
.simple-prod .price,
.simple-prod .img-wrap .bar .price,
.simple-prod .right .price,
#item-main .price,
#item-side .price {
  font-family: var(--pch-font, "Plus Jakarta Sans", Inter, system-ui, sans-serif) !important;
  font-weight: 700 !important;
}

h1, h2, h3,
body#home h1,
body#home h2,
body#home h3,
body#home .pch-section-head,
body#home .pch-section-head__title {
  color: var(--pch-charcoal, #111111);
  margin-bottom: 0.4em;
  letter-spacing: -0.01em;
}

h1 + p, h2 + p, h3 + p,
.pch-section-head__title + p,
.pch-section-head__desc {
  margin-top: 0.35em;
  line-height: 1.55;
}

/* Prices = action color only (not decorative chrome) */
.simple-prod .price,
.simple-prod .img-wrap .bar .price,
.simple-prod .right .price,
#item-main .price,
#item-side .price {
  color: var(--pch-primary, #EA580C) !important;
}

/* Header & footer */
header {
  background: var(--pch-header-bg, #ffffff) !important;
  backdrop-filter: none;
  box-shadow: 0 1px 0 var(--pch-border, #e5e7eb);
  height: auto !important;
  min-height: 64px;
  border-top: none;
}

/*************************************************
Planète Chasse Brand Bar
*************************************************/
.pc-top-brand-bar {
  background-color: var(--pch-navy, #1B2A4A) !important;
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.35;
  padding: 8px 0;
  font-weight: 500;
  border-bottom: 2px solid var(--pch-primary, #EA580C);
  width: 100%;
  box-sizing: border-box;
}

.pc-top-brand-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  height: auto !important;
}

.pc-top-brand-bar .brand-tagline,
.pc-top-brand-bar .brand-tagline--full {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
}

/* Mobile single-line rotating reassurance slides */
.pc-top-brand-bar .brand-tagline-slider {
  display: none;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 1.35em;
  overflow: hidden;
  text-align: left;
}

.pc-top-brand-bar .brand-tagline-slider__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.pc-top-brand-bar .brand-tagline-slider__item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Old second reassurance span — kept hidden if any leftover markup */
.pc-top-brand-bar .brand-reassurance {
  display: none;
}

/* Solid white pill — text color pending final (navy vs orange) */
.pc-top-brand-bar__pro {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF !important;
  color: var(--pch-navy, #1B2A4A) !important; /* Option A: Dark Blue — swap to #EA580C for Option B */
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 9999px;
  padding: 6px 14px;
  box-sizing: border-box;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pc-top-brand-bar__pro:hover,
.pc-top-brand-bar__pro:focus {
  background: #FFFFFF !important;
  color: var(--pch-primary, #EA580C) !important;
  text-decoration: none !important;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.35);
  outline: none;
}

/* Preview helper: add ?espace_pro=orange to any page URL to preview orange label */
.pc-top-brand-bar--pro-orange .pc-top-brand-bar__pro {
  color: var(--pch-primary, #EA580C) !important;
}

.pc-top-brand-bar--pro-orange .pc-top-brand-bar__pro:hover,
.pc-top-brand-bar--pro-orange .pc-top-brand-bar__pro:focus {
  color: var(--pch-navy, #1B2A4A) !important;
  box-shadow: 0 0 0 2px rgba(27, 42, 74, 0.35);
}

@media (max-width: 991px) {
  .pc-top-brand-bar .brand-tagline,
  .pc-top-brand-bar .brand-tagline--full {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .pc-top-brand-bar {
    padding: 7px 0;
    font-size: 12px;
  }

  .pc-top-brand-bar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Hide multi-line copy; show single-line rotating slides + Espace Pro */
  .pc-top-brand-bar .brand-tagline,
  .pc-top-brand-bar .brand-tagline--full {
    display: none !important;
  }

  .pc-top-brand-bar .brand-tagline-slider {
    display: block;
  }

  .pc-top-brand-bar__pro {
    font-size: 12px;
    padding: 5px 12px;
  }
}

header .container.cmain {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 1080px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

header .pch-header-main {
  position: relative;
  display: grid;
  /* Side columns size to content so CTAs never clip; search fills & centers the middle */
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  width: 100%;
  min-height: 72px;
  box-sizing: border-box;
}

header .pch-header-categories {
  position: relative;
  z-index: 1;
  width: 100%;
  border-top: 1px solid var(--pch-border, #e5e7eb);
}

header .pch-header-categories__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

header .pch-header-categories__list::-webkit-scrollbar {
  display: none;
}

header .pch-header-categories__item {
  flex: 0 0 auto;
}

header .pch-header-categories__link {
  display: block;
  padding: 10px 14px;
  color: var(--pch-muted, #6b7280);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

header .pch-header-categories__link:hover,
header .pch-header-categories__link:focus {
  color: var(--pch-navy, #1B2A4A);
  background: var(--pch-light, #F1F5F9);
  text-decoration: none;
}

header .pch-header-categories__link.is-active,
header .pch-header-categories__item.is-active .pch-header-categories__link {
  color: var(--pch-primary, #EA580C);
  background: var(--pch-primary-bg, #fff7ed);
  font-weight: 600;
}

/* ---- Header responsive breakpoints ---- */

/* Large desktop: roomy search */
@media (min-width: 1200px) {
  header .pch-header-search {
    max-width: 560px;
  }
}

/* Laptop / small desktop */
@media (max-width: 1199px) and (min-width: 992px) {
  header .pch-header-main {
    column-gap: 12px;
  }

  header .pch-header-search {
    max-width: 420px;
  }

  header .links {
    gap: 8px;
  }

  header .links .publish:not(.mini) {
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 14px;
  }

  header .links .account {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 13px;
  }
}

/* Tablet landscape / narrow desktop — compact CTAs */
@media (max-width: 991px) and (min-width: 768px) {
  body {
    padding-top: 132px;
  }

  header .pch-header-main {
    column-gap: 10px;
    min-height: 64px;
  }

  header .pch-header-search {
    max-width: 280px;
  }

  header .pch-header-search__field input.pattern {
    font-size: 13px;
    height: 38px;
    line-height: 38px;
    padding-left: 10px;
  }

  header .logo img,
  header .pch-header-main .logo img,
  header a.logo img {
    max-height: 56px !important;
  }

  header .links {
    gap: 6px;
  }

  /* Full “Publier une annonce” label — hide; keep + icon only */
  header .links .publish:not(.mini) {
    display: none !important;
  }

  header .links .publish.mini {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    overflow: hidden;
  }

  header .links .publish.mini svg {
    margin: 0 !important;
    width: 18px;
    height: 18px;
  }

  header .links .account {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  header .links .account svg {
    flex-shrink: 0;
  }
}

/* Mobile — clean 2-row header: burger | centered logo | account icon / full-width search */
@media (max-width: 767px) {
  body,
  body#home {
    /* Top bar (~34) + header pad + logo row (~48) + gap + search (~42) + buffer */
    padding-top: 160px !important;
  }

  header {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    z-index: 40 !important;
  }

  header .container.cmain {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 12px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* Original mobile spec is 2 rows only — hide category strip under search */
  header .pch-header-categories {
    display: none !important;
  }

  /* Equal side tracks so logo stays visually centered */
  header .pch-header-main {
    display: grid !important;
    grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "menu logo links"
      "search search search" !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  header .menu.btn.isMobile {
    grid-area: menu !important;
    justify-self: start !important;
    align-self: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
  }

  header .pch-header-main .logo,
  header .logo,
  header a.logo {
    grid-area: logo !important;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: center !important;
    align-self: center !important;
    justify-content: center !important;
    max-width: 140px !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 auto !important;
  }

  header .pch-header-main .logo img,
  header .logo img,
  header a.logo img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 44px !important;
    margin: 0 auto !important;
  }

  header .pch-header-search {
    grid-area: search !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    margin: 0 !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }

  header .pch-header-search__field {
    width: 100% !important;
    min-width: 0 !important;
  }

  header .pch-header-search__field input.pattern {
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }

  header .links {
    grid-area: links !important;
    grid-column: auto !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: center !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 90 !important;
  }

  /* Icon-only account control — hide desktop sign-in label & other CTAs */
  header .links > *:not(.maccount):not(.pch-account-menu),
  header .links .account,
  header .links a.account,
  header .links .search,
  header .links .publish,
  header .links .publish.mini,
  header .links .messages,
  header .links .favorite,
  header .links .pch-promotions-btn,
  header .pch-account-menu .account,
  header .pch-account-menu__toggle.account {
    display: none !important;
  }

  header .links .maccount,
  header .links .maccount.isMobile,
  header .links a.maccount,
  header .pch-account-menu,
  header .pch-account-menu .maccount,
  header .pch-account-menu__toggle.maccount {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  header .pch-account-menu {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  header .links .maccount img,
  header .pch-account-menu .maccount img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 !important;
    float: none !important;
  }
}

/* Small phones */
@media (max-width: 420px) {
  body,
  body#home {
    padding-top: 154px !important;
  }

  header .container.cmain {
    padding: 6px 10px 4px;
  }

  header .pch-header-main {
    column-gap: 6px;
    row-gap: 6px;
  }

  header .pch-header-main .logo {
    max-width: 110px;
  }

  header .pch-header-main .logo img,
  header .logo img {
    max-height: 40px !important;
  }

  header .pch-header-search__field input.pattern {
    height: 38px;
    line-height: 38px;
    font-size: 13px;
  }

  .pc-top-brand-bar {
    font-size: 11px;
    padding: 6px 0;
  }

  .pc-top-brand-bar .brand-tagline-slider__item {
    font-size: 12px;
  }
}

/* Extra-narrow (320px) */
@media (max-width: 360px) {
  header .pch-header-main .logo {
    max-width: 96px;
  }

  header .menu.btn.isMobile,
  header .links .maccount {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  header .links .maccount img {
    width: 34px;
    height: 34px;
  }
}

/* ------------------------------------------------------------------ */
/* 1.1 Footer ? Dark Anthracite #111111 + readable Inter/Roboto type   */
/* ------------------------------------------------------------------ */
footer,
body footer,
#footer,
body#home footer,
footer .container,
footer section.one,
footer section.two {
  background: var(--pch-footer-bg, #1B2A4A) !important;
  background-color: var(--pch-footer-bg, #1B2A4A) !important;
  color: var(--pch-footer-text, #FFFFFF);
  font-family: var(--pch-font-ui, Inter, Roboto, system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

footer h4,
footer .col h4,
footer section.one h4 {
  font-family: var(--pch-font-ui, Inter, Roboto, system-ui, sans-serif) !important;
  color: var(--pch-white, #FFFFFF) !important;
  font-size: 15px;
  font-weight: 600 !important;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 0 0 16px 0;
}

footer a,
footer section.one a,
footer section.two a,
footer .col a,
footer .col.pages a,
footer .col.socialx a,
footer .col.contact a,
footer .col.locale a,
footer .social a,
footer .company a,
footer .quick-links a,
footer .footer-widgets a {
  font-family: var(--pch-font-ui, Inter, Roboto, system-ui, sans-serif);
  color: var(--pch-footer-text, #FFFFFF) !important;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
}

footer a:hover,
footer section.one a:hover,
footer section.two a:hover,
footer .col.pages a:hover,
footer .col.socialx a:hover,
footer .social a:hover,
footer .company a:hover,
footer .col.locale a:hover {
  color: var(--pch-white, #FFFFFF) !important;
  text-decoration: none;
}

footer p,
footer li,
footer span,
footer .col,
footer .company,
footer .footer-widgets,
footer .footer-hook,
footer section.two span {
  color: var(--pch-footer-text, #FFFFFF);
  font-family: var(--pch-font-ui, Inter, Roboto, system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

footer .company strong {
  color: var(--pch-white, #FFFFFF);
  font-weight: 600;
}

footer section.two {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

footer .col.socialx a,
footer .col.pages a,
footer .col.locale a {
  display: block;
  margin-bottom: 10px;
}

footer .social a i {
  background: rgba(255, 255, 255, 0.12);
  color: var(--pch-white, #FFFFFF);
}

footer .socialx a svg {
  fill: var(--pch-footer-text, #FFFFFF);
}

footer .quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

footer .quick-links a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pch-footer-text, #FFFFFF) !important;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
}

footer .quick-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--pch-white, #FFFFFF) !important;
}

footer .col.locale a.lang span {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

/* Header search — middle track, centered, never overlaps CTAs */
header .pch-header-search {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  grid-column: 2;
  justify-self: center;
  align-self: center;
  width: 100%;
  min-width: 0;
  max-width: 520px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  z-index: 30;
  box-sizing: border-box;
}

header .pch-header-search__field {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  display: block;
}

header .pch-header-search__field input.pattern {
  display: block;
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 46px 0 14px;
  font-size: 15px;
  line-height: 42px;
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 4px;
  background: var(--pch-page-bg, #F8FAFC);
  color: var(--pch-charcoal, #111111);
  box-sizing: border-box;
  text-overflow: ellipsis;
}

header .pch-header-search__field input.pattern:focus {
  border-color: var(--pch-charcoal, #111111);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

header .pch-header-search__field .clean {
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

header .pch-header-search__btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  margin: 0;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

header .pch-header-search__field .results {
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 60;
  position: absolute;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.18);
}

header .pch-header-search__btn i {
  margin: 0;
  line-height: 1;
}

/* Logo prominence — never stretch; keep header vertically centered */
header .logo,
header .pch-header-main .logo,
header .logo a,
header a.logo {
  display: flex !important;
  align-items: center;
  grid-column: 1;
  justify-self: start;
  align-self: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  min-height: 0;
  margin: 0;
}

header .menu.btn.isMobile {
  grid-column: 1;
  justify-self: start;
  align-self: center;
}

header .logo img,
header .pch-header-main .logo img,
header a.logo img {
  max-height: 80px !important;
  height: auto !important;
  width: auto !important;
  padding: 4px 0;
  object-fit: contain;
  display: block;
}

header .links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  grid-column: 3;
  justify-self: end;
  align-self: center;
  flex: 0 0 auto;
  flex-shrink: 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 2;
  width: auto !important;
  max-width: none !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 40px;
  gap: 12px;
}

header .links .divider {
  display: none;
}

header .links .publish {
  margin-left: 0 !important;
  font-weight: 600 !important;
}

@media (min-width: 768px) {
  header .links .account {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
}

/* Header accent + content link hovers */
header .links .btn-white:hover,
header .menu.btn-white:hover {
  color: var(--pch-primary, #EA580C) !important;
}

header .links .btn-white:hover svg,
header .menu.btn-white:hover svg {
  fill: var(--pch-primary, #EA580C) !important;
}

.content a:hover,
#breadcrumbs a:hover,
.simple-prod a:hover .title,
#item-main a:hover,
#search-main a:hover {
  color: var(--pch-primary, #EA580C);
}

.osc-has-admin-header header {
  margin-top: 34px;
}

/* Global page background — homepage, listing, search, account, detail */
body,
body#home,
body#search,
body#item,
body#login,
body#register,
body#user,
body.body-ua,
body#user-public-profile,
body#custom,
body#page,
body#contact {
  background-color: var(--pch-page-bg, #F8FAFC) !important;
  color: var(--pch-charcoal, #111111);
}

body > .content,
body#home > .content,
body#search > .content,
body#item > .content,
body#login > .content,
body#register > .content,
body#user > .content,
body.body-ua > .content {
  background: var(--pch-page-bg, #F8FAFC) !important;
}

/* White cards stand out on cool off-white page background */
.simple-prod .simple-wrap,
#search-menu form.search-side-form,
#item-side > .box,
#item-main .box,
#user-main .box,
.body-ua .content .box,
#login-form,
#register-form,
.user-box {
  background-color: #FFFFFF;
}

/* Homepage: unified light content background */
body#home {
  background-color: var(--pch-page-bg, #F8FAFC);
  color: var(--pch-charcoal, #111111);
  overflow-x: hidden;
}

html:has(body#home) {
  overflow-x: hidden;
}

body#home > .content {
  background: var(--pch-page-bg, #F8FAFC) !important;
  padding: 0 !important;
  overflow-x: hidden;
  max-width: 100%;
}

body#home > .content > section {
  padding: 28px 0 !important;
}

body#home > .content #flashbox:empty,
body#home > .content #flashbox .wrap2:empty {
  display: none;
}

body#home > .content #flashbox:not(:empty) {
  padding-top: 12px;
}

body#home > .content > section:not(.pcr-reviews):not(.home-top-auctions):not(.home-bottom-hero):not(.pch-bottom-hero),
body#home > .content > section.home-search,
body#home > .content > section.home-recent,
body#home > .content > section.home-users,
body#home > .content > section.home-latest,
body#home > .content > section.home-premium,
body#home > .content > section.home-location,
body#home > .content > section.home-favorite,
body#home > .content > section.home-personalized,
body#home > .content > section.home-business,
body#home > .content > section.home-blog,
body#home > .content > section.home-gallery,
body#home > .content > section.home-top-auctions,
body#home > .content > section.home-categories,
body#home > .content > section.home-brands,
body#home > .content > section.pcr-reviews,
body#home .pcr-reviews-band {
  background: var(--pch-page-bg, #F8FAFC) !important;
  box-shadow: none !important;
}

body#home > .content > section.home-top-auctions,
body#home > .content > section.pcr-reviews,
body#home .pcr-reviews-band {
  overflow-x: hidden;
  max-width: 100%;
}

body#home section.pcr-reviews .pcr-reviews__title {
  color: var(--pch-charcoal, #111111) !important;
  text-align: center !important;
  float: none !important;
  display: block !important;
  width: 100% !important;
}

body#home section.pcr-reviews .pcr-reviews__header {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

body#home .pch-home-hero-band {
  background: var(--pch-page-bg, #F8FAFC);
}

/* Homepage gallery ? listings flagged "Show in Gallery" */
body#home > .content > section.home-gallery > .container {
  flex-direction: column;
  align-items: stretch;
}

body#home > .content > section.home-gallery > .container > .block {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

body#home > .content > section.home-gallery {
  background: var(--pch-page-bg, #F8FAFC) !important;
  color: var(--pch-charcoal, #111111);
  padding: 28px 0 32px;
  box-shadow: none !important;
  overflow-x: hidden;
}

/* Section header ? title left, grouped nav buttons right */
body#home .pch-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
  color: var(--pch-charcoal, #111111) !important;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  float: none;
}

body#home .pch-section-head__title {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

body#home .pch-section-head__navs {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

body#home .pch-section-head__navs .pch-scroll-nav,
body#home .pch-section-head__navs .pch-gallery-nav,
body#home .pch-section-head__navs .pch-carousel-nav {
  position: static;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 0;
  background: var(--pch-white, #FFFFFF);
  color: var(--pch-charcoal, #111111);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

body#home .pch-section-head__navs .pch-scroll-nav:first-child,
body#home .pch-section-head__navs .pch-gallery-nav:first-child,
body#home .pch-section-head__navs .pch-carousel-nav:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-right: 0;
}

body#home .pch-section-head__navs .pch-scroll-nav:last-child,
body#home .pch-section-head__navs .pch-gallery-nav:last-child,
body#home .pch-section-head__navs .pch-carousel-nav:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

body#home .pch-scroll-nav:hover,
body#home > .content > section.home-gallery .pch-gallery-nav:hover,
body#home > .content > section.home-top-auctions .pch-carousel-nav:hover {
  border-color: var(--pch-charcoal, #111111);
  color: var(--pch-charcoal, #111111);
  z-index: 1;
}

body#home .pch-scroll-nav i,
body#home > .content > section.home-gallery .pch-gallery-nav i,
body#home > .content > section.home-top-auctions .pch-carousel-nav i {
  font-size: 14px;
  line-height: 1;
}

body#home > .content > section.home-gallery .pch-gallery-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body#home > .content > section.home-gallery .pch-gallery-viewport,
body#home > .content > section.home-top-auctions .pch-carousel-viewport {
  container-type: inline-size;
  container-name: pch-carousel;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body#home > .content > section.home-gallery .pch-gallery-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  will-change: transform;
  transition: transform 0.3s ease;
}

body#home > .content > section.home-gallery .pch-gallery-track.is-jumping {
  transition: none;
}

/* Unified homepage card size — Galerie / Latest / Recent / auctions (4 across) */
body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod,
body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod,
body#home > .content > section.home-latest #latest-items > .simple-prod,
body#home > .content > section.home-recent #recent-items > .simple-prod {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 4) !important;
  width: calc((100% - 36px) / 4) !important;
  max-width: calc((100% - 36px) / 4) !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Gallery / auctions tracks are max-content — size from viewport container */
body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod,
body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod {
  flex: 0 0 calc((100cqw - 36px) / 4) !important;
  width: calc((100cqw - 36px) / 4) !important;
  max-width: calc((100cqw - 36px) / 4) !important;
  min-width: calc((100cqw - 36px) / 4) !important;
}

body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod .simple-wrap,
body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod .simple-wrap,
body#home > .content > section.home-latest #latest-items > .simple-prod .simple-wrap,
body#home > .content > section.home-recent #recent-items > .simple-prod .simple-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod .img-wrap,
body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod .img-wrap,
body#home > .content > section.home-latest #latest-items > .simple-prod .img-wrap,
body#home > .content > section.home-recent #recent-items > .simple-prod .img-wrap {
  height: 160px !important;
  min-height: 160px !important;
  max-height: 160px !important;
  overflow: hidden;
}

body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod .img-wrap img,
body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod .img-wrap img,
body#home > .content > section.home-latest #latest-items > .simple-prod .img-wrap img,
body#home > .content > section.home-recent #recent-items > .simple-prod .img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s ease;
}

/* Hover must beat #latest-items / #recent-items specificity (shadow was stuck at none) */
@media (hover: hover) and (pointer: fine) {
  body#home > .content > section.home-latest #latest-items > .simple-prod:hover,
  body#home > .content > section.home-recent #recent-items > .simple-prod:hover,
  body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod:hover,
  body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod:hover {
    z-index: 4;
  }

  body#home > .content > section.home-latest #latest-items > .simple-prod:hover .simple-wrap,
  body#home > .content > section.home-recent #recent-items > .simple-prod:hover .simple-wrap,
  body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod:hover .simple-wrap,
  body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod:hover .simple-wrap {
    transform: translateY(-6px);
    border-color: var(--pch-primary, #EA580C) !important;
    box-shadow:
      0 14px 30px rgba(17, 17, 17, 0.16),
      0 4px 10px rgba(234, 88, 12, 0.16) !important;
  }

  body#home > .content > section.home-latest #latest-items > .simple-prod:hover .img-wrap img,
  body#home > .content > section.home-recent #recent-items > .simple-prod:hover .img-wrap img,
  body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod:hover .img-wrap img,
  body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod:hover .img-wrap img {
    transform: scale(1.05);
  }

  body#home > .content > section.home-latest #latest-items > .simple-prod:hover .title,
  body#home > .content > section.home-recent #recent-items > .simple-prod:hover .title,
  body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod:hover .title,
  body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod:hover .title {
    color: var(--pch-primary, #EA580C);
  }
}

body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod .title,
body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod .title,
body#home > .content > section.home-latest #latest-items > .simple-prod .title,
body#home > .content > section.home-recent #recent-items > .simple-prod .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  line-height: 1.3;
  min-height: 0;
  max-height: 2.6em;
  font-size: 13px;
  font-weight: 600;
}

.pch-auction-countdown {
  margin-top: auto;
  padding: 10px 12px;
  background: var(--pch-primary, #EA580C);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  border-radius: 0 0 8px 8px;
}

@media (max-width: 767px) {
  body#home .pch-section-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 20px;
  }

  body#home .pch-section-head__navs .pch-scroll-nav,
  body#home .pch-section-head__navs .pch-gallery-nav,
  body#home .pch-section-head__navs .pch-carousel-nav {
    width: 30px;
    height: 30px;
  }

  body#home .pch-scroll-nav i,
  body#home > .content > section.home-gallery .pch-gallery-nav i,
  body#home > .content > section.home-top-auctions .pch-carousel-nav i {
    font-size: 13px;
  }

  body#home > .content > section.home-gallery {
    padding: 20px 0 24px !important;
  }

  body#home > .content > section.home-gallery > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body#home > .content > section.home-gallery .pch-gallery-track,
  body#home > .content > section.home-top-auctions .pch-carousel-track {
    gap: 10px;
  }

  /*
   * Exactly 2 full cards visible on smartphones.
   * Must match desktop selector specificity to override 220px / min-width:220px.
   * 100cqw = carousel viewport width (padding already excluded).
   */
  body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod,
  body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod {
    flex: 0 0 calc((100cqw - 10px) / 2) !important;
    width: calc((100cqw - 10px) / 2) !important;
    min-width: calc((100cqw - 10px) / 2) !important;
    max-width: calc((100cqw - 10px) / 2) !important;
    margin: 0 !important;
  }

  /* Fallback when container queries are unavailable */
  @supports not (width: 1cqw) {
    body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod,
    body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod {
      flex: 0 0 calc((100vw - 34px) / 2) !important;
      width: calc((100vw - 34px) / 2) !important;
      min-width: calc((100vw - 34px) / 2) !important;
      max-width: calc((100vw - 34px) / 2) !important;
    }
  }

  body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod .img-wrap,
  body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod .img-wrap,
  body#home > .content > section.home-latest #latest-items > .simple-prod .img-wrap,
  body#home > .content > section.home-recent #recent-items > .simple-prod .img-wrap {
    height: 140px !important;
    min-height: 140px;
    max-height: 140px;
  }

  .pch-auction-countdown {
    font-size: 12px;
    padding: 9px 10px;
  }
}

/* Homepage top auctions ? listings flagged "Top auctions" */
body#home > .content > section.home-top-auctions > .container {
  flex-direction: column;
  align-items: stretch;
}

body#home > .content > section.home-top-auctions > .container > .block {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

body#home > .content > section.home-top-auctions {
  color: var(--pch-charcoal, #111111);
  padding: 28px 0 32px;
  overflow-x: hidden;
}

body#home > .content > section.home-top-auctions h2 {
  margin: 0 0 24px;
  padding: 0;
  color: var(--pch-charcoal, #111111) !important;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  float: none;
}

body#home > .content > section.home-top-auctions .pch-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body#home > .content > section.home-top-auctions .pch-carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  will-change: transform;
  transition: transform 0.3s ease;
}

body#home > .content > section.home-top-auctions .pch-carousel-track.is-jumping {
  transition: none;
}

@media (max-width: 767px) {
  body#home > .content > section.home-top-auctions {
    padding: 20px 0 24px !important;
  }

  body#home > .content > section.home-top-auctions > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body#home > .content > section.home-top-auctions h2 {
    font-size: 20px;
    margin-bottom: 14px;
  }
}

@media (min-width: 992px) {
  header .container.cmain,
  .container-lg,
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  header .container.cmain,
  .container-lg,
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  header .container.cmain,
  .container-lg,
  .container {
    max-width: 1320px;
  }
}

/* Homepage ? Latest & Recently viewed horizontal rows */
body#home > .content > section.home-latest,
body#home > .content > section.home-recent {
  overflow-x: hidden;
}

body#home > .content > section.home-latest h2,
body#home > .content > section.home-recent h2 {
  margin: 0 0 20px;
  padding: 0;
  color: var(--pch-charcoal, #111111) !important;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  float: none;
}

body#home > .content > section.home-latest .nice-scroll-wrap,
body#home > .content > section.home-recent .nice-scroll-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

@media (min-width: 768px) and (max-width: 1099px) {
  body#home > .content > section.home-gallery .pch-gallery-track > .simple-prod,
  body#home > .content > section.home-top-auctions .pch-carousel-track > .simple-prod {
    flex: 0 0 calc((100cqw - 36px) / 4) !important;
    width: calc((100cqw - 36px) / 4) !important;
    max-width: calc((100cqw - 36px) / 4) !important;
    min-width: calc((100cqw - 36px) / 4) !important;
  }

  body#home > .content > section.home-latest #latest-items > .simple-prod,
  body#home > .content > section.home-recent #recent-items > .simple-prod {
    flex: 0 0 calc((100% - 36px) / 4) !important;
    width: calc((100% - 36px) / 4) !important;
    max-width: calc((100% - 36px) / 4) !important;
    min-width: 0 !important;
  }
}

body#home > .content > section.home-latest #latest-items,
body#home > .content > section.home-recent #recent-items {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  padding: 10px 0 22px !important;
  margin: -10px 0 -22px !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body#home > .content > section.home-latest #latest-items::-webkit-scrollbar,
body#home > .content > section.home-recent #recent-items::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (max-width: 767px) {
  body#home > .content > section.home-latest,
  body#home > .content > section.home-recent {
    padding: 20px 0 24px !important;
  }

  body#home > .content > section.home-latest > .container,
  body#home > .content > section.home-recent > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body#home > .content > section.home-latest #latest-items,
  body#home > .content > section.home-recent #recent-items {
    gap: 10px !important;
    margin: 0 !important;
    padding: 4px 0 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    container-type: inline-size;
    container-name: pch-home-list;
  }

  /* Exactly 2 full cards in the mobile viewport */
  body#home > .content > section.home-latest #latest-items > .simple-prod,
  body#home > .content > section.home-recent #recent-items > .simple-prod {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    min-width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
    margin: 0 !important;
  }

  body#home > .content > section.home-latest #latest-items > .simple-prod .img-wrap,
  body#home > .content > section.home-recent #recent-items > .simple-prod .img-wrap {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
  }
}

/* Homepage mobile polish ? containers, footer columns, hero/banner overflow */
@media (max-width: 767px) {
  body#home > .content {
    padding-top: 12px !important;
  }

  body#home > .content > section {
    padding: 16px 0 !important;
  }

  /* Keep hero fully clear of fixed header/search */
  body#home .banner-box.pch-home-hero-band,
  body#home .pch-home-hero-band {
    margin: 0 0 8px !important;
    padding: 0 !important;
    position: relative;
    z-index: 0;
  }

  body#home > .content > section.home-personalized {
    margin: 8px 0 4px !important;
    padding: 8px 0 !important;
  }

  body#home > .content > section.home-search.pch-home-categories,
  body#home section.home-search.pch-home-categories,
  .pch-home-categories {
    padding: 12px 0 16px !important;
    margin: 0 !important;
  }

  body#home section.home-search.pch-home-categories h2 {
    margin: 0 0 12px !important;
    font-size: 22px !important;
  }

  body#home > .content > .container,
  body#home > .content > section > .container,
  body#home .banner-box.container {
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body#home .banner-box img,
  body#home .pch-home-hero-band img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  body#home footer .col {
    flex: 1 1 100%;
    max-width: 100%;
    padding-right: 0;
  }

  body#home footer section.one,
  body#home footer section.two {
    flex-direction: column;
  }
}

/* Footer CTA ? brand orange */
section.promo {
  background: var(--pch-primary, #EA580C) !important;
  background: linear-gradient(135deg, var(--pch-primary, #EA580C), var(--pch-primary-dk, #C2410C)) !important;
  box-shadow: none !important;
  color: var(--pch-white, #FFFFFF);
}

section.promo .btn.btn-transparent {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

section.promo .btn.btn-transparent:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Homepage listing cards — surfaces; orange reserved for prices + hover accent */
body#home .simple-prod .title {
  color: var(--pch-charcoal, #111111);
}

body#home .simple-prod .price,
body#home .simple-prod .img-wrap .bar .price,
body#home .simple-prod .right .price {
  color: var(--pch-primary, #EA580C) !important;
}

body#home .simple-prod .info,
body#home .simple-prod .location,
body#home .simple-prod .date {
  color: var(--pch-muted, #6b7280);
}

/* Listing cards: lift + image zoom + shadow + accent border on hover */
.simple-prod {
  transition: transform 0.28s ease;
}

.simple-prod .simple-wrap {
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 8px;
  background: var(--pch-white, #FFFFFF);
  overflow: hidden;
  box-shadow: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.simple-prod .img-wrap {
  overflow: hidden;
}

.simple-prod .img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.35s ease;
  will-change: transform;
}

body#home .simple-prod .simple-wrap,
#search-items .simple-prod .simple-wrap,
body#search .simple-prod .simple-wrap,
body#item .simple-prod .simple-wrap,
body#user-public-profile .simple-prod .simple-wrap {
  border-color: var(--pch-border, #e5e7eb);
  background: var(--pch-white, #FFFFFF);
}

@media (hover: hover) and (pointer: fine) {
  .simple-prod:hover {
    z-index: 2;
  }

  .simple-prod:hover .simple-wrap {
    transform: translateY(-6px);
    border-color: var(--pch-primary, #EA580C);
    box-shadow:
      0 14px 30px rgba(17, 17, 17, 0.16),
      0 4px 10px rgba(234, 88, 12, 0.16);
  }

  .simple-prod:hover .img-wrap img {
    transform: scale(1.05);
  }

  .simple-prod:hover .title {
    color: var(--pch-primary, #EA580C);
  }
}

@media (prefers-reduced-motion: reduce) {
  .simple-prod,
  .simple-prod .simple-wrap,
  .simple-prod .img-wrap img {
    transition: none;
  }

  .simple-prod:hover {
    transform: none;
  }

  .simple-prod:hover .img-wrap img {
    transform: none;
  }
}

/* Primary CTAs — Action Orange #EA580C (publish, search, main actions) */
header .links .publish,
header .pch-header-search__btn,
#search-button,
body .btn.btn-primary,
body a.btn.btn-primary,
body .btn.btn-secondary.publish,
body .btn.mbBg,
body a.btn.mbBg,
body .btn.init-search {
  background-color: var(--pch-primary, #EA580C) !important;
  border-color: var(--pch-primary, #EA580C) !important;
  color: #FFFFFF !important;
  font-weight: 600;
}

/* French CTA labels — size to content so background never clips text (desktop only) */
@media (min-width: 992px) {
  header .links .publish:not(.mini),
  header .links .account {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    height: auto !important;
    min-height: 40px;
    padding: 10px 16px !important;
    white-space: nowrap !important;
    line-height: 1.25;
    box-sizing: border-box;
    font-weight: 600;
    overflow: visible !important;
    flex-shrink: 0 !important;
  }

  header .links .publish:not(.mini) svg {
    flex-shrink: 0;
    margin-right: 4px;
    width: 18px;
    height: 18px;
  }
}

body#home .pch-section-head__title,
.pcr-reviews__title {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 100%;
}

header .links .publish:hover,
header .pch-header-search__btn:hover,
#search-button:hover,
body .btn.btn-primary:hover,
body a.btn.btn-primary:hover {
  background-color: var(--pch-primary-dk, #C2410C) !important;
  border-color: var(--pch-primary-dk, #C2410C) !important;
}

/*
 * Client guardrail ? Mobile multi-grid constraint (smartphones ?767px)
 * Category results and item grids: exactly 2 products max per row.
 * Overrides epsilon parent rules that force 3 columns:
 *   - .simple-prod.medium { width: calc(33% - 8px); }         (@max 767)
 *   - .products.grid .simple-prod { width: calc(33.33% - 2px); } (@max 1024)
 * Horizontal carousels / nice-scroll rows are excluded (they show 2 cards
 * via fixed/cqw widths, not as a wrapped multi-column grid).
 */
@media screen and (max-width: 767px) {
  #search-items .products.grid,
  body#search .products.grid,
  body#item .products.grid:not(.nice-scroll),
  body#user-public-profile .products.grid:not(.nice-scroll),
  body#home .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid),
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #search-items .products.grid .simple-prod,
  #search-items .products.grid .simple-prod.mini,
  #search-items .products.grid .simple-prod.small,
  #search-items .products.grid .simple-prod.medium,
  #search-items .products.grid .simple-prod.large,
  #search-items .products.grid .simple-prod.extralarge,
  body#search .products.grid .simple-prod,
  body#search .products.grid .simple-prod.mini,
  body#search .products.grid .simple-prod.small,
  body#search .products.grid .simple-prod.medium,
  body#search .products.grid .simple-prod.large,
  body#search .products.grid .simple-prod.extralarge,
  body#item .products.grid:not(.nice-scroll) > .simple-prod,
  body#item .products.grid:not(.nice-scroll) > .simple-prod.medium,
  body#user-public-profile .products.grid:not(.nice-scroll) > .simple-prod,
  body#user-public-profile .products.grid:not(.nice-scroll) > .simple-prod.medium,
  body#home .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) > .simple-prod,
  body#home .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) > .simple-prod.medium,
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) > .simple-prod,
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) > .simple-prod.mini,
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) > .simple-prod.small,
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) > .simple-prod.medium,
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) > .simple-prod.large,
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) > .simple-prod.extralarge {
    flex: 0 0 calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  /* Kill parent 3-column medium sizing anywhere it still leaks into grids */
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) .simple-prod.medium,
  #search-items .products.grid .simple-prod.medium,
  #related-items .simple-prod.medium,
  #related-items.products .simple-prod.medium {
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
  }

  #search-items .products.grid .simple-prod .title,
  body#search .products.grid .simple-prod .title,
  .products.grid:not(.pch-gallery-track):not(.pch-carousel-track):not(.nice-scroll):not(.pch-totem-block__grid):not(.pch-gallery-grid) .simple-prod .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    line-height: 1.3;
  }

  /* Totem stays full-width on mobile; products remain 2-per-row */
  #search-items .products .pch-totem,
  body#search .products .pch-totem {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }
}

/*
 * Section 2.1 ? "4+1 Totem" native ad / feature block inside search & category grids.
 * Spans the full grid row so product cards keep their column rhythm (incl. 2-col mobile).
 */
#search-items .products .pch-totem,
body#search .products .pch-totem {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 8px 0 16px !important;
  box-sizing: border-box;
}

.pch-totem__ad,
.pch-totem__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 140px;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--pch-white, #FFFFFF);
  border: 1px solid var(--pch-border, #e5e7eb);
  box-sizing: border-box;
}

.pch-totem--1 .pch-totem__inner {
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.pch-totem--2 .pch-totem__inner {
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
}

.pch-totem__eyebrow {
  font-family: var(--pch-font-ui, Inter, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pch-primary, #EA580C);
  line-height: 1.5;
}

.pch-totem__title {
  margin: 0 !important;
  font-family: var(--pch-font, "Plus Jakarta Sans", Inter, system-ui, sans-serif) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--pch-charcoal, #111111) !important;
}

.pch-totem__text {
  margin: 0;
  max-width: 42rem;
  font-family: var(--pch-font-ui, Inter, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--pch-muted, #6b7280);
}

.pch-totem__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--pch-primary, #EA580C);
  color: var(--pch-white, #FFFFFF) !important;
  font-family: var(--pch-font-ui, Inter, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
}

.pch-totem__cta:hover {
  background: var(--pch-primary-dk, #C2410C);
  color: var(--pch-white, #FFFFFF) !important;
}

.pch-totem__ad img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.pch-totem__ad .banner-theme,
.pch-totem__ad #banner-theme {
  margin: 0;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .pch-totem__ad,
  .pch-totem__inner {
    min-height: 120px;
    padding: 16px;
  }

  .pch-totem__title {
    font-size: 17px !important;
  }
}

/*
 * Section 2 ? Navigation facets & breadcrumb capsules
 * Zero-result prevention + removable AJAX filter pills
 */
#search-filters.pch-filter-capsules,
body#search #search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
}
#search-filters a:after {
  content: none !important;
}
body#search #search-filters .pch-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  padding: 6px 10px 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--pch-border, #e5e7eb);
  background: var(--pch-white, #FFFFFF);
  color: var(--pch-charcoal, #111111) !important;
  font-family: var(--pch-font-ui, Inter, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

body#search #search-filters .pch-capsule:hover {
  border-color: var(--pch-charcoal, #111111);
  background: var(--pch-light, #f3f4f6);
  color: var(--pch-charcoal, #111111) !important;
}

body#search #search-filters .pch-capsule__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body#search #search-filters .pch-capsule__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pch-light, #f3f4f6);
  color: var(--pch-charcoal, #111111);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

body#search #search-filters .pch-capsule:hover .pch-capsule__close {
  background: var(--pch-charcoal, #111111);
  color: var(--pch-white, #FFFFFF);
}

body#search #search-filters .pch-capsule--clear {
  border-color: transparent;
  background: var(--pch-primary-bg, #fff7ed);
  color: var(--pch-primary, #EA580C) !important;
}

body#search #search-filters .pch-capsule--clear .pch-capsule__close {
  background: rgba(249, 115, 22, 0.15);
  color: var(--pch-primary, #EA580C);
}

/* Move the "Select category" box above the filter form (desktop sidebar only;
   mobile uses #side-menu, so this must not touch the <=767px layout). */
@media screen and (min-width: 768px) {
  #search-menu.filter-menu {
    display: flex;
    flex-direction: column;
  }

  #search-menu.filter-menu > #search-category-box {
    order: -1;
    margin: 0 0 16px 0;
  }
}

/* Zero-result facets ? greyed out, non-interactive */
#search-category-box a.pch-facet-disabled,
#search-category-box a[data-pch-disabled="1"] {
  opacity: 0.45;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  pointer-events: none;
  filter: grayscale(0.35);
  text-decoration: none !important;
}

#search-category-box a.pch-facet-disabled em,
#search-category-box a[data-pch-disabled="1"] em,
#search-category-box a em {
  font-style: normal;
  font-weight: 600;
  margin-left: 4px;
  color: inherit;
}

#search-category-box a.pch-facet-disabled em,
#search-category-box a[data-pch-disabled="1"] em {
  color: #9ca3af;
}

form.search-side-form select option:disabled,
form.search-side-form select option.pch-facet-disabled {
  color: #9ca3af;
  background: #f3f4f6;
}

@media screen and (max-width: 767px) {
  body#search #search-filters .pch-capsule {
    font-size: 12px;
    padding: 5px 8px 5px 10px;
  }
}

/*
 * Section 3 ? Landing page structure
 * Category grid, brand carousel, bottom hero, 4-col footer
 */

/* Mobile search suggestions ? undo epsilon full-viewport height lock */
@media screen and (max-width: 767px) {
  header .container.alt.csearch .picker.pattern.mobile .results {
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: min(55dvh, calc(100dvh - 120px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #ccc;
    background: #fff;
  }
}

/* Category icon grid */
body#home > .content > section.home-search.pch-home-categories,
.pch-home-categories {
  padding: 28px 0 20px !important;
  background: var(--pch-page-bg, #F8FAFC) !important;
  overflow: visible;
}

body#home section.home-search.pch-home-categories .box {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 0 8px !important;
  overflow: visible;
}

/* Remove epsilon decorative home-search.webp illustration */
body#home .home-search > .container:after,
body#home section.home-search > .container:after {
  content: none !important;
  display: none !important;
  background: none !important;
}

body#home section.home-search.pch-home-categories h2 {
  margin: 0 0 16px !important;
  float: none !important;
  color: var(--pch-charcoal, #111111) !important;
  font-family: var(--pch-font-display, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
}

.pch-home-categories__ad {
  margin: 0 0 16px;
  max-width: 100%;
  overflow: hidden;
}

.pch-home-categories__ad img {
  max-width: 100%;
  height: auto;
  display: block;
}

body#home #home-cat.pch-cat-grid,
.pch-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100% !important;
  float: none !important;
}

body#home #home-cat.pch-cat-grid > a,
.pch-cat-grid__item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 18px 10px 14px;
  border-radius: 12px;
  background: var(--pch-white, #FFFFFF);
  border: 1px solid var(--pch-border, #e5e7eb);
  text-decoration: none !important;
  color: var(--pch-charcoal, #111111) !important;
  box-shadow: none;
  box-sizing: border-box;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  body#home #home-cat.pch-cat-grid > a:hover,
  .pch-cat-grid__item:hover {
    transform: translateY(-6px);
    border-color: var(--pch-primary, #EA580C);
    box-shadow:
      0 14px 30px rgba(17, 17, 17, 0.16),
      0 4px 10px rgba(234, 88, 12, 0.16);
    color: var(--pch-primary, #EA580C) !important;
  }

  body#home #home-cat.pch-cat-grid > a:hover > div img,
  .pch-cat-grid__item:hover .pch-cat-grid__icon img {
    transform: scale(1.05);
  }
}

/* FA / image icon wells — uniform 56×56 container (spec) */
body#home #home-cat.pch-cat-grid > a > div,
.pch-cat-grid__icon,
.category-card .icon-wrapper {
  position: relative;
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(234, 88, 12, 0.12) !important;
  color: var(--pch-primary, #EA580C) !important;
  font-size: 22px;
  overflow: hidden;
  margin: 0 auto !important;
  box-sizing: border-box;
}

body#home #home-cat.pch-cat-grid > a:nth-child(even) > div,
.pch-cat-grid__item:nth-child(even) .pch-cat-grid__icon {
  background: rgba(27, 42, 74, 0.1) !important;
  color: var(--pch-navy, #1B2A4A) !important;
}

/* Custom image icons: transparent well, same 56×56 box */
body#home #home-cat.pch-cat-grid > a > div:has(> img),
.pch-cat-grid__icon:has(> img),
body#home #home-cat.pch-cat-grid > a > div.pch-cat-grid__icon--image,
.pch-cat-grid__icon--image,
body#home #home-cat.pch-cat-grid > a:nth-child(even) > div:has(> img),
.pch-cat-grid__item:nth-child(even) .pch-cat-grid__icon:has(> img),
body#home #home-cat.pch-cat-grid > a:nth-child(even) > div.pch-cat-grid__icon--image,
.pch-cat-grid__item:nth-child(even) .pch-cat-grid__icon--image {
  width: 56px !important;
  height: 56px !important;
  background: transparent !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none !important;
}

body#home #home-cat.pch-cat-grid > a > div i,
.pch-cat-grid__icon i,
body#home #home-cat.pch-cat-grid > a > div svg,
.pch-cat-grid__icon svg,
.category-card .icon-wrapper i,
.category-card .icon-wrapper svg {
  color: inherit !important;
  fill: currentColor;
}

/* Search sidebar category icons — same brand palette */
#search-category-box .icon {
  background: rgba(234, 88, 12, 0.1) !important;
  color: var(--pch-primary, #EA580C) !important;
  box-shadow: none !important;
}

#search-category-box .icon i,
#search-category-box .icon svg {
  color: var(--pch-primary, #EA580C) !important;
  fill: var(--pch-primary, #EA580C) !important;
}

body#home #home-cat.pch-cat-grid > a > div svg,
.pch-cat-grid__icon svg,
.category-card .icon-wrapper svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
  box-sizing: border-box;
}

body#home #home-cat.pch-cat-grid > a > div img,
.pch-cat-grid__icon img,
.category-card .icon-wrapper img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
  object-fit: contain;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s ease;
}

body#home #home-cat.pch-cat-grid > a h3,
.pch-cat-grid__item h3 {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center;
  float: none !important;
  width: auto !important;
}

body#home #home-cat.pch-cat-grid > a h3 span,
.pch-cat-grid__item h3 span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body#home #home-cat.pch-cat-grid .lab,
.pch-cat-grid__item .lab {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 1;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 3px;
  background: var(--pch-primary, #EA580C);
  color: #fff;
}

@media (max-width: 991px) {
  body#home #home-cat.pch-cat-grid,
  .pch-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body#home #home-cat.pch-cat-grid,
  .pch-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  /* Keep 56×56 on mobile for visual consistency across devices */
  body#home #home-cat.pch-cat-grid > a > div,
  .pch-cat-grid__icon,
  .category-card .icon-wrapper,
  body#home #home-cat.pch-cat-grid > a > div:has(> img),
  .pch-cat-grid__icon:has(> img),
  body#home #home-cat.pch-cat-grid > a > div.pch-cat-grid__icon--image,
  .pch-cat-grid__icon--image {
    width: 56px !important;
    height: 56px !important;
    font-size: 20px;
  }
}

/* Brand partners ? same section-head pattern as Latest listings + Slick track */
body#home > .content > section.home-brands,
body#home section.home-brands,
.pch-home-brands {
  display: block !important;
  width: 100% !important;
  padding: 28px 0 36px !important;
  margin: 0 !important;
  background: var(--pch-page-bg, #F8FAFC) !important;
  box-shadow: none !important;
  overflow: visible !important;
  float: none !important;
  clear: both !important;
}

.pch-home-brands .block {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pch-brand-carousel {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: both !important;
}

.pch-brand-carousel__track {
  width: 100%;
  margin: 0;
}

.pch-brand-carousel__track:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}

.pch-brand-carousel__track:not(.slick-initialized) .pch-brand-carousel__item {
  flex: 0 0 auto;
}

.pch-brand-carousel__track .slick-list {
  margin: 0 -10px;
  overflow: visible !important;
  padding: 10px 0 20px;
}

.pch-brand-carousel__track .slick-track {
  display: flex !important;
  align-items: stretch;
  gap: 10px;
}

.pch-brand-carousel__track .slick-slide {
  height: 200px !important;
  padding: 0 10px;
  float: none !important;
  box-sizing: border-box;
}

.pch-brand-carousel__track .slick-slide > div {
  height: 100%;
}

.pch-brand-carousel__item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 28px 18px 22px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--pch-border, #e5e7eb);
  background: #ffffff;
  text-decoration: none !important;
  color: var(--pch-charcoal, #111111);
  box-shadow: none;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    color 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pch-brand-carousel__item:hover,
  .pch-brand-carousel__item:focus-visible {
    transform: translateY(-6px);
    border-color: var(--pch-primary, #EA580C);
    box-shadow:
      0 14px 30px rgba(17, 17, 17, 0.16),
      0 4px 10px rgba(234, 88, 12, 0.16);
    color: var(--pch-primary, #EA580C);
    outline: none;
  }

  .pch-brand-carousel__item:hover .pch-brand-carousel__logo,
  .pch-brand-carousel__item:focus-visible .pch-brand-carousel__logo {
    transform: scale(1.05);
  }

  .pch-brand-carousel__item:hover .pch-brand-carousel__name,
  .pch-brand-carousel__item:focus-visible .pch-brand-carousel__name {
    color: var(--pch-primary, #EA580C);
  }
}

.pch-brand-carousel__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
}

.pch-brand-carousel__logo {
  display: block;
  max-width: 140px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s ease;
}

.pch-brand-carousel__monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pch-light, #f3f4f6);
  color: var(--pch-charcoal, #111111);
  font-size: 20px;
  font-weight: 700;
}

.pch-brand-carousel__name {
  display: block;
  width: 100%;
  font-family: var(--pch-font, "Plus Jakarta Sans", Inter, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--pch-charcoal, #111111);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 991px) {
  .pch-brand-carousel__track .slick-slide {
    height: 180px !important;
  }

  .pch-brand-carousel__logo-wrap {
    height: 64px;
  }

  .pch-brand-carousel__logo {
    max-width: 128px;
    max-height: 56px;
  }
}

@media (max-width: 767px) {
  body#home > .content > section.home-brands,
  .pch-home-brands {
    padding: 20px 0 28px !important;
  }

  .pch-brand-carousel__track .slick-list {
    margin: 0 -8px;
  }

  .pch-brand-carousel__track .slick-slide {
    height: 160px !important;
    padding: 0 8px;
  }

  .pch-brand-carousel__item {
    padding: 20px 14px 16px;
    gap: 12px;
  }

  .pch-brand-carousel__logo-wrap {
    height: 56px;
  }

  .pch-brand-carousel__logo {
    max-width: 112px;
    max-height: 48px;
  }

  .pch-brand-carousel__name {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .pch-brand-carousel__track .slick-slide {
    height: 140px !important;
  }

  .pch-brand-carousel__item {
    padding: 16px 12px 14px;
    gap: 10px;
  }

  .pch-brand-carousel__logo-wrap {
    height: 48px;
  }

  .pch-brand-carousel__logo {
    max-width: 96px;
    max-height: 40px;
  }
}

/* Parent footer.php prints the "professional seller" promo above footer_pre;
   we re-render it (as .pch-promo) below the bottom hero, so hide the original. */
section.promo:not(.pch-promo) {
  display: none !important;
}

/* Item contact / send-friend / comment open in an iframe that includes footer.php.
   PHP skips rendering there; this is a CSS safety net if anything still leaks in. */
body.modal-data .pch-home-hero-band,
body.modal-data .pch-home-ads-band,
body#item-forms .pch-home-hero-band,
body#item-forms .pch-home-ads-band,
body.modal-data .pch-bottom-hero,
body.modal-data .pch-promo,
body#item-forms .pch-bottom-hero,
body#item-forms .pch-promo,
body.modal-data footer,
body#item-forms footer {
  display: none !important;
}

/* Bottom hero conversion funnel ? dark band above footer (Section 3.1) */
body#home > .content > section.home-bottom-hero.pch-bottom-hero,
body#home > .content > section.pch-bottom-hero,
body#home section.home-bottom-hero.pch-bottom-hero,
body#home section.pch-bottom-hero,
section.home-bottom-hero.pch-bottom-hero,
section.pch-bottom-hero {
  display: block !important;
  visibility: visible !important;
  padding: 64px 0 !important;
  background: var(--pch-charcoal, #111111) !important;
  color: var(--pch-white, #FFFFFF) !important;
  overflow: visible !important;
  box-shadow: none !important;
}

body#home > .content > section.pch-bottom-hero > .container,
body#home section.pch-bottom-hero > .container,
section.pch-bottom-hero > .container {
  max-width: 1140px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  overflow: visible;
}

.pch-bottom-hero__widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.pch-bottom-hero__widget > * {
  max-width: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
}

.pch-bottom-hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pch-bottom-hero__copy,
.pch-bottom-hero__aside {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.pch-bottom-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pch-primary, #EA580C) !important;
}

.pch-bottom-hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--pch-primary, #EA580C);
}

body#home > .content > section.pch-bottom-hero .pch-bottom-hero__title,
.pch-bottom-hero__title {
  margin: 0 0 12px !important;
  float: none !important;
  display: block !important;
  width: auto !important;
  color: var(--pch-white, #FFFFFF) !important;
  font-family: var(--pch-font-display, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
}

.pch-bottom-hero__text {
  margin: 0 0 28px;
  color: #E2E8F0 !important;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 34rem;
}

.pch-bottom-hero__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 30rem;
}

.pch-bottom-hero__label {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F1F5F9 !important;
}

.pch-bottom-hero__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.pch-bottom-hero__field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.pch-bottom-hero__field input:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.pch-bottom-hero__field input:focus {
  outline: none;
  border-color: var(--pch-primary, #EA580C);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
}

.pch-bottom-hero__field input::placeholder,
.pch-bottom-hero__field input::-webkit-input-placeholder,
.pch-bottom-hero__field input::-moz-placeholder {
  color: #CBD5E1 !important;
  opacity: 1;
}

/* Search-alert inline success state (form is swapped for this message) */
.pch-search-alert__done {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.pch-search-alert {
  justify-content: flex-start;
}

.pch-search-alert__note {
  margin: 0;
  max-width: none;
  color: #94A3B8 !important;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pch-search-alert__form .pch-bottom-hero__aside-text {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pch-bottom-hero__form.pch-search-alert__form {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100% !important;
  min-height: 0;
  height: 100%;
  gap: 12px;
  /* padding: 28px; */
  border-radius: 14px;
  /* background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.05) 100%); */
  /* border: 1px solid rgba(255, 255, 255, 0.12); */
  /* box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35); */
  /* box-sizing: border-box; */
}

.pch-search-alert__row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  min-width: 0;
}

.pch-search-alert__cols {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px;
  width: 100%;
}

@media (max-width: 560px) {
  .pch-search-alert__cols {
    grid-template-columns: 1fr !important;
  }

  .pch-bottom-hero__form.pch-search-alert__form {
    padding: 20px;
  }
}

.pch-search-alert__form input[type="search"],
.pch-search-alert__form input[type="text"],
.pch-search-alert__form input[type="email"],
.pch-search-alert__form input[type="tel"],
.pch-search-alert__form select,
.pch-bottom-hero__field select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.pch-search-alert__form select,
.pch-bottom-hero__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23CBD5E1' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.pch-search-alert__form input:hover,
.pch-search-alert__form select:hover,
.pch-bottom-hero__field select:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.pch-search-alert__form input:focus,
.pch-search-alert__form select:focus,
.pch-bottom-hero__field select:focus {
  outline: none;
  border-color: var(--pch-primary, #EA580C);
  background-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
}

.pch-search-alert__form select option,
.pch-bottom-hero__field select option {
  color: #0f172a;
  background: #fff;
}

.pch-search-alert__form input::placeholder {
  color: #CBD5E1 !important;
  opacity: 1;
}

.pch-search-alert__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 0;
  color: #E2E8F0 !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  cursor: pointer;
}

.pch-search-alert__form .pch-search-alert__check input[type="checkbox"],
.pch-bottom-hero__field .pch-search-alert__check input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--pch-primary, #EA580C);
  cursor: pointer;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pch-search-alert__submit {
  max-width: none;
  margin-top: auto;
}

.pch-search-alert__form .pch-search-alert__submit {
  width: 100%;
  max-width: none;
}

.pch-search-alert__sellers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.pch-search-alert__seller {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #F1F5F9 !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  cursor: pointer;
}

.pch-bottom-hero__field .pch-search-alert__seller input[type="radio"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--pch-primary, #EA580C);
  cursor: pointer;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Homepage lead widgets — compact SweetAlert2 popup (do not resize .swal2-icon — breaks success checkmark) */
.pch-swal.swal2-popup {
  width: min(28rem, calc(100vw - 2rem)) !important;
  padding: 1.75rem 1.5rem 1.5rem !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22) !important;
  font-family: var(--pch-font-body, "Plus Jakarta Sans", sans-serif) !important;
}

.pch-swal .swal2-icon {
  margin: 0.25rem auto 1rem !important;
}

.pch-swal__title.swal2-title {
  margin: 0 0 0.5rem !important;
  padding: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #0f172a !important;
}

.pch-swal__text.swal2-html-container {
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #475569 !important;
}

.pch-swal__btn.swal2-confirm {
  margin: 0 !important;
  min-width: 6.5rem;
  padding: 0.65rem 1.35rem !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.pch-bottom-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: min(100%, 200px);
  max-width: 100%;
  min-height: 48px;
  height: auto;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--pch-primary, #EA580C);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
  box-sizing: border-box;
}

.pch-bottom-hero__cta:hover {
  background: var(--pch-primary-dk, #C2410C);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.36);
}

.pch-bottom-hero__cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.25);
}

.pch-bottom-hero__aside {
  height: 100%;
  padding: 28px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  box-sizing: border-box;
}

.pch-bottom-hero__aside-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff !important;
  font-family: var(--pch-font-display, "Plus Jakarta Sans", sans-serif);
}

.pch-bottom-hero__aside-text {
  margin: 0 0 12px;
  color: #E2E8F0 !important;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Appraisal / buyout form — stretch with the left column, CTA sits at the bottom */
.pch-appraisal {
  justify-content: flex-start;
}

.pch-appraisal__form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: 100%;
}

.pch-appraisal__row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

/* Category + brand side by side; stacks again on small screens. */
.pch-appraisal__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

@media (max-width: 560px) {
  .pch-appraisal__cols {
    grid-template-columns: 1fr;
  }
}

.pch-appraisal__input,
select.pch-appraisal__input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #F8FAFC !important;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

/* Empty/placeholder option text on dark selects */
select.pch-appraisal__input:invalid,
select.pch-appraisal__input option[value=""] {
  color: #CBD5E1 !important;
}

.pch-appraisal__input:hover,
select.pch-appraisal__input:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.3);
}

.pch-appraisal__input:focus,
select.pch-appraisal__input:focus {
  outline: none;
  border-color: var(--pch-primary, #EA580C);
  background-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
}

/* Custom chevron so the native arrow doesn't clash with the dark theme */
select.pch-appraisal__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E2E8F0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

select.pch-appraisal__input option {
  color: #111;
  background: #fff;
}

select.pch-appraisal__input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  color: #CBD5E1 !important;
}

.pch-appraisal__input::placeholder,
.pch-appraisal__input::-webkit-input-placeholder,
.pch-appraisal__input::-moz-placeholder {
  color: #CBD5E1 !important;
  opacity: 1;
}

/* input[type="file"] included to beat the parent theme's
   `input[type="file"] { background: #f4f4f4; }` rule in specificity. */
input[type="file"].pch-appraisal__file,
.pch-appraisal__file {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #E2E8F0 !important;
  font-size: 13px;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

input[type="file"].pch-appraisal__file:hover,
.pch-appraisal__file:hover {
  border-color: var(--pch-primary, #EA580C);
  background: rgba(249, 115, 22, 0.06);
}

input[type="file"].pch-appraisal__file:focus,
.pch-appraisal__file:focus {
  outline: none;
  border-color: var(--pch-primary, #EA580C);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
}

.pch-appraisal__file::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.pch-appraisal__file::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pch-appraisal__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pch-appraisal__previews:empty {
  display: none;
}

.pch-appraisal__thumb {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pch-appraisal__thumb img {
  border-radius: 7px;
}

.pch-appraisal__thumb-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: #1f2937;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.pch-appraisal__thumb-remove:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.pch-appraisal__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pch-appraisal__msg {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.pch-appraisal__msg.is-error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5 !important;
}

.pch-appraisal__msg.is-success {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac !important;
}

.pch-appraisal__submit {
  max-width: none;
  margin-top: auto;
}

.pch-appraisal__submit:disabled,
.pch-appraisal__submit.is-loading {
  opacity: 0.65;
  cursor: wait;
}

.pch-bottom-hero__grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  body#home > .content > section.pch-bottom-hero,
  body#home section.pch-bottom-hero,
  section.pch-bottom-hero {
    padding: 36px 0 !important;
  }

  body#home > .content > section.pch-bottom-hero > .container,
  body#home section.pch-bottom-hero > .container,
  section.pch-bottom-hero > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pch-bottom-hero__widget,
  .pch-bottom-hero__widget > *,
  .pch-bottom-hero__widget > * > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .pch-bottom-hero__grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 20px;
    width: 100%;
  }

  .pch-bottom-hero__copy,
  .pch-bottom-hero__aside,
  .pch-bottom-hero__form,
  .pch-bottom-hero__text,
  .pch-bottom-hero__field {
    width: 100%;
    max-width: 100%;
  }

  body#home > .content > section.pch-bottom-hero .pch-bottom-hero__title,
  .pch-bottom-hero__title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .pch-bottom-hero__aside {
    padding: 20px;
  }

  .pch-bottom-hero__cta {
    max-width: none !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  body#home > .content > section.pch-bottom-hero,
  body#home section.pch-bottom-hero,
  section.pch-bottom-hero {
    padding: 28px 0 !important;
  }

  body#home > .content > section.pch-bottom-hero > .container,
  body#home section.pch-bottom-hero > .container,
  section.pch-bottom-hero > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pch-bottom-hero__grid {
    gap: 16px;
  }

  body#home > .content > section.pch-bottom-hero .pch-bottom-hero__title,
  .pch-bottom-hero__title {
    font-size: 22px !important;
  }

  .pch-bottom-hero__field input,
  .pch-bottom-hero__cta,
  .pch-appraisal__input {
    height: 44px;
  }

  .pch-bottom-hero__aside {
    padding: 16px;
  }
}

/* 4-column dense footer */
footer section.one {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 28px;
  align-items: start;
}

footer section.one > .col {
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  padding-right: 0 !important;
}

footer section.one > .footer-hook,
footer section.one > .footer-widgets {
  grid-column: 1 / -1;
}

footer .col.explore h4,
footer h4 {
  font-weight: 600 !important;
}

footer section.one > .col {
  font-size: 14px;
  line-height: 1.5;
}

footer section.two a + a,
footer section.two a + span {
  margin-left: 0;
}

/* Parent epsilon hides footer columns on publish (.item-publish footer section.one > .col).
   Restore the full site footer on /item/new and /item/edit. */
body.item-publish footer,
.item-publish footer {
  height: auto !important;
  padding: 40px 0 20px !important;
  overflow: visible !important;
}

body.item-publish footer section.one,
.item-publish footer section.one {
  display: grid !important;
  padding: inherit;
  margin: inherit;
}

body.item-publish footer section.one > .col,
.item-publish footer section.one > .col {
  display: block !important;
}

body.item-publish footer section.two,
.item-publish footer section.two {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 767px) {
  footer,
  footer p,
  footer a,
  footer span,
  footer h4 {
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 991px) {
  footer section.one {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  footer section.one {
    grid-template-columns: 1fr;
  }
}

/* Fixed-price platform: hide auction / offer leftovers site-wide */
.home-top-auctions,
.pch-auction-countdown,
.pch-auction-card__countdown,
.mo-make-offer-price,
.mo-open-offer,
.mo-button-create,
.make-offer-link,
#mk-offer,
.item-publish section.s4 .selection,
.item-publish section.s4 .or {
  display: none !important;
}

/* ------------------------------------------------------------------ */
/* Homepage Gallery — full-width 2×4 / 1×4 sliders + adaptive ad zones */
/* ------------------------------------------------------------------ */
body#home > .content > section.home-gallery.pch-gallery-grids,
body#home section.home-gallery.pch-gallery-grids,
section.home-gallery.pch-gallery-grids {
  padding: 28px 0 !important;
  background: var(--pch-page-bg, #F8FAFC) !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pch-gallery-feeds {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.pch-gallery-feed.pch-section-carousel,
.pch-section-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.pch-section-carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  flex: 0 0 auto;
  min-height: 34px;
}

.pch-section-carousel__title {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--pch-font-ui, Inter, Roboto, system-ui, sans-serif) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--pch-charcoal, #111111) !important;
}

.pch-section-carousel__head .pch-section-head__navs {
  flex: 0 0 auto;
  margin-left: auto;
}

/* Mobile nav hidden on desktop — must beat body#home .pch-section-head__navs */
body#home .pch-gallery-grids .pch-gallery-navs--mobile,
.pch-gallery-grids .pch-gallery-navs--mobile {
  display: none !important;
}

.pch-section-carousel__viewport {
  overflow: hidden; /* both axes — avoids CSS quirk where overflow-y becomes auto + scrollbar */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  height: auto !important;
}

.pch-section-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
  will-change: transform;
  transition: transform 0.3s ease;
  gap: 0;
}

.pch-section-carousel__track.is-jumping {
  transition: none;
}

.pch-section-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  overflow: visible;
  padding: 8px 2px 14px; /* room for hover lift + shadow without scrolling */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.pch-section-carousel__slide:not(.is-active):not(.is-animating) {
  visibility: hidden;
  pointer-events: none;
}

body#home .pch-gallery-grids .pch-gallery-nav.is-disabled,
body#home .pch-gallery-grids .pch-gallery-nav:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* Desktop slide grid: 4 columns × 1 or 2 rows (Guntrader-style full-width) */
body#home .pch-gallery-grid.products.grid,
.pch-gallery-grid.products.grid,
.pch-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  float: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.pch-gallery-grid.is-rows-2 {
  grid-template-rows: repeat(2, minmax(0, auto));
  align-content: start;
}

body#home .pch-gallery-grid > .simple-prod,
body#home .pch-gallery-grid > .simple-prod.mini,
body#home .pch-gallery-grid > .simple-prod.small,
body#home .pch-gallery-grid > .simple-prod.medium,
body#home .pch-gallery-grid > .simple-prod.large,
body#home .pch-gallery-grid > .simple-prod.extralarge,
.pch-gallery-grid > .simple-prod,
.pch-gallery-grid > .simple-prod.medium {
  position: relative !important;
  float: none !important;
  flex: unset !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body#home .pch-gallery-grid > .simple-prod .simple-wrap,
.pch-gallery-grid > .simple-prod .simple-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

body#home .pch-gallery-grid > .simple-prod .img-wrap,
.pch-gallery-grid > .simple-prod .img-wrap {
  width: 100% !important;
  height: 160px !important;
  min-height: 160px !important;
  max-height: 160px !important;
  overflow: hidden;
}

body#home .pch-gallery-grid > .simple-prod .img-wrap img,
.pch-gallery-grid > .simple-prod .img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  body#home .pch-gallery-grid > .simple-prod:hover,
  .pch-gallery-grid > .simple-prod:hover {
    z-index: 4;
  }

  body#home .pch-gallery-grid > .simple-prod:hover .simple-wrap,
  .pch-gallery-grid > .simple-prod:hover .simple-wrap {
    transform: translateY(-6px);
    border-color: var(--pch-primary, #EA580C) !important;
    box-shadow:
      0 14px 30px rgba(17, 17, 17, 0.16),
      0 4px 10px rgba(234, 88, 12, 0.16) !important;
  }

  body#home .pch-gallery-grid > .simple-prod:hover .img-wrap img,
  .pch-gallery-grid > .simple-prod:hover .img-wrap img {
    transform: scale(1.05);
  }

  body#home .pch-gallery-grid > .simple-prod:hover .title,
  .pch-gallery-grid > .simple-prod:hover .title {
    color: var(--pch-primary, #EA580C);
  }
}

body#home .pch-gallery-grid > .simple-prod .data,
.pch-gallery-grid > .simple-prod .data {
  padding: 8px 10px 10px !important;
}

body#home .pch-gallery-grid > .simple-prod .title,
.pch-gallery-grid > .simple-prod .title {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal !important;
  min-height: 0 !important;
  max-height: 2.6em !important;
  margin: 0 0 4px !important;
}

body#home .pch-gallery-grid > .simple-prod .location,
body#home .pch-gallery-grid > .simple-prod .info,
body#home .pch-gallery-grid > .simple-prod .date,
.pch-gallery-grid > .simple-prod .location,
.pch-gallery-grid > .simple-prod .info,
.pch-gallery-grid > .simple-prod .date {
  font-size: 11px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

/* Mobile: exactly 2 full cards visible (swipe for more) */
@media (max-width: 767px) {
  body#home .pch-gallery-grids .pch-gallery-navs--desktop,
  .pch-gallery-grids .pch-gallery-navs--desktop {
    display: none !important;
  }

  body#home .pch-gallery-grids .pch-gallery-navs--mobile,
  .pch-gallery-grids .pch-gallery-navs--mobile {
    display: inline-flex !important;
  }

  body#home .pch-gallery-grids .pch-section-carousel__viewport,
  .pch-gallery-grids .pch-section-carousel__viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    height: auto !important;
    container-type: inline-size;
    container-name: pch-gallery-mobile;
    padding: 4px 0 8px !important;
    margin: 0 !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body#home .pch-gallery-grids .pch-section-carousel__viewport::-webkit-scrollbar,
  .pch-gallery-grids .pch-section-carousel__viewport::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  body#home .pch-gallery-grids .pch-section-carousel__track,
  .pch-gallery-grids .pch-section-carousel__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    max-width: none !important;
    transform: none !important;
    gap: 0 !important;
  }

  body#home .pch-gallery-grids .pch-section-carousel__slide,
  .pch-gallery-grids .pch-section-carousel__slide {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body#home .pch-gallery-grids .pch-gallery-grid.products.grid,
  .pch-gallery-grids .pch-gallery-grid.products.grid,
  .pch-gallery-grids .pch-gallery-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    width: auto !important;
  }

  /* Two full cards per viewport width */
  body#home .pch-gallery-grids .pch-gallery-grid > .simple-prod,
  body#home .pch-gallery-grids .pch-gallery-grid > .simple-prod.medium,
  .pch-gallery-grids .pch-gallery-grid > .simple-prod {
    flex: 0 0 calc((100cqw - 10px) / 2) !important;
    width: calc((100cqw - 10px) / 2) !important;
    max-width: calc((100cqw - 10px) / 2) !important;
    min-width: calc((100cqw - 10px) / 2) !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }

  body#home .pch-gallery-grids .pch-gallery-grid > .simple-prod .img-wrap,
  .pch-gallery-grids .pch-gallery-grid > .simple-prod .img-wrap {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
  }

  body#home .pch-gallery-grids .pch-section-carousel__slide + .pch-section-carousel__slide .pch-gallery-grid,
  .pch-gallery-grids .pch-section-carousel__slide + .pch-section-carousel__slide .pch-gallery-grid {
    padding-left: 10px;
  }

  .pch-gallery-feeds {
    gap: 24px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  body#home .pch-gallery-grid.products.grid,
  .pch-gallery-grid.products.grid,
  .pch-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body#home .pch-gallery-grid > .simple-prod .img-wrap,
  .pch-gallery-grid > .simple-prod .img-wrap {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
  }
}

/* Adaptive Banner Manager slots — same outer width as the top homepage hero */
.pch-home-ads-band {
  width: 100%;
  max-width: 100%;
  display: block;
  background: var(--pch-page-bg, #F9F9F9);
  padding: 16px 0;
  box-sizing: border-box;
}

.pch-home-ads-band:empty,
.pch-home-ads-wrap:empty,
.pch-home-ads-wrap > .inside:empty,
.pch-gallery-ads-wrap:empty,
.pch-brands-banner-wrap:empty,
.pch-zone-ads:empty,
.pch-home-ads:empty,
.pch-home-ads-band:has(.pch-zone-ads:empty),
.pch-home-ads-band:has(.pch-home-ads:empty) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Override Epsilon .container { display:flex; align-items:center } which shrinks the ad */
body#home .container.banner-box.pch-home-ads-wrap,
body#home .pch-home-ads-wrap.container,
body#home .pch-brands-banner-wrap.container {
  display: block !important;
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body#home .pch-home-ads-wrap > .inside,
body#home .pch-home-ads-wrap .inside,
body#home .pch-brands-banner-wrap > .inside {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  line-height: 0;
}

.pch-home-ads,
.pch-zone-ads,
body#home .pch-home-ads-wrap .pch-zone-ads,
body#home .pch-home-ads-wrap .pch-home-ads {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  align-items: stretch;
}

/* 2 active banners → 50/50 side-by-side on tablet/desktop */
.pch-home-ads.is-count-2,
.pch-zone-ads.is-count-2,
body#home .pch-home-ads-wrap .pch-zone-ads.is-count-2,
body#home .pch-home-ads-wrap .pch-home-ads.is-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Lone remaining child still fills the row if the pair is incomplete */
.pch-home-ads.is-count-2:has(> :only-child),
.pch-zone-ads.is-count-2:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.pch-home-ads__item,
.pch-zone-ads__item,
body#home .pch-home-ads-wrap .pch-zone-ads__item,
body#home .pch-home-ads-wrap .pch-home-ads__item {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  line-height: 0;
  text-decoration: none !important;
  background: transparent;
}

.pch-home-ads__image,
.pch-zone-ads__image,
body#home .pch-home-ads-wrap img,
body#home .pch-home-ads-wrap .pch-zone-ads__image,
body#home .pch-home-hero-band.pch-home-ads-band img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

.pch-home-ads.is-count-2 .pch-home-ads__item,
.pch-zone-ads.is-count-2 .pch-zone-ads__item {
  display: flex;
  align-items: stretch;
  height: 100%;
  aspect-ratio: 2.2 / 1;
}

.pch-home-ads.is-count-2 .pch-home-ads__image,
.pch-zone-ads.is-count-2 .pch-zone-ads__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

@media (max-width: 767px) {
  .pch-home-ads-band {
    padding: 12px 0;
  }

  .pch-home-ads.is-count-2,
  .pch-zone-ads.is-count-2,
  body#home .pch-home-ads-wrap .pch-zone-ads.is-count-2,
  body#home .pch-home-ads-wrap .pch-home-ads.is-count-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pch-home-ads.is-count-2 .pch-home-ads__item,
  .pch-zone-ads.is-count-2 .pch-zone-ads__item {
    aspect-ratio: auto;
    height: auto;
  }

  .pch-home-ads.is-count-2 .pch-home-ads__image,
  .pch-zone-ads.is-count-2 .pch-zone-ads__image {
    height: auto !important;
    object-fit: contain;
  }
}



/* Free renewal result popup (after email renew link) */
html.eps-renewal-modal-open {
  overflow: hidden;
}

.eps-renewal-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.eps-renewal-modal.is-hidden {
  display: none;
}

.eps-renewal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
}

.eps-renewal-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--pch-border, #E5E7EB);
  border-radius: 12px;
  padding: 28px 24px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  color: var(--pch-body, #1E293B);
}

.eps-renewal-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--pch-muted, #6B7280);
}

.eps-renewal-modal__title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
}

.eps-renewal-modal.is-ok .eps-renewal-modal__title {
  color: #166534;
}

.eps-renewal-modal.is-err .eps-renewal-modal__title {
  color: #B91C1C;
}

.eps-renewal-modal__text {
  margin: 0 0 20px;
  line-height: 1.45;
  color: #1E293B !important;
}

.eps-renewal-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.eps-renewal-modal__actions .btn {
  min-width: 96px;
}

/* ------------------------------------------------------------------ */
/* V28072026 ? Promotions CTA + search pill bar                        */
/* ------------------------------------------------------------------ */
header .pch-promotions-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  padding: 0 12px !important;
  margin: 0;
  background: var(--pch-primary, #EA580C) !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: middle;
}
header .pch-promotions-btn:hover,
header .pch-promotions-btn:focus,
header .pch-promotions-btn.is-active {
  background: var(--pch-primary-dk, #C2410C) !important;
  color: #fff !important;
  text-decoration: none !important;
}
header .pch-promotions-btn::before,
header .pch-promotions-btn::after {
  content: none !important;
  display: none !important;
}
header .pch-promotions-btn__pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
header .pch-promotions-btn__label {
  display: inline-block;
  line-height: 1;
}

.pch-search-pills {
  margin: 0 0 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pch-search-pills__list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 0 4px !important;
}
.pch-search-pills__list > li {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.pch-search-pills__link {
  display: inline-block !important;
  padding: 8px 14px !important;
  border: 1px solid #ddd !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.pch-search-pills__link:hover {
  border-color: var(--pch-primary, #EA580C) !important;
  color: var(--pch-primary, #EA580C) !important;
  background: #fff !important;
}
.pch-search-pills__link.is-active {
  background: var(--pch-primary, #EA580C) !important;
  border-color: var(--pch-primary, #EA580C) !important;
  color: #fff !important;
}

.pch-model-freetext {
  display: block;
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
}

/*************************************************
Planète Chasse — Seller status badges
PARTENAIRE PRO (grid) / Partenaire Pro — Agréé SIA (full)
*************************************************/
#seller .line1 .data .pro.pch-seller-badge--pro,
.pch-seller-badge--pro {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 6px 0 0;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--pch-navy, #1B2A4A) !important;
  color: #FFFFFF !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: normal;
}

.pch-seller-badge--private {
  display: inline-block;
  margin: 6px 0 0;
  padding: 3px 8px;
  border-radius: 4px;
  background: transparent;
  color: var(--pch-muted, #6B7280) !important;
  border: 1px solid var(--pch-border, #E5E7EB);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

/*************************************************
Planète Chasse — Pro external reputation badge
(static Google / Trustpilot — same visual language as PARTENAIRE PRO)
*************************************************/
#seller .line-rating.pch-ext-rating-line,
.pch-ext-rating-line {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}

a.pch-ext-rating-badge,
.pch-ext-rating-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 5px 10px !important;
  border-radius: 4px;
  background: var(--pch-navy, #1B2A4A) !important;
  color: #FFFFFF !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  white-space: normal;
  transition: background 0.15s ease, opacity 0.15s ease;
}

a.pch-ext-rating-badge:hover,
a.pch-ext-rating-badge:focus,
.pch-ext-rating-badge:hover {
  background: #243657 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  opacity: 0.96;
}

.pch-ext-rating-badge__text {
  display: inline;
}

.pch-ur-bpr.pch-ext-rating-bpr {
  margin: 6px 0 0;
}

.pch-ur-bpr .pch-ext-rating-line {
  margin: 0;
}

/* Pro profile settings — external reputation fields */
.pch-pro-rating-fields {
  margin: 12px 0 8px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--pch-border, #E5E7EB);
}

.pch-pro-rating-fields__intro {
  margin-bottom: 8px;
}

.pch-pro-rating-fields__help,
.pch-pro-rating-fields .pch-pro-rating-fields__help {
  margin: 4px 0 0;
  color: var(--pch-muted, #6B7280);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
}

.pch-pro-rating-fields__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.pch-pro-rating-fields__col {
  min-width: 0;
}

.pch-pro-rating-fields__col .input-box {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .pch-pro-rating-fields__row {
    grid-template-columns: 1fr;
  }
}

/* Favorite sits far-right; keep it above the seller ribbon so it stays clickable */
.simple-prod .img-wrap .favorite,
#item-main .favorite {
  z-index: 5;
}

/* Grid/detail ribbon — top-right, clear of avatar (left) and favorite (far right) */
.simple-prod .img-wrap > .pch-seller-badge--grid {
  position: absolute;
  top: 10px;
  right: 44px; /* leave room for favorite control (~32px + gap) */
  left: auto;
  bottom: auto;
  z-index: 3;
  display: inline-block;
  width: auto !important;
  min-width: 0;
  max-width: calc(100% - 100px); /* avatar left (~48px) + favorite right (~40px) + gaps */
  height: auto !important;
  min-height: 0;
  padding: 5px 9px !important;
  border-radius: 4px;
  background: var(--pch-navy, #1B2A4A) !important;
  color: #FFFFFF !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2 !important;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

/* Avatar is left — never pull the ribbon back onto the favorite */
.simple-prod .img-wrap:has(> .user-image) > .pch-seller-badge--grid {
  top: 10px;
  right: 44px;
  left: auto;
  max-width: calc(100% - 100px);
}

/* Hide legacy avatar-corner "Pro" chip if parent theme still injects one */
.simple-prod .img-wrap .user-image .business {
  display: none !important;
}

/*
 * Latest listings (#latest-items):
 * Desktop — badge + avatar together on hover (parent hides .user-image until hover)
 * Mobile  — both always visible (no hover on touch)
 * Recently viewed / other grids: avatar always visible when rendered in markup
 */
@media (min-width: 768px) {
  body#home section.home-latest #latest-items .simple-prod .img-wrap > .pch-seller-badge--grid,
  #latest-items.products .simple-prod .img-wrap > .pch-seller-badge--grid {
    display: none !important;
    opacity: 0;
    transition: opacity 0.15s ease;
  }

  body#home section.home-latest #latest-items .simple-prod:hover .img-wrap > .pch-seller-badge--grid,
  body#home section.home-latest #latest-items .simple-prod:focus-within .img-wrap > .pch-seller-badge--grid,
  #latest-items.products .simple-prod:hover .img-wrap > .pch-seller-badge--grid,
  #latest-items.products .simple-prod:focus-within .img-wrap > .pch-seller-badge--grid {
    display: inline-block !important;
    opacity: 1;
  }

  /* Keep avatar in sync with badge on hover (reinforces parent theme rule) */
  body#home section.home-latest #latest-items .simple-prod:hover .img-wrap .user-image,
  body#home section.home-latest #latest-items .simple-prod:focus-within .img-wrap .user-image,
  #latest-items.products .simple-prod:hover .img-wrap .user-image,
  #latest-items.products .simple-prod:focus-within .img-wrap .user-image {
    display: block !important;
  }
}

@media (max-width: 767px) {
  /* Profile avatar always visible on mobile latest listings */
  body#home section.home-latest #latest-items .simple-prod .img-wrap .user-image,
  #latest-items.products .simple-prod .img-wrap .user-image {
    display: block !important;
  }

  /* Dealer badge always visible on mobile — clear of avatar (left) + favorite (right) */
  body#home section.home-latest #latest-items .simple-prod .img-wrap > .pch-seller-badge--grid,
  #latest-items.products .simple-prod .img-wrap > .pch-seller-badge--grid,
  body#home section.home-latest #latest-items .simple-prod .img-wrap:has(> .user-image) > .pch-seller-badge--grid {
    display: inline-block !important;
    opacity: 1 !important;
    top: 8px !important;
    right: 44px !important; /* leave room for favorite */
    left: auto !important;
    bottom: auto !important;
    max-width: calc(100% - 100px) !important; /* avatar left + favorite right */
    padding: 4px 6px !important;
    font-size: 9px !important;
    letter-spacing: 0.02em;
    z-index: 3;
  }
}

/* Recently viewed / other product grids: always show avatar when present */
#recent-items .simple-prod .img-wrap .user-image {
  display: block !important;
}

/* List view: never squeeze the label into the 90px thumb — show beside title */
.products.list .simple-prod .img-wrap > .pch-seller-badge--grid {
  display: none !important;
}

.products.list .simple-prod .info .pch-seller-badge--list,
.pch-seller-badge--list {
  display: inline-block;
  position: relative;
  float: left;
  margin: -1px 6px 4px 0;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--pch-navy, #1B2A4A) !important;
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 14px;
  height: auto;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
  box-shadow: none;
}

#users-list .user .business.pch-seller-badge--grid,
#users-list .user .pch-seller-badge--grid {
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: auto;
  background: var(--pch-navy, #1B2A4A) !important;
  font-size: 10px !important;
  padding: 4px 8px !important;
  height: auto !important;
  line-height: 1.2 !important;
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 767px) {
  .simple-prod .img-wrap > .pch-seller-badge--grid,
  .simple-prod .img-wrap:has(> .user-image) > .pch-seller-badge--grid {
    top: 8px;
    right: 44px; /* leave room for favorite */
    left: auto;
    bottom: auto;
    padding: 4px 7px !important;
    font-size: 9px !important;
    max-width: calc(100% - 100px);
  }

  .products.list .simple-prod .info .pch-seller-badge--list {
    font-size: 10px;
    padding: 3px 7px;
  }
}

/*************************************************
Planète Chasse — User Rating card (seller box)
Stacked layout so nothing can jam into one orange line:
  4.8
  ★★★★☆
  14 avis
  Noter ce vendeur
*************************************************/
#seller .line-rating.pch-ur-line,
.pch-ur-line {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  margin: 4px 0 14px !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #e8e8e8 !important;
  clear: both !important;
  float: none !important;
}

#seller .pch-ur-card,
.pch-ur-card {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

#seller .pch-ur-card__top,
.pch-ur-card__top {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 6px !important;
}

#seller .pch-ur-card__score,
.pch-ur-card__score {
  display: inline-block !important;
  flex: 0 0 auto !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #1B2A4A !important;
  letter-spacing: -0.02em;
}

#seller .pch-ur-card__stars,
.pch-ur-card__stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  line-height: 1 !important;
}

#seller .pch-ur-card__stars .fa-star,
.pch-ur-card__stars .fa-star {
  font-size: 15px !important;
  line-height: 1 !important;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

#seller .pch-ur-card__stars .fa-star.is-on,
.pch-ur-card__stars .fa-star.is-on {
  color: #EA580C !important;
}

#seller .pch-ur-card__stars .fa-star.is-off,
.pch-ur-card__stars .fa-star.is-off {
  color: #d1d5db !important;
}

#seller a.pch-ur-card__count,
#seller .pch-ur-card__count,
a.pch-ur-card__count,
.pch-ur-card__count {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  float: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #6b7280 !important;
  text-decoration: none !important;
  background: none !important;
  border: 0 !important;
  height: auto !important;
}

#seller a.pch-ur-card__count:hover,
a.pch-ur-card__count:hover {
  color: #1B2A4A !important;
  text-decoration: underline !important;
}

#seller .pch-ur-card__empty,
.pch-ur-card__empty {
  display: block !important;
  margin: 0 0 10px !important;
  font-size: 13px !important;
  color: #9ca3af !important;
  line-height: 1.35 !important;
}

#seller a.pch-ur-card__cta,
#seller .pch-ur-card__cta,
a.pch-ur-card__cta,
.pch-ur-card__cta {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 7px 12px !important;
  float: none !important;
  box-sizing: border-box;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #EA580C !important;
  background: #fff7ed !important;
  border: 1px solid #fdba74 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  height: auto !important;
}

#seller a.pch-ur-card__cta:hover,
a.pch-ur-card__cta:hover {
  color: #C2410C !important;
  background: #ffedd5 !important;
  border-color: #fb923c !important;
  text-decoration: none !important;
}

.pch-ur-bpr {
  margin: 8px 0 16px;
}

.pch-ur-card--bpr .pch-ur-card__score {
  font-size: 26px !important;
}

.pch-ur-card--bpr .pch-ur-card__stars .fa-star {
  font-size: 17px !important;
}

/* Kill parent Epsilon show-rating rules inside our card */
#seller .pch-ur-card .show-rating.show-stars,
#seller .pch-ur-card a.show-rating,
#seller .pch-ur-card a.ur-show-stars {
  width: auto !important;
  height: auto !important;
  align-items: center !important;
}

body.dark-mode #seller .line-rating.pch-ur-line,
.dark #seller .line-rating.pch-ur-line {
  border-top-color: #333 !important;
}

body.dark-mode #seller .pch-ur-card__score,
.dark #seller .pch-ur-card__score {
  color: #f3f4f6 !important;
}

body.dark-mode #seller a.pch-ur-card__count,
.dark #seller a.pch-ur-card__count {
  color: #9ca3af !important;
}

body.dark-mode #seller a.pch-ur-card__cta,
.dark #seller a.pch-ur-card__cta {
  background: rgba(234, 88, 12, 0.15) !important;
  border-color: #ea580c !important;
}

/*************************************************
Planète Chasse — Price Drop Indicator (PCM)
Slashed original price + green down-arrow on drop
*************************************************/
.pch-price.has-drop {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  line-height: 1.2;
}

/* Never override Epsilon view toggles (list/grid/detail visibility) */
.products.list .pch-price.isGrid,
.products.list .pch-price.isDetail,
.products.detail .pch-price.isGrid,
.products.detail .pch-price.isList,
.products.grid .pch-price.isList,
.products.grid .pch-price.isDetail,
.products.list .pch-price.standalone {
  display: none !important;
}

.products.grid .pch-price.isGrid.has-drop,
.products.detail .pch-price.isDetail.has-drop,
.products.list .right .pch-price.has-drop {
  display: inline-flex !important;
}

.simple-prod .img-wrap .bar .pch-price.has-drop {
  float: left;
  position: relative;
}

.pch-price__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.pch-price__badge .fa-arrow-down {
  font-size: 11px;
  color: #fff !important;
}

.pch-price__pct {
  font-size: 11px;
  letter-spacing: 0.01em;
}

.pch-price__old,
.pch-price.has-drop del.pch-price__old {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: 0.78em;
  font-weight: 500;
  color: #9ca3af !important;
  text-decoration: line-through !important;
  opacity: 0.95;
}

.pch-price__old span {
  color: inherit !important;
  text-decoration: inherit;
}

.pch-price__new,
.pch-price.has-drop .pch-price__new {
  display: inline-block;
  font-weight: 700;
  color: var(--pch-primary, #EA580C) !important;
}

.pch-price__new span {
  color: inherit !important;
}

/* Item detail: larger treatment */
.pch-price--item.has-drop {
  gap: 8px 10px;
  align-items: baseline;
}

.pch-price--item .pch-price__badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 12px;
}

.pch-price--item .pch-price__badge .fa-arrow-down {
  font-size: 12px;
}

.pch-price--item .pch-price__old {
  font-size: 0.72em;
}

.pch-price--item .pch-price__new {
  font-size: 1em;
}

/* Grid / detail image bar: keep compact on dark overlays */
.simple-prod .img-wrap .bar .pch-price.has-drop .pch-price__old,
.simple-prod .img-wrap .bar .pch-price.has-drop .pch-price__old span {
  color: rgba(255, 255, 255, 0.75) !important;
}

.simple-prod .img-wrap .bar .pch-price.has-drop .pch-price__new,
.simple-prod .img-wrap .bar .pch-price.has-drop .pch-price__new span {
  color: #fff !important;
}

/* List view: padding around card content (grid/detail stay flush) */
.products.list .simple-prod .simple-wrap {
  padding: 12px;
}

/* List view: bigger thumbnails + clean content */
.products.list .simple-prod .img-wrap {
  width: 160px !important;
  min-width: 160px !important;
  height: 130px !important;
  margin: 0 16px 0 0 !important;
}

.products.list .simple-prod .img-wrap > a img {
  border-radius: 6px !important;
}

.products.list .simple-prod .img-wrap .bar {
  /* Keep only photo count; hide price overlays in list */
  background: transparent !important;
  padding: 0 !important;
}

.products.list .simple-prod .img-wrap .bar .pch-price {
  display: none !important;
}

.products.list .simple-prod .data {
  padding: 2px 0 0 !important;
  min-width: 0;
  flex: 1 1 auto;
}

.products.list .simple-prod .title {
  font-size: 17px !important;
  line-height: 1.3 !important;
  max-height: 2.6em !important;
  margin: 0 0 6px !important;
}

.products.list .simple-prod .info {
  margin: 0 0 6px !important;
}

.products.list .simple-prod .extra {
  margin: 4px 0 0 !important;
  color: #6b7280;
}

.products.list .simple-prod .right {
  margin-left: 12px;
  min-width: 110px;
  align-items: flex-end;
}

.products.list .simple-prod .right .pch-price.has-drop {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.products.list .simple-prod .right .pch-price__old {
  font-size: 13px;
  order: 1;
}

.products.list .simple-prod .right .pch-price__new {
  font-size: 18px;
  order: 2;
}

.products.list .simple-prod .right .pch-price__badge {
  order: 0;
}

/* Detail view: keep image price only — no mid-column duplicate */
.products.detail .simple-prod .data .pch-price.standalone {
  display: none !important;
}

.products.detail .simple-prod .img-wrap {
  width: 240px !important;
  min-width: 240px !important;
  height: 250px !important;
}

@media (max-width: 767px) {
  .products.list .simple-prod .simple-wrap {
    padding: 10px;
  }

  .products.list .simple-prod .img-wrap {
    width: 110px !important;
    min-width: 110px !important;
    height: 95px !important;
    margin-right: 12px !important;
  }

  .products.detail .simple-prod .img-wrap {
    width: 120px !important;
    min-width: 120px !important;
    height: 130px !important;
  }

  .products.list .simple-prod .right {
    min-width: 72px;
  }
}

body.dark-mode .pch-price__old,
.dark .pch-price__old {
  color: #6b7280 !important;
}

/* Authenticated account dropdown (Mon Compte) */
header .links {
  overflow: visible;
}

header .pch-account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

header .pch-account-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: 0;
  background: transparent;
}

header .pch-account-menu__toggle.account {
  max-width: 200px;
}

header .pch-account-menu__toggle.account img {
  float: none;
  margin: 0;
}

header .pch-account-menu__toggle.maccount {
  border: 0;
}

header .pch-account-menu__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}

header .pch-account-menu__caret {
  font-size: 11px;
  opacity: 0.75;
  transition: transform 0.15s ease;
}

header .pch-account-menu.is-open .pch-account-menu__caret,
header .pch-account-menu:hover .pch-account-menu__caret {
  transform: rotate(180deg);
}

header .pch-account-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  z-index: 100;
}

header .pch-account-menu__dropdown[hidden] {
  display: none !important;
}

header .pch-account-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

header .pch-account-menu__item:hover,
header .pch-account-menu__item:focus {
  background: #fff7ed;
  color: #c2410c;
  text-decoration: none;
}

header .pch-account-menu__item i {
  width: 18px;
  text-align: center;
  color: #6b7280;
}

header .pch-account-menu__item:hover i,
header .pch-account-menu__item:focus i {
  color: #ea580c;
}

header .pch-account-menu__badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

header .links .favorite .pch-fav-counter[hidden],
header .pch-account-menu__badge[hidden] {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  header .pch-account-menu:hover .pch-account-menu__dropdown,
  header .pch-account-menu:focus-within .pch-account-menu__dropdown {
    display: block !important;
  }

  header .pch-account-menu:hover .pch-account-menu__dropdown[hidden],
  header .pch-account-menu:focus-within .pch-account-menu__dropdown[hidden] {
    display: block !important;
  }
}

@media (max-width: 767px) {
  header .pch-account-menu {
    margin-left: 4px;
    position: relative;
    z-index: 90;
  }

  header .pch-account-menu__dropdown {
    right: -4px;
    min-width: 220px;
    z-index: 100;
  }
}

/* Personalized homepage widgets (logged-in) */
body#home > .content > section.home-personalized {
  margin: 18px 0 8px;
}

body#home .pch-saved-searches {
  margin-bottom: 22px;
}

body#home .pch-saved-searches__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body#home .pch-saved-searches__head .pch-section-head__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

body#home .pch-saved-searches__manage {
  font-size: 13px;
  font-weight: 600;
  color: #ea580c;
  text-decoration: none;
  white-space: nowrap;
}

body#home .pch-saved-searches__manage:hover,
body#home .pch-saved-searches__manage:focus {
  color: #c2410c;
  text-decoration: underline;
}

body#home .pch-saved-searches__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body#home .pch-saved-searches__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

body#home .pch-saved-searches__chip i {
  color: #ea580c;
  font-size: 12px;
}

body#home .pch-saved-searches__chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body#home .pch-saved-searches__chip:hover,
body#home .pch-saved-searches__chip:focus {
  border-color: #fdba74;
  background: #fff7ed;
  color: #c2410c;
  text-decoration: none;
}

body#home .pch-home-favorites {
  margin-bottom: 8px;
}

body#home .pch-home-favorites__all {
  margin-right: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ea580c;
  text-decoration: none;
  white-space: nowrap;
}

body#home .pch-home-favorites__all:hover,
body#home .pch-home-favorites__all:focus {
  color: #c2410c;
  text-decoration: underline;
}

body#home > .content > section.home-personalized #pch-favorite-items > .simple-prod {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  body#home .pch-saved-searches__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  body#home .pch-saved-searches__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body#home .pch-saved-searches__chips::-webkit-scrollbar {
    display: none;
  }

  body#home .pch-saved-searches__chip {
    flex: 0 0 auto;
    max-width: 280px;
  }
}

/* Abonnements (user-alerts): hide bottom scrollbar + room for card hover lift */
body#user-alerts .alerts-box .alert,
body#user-alerts .alerts-box .items {
  overflow: visible;
}

body#user-alerts #alert-items {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  /* Padding = room for translateY lift + shadow without top clipping */
  padding: 12px 2px 22px !important;
  margin: -12px -2px -16px !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body#user-alerts #alert-items::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body#user-alerts #alert-items > .simple-prod {
  flex: 0 0 auto;
}

@media (hover: hover) and (pointer: fine) {
  body#user-alerts #alert-items > .simple-prod:hover {
    z-index: 2;
  }
}

/* ------------------------------------------------------------------ */
/* Mobile header — final cascade lock (must stay at end of stylesheet) */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
  header {
    overflow: visible !important;
    z-index: 40 !important;
  }

  body,
  body#home {
    padding-top: 160px !important;
  }

  header .container.cmain,
  header .pch-header-main {
    overflow: visible !important;
  }

  header .pch-header-main {
    display: grid !important;
    grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr) !important;
    grid-template-areas:
      "menu logo links"
      "search search search" !important;
  }

  header .menu.btn.isMobile {
    grid-area: menu !important;
    justify-self: start !important;
    display: inline-flex !important;
  }

  header .pch-header-main > .logo,
  header .pch-header-main > a.logo {
    grid-area: logo !important;
    justify-self: center !important;
  }

  header .pch-header-main > .pch-header-search {
    grid-area: search !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 50 !important;
  }

  header .pch-header-search__field {
    position: relative !important;
    z-index: 50 !important;
  }

  /* Autocomplete must sit above category nav + breadcrumbs */
  header .pch-header-search__field .results,
  header .picker.pattern .results {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 70 !important;
    max-height: min(55dvh, 320px) !important;
    overflow-y: auto !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.2) !important;
  }

  header .pch-header-categories {
    display: none !important;
  }

  header .pch-header-main > .links {
    grid-area: links !important;
    justify-self: end !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    overflow: visible !important;
    /* Above search row so account dropdown is never clipped underneath */
    z-index: 90 !important;
    position: relative !important;
  }

  header .pch-account-menu {
    position: relative !important;
    z-index: 90 !important;
  }

  header .pch-account-menu__dropdown {
    z-index: 100 !important;
  }

  header .pch-account-menu.is-open,
  header .pch-account-menu.is-open .pch-account-menu__dropdown {
    z-index: 110 !important;
  }

  /* Never show desktop “Connexion / Inscription” on phones */
  header .links > a.account,
  header .links .account.btn,
  header .pch-account-menu > .account,
  header .pch-account-menu > .pch-account-menu__toggle.account {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }

  header .links > a.maccount,
  header .pch-account-menu > .maccount {
    display: inline-flex !important;
    visibility: visible !important;
    position: relative !important;
    pointer-events: auto !important;
  }
}

.pch-annuaire-verified--profile {
  margin-bottom: 8px;
}
.pch-annuaire-maps {
  margin: 12px 0 4px;
}
.pch-annuaire-maps__btn {
  display: inline-block;
  background: var(--pch-navy, #1B2A4A);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
}
.pch-annuaire-offered {
  margin: 8px 0 0;
  font-size: 13px;
}
.pch-annuaire-card-name {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
#bpr-seller .bpr-box > h1:not(.pch-annuaire-profile-name) {
  display: none;
}
#bpr-seller .bpr-verified {
  display: none;
}
#bpr-seller #ur-stars-box,
#bpr-seller #ur-buttons,
#bpr-seller .ur-item-buttons-wrap,
#bpr-seller .ur-show-stars,
#bpr-seller a.ur-new-rating {
  display: none !important;
}
#bpr-seller .pch-ur-bpr.pch-ext-rating-bpr {
  margin: 8px 0 10px;
}
#bpr-seller .pch-ext-rating-badge {
  font-size: 13px !important;
  padding: 7px 12px !important;
}
.pch-annuaire-enseigne {
  margin-top: 8px;
}
.pch-annuaire-enseigne__help {
  font-size: 12px;
  color: #6b7280;
  margin: 4px 0 0;
}

/* Profile form: 2 fields per row (desktop) */
@media screen and (min-width: 900px) {
  body#user-profile .profile-box .left-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
    column-gap: 16px;
    align-items: flex-start;
  }

  body#user-profile .profile-box .left-block > .row,
  body#user-profile .profile-box .left-block > .control-group.profile-img,
  body#user-profile .profile-box .left-block > .hooksrow {
    width: auto;
    min-width: 0;
  }

  body#user-profile .profile-box .left-block > .control-group.profile-img {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  body#user-profile .profile-box .left-block > .row:has(input[name="s_name"]),
  body#user-profile .profile-box .left-block > .row:has(label[for="email"]) {
    grid-column: auto;
  }

  body#user-profile .profile-box .left-block > .row:has(input[name="s_phone_mobile"]),
  body#user-profile .profile-box .left-block > .row:has(input[name="s_phone_land"]) {
    grid-column: auto;
  }

  body#user-profile .profile-box .left-block > .row:has(input[name="s_website"]),
  body#user-profile .profile-box .left-block > .hooksrow,
  body#user-profile .profile-box .left-block > .row:has(textarea),
  body#user-profile .profile-box .left-block > .row:has(.tabberlive),
  body#user-profile .profile-box .left-block > .row:has(select[name="b_company"]) {
    grid-column: 1 / -1;
  }

  body#user-profile .profile-box .left-block > .row .input-box input,
  body#user-profile .profile-box .left-block > .row .input-box select {
    max-width: 100%;
  }
}

/* Profile sub-sections: place email/password blocks side-by-side */
@media screen and (min-width: 992px) {
  body#user-profile #user-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 20px;
  }

  body#user-profile #user-main > h1,
  body#user-profile #user-main > .profile-box.prim,
  body#user-profile #user-main > .pch-profile-box,
  body#user-profile #user-main > :not(.profile-box) {
    grid-column: 1 / -1;
  }

  body#user-profile #user-main > .profile-box.alt.change-mail,
  body#user-profile #user-main > .profile-box.alt.change-pass {
    display: flex;
    flex-direction: column;
    grid-column: auto;
    margin: 0;
    padding-top: 20px;
    min-width: 0;
    height: 100%;
  }

  body#user-profile #user-main > .profile-box.alt.change-mail > form,
  body#user-profile #user-main > .profile-box.alt.change-pass > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
  }

  body#user-profile .profile-box.alt.change-mail .input-box,
  body#user-profile .profile-box.alt.change-pass .input-box,
  body#user-profile .profile-box.alt.change-mail input,
  body#user-profile .profile-box.alt.change-pass input {
    width: 100% !important;
    max-width: none !important;
  }

  body#user-profile .profile-box.alt.change-mail .row.user-buttons,
  body#user-profile .profile-box.alt.change-pass .row.user-buttons {
    margin-top: auto;
    padding-top: 16px;
  }
}

/* Longer French wallet / listing-field labels must wrap, not overflow. */
#osp-promos .osp-head-top {
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.35;
}
#osp-promos .osp-head-top > span {
  white-space: normal;
}
#osp-promos .osp-use-wallet {
  margin-top: 6px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
#flashbox .flashmessage {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.meta_list .meta,
.meta_list .meta label,
.custom-fields .field .name {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Espace Pro landing (/espace-pro) — match header .cmain width (1080px) */
body.file-espace-pro #breadcrumbs.container,
body.file-espace-pro #flashbox.container,
body.file-espace-pro .container.primary {
  width: 100%;
  display: block;
  align-items: stretch;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}

.pch-espace-pro {
  max-width: none;
  width: 100%;
  margin: 8px 0 56px;
  color: var(--pch-charcoal, #111111);
}
.pch-espace-pro__hero {
  margin: 0 0 40px;
  padding: 36px 40px;
  position: static;
  height: auto;
  min-height: 0;
  background: var(--pch-navy, #1B2A4A);
  color: #fff;
  border-radius: 16px;
  box-shadow: none;
  z-index: auto;
  box-sizing: border-box;
}
.pch-espace-pro__hero-copy {
  max-width: 720px;
}
.pch-espace-pro__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pch-primary, #EA580C);
}
.pch-espace-pro h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.15;
  color: #fff;
}
.pch-espace-pro__lead {
  margin: 0 0 24px;
  max-width: none;
  line-height: 1.6;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}
.pch-espace-pro__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pch-espace-pro__hero .btn,
.pch-espace-pro__cta .btn {
  min-height: 44px;
  padding: 11px 20px;
  font-weight: 700;
}
.pch-espace-pro__btn-ghost {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}
.pch-espace-pro__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}
.pch-espace-pro h2 {
  margin: 0 0 10px;
  font-size: 26px;
}
.pch-espace-pro__value,
.pch-espace-pro__pricing {
  margin: 0 0 48px;
}
.pch-espace-pro__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.pch-espace-pro__grid li {
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pch-espace-pro__grid li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.1);
}
.pch-espace-pro__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: rgba(234, 88, 12, 0.12);
  color: var(--pch-primary, #EA580C);
  font-size: 18px;
}
.pch-espace-pro__grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}
.pch-espace-pro__grid li > span:last-child {
  color: #4b5563;
  line-height: 1.5;
  font-size: 14px;
}
.pch-espace-pro__tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
}
.pch-espace-pro__tier {
  padding: 28px 24px 24px;
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.05);
}
.pch-espace-pro__tier.is-featured {
  border-color: var(--pch-primary, #EA580C);
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.18);
  transform: translateY(-8px);
}
.pch-espace-pro__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pch-primary, #EA580C);
  border-radius: 999px;
}
.pch-espace-pro__tier h3 {
  margin: 0;
  font-size: 22px;
}
.pch-espace-pro__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--pch-primary, #EA580C);
  margin: 12px 0 0;
  line-height: 1.1;
}
.pch-espace-pro__cycle {
  margin: 4px 0 16px;
  color: #6b7280;
  font-size: 13px;
}
.pch-espace-pro__perks {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.pch-espace-pro__perks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  color: #374151;
  font-size: 14px;
  line-height: 1.45;
}
.pch-espace-pro__perks i {
  color: var(--pch-primary, #EA580C);
  margin-top: 3px;
}
.pch-espace-pro__tier .btn,
.pch-espace-pro__tier .btn:link,
.pch-espace-pro__tier .btn:visited,
.pch-espace-pro__tier .btn:hover,
.pch-espace-pro__tier .btn:focus,
.pch-espace-pro__tier .btn:active {
  margin-top: auto;
  width: 100%;
  text-align: center;
  background-color: var(--pch-primary, #EA580C) !important;
  border-color: var(--pch-primary, #EA580C) !important;
  color: #FFFFFF !important;
}
.pch-espace-pro__tier .btn:hover,
.pch-espace-pro__tier .btn:focus {
  background-color: var(--pch-primary-dk, #C2410C) !important;
  border-color: var(--pch-primary-dk, #C2410C) !important;
  color: #FFFFFF !important;
}
.pch-espace-pro__cta {
  margin: 0;
}
.pch-espace-pro__cta-inner {
  padding: 36px 40px;
  background: var(--pch-navy, #1B2A4A);
  color: #fff;
  border-radius: 16px;
}
.pch-espace-pro__cta h2 {
  color: #fff;
  margin-bottom: 8px;
}
.pch-espace-pro__cta p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 991px) {
  .pch-espace-pro__hero,
  .pch-espace-pro__cta-inner {
    padding: 28px 22px;
  }
  .pch-espace-pro h1 {
    font-size: 30px;
  }
  .pch-espace-pro__grid,
  .pch-espace-pro__tiers {
    grid-template-columns: 1fr;
  }
  .pch-espace-pro__tier.is-featured {
    transform: none;
  }
}

/* Login / register — match header width, two-column branded layout */
body.pre-account.register,
body.pre-account.login,
body.pre-account.recover,
body.pre-account.forgot {
  background: var(--pch-page-bg, #F8FAFC) !important;
}

body.pre-account.register .pch-bottom-hero,
body.pre-account.login .pch-bottom-hero,
body.pre-account.recover .pch-bottom-hero,
body.pre-account.forgot .pch-bottom-hero,
body.pre-account.register section.home-bottom-hero,
body.pre-account.login section.home-bottom-hero,
body.pre-account.recover section.home-bottom-hero,
body.pre-account.forgot section.home-bottom-hero {
  display: none !important;
}

body.pre-account.register > .content,
body.pre-account.login > .content,
body.pre-account.recover > .content,
body.pre-account.forgot > .content {
  background: var(--pch-page-bg, #F8FAFC) !important;
  padding: 24px 0 28px;
}

body.pre-account.register > .content > section.container,
body.pre-account.login > .content > section.container,
body.pre-account.recover > .content > section.container,
body.pre-account.forgot > .content > section.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  align-items: stretch;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
  min-height: 0;
  position: relative;
}

body.pre-account.register > .content > section.container:after,
body.pre-account.login > .content > section.container:after,
body.pre-account.recover > .content > section.container:after,
body.pre-account.forgot > .content > section.container:after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.pch-auth {
  width: 100%;
}

.pch-auth__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

body.pre-account .pch-auth__form.box,
body.pre-account.register .box,
body.pre-account.login .box {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 32px 36px 36px;
  background: #fff;
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(27, 42, 74, 0.06);
  box-sizing: border-box;
}

.pch-auth__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pch-primary, #EA580C);
}

.pch-auth__form h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
  color: var(--pch-charcoal, #111111);
}

.pch-auth__lead {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
}

body.pre-account .pch-auth a.alt-action {
  margin: 0 0 22px;
  font-weight: 600;
  color: var(--pch-navy, #1B2A4A);
}

/* body.pre-account .pch-auth .row {
  margin: 0 0 10px;
} */

body.pre-account .pch-auth label {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pch-navy, #1B2A4A);
}

body.pre-account .pch-auth input[type="text"],
body.pre-account .pch-auth input[type="password"],
body.pre-account .pch-auth input[type="email"],
body.pre-account .pch-auth select,
body.pre-account .pch-auth #osp_referral {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  box-sizing: border-box;
}

.pch-auth__row-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 12px;
}

.pch-auth__row-grid .row {
  margin-bottom: 10px;
}

body.pre-account .pch-auth input:focus,
body.pre-account .pch-auth select:focus,
body.pre-account .pch-auth #osp_referral:focus {
  outline: none;
  border-color: var(--pch-primary, #EA580C);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.16);
}

body.pre-account .pch-auth .content .btn,
body.pre-account .pch-auth button.btn {
  margin-top: 8px;
  border-radius: 10px;
  font-weight: 700;
}

.pch-auth .user-reg-hook {
  margin: 4px 0 12px;
}

.pch-auth .pcac-account-type,
.pch-auth .control-group {
  margin: 0 0 10px;
  padding: 12px;
  border: 1px solid var(--pch-border, #e5e7eb);
  border-radius: 12px;
  background: #f8fafc;
}

.pch-auth .pcac-help,
.pch-auth #osp_referral_info,
.pch-auth .control-group p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
  font-style: normal;
}

.pch-auth .control-label,
.pch-auth .control-group label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pch-navy, #1B2A4A);
}

.pch-auth #osp_referral,
.pch-auth .pcac-account-type select {
  width: 100%;
}

@media (min-width: 768px) {
  .pch-auth__row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pch-auth__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  background: var(--pch-navy, #1B2A4A);
  color: #fff;
  border-radius: 16px;
  min-height: 100%;
  box-sizing: border-box;
}

.pch-auth__panel .pch-auth__eyebrow {
  color: #fdba74;
}

.pch-auth__panel h2 {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 1.25;
  color: #fff;
}

.pch-auth__perks {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pch-auth__perks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.pch-auth__perks i {
  margin-top: 3px;
  color: var(--pch-primary, #EA580C);
}

.pch-auth__panel-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 2px;
}

.pch-auth__panel-link:hover {
  color: #fdba74 !important;
  border-bottom-color: #fdba74;
}

@media (max-width: 991px) {
  .pch-auth__layout {
    grid-template-columns: 1fr;
  }

  .pch-auth__panel {
    order: -1;
    padding: 28px 24px;
    min-height: 0;
  }

  .pch-auth__panel h2 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  body.pre-account .pch-auth__form.box {
    padding: 24px 20px 28px;
  }
}

/* Tablet 768–991: extra space under the category bar (still visible at this width) */
@media (min-width: 768px) and (max-width: 991px) {
  body.pre-account.register > .content,
  body.pre-account.login > .content,
  body.pre-account.recover > .content,
  body.pre-account.forgot > .content {
    padding-top: 60px;
  }
}




