/* Peptopedia catalog variant C — v8 (2026-11-22), card design v2. File catalog-c-v8.css (P2-02 rule: catalog-c-v7.css
   e087270c and the v5 catalog-c.css 6059fccf stay untouched). v8 = v7 rules + the v8 block at the end.
   Two body classes, both added server-side by the MU:
     body.pep-catalog-c-grid  -> /shop/, /es/shop/, product category archives
                                 AND the homepage grid (/ and /es/). Card rules only.
     body.pep-catalog-c       -> archives only. Chrome rules (slim bar, header
                                 search icon). Never on the homepage, so the hero,
                                 header and top bar of / and /es/ are untouched.
   Does not target the single-product page or COA cards. No prices are set here;
   every amount is printed server-side from the live WooCommerce price HTML.
*/
/* ===== 1. Barra única: ticker + BF + countdown ===== */
body.pep-catalog-c .pep-announcement,
body.pep-catalog-c aside.sammy-bf-marquee,
body.pep-catalog-c section.sammy-bf-cd {
  display: none !important;
}

/* P3-01: hide the header search unless the magnifier opens it.
   A bare display:none !important would beat an inline style.display=block. */
body.pep-catalog-c .sammy-hs:not(.pep-catalog-c-hs-open) {
  display: none !important;
}
body.pep-catalog-c .sammy-hs.pep-catalog-c-hs-open {
  display: block !important;
  position: fixed !important;
  top: 100px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 1100 !important;
  background: #fff !important;
  padding: 12px !important;
  box-shadow: 0 8px 24px rgba(6, 24, 49, .12);
}

