/* =========================
   CSS PERSONALIZADO LIMPIO
   WhatsApp / Menú / Categorías / Filtros
   ========================= */

:root {
  --pf-red: #d63a34;
  --pf-red-dark: #b32025;
  --pf-soft-red: #f0b3af;
  --pf-black: #111111;
  --pf-text: #222222;
  --pf-muted: #555555;
  --pf-border: #e8e8e8;
  --pf-white: #ffffff;
}

/* =========================
   WHATSAPP FLOTANTE
   ========================= */

.pf-whatsapp-float {
  position: fixed !important;
  right: 24px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  z-index: 99999 !important;
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25) !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.pf-whatsapp-float svg {
  width: 34px !important;
  height: 34px !important;
  fill: var(--pf-white) !important;
}

.pf-whatsapp-float:hover {
  transform: translateY(-50%) translateX(-3px) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32) !important;
}

.pf-current-menu {
  color: var(--pf-red-dark) !important;
  font-weight: 800 !important;
}

/* =========================
   PÁGINAS DE CATEGORÍA
   ========================= */

html.pf-category-page body,
html.pf-category-page main,
html.pf-category-page [role="main"] {
  background: var(--pf-white) !important;
}

/* Breadcrumb de categoría */
html.pf-category-page [class*="breadcrumb"],
html.pf-category-page [class*="Breadcrumb"],
html.pf-category-page [class*="bread-crumb"],
html.pf-category-page [class*="BreadCrumb"] {
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-top: 34px !important;
  margin-bottom: 22px !important;
  color: var(--pf-muted) !important;
}

html.pf-category-page [class*="breadcrumb"] a,
html.pf-category-page [class*="Breadcrumb"] a,
html.pf-category-page [class*="bread-crumb"] a,
html.pf-category-page [class*="BreadCrumb"] a {
  color: var(--pf-muted) !important;
  text-decoration: none !important;
}

html.pf-category-page [class*="breadcrumb"] span,
html.pf-category-page [class*="Breadcrumb"] span,
html.pf-category-page [class*="bread-crumb"] span,
html.pf-category-page [class*="BreadCrumb"] span {
  font-weight: 800 !important;
  color: var(--pf-black) !important;
}

/* Hero agregado por el código de pie de página */
html.pf-category-page .pf-category-hero {
  width: min(1810px, calc(100vw - 90px)) !important;
  max-width: none !important;
  margin: 28px auto 48px !important;
  padding: 0 !important;
}

html.pf-category-page .pf-category-hero-inner {
  width: 100% !important;
  min-height: 500px !important;
  border-radius: 0 !important;
  padding: clamp(46px, 6vw, 90px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background-image:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.25)),
    var(--pf-category-bg, none) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #141414 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html.pf-category-page .pf-category-kicker {
  color: var(--pf-soft-red) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 18px !important;
}

html.pf-category-page .pf-category-hero h2 {
  color: var(--pf-white) !important;
  font-size: clamp(54px, 6vw, 96px) !important;
  line-height: 0.95 !important;
  font-weight: 900 !important;
  letter-spacing: -2px !important;
  margin: 0 0 24px !important;
  max-width: 850px !important;
}

html.pf-category-page .pf-category-hero p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  max-width: 760px !important;
  margin: 0 !important;
}

html.pf-category-page .pf-category-title-hidden {
  display: none !important;
}

/* =========================
   FILTROS Y LISTADO DE PRODUCTOS
   Reglas conservadoras para no romper Zoho.
   ========================= */

html.pf-category-page [class*="filter"],
html.pf-category-page [class*="Filter"] {
  box-sizing: border-box !important;
}

html.pf-category-page [class*="filter"] button,
html.pf-category-page [class*="Filter"] button,
html.pf-category-page [class*="sort"] button,
html.pf-category-page [class*="Sort"] button,
html.pf-category-page [class*="view"] button,
html.pf-category-page [class*="View"] button,
html.pf-category-page select {
  border-radius: 999px !important;
  font-weight: 600 !important;
}

html.pf-category-page [class*="product"] img,
html.pf-category-page [class*="Product"] img {
  object-fit: contain !important;
  transition: transform 0.22s ease !important;
}

html.pf-category-page [class*="product"] a:hover img,
html.pf-category-page [class*="Product"] a:hover img {
  transform: scale(1.02) !important;
}

/* =========================
   RESPONSIVE CATEGORÍAS
   ========================= */

@media (max-width: 991px) {
  html.pf-category-page .pf-category-hero {
    width: min(100%, calc(100vw - 36px)) !important;
    margin: 20px auto 36px !important;
  }

  html.pf-category-page .pf-category-hero-inner {
    min-height: 420px !important;
  }
}

@media (max-width: 768px) {
  html.pf-category-page .pf-category-hero h2 {
    font-size: 44px !important;
    letter-spacing: -1px !important;
  }

  html.pf-category-page .pf-category-hero p {
    font-size: 16px !important;
  }

  html.pf-category-page [class*="breadcrumb"],
  html.pf-category-page [class*="Breadcrumb"],
  html.pf-category-page [class*="bread-crumb"],
  html.pf-category-page [class*="BreadCrumb"] {
    font-size: 14px !important;
    margin-top: 22px !important;
    margin-bottom: 16px !important;
  }
}

@media (max-width: 640px) {
  .pf-whatsapp-float {
    right: 16px !important;
    width: 56px !important;
    height: 56px !important;
  }

  .pf-whatsapp-float svg {
    width: 31px !important;
    height: 31px !important;
  }

  html.pf-category-page .pf-category-hero {
    width: min(100%, calc(100vw - 24px)) !important;
  }

  html.pf-category-page .pf-category-hero-inner {
    min-height: 360px !important;
    padding: 36px 26px !important;
  }
}

/* Contenedor de botones */
.pf-button-blog {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Estilo general de los botones */
.pf-button-blog .pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}
