/*
Theme Name: Pixoes Kadence Child
Theme URI: https://pixoes.com.mx
Description: Child theme de Kadence para personalizaciones de Pixoes.
Author: Pixoes
Author URI: https://pixoes.com.mx
Template: kadence
Version: 1.0.0
Text Domain: pixoes-kadence-child
*/

/* =========================
   404 PIXOES
========================= */

.px404-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.error404 .content-area,
body.error404 .site-main,
body.error404 .entry-content,
body.error404 .entry-content-wrap,
body.error404 .px404-wrap,
body.error404 .px404-page-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.error404 .px404-page-content > *:first-child {
  margin-top: 0 !important;
}

body.error404 .px404-page-content > *:last-child {
  margin-bottom: 0 !important;
}

body.error404 .px404-page-content .alignfull {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

.px404-hero {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;
  padding: 42px 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  margin-bottom: 32px;
}

.px404-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(62, 215, 197, 0.12);
  color: #179d8f;
  margin-bottom: 18px;
}

.px404-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 14px;
}

.px404-text {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5563;
}

.px404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.px404-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #111827;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.px404-button:hover {
  transform: translateY(-2px);
  opacity: .96;
}

.px404-button--primary {
  background: #3ED7C5;
  color: #0f172a;
  border-color: transparent;
}

.px404-search,
.px404-products {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.px404-search h2,
.px404-products h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.px404-search p,
.px404-products p {
  color: #4b5563;
  margin-bottom: 18px;
}

.px404-search form {
  max-width: 720px;
  margin: 0 auto;
}

.px404-products .products {
  margin-top: 18px !important;
}

.px404-products .products.columns-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 900px) {
  .px404-products .products.columns-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .px404-hero {
    padding: 30px 18px;
  }

  .px404-products .products.columns-3 {
    grid-template-columns: 1fr;
  }

  .px404-actions {
    flex-direction: column;
  }

  .px404-button {
    width: 100%;
  }
}