body.pep-catalog-c .pep-catalog-c-slimbar {
  box-sizing: border-box;
  width: 100%;
  background: linear-gradient(90deg, #6e1420 0%, #c2410c 50%, #6e1420 100%);
  color: #fff8e7;
  z-index: 40;
  font-family: inherit;
}
body.pep-catalog-c .pep-catalog-c-slimbar__inner {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  min-height: 36px;
}
body.pep-catalog-c .pep-catalog-c-slimbar__bf {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.pep-catalog-c .pep-catalog-c-slimbar__cd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.pep-catalog-c .pep-catalog-c-slimbar__cd b {
  display: inline-block;
  min-width: 1.6em;
  padding: 1px 5px;
  border-radius: 4px;
  background: #6e1420;
  color: #fff8e7;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
body.pep-catalog-c .pep-catalog-c-slimbar__ends {
  font-size: 11px;
  font-weight: 700;
  opacity: .92;
  white-space: nowrap;
}
body.pep-catalog-c .pep-catalog-c-slimbar__ship {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .9;
  white-space: nowrap;
}
body.pep-catalog-c .pep-catalog-c-slimbar__dot {
  opacity: .55;
}

/* Header más bajo; lupa junto al carrito */
body.pep-catalog-c .pep-header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.pep-catalog-c .pep-header__inner {
  min-height: 58px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
body.pep-catalog-c .pep-catalog-c-search-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9d6e6;
  border-radius: 999px;
  background: #f7faff;
  color: #061831;
  cursor: default;
}
body.pep-catalog-c .pep-catalog-c-search-icon:focus-visible {
  outline: 2px solid #0876f9;
  outline-offset: 2px;
}
body.pep-catalog-c .pep-main {
  padding-top: 0 !important;
}

/* --- Ajuste de chrome: barra fija arriba, header justo debajo --- */
body.pep-catalog-c .pep-catalog-c-slimbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1002 !important;
  height: 36px;
}
body.pep-catalog-c .pep-catalog-c-slimbar__inner {
  min-height: 36px;
  padding-top: 0;
  padding-bottom: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}
body.pep-catalog-c .pep-header {
  position: fixed !important;
  top: 36px !important;
  height: 64px !important;
}
body.pep-catalog-c .pep-app {
  padding-top: 100px !important;
}
body.pep-catalog-c .pep-header__inner {
  grid-template-columns: 220px 1fr auto !important;
  height: 64px !important;
  min-height: 64px !important;
}
body.pep-catalog-c .pep-catalog-c-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
@media (max-width: 900px) {
  body.pep-catalog-c .pep-app {
    padding-top: 96px !important;
  }
  body.pep-catalog-c .pep-header {
    height: 60px !important;
    top: 36px !important;
  }
  body.pep-catalog-c .pep-header__inner {
    grid-template-columns: 1fr auto !important;
    height: 60px !important;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar,
  body.pep-catalog-c .pep-catalog-c-slimbar__inner {
    height: 36px;
    min-height: 36px;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__ends,
  body.pep-catalog-c .pep-catalog-c-slimbar__ship,
  body.pep-catalog-c .pep-catalog-c-slimbar__dot {
    display: none !important;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__cd {
    font-size: 9px;
    gap: 3px;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__cd b {
    min-width: 1.3em;
    padding: 0 3px;
    font-size: 10px;
    line-height: 16px;
  }
}
@media (max-width: 680px) {
  body.pep-catalog-c .pep-app {
    padding-top: 96px !important;
  }
}
/* Header: el cart vive en grid-column 4 como hijo directo; el wrapper ocupa ese sitio */
body.pep-catalog-c .pep-header__inner {
  grid-template-columns: auto auto 1fr auto !important;
}
body.pep-catalog-c .pep-header__inner > .pep-catalog-c-header-actions {
  grid-column: 4 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
/* Barra ES: el texto es más largo; una sola línea de 36px, sin que Segundos se salga al header */
body.pep-catalog-c .pep-catalog-c-slimbar {
  overflow: hidden !important;
}
body.pep-catalog-c .pep-catalog-c-slimbar__inner {
  max-width: none;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  gap: 8px;
  flex-wrap: nowrap !important;
  overflow: hidden;
}
body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}
body.pep-catalog-c .pep-catalog-c-slimbar__bf {
  font-size: 11px;
  letter-spacing: .04em;
  flex: 0 0 auto;
}
body.pep-catalog-c .pep-catalog-c-slimbar__ship {
  font-size: 10px;
  min-width: 0;
}
@media (max-width: 1399px) {
  /* El prefijo es redundante con "Ends Nov 30" / "Termina el 30 de nov." */
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__ends {
    display: none !important;
  }
}
@media (max-width: 900px) {
  /* En 390px caben título + horas/minutos + fecha; días y segundos se ocultan */
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:nth-of-type(1),
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:nth-of-type(4) {
    display: none !important;
  }
}

/* Celular: la barra de 36px no cabe con título + 4 unidades + fecha; se dejan horas y minutos */
@media (max-width: 900px) {
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__ends + .pep-catalog-c-slimbar__cd,
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:last-child {
    display: none !important;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__inner > .pep-catalog-c-slimbar__ends,
  body.pep-catalog-c .pep-catalog-c-slimbar__inner > .pep-catalog-c-slimbar__dot {
    display: none !important;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__bf {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 900px) {
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd {
    display: none !important;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:nth-of-type(3),
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:nth-of-type(4) {
    display: inline-flex !important;
  }
}

/* ===== 2. Product grid cards (design v2) ===== */
body.pep-catalog-c-grid .pep-product-grid {
  align-items: stretch !important;
  gap: 12px !important;
}
body.pep-catalog-c-grid .pep-product-card {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  position: relative !important;
}

/* --- Photo: compact 148x200 (128x174 mobile), cover, no pastel bands --- */
body.pep-catalog-c-grid .pep-product-card__media,
body.pep-catalog-c-grid.pep-site .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card:nth-child(n) .pep-product-card__media {
  aspect-ratio: auto !important;
  width: 148px !important;
  max-width: 148px !important;
  height: 200px !important;
  max-height: 200px !important;
  flex: 0 0 200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
  background-image: none !important;
  border-radius: 12px 12px 0 0 !important;
}
body.pep-catalog-c-grid .pep-product-card__media:before,
body.pep-catalog-c-grid .pep-product-card__media:after,
body.pep-catalog-c-grid.pep-site .pep-product-card__media:before,
body.pep-catalog-c-grid.pep-site .pep-product-card__media:after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}
body.pep-catalog-c-grid .pep-product-card__media img,
body.pep-catalog-c-grid.pep-site .pep-product-card__media img,
body.pep-catalog-c-grid.pep-site.pep-image-fit-contain .pep-product-card__media img,
body.pep-catalog-c-grid.pep-site.pep-image-fit-cover .pep-product-card__media img,
body.pep-catalog-c-grid.pep-site.pep-image-spacing-balanced .pep-product-card__media img,
body.pep-catalog-c-grid.pep-site.pep-image-spacing-compact .pep-product-card__media img,
body.pep-catalog-c-grid.pep-site.pep-image-spacing-generous .pep-product-card__media img,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-card__media img,
body.pep-catalog-c-grid.pep-site.pep-image-style-original .pep-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
body.pep-catalog-c-grid .pep-product-card.pep-catalog-c-photo-fallback .pep-product-card__media img {
  object-fit: contain !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
}
/* Sale pill sits on the photo */
body.pep-catalog-c-grid .pep-product-card .sammy-bfs-badge {
  position: absolute !important;
  right: calc(50% - 74px + 6px) !important;
  left: auto !important;
  top: 8px !important;
  padding: 4px 7px !important;
  font-size: 9px !important;
}
@media (max-width: 640px) {
  body.pep-catalog-c-grid .pep-product-card__media,
  body.pep-catalog-c-grid.pep-site .pep-product-card__media,
  body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card .pep-product-card__media,
  body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card:nth-child(n) .pep-product-card__media {
    width: 128px !important;
    max-width: 128px !important;
    height: 174px !important;
    max-height: 174px !important;
    flex: 0 0 174px !important;
  }
  body.pep-catalog-c-grid .pep-product-card .sammy-bfs-badge {
    right: calc(50% - 64px + 6px) !important;
  }
}

/* --- Body: 12-14 px between blocks, no fixed heights --- */
body.pep-catalog-c-grid .pep-product-card__body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 12px 12px 14px !important;
}
/* No category line */
body.pep-catalog-c-grid .pep-product-card__body > .pep-eyebrow,
body.pep-catalog-c-grid .pep-product-card .pep-eyebrow {
  display: none !important;
}
body.pep-catalog-c-grid .pep-product-card h3 {
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  flex: 0 0 auto !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 20px !important;
  letter-spacing: -.02em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
@media (max-width: 640px) {
  body.pep-catalog-c-grid .pep-product-card h3 {
    font-size: 15px !important;
  }
}
body.pep-catalog-c-grid .pep-product-card__body > p {
  display: none !important;
}
/* Restocking stays visible */
body.pep-catalog-c-grid .pep-product-card__body > p.pep-restocking {
  display: block !important;
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #9a3412 !important;
}

/* --- Size pills --- */
body.pep-catalog-c-grid .pep-product-card__sizes {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 12px 0 0 !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
body.pep-catalog-c-grid .pep-product-card__sizes .pep-c6-size {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-block !important;
  margin: 0 !important;
  border: 1px solid #c9d6e6 !important;
  background: #fff !important;
  color: #061831 !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
body.pep-catalog-c-grid .pep-product-card__sizes .pep-c6-size[disabled] {
  cursor: default;
  opacity: 1 !important;
}
body.pep-catalog-c-grid .pep-product-card__sizes .pep-c6-size.is-active {
  border-color: #0d2b55 !important;
  background: #0d2b55 !important;
  color: #fff !important;
}
body.pep-catalog-c-grid .pep-product-card__sizes .pep-c6-size.is-unavailable {
  border-color: #c9d6e6 !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
}
body.pep-catalog-c-grid .pep-product-card__sizes .pep-c6-size:focus-visible {
  outline: 2px solid #0b6bff !important;
  outline-offset: 1px !important;
}

/* --- Foot: price, add to cart, view link --- */
body.pep-catalog-c-grid .pep-product-card__foot {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  margin-top: auto !important;
  padding: 12px 0 0 !important;
  border-top: 0 !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
body.pep-catalog-c-grid .pep-c6-price {
  display: block !important;
  margin: 0 !important;
}
body.pep-catalog-c-grid .pep-c6-price .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
body.pep-catalog-c-grid .pep-c6-line1 {
  display: block !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -.01em !important;
  color: #061831 !important;
  text-decoration: none !important;
}
body.pep-catalog-c-grid .pep-c6-price.is-sale .pep-c6-line1,
body.pep-catalog-c-grid .pep-c6-price.is-sale .pep-c6-now,
body.pep-catalog-c-grid .pep-c6-price.is-sale .pep-c6-now .woocommerce-Price-amount {
  color: #15803d !important;
}
body.pep-catalog-c-grid .pep-c6-now,
body.pep-catalog-c-grid .pep-c6-now .woocommerce-Price-amount {
  font: inherit !important;
  color: inherit !important;
  text-decoration: none !important;
  background: none !important;
}
body.pep-catalog-c-grid .pep-c6-line1 .pep-c6-from {
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-right: 2px !important;
}
body.pep-catalog-c-grid .pep-c6-line2 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #64748b !important;
}
body.pep-catalog-c-grid .pep-c6-line2 .pep-c6-from {
  text-decoration: none !important;
}
body.pep-catalog-c-grid .pep-c6-was,
body.pep-catalog-c-grid .pep-c6-was .woocommerce-Price-amount {
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
}
body.pep-catalog-c-grid .pep-c6-pct {
  display: inline-block !important;
  background: #dcfce7 !important;
  color: #15803d !important;
  border-radius: 999px !important;
  padding: 1px 7px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}
body.pep-catalog-c-grid .pep-c6-from[hidden],
body.pep-catalog-c-grid .pep-c6-pct[hidden] {
  display: none !important;
}
body.pep-catalog-c-grid .pep-c6-cart {
  display: block !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}
body.pep-catalog-c-grid .pep-c6-atc {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 10px 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0b6bff !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  cursor: pointer;
}
body.pep-catalog-c-grid .pep-c6-atc:hover {
  background: #0a5ee0 !important;
}
body.pep-catalog-c-grid .pep-c6-atc[disabled] {
  background: #94a3b8 !important;
  cursor: not-allowed;
}
body.pep-catalog-c-grid .pep-product-card__foot > a.pep-c6-view {
  display: block !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #0d2b55 !important;
  text-decoration: none !important;
  text-transform: none !important;
}
body.pep-catalog-c-grid .pep-product-card__foot > a.pep-c6-view:hover {
  text-decoration: underline !important;
}
/* Any other theme link/strong in the foot (none expected after the MU) */
body.pep-catalog-c-grid .pep-product-card__foot > a:not(.pep-c6-view),
body.pep-catalog-c-grid .pep-product-card__foot > strong {
  display: none !important;
}
@media (max-width: 640px) {
  body.pep-catalog-c-grid .pep-product-card__body {
    padding: 12px 10px 14px !important;
  }
  body.pep-catalog-c-grid .pep-c6-line1 {
    font-size: 18px !important;
  }
  body.pep-catalog-c-grid .pep-c6-atc {
    font-size: 11px !important;
    letter-spacing: 0 !important;
  }
}

/* Spray fallback tiles: contain + sampled edge color of THAT photo (no pastel). */
body.pep-catalog-c-grid.pep-site .pep-product-grid .pep-product-card[data-name="ahk-cu — research spray format"] > .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card[data-name="ahk-cu — research spray format"] > .pep-product-card__media {
  background-color: #dfd7fe !important;
  background-image: none !important;
}
body.pep-catalog-c-grid.pep-site .pep-product-grid .pep-product-card[data-name="dsip — research spray format"] > .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card[data-name="dsip — research spray format"] > .pep-product-card__media {
  background-color: #dbeeff !important;
  background-image: none !important;
}
body.pep-catalog-c-grid.pep-site .pep-product-grid .pep-product-card[data-name="ghk-cu — research spray format"] > .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card[data-name="ghk-cu — research spray format"] > .pep-product-card__media {
  background-color: #e0d8fd !important;
  background-image: none !important;
}
body.pep-catalog-c-grid.pep-site .pep-product-grid .pep-product-card[data-name="nad+ — research spray format"] > .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card[data-name="nad+ — research spray format"] > .pep-product-card__media {
  background-color: #d3e8fd !important;
  background-image: none !important;
}
body.pep-catalog-c-grid.pep-site .pep-product-grid .pep-product-card[data-name="pt-141 — research spray format"] > .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card[data-name="pt-141 — research spray format"] > .pep-product-card__media {
  background-color: #fedeeb !important;
  background-image: none !important;
}
body.pep-catalog-c-grid.pep-site .pep-product-grid .pep-product-card[data-name="selank — research spray format"] > .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card[data-name="selank — research spray format"] > .pep-product-card__media {
  background-color: #dbeefe !important;
  background-image: none !important;
}
body.pep-catalog-c-grid.pep-site .pep-product-grid .pep-product-card[data-name="semax — research spray format"] > .pep-product-card__media,
body.pep-catalog-c-grid.pep-site.pep-image-style-pastel .pep-product-grid .pep-product-card[data-name="semax — research spray format"] > .pep-product-card__media {
  background-color: #defcf0 !important;
  background-image: none !important;
}

/* P3-02: full unit names on desktop; compact Spanish/English at narrow widths
   so «Segundos» is not clipped at 390 px. Short forms: Seg (ES), Sec (EN). */
body.pep-catalog-c .pep-catalog-c-slimbar__cd-lab-short {
  display: none;
}
@media (max-width: 640px) {
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-lab {
    display: none;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-lab-short {
    display: inline;
  }
}

/* ===== v8 (2026-11-22): two CSS fixes, appended so every v7 rule above is unchanged ===== */

/* v8 fix 2 — search / filters. The plugin filter (peptopedia-store.js applyCatalogFilters) hides
   non-matching cards with the [hidden] attribute; the plugin rule .pep-product-card[hidden]
   {display:none!important} (0,2,0) lost to the card rule above
   body.pep-catalog-c-grid .pep-product-card {display:flex!important} (0,2,1), so «1 results» still
   showed all cards. This rule (0,3,1) wins again. It is the only card-level display override in
   this file (photo-fallback cards share the same selector). */
body.pep-catalog-c-grid .pep-product-card[hidden] {
  display: none !important;
}

/* v8 fix 1 — Black Friday countdown in the slim bar at <= 900 px: Days, Hours and Min (Sec hidden).
   The v7 rules above showed only Min + Sec, so an 8-day countdown read «11 MIN 51 SEC». Same
   specificity, later in the file -> these win. The countdown block never shrinks (the BF text is the
   part that ellipsizes), so no unit is cut at the bar edge. */
@media (max-width: 900px) {
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:nth-of-type(1),
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:nth-of-type(2),
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:nth-of-type(3) {
    display: inline-flex !important;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap > .pep-catalog-c-slimbar__cd:nth-of-type(4) {
    display: none !important;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap {
    flex: 0 0 auto;
  }
  body.pep-catalog-c .pep-catalog-c-slimbar__bf {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* ES narrow (<= 400 px): «BLACK FRIDAY: HASTA 40 % DE DESCUENTO» is longer than the EN text; a
   tighter bar keeps D/H/Min whole and fits the whole title on one line down to ~361 px. */
@media (max-width: 400px) {
  html[lang^="es"] body.pep-catalog-c .pep-catalog-c-slimbar__inner {
    gap: 6px;
    padding: 0 8px;
  }
  html[lang^="es"] body.pep-catalog-c .pep-catalog-c-slimbar__bf {
    font-size: 10px;
    letter-spacing: .02em;
  }
  html[lang^="es"] body.pep-catalog-c .pep-catalog-c-slimbar__cd-wrap {
    gap: 4px;
  }
}
/* Very narrow (<= 380 px, EN and ES): the title may use two short lines inside the same 36 px bar
   instead of being cut with an ellipsis; the countdown (D/H/Min) is never shrunk. */
@media (max-width: 380px) {
  body.pep-catalog-c .pep-catalog-c-slimbar__bf {
    white-space: normal;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: clip;
  }
  html[lang^="es"] body.pep-catalog-c .pep-catalog-c-slimbar__bf {
    font-size: 10px;
  }
}
