/* Pacoclean, marques (lot 96) */
.pcm-grid-wrap,
.pcm-head,
.pcm-hit {
  font-family: var(--pc-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: var(--pc-hd-ink, #1d1d1f);
}

/* ---------- Grille Nos marques ---------- */
.pcm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
  gap: 14px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}
.pcm-grid__item {
  margin: 0;
}
.pcm-card,
.pcm-card:link,
.pcm-card:visited {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e8e8ed;
  border-radius: 20px;
  background: #fff;
  color: inherit;
  text-decoration: none !important;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.pcm-card:hover,
.pcm-card:focus-visible {
  border-color: #d2d2d7;
  box-shadow: 0 16px 40px rgba(17, 19, 21, .08);
  transform: translateY(-3px);
}
.pcm-card:focus-visible {
  outline: 2px solid #b72301;
  outline-offset: 2px;
}
.pcm-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2.38 / 1;
  background: #fff;
}
.pcm-card__logo img {
  display: block;
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.pcm-card__logo img.pcm-card__native {
  width: auto;
  max-width: 72%;
  max-height: 58%;
  mix-blend-mode: multiply;
}
.pcm-card__word {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #1d1d1f;
}
.pcm-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding: 12px 16px 15px;
  border-top: 1px solid #f0f0f3;
  background: #fbfbfd;
  text-align: center;
}
.pcm-card__tag {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #1d1d1f;
}
.pcm-card__nb {
  font-size: 12px;
  color: var(--pc-hd-muted, #6e6e73);
}
.pcm-card--soon .pcm-card__logo img {
  filter: grayscale(.35);
  opacity: .9;
  transition: filter .25s ease, opacity .25s ease;
}
.pcm-card--soon:hover .pcm-card__logo img {
  filter: none;
  opacity: 1;
}
.pcm-card__flag {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fbeee9;
  font-size: 11px;
  font-weight: 700;
  color: #b72301;
}
.pcm-soon-sec__t {
  margin: 0 0 4px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: #1d1d1f;
}
.pcm-soon-sec__s {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--pc-hd-muted, #6e6e73);
}
@media (max-width: 575px) {
  .pcm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 32px;
  }
  .pcm-card,
  .pcm-card:link,
  .pcm-card:visited {
    border-radius: 16px;
  }
  .pcm-card__body {
    padding: 9px 10px 11px;
  }
  .pcm-card__tag {
    font-size: 12px;
  }
  .pcm-card__nb {
    font-size: 11.5px;
  }
  .pcm-card__flag {
    font-size: 10px;
    padding: 1px 6px;
  }
  .pcm-card__word {
    font-size: 18px;
  }
}

/* ---------- En-tête d'une page marque ---------- */
.pcm-head {
  margin: 4px 0 18px;
}
.pcm-head__back a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pc-hd-muted, #6e6e73) !important;
  text-decoration: none !important;
}
.pcm-head__back a:hover {
  color: #b72301 !important;
}
.pcm-head__back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pcm-head__hero {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  align-items: center;
  gap: 28px;
  margin: 12px 0 0;
  padding: 22px 26px;
  border: 1px solid #ececf0;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fafafc 100%);
}
.pcm-head__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 1;
  border-radius: 18px;
  background: #fff;
}
.pcm-head__logo img {
  display: block;
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.pcm-head__logo img.pcm-card__native {
  width: auto;
  max-width: 80%;
  max-height: 64%;
  mix-blend-mode: multiply;
}
.pcm-head__title {
  margin: 0 0 6px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #1d1d1f;
  text-transform: none;
}
.pcm-head__sub {
  font-weight: 600;
  color: var(--pc-hd-muted, #6e6e73);
}
.pcm-head__desc,
.pcm-head__desc p {
  max-width: 680px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #424245;
}
.pcm-head__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.pcm-head__facts li {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f0f0f3;
  font-size: 12.5px;
  font-weight: 600;
  color: #1d1d1f;
}
.pcm-head__facts li.is-badge {
  background: #fbeee9;
  color: #b72301;
}
@media (max-width: 767px) {
  .pcm-head__hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }
  .pcm-head__logo {
    aspect-ratio: 3.2 / 1;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
  }
  .pcm-head__title {
    font-size: 26px;
  }
  .pcm-head__facts {
    margin-top: 10px;
  }
  .pcm-head__txt {
    text-align: center;
  }
  .pcm-head__desc,
  .pcm-head__desc p {
    font-size: 14px;
    margin: 0 auto;
  }
  .pcm-head__facts {
    justify-content: center;
  }
}

/* Types de produits (vignettes photo, même langage que les sous-catégories) */
.pcm-types {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(136px, 1fr);
  gap: 12px;
  margin: 18px 0 6px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.pcm-type,
.pcm-type:link,
.pcm-type:visited {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 136px;
  padding: 12px 10px 14px;
  border: 1.5px solid transparent;
  border-radius: 18px;
  background: #f5f5f7;
  text-align: center;
  text-decoration: none !important;
  color: #1d1d1f !important;
  scroll-snap-align: start;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.pcm-type:hover {
  background: #fff;
  border-color: #e3e3e8;
  transform: translateY(-2px);
}
.pcm-type.is-on {
  background: #fff;
  border-color: #b72301;
  box-shadow: 0 8px 22px rgba(183, 35, 1, .1);
}
.pcm-type__media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 112px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.pcm-type__media:empty::before {
  content: "";
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #ececf0 0 45%, transparent 46%);
}
.pcm-type__media img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.pcm-type--all .pcm-type__media {
  background: linear-gradient(135deg, #1d1d1f 0%, #3a3a3c 100%);
}
.pcm-type--all.is-on .pcm-type__media {
  background: linear-gradient(135deg, #b72301 0%, #d0300f 100%);
}
.pcm-type__nb {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}
.pcm-type__name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.pcm-type__count {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(29, 29, 31, .78);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.pcm-type.is-on .pcm-type__count {
  background: #b72301;
}
@media (min-width: 992px) {
  .pcm-types {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    overflow: visible;
  }
}
@media (max-width: 575px) {
  .pcm-types {
    grid-auto-columns: 120px;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    scroll-padding-left: 15px;
  }
  .pcm-type,
  .pcm-type:link,
  .pcm-type:visited {
    min-width: 120px;
  }
}
.pcm-soon {
  margin-top: 18px;
}

/* ---------- Carte marque dans la recherche ---------- */
.pcm-hit {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 20px;
  margin: 6px 0 22px;
  padding: 14px 18px;
  border: 1px solid #ececf0;
  border-radius: 20px;
  background: #fff;
}
.pcm-hit__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2.38 / 1;
}
.pcm-hit__logo img {
  display: block;
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.pcm-hit__logo img.pcm-card__native {
  width: auto;
  max-width: 80%;
  max-height: 64%;
  mix-blend-mode: multiply;
}
.pcm-hit__t {
  margin: 0 0 3px;
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
}
.pcm-hit__flag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fbeee9;
  font-size: 11.5px;
  font-weight: 700;
  vertical-align: 2px;
  color: #b72301;
}
.pcm-hit__s {
  margin: 0;
  font-size: 14px;
  color: var(--pc-hd-muted, #6e6e73);
}
.pcm-hit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pcm-hit__btn,
.pcm-hit__btn:link,
.pcm-hit__btn:visited {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.pcm-hit__btn:hover {
  background: #b72301;
}
.pcm-hit__btn--alt,
.pcm-hit__btn--alt:link,
.pcm-hit__btn--alt:visited {
  background: #f0f0f3;
  color: #1d1d1f !important;
}
.pcm-hit__btn--alt:hover {
  background: #e3e3e8;
}
@media (max-width: 767px) {
  .pcm-hit {
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .pcm-hit__actions {
    grid-column: 1 / -1;
  }
  .pcm-hit__btn,
  .pcm-hit__btn:link,
  .pcm-hit__btn:visited {
    flex: 1;
    justify-content: center;
  }
  .pcm-hit__t {
    font-size: 16px;
  }
  .pcm-hit__s {
    font-size: 13px;
  }
}

/* Marque sans produit : le bloc « La gamme arrive » de la marque remplace l'état vide générique */
body:has(.pcm-head--soon) .pc-empty,
body:has(.pcm-hit--soon) .pc-empty {
  display: none !important;
}

/* ---------- Fiche produit ---------- */
.product-manufacturer-next .pcm-plogo {
  max-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
  .pcm-card,
  .pcm-type,
  .pcm-card--soon .pcm-card__logo img {
    transition: none;
  }
}
