.mp-catalog-page {
  font-family: "Montserrat", sans-serif;
  color: #111;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

.mp-catalog-page *,
.mp-catalog-page *::before,
.mp-catalog-page *::after {
  box-sizing: border-box;
}

/* HERO  */

.mp-catalog-page .hero-section {
  background: url('https://mistyrose-hedgehog-825904.hostingersite.com/wp-content/uploads/2026/05/Frame-2087327126-2.webp');
  background-size: cover;
  background-position: center;  
  gap: 80px;
}

.mp-catalog-page .catalog-archive-title {
  background-color:#93CB65;
  padding: 120px 120px 32px 120px;
  margin: 0;
  flex: 0 0 300px;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0 0 50px 50px;
}

.mp-catalog-page .catalog-archive-title h1 {
  margin: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
}
/* FIX FIBOSEARCH */

.mp-catalog-page .hero-search-wrap {
  width: 100%;
  max-width: 1350px;
  margin: 8px auto 0;
  padding: 26px 24px;
}

.mp-catalog-page .hero-section .dgwt-wcas-search-form {
  margin: 0 auto;
}
.mp-catalog-page .hero-section .dgwt-wcas-sf-wrapp {
  position: relative;
  display: flex !important;
  align-items: center !important;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 5px solid #7BC043;
  box-shadow: 0 9px 16px rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  padding: 0 22px 0 56px !important;
}

.mp-catalog-page .hero-section .dgwt-wcas-search-input {
  height: 48px !important;
  line-height: 48px !important;
  border: 0 !important;
  background: transparent !important;
  font-family: "Montserrat", sans-serif;
  font-size: 18px !important;
  color: #2b2b2b;
  box-shadow: none !important;
  padding: 0 !important;
}

.mp-catalog-page .hero-section .dgwt-wcas-search-submit {
  position: absolute !important;
  left: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mp-catalog-page .hero-section .dgwt-wcas-search-submit svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.mp-catalog-page .hero-section .dgwt-wcas-search-submit svg path {
  fill: #7BC043 !important;
}

.mp-catalog-page .hero-section .dgwt-wcas-search-wrapp {
  width: 100% !important;
  max-width: 1350px !important;
  margin: 0 auto !important;
}
.dgwt-wcas-suggestions-wrapp {
  right: 120px !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
}



/* PRODUCTOS DESTACADOS */
.mp-catalog-page .featured-products-section {
    background-image: url('https://mistyrose-hedgehog-825904.hostingersite.com/wp-content/uploads/2026/05/Frame-2087327057.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 120px;
    text-align: center;
    position: relative;
}

.mp-catalog-page .featured-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.mp-catalog-page .featured-slider-container {
    overflow: hidden; 
}

.mp-catalog-page .featured-card {
    background: #fff;
    border: 3px solid #000 !important;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.mp-catalog-page .featured-dots {
    display: none; 
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.mp-catalog-page .featured-dot {
    width: 12px;
    height: 12px;
    background: rgba(17, 17, 17, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mp-catalog-page .featured-dot.active {
    background: #444; 
}

/*CATALOGO*/

.mp-catalog-page .catalog-grid-section {
  padding: 30px 120px 60px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mp-catalog-page .catalog-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.mp-catalog-page .catalog-grid-title span {
  font-size: 20px;
  font-weight: 800;
  color: #222;
}

/* Custom select(FILTRO) */
.mp-catalog-page .custom-select {
  position: relative;
  width: 248px;
  user-select: none;
}

.mp-catalog-page .select-trigger {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  transition: border-radius 0.3s;
}

.mp-catalog-page .custom-select.open .select-trigger {
  border-radius: 12px 12px 0 0;
}

.mp-catalog-page .options-container {
  display: none;
  position: absolute;
  width: 100%;
  background-color: #D9D9D9;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  z-index: 10;
}

.mp-catalog-page .custom-select.open .options-container {
  display: block;
}

.mp-catalog-page .option {
  padding: 12px 20px;
  color: #000000;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.mp-catalog-page .option:hover {
  background-color: #cccccc;
}

.mp-catalog-page .icon {
  display: flex;
  align-items: center;
}

.mp-catalog-page .icon-open {
  display: none;
}

.mp-catalog-page .custom-select.open .icon-open {
  display: block;
}

.mp-catalog-page .custom-select.open .icon-closed {
  display: none;
}

/* Productos GRID */
.mp-catalog-page .catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 26px;
}

.mp-catalog-page .catalog-card {
  border: 2px solid #7BC043;
  border-radius: 16px;
  background: #fff;
  padding: 16px 14px;
  text-decoration: none;
  color: #111;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.mp-catalog-page .catalog-card-media {
  display: flex;
  width: 303px;
  height: 232px;
  align-items: center;
  justify-content: center;
}

.mp-catalog-page .catalog-card-media img {
  width: 198px;
  height: auto;
  object-fit: contain;
  display: block;
}

.mp-catalog-page .catalog-card-body {
  display: flex;
  flex: 1;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mp-catalog-page .catalog-card-title {
  margin: auto 0 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
  text-transform: uppercase;
  color: #222;
}

.mp-catalog-page .catalog-card-price {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin-top:auto;
}

.mp-catalog-page .catalog-card-price span {
  font-size: 20px;
  font-weight: 800;
}

.mp-catalog-page .catalog-card-min {
  font-size: 14px;
  color: #8E8E8E;
  font-weight: 400;
}
.mp-catalog-page .catalog-card-note {
  font-size: 12px;
  color: #222;
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.2;
}

/*Paginacion*/

/* PAGINACION */

.mp-catalog-page .catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.mp-catalog-page .catalog-pagination .page-numbers {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.70);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  transition: all .25s ease;
}

.mp-catalog-page .catalog-pagination .page-numbers:hover {
  background: #111;
  color: #fff;
}

.mp-catalog-page .catalog-pagination .page-numbers.current {
  background: #111;
  color: #fff;
}

.mp-catalog-page .catalog-pagination .prev,
.mp-catalog-page .catalog-pagination .next {
  font-size: 26px;
  line-height: 1;
}

/* FAQ */
.mp-catalog-page .faq-section {
  padding: 57px 116px;
  background: rgba(123, 192, 67, 0.82);
  border-radius: 50px 50px 0 0;
}

.mp-catalog-page .faq-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #111;
}

.mp-catalog-page .faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  padding: 18px 0;
}

.mp-catalog-page .faq-section .faq-title + .faq-item {
  border-top: 0;
}

.mp-catalog-page .faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  font-weight: 700;
  font-size: 20px;
  line-height: 37px;
  text-transform: uppercase;
  color: #3B3B3B;
  cursor: pointer;
  text-align: left;
  appearance: none;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
}

.mp-catalog-page .faq-answer {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 300;
  line-height: 32.5px;
  color: #fff;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.2s ease, transform 0.2s ease;
}

.mp-catalog-page .faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.mp-catalog-page .faq-icon svg {
  width: 100%;
  height: 100%;
}

.mp-catalog-page .faq-icon-close {
  display: none;
}

.mp-catalog-page .faq-item.is-open .faq-answer {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.mp-catalog-page .faq-item.is-open .faq-icon-plus {
  display: none;
}

.mp-catalog-page .faq-item.is-open .faq-icon-close {
  display: grid;
}

.mp-catalog-page .faq-section{
  margin-bottom: 0 !important;
  padding-bottom: 110px !important;
}



/*Quitar CSS de Ast*/
    /* Quitar boxed/padding solo en archive dentro del contenido */
    body.woocommerce-shop #content .ast-container,
    body.post-type-archive-product #content .ast-container,
    body.tax-product_cat #content .ast-container,
    body.tax-product_tag #content .ast-container {
      max-width: 100%;
      padding-left: 0;
      padding-right: 0;
    }
    
    /* Elementor archive container */
    body.woocommerce-shop .elementor-location-archive .e-con-boxed > .e-con-inner,
    body.post-type-archive-product .elementor-location-archive .e-con-boxed > .e-con-inner,
    body.tax-product_cat .elementor-location-archive .e-con-boxed > .e-con-inner,
    body.tax-product_tag .elementor-location-archive .e-con-boxed > .e-con-inner {
      max-width: 100%;
      padding-left: 0;
      padding-right: 0;
    }
    
    /* Widget shortcode a full width */
    body.woocommerce-shop .elementor-location-archive .elementor-widget-shortcode,
    body.post-type-archive-product .elementor-location-archive .elementor-widget-shortcode,
    body.tax-product_cat .elementor-location-archive .elementor-widget-shortcode,
    body.tax-product_tag .elementor-location-archive .elementor-widget-shortcode {
      width: 100%;
}



/*MOBILE*/

@media (max-width: 1100px) {
  .mp-catalog-page .catalog-grid-section {
    padding: 24px 43px 50px;
  }
  .mp-catalog-page .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mp-catalog-page .hero-section {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }
  
 .mp-catalog-page .catalog-archive-title {
    padding: 120px 10px 30px 10px;
    text-align: center !important;
  }

  .mp-catalog-page .catalog-archive-title h1 {
    margin: 0 auto !important;
    font-size: 24px !important;
    max-width: 340px;
    text-align: center !important;
  }

  .mp-catalog-page .hero-section .dgwt-wcas-search-wrapp {
    order: 1;
    width: 100% !important;
    max-width: 294px !important;
    margin: 0 auto !important;
  }

  .mp-catalog-page .hero-section .dgwt-wcas-search-form {
    padding-right: 0 !important;
  }

  .mp-catalog-page .hero-section .dgwt-wcas-sf-wrapp {
    width: 100% !important;
    height: 47px !important;
    min-height: 47px !important;
    border: 2px solid #7BC043;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: none;
    padding: 0 18px 0 48px !important;
  }

  .mp-catalog-page .hero-section .dgwt-wcas-search-input {
    height: 43px !important;
    line-height: 18px !important;
    font-size: 17px !important;
    font-weight: 400;
    color: #555;
    white-space: normal;
  }

  .mp-catalog-page .hero-section .dgwt-wcas-search-input::placeholder {
    color: #555;
    opacity: 1;
  }

  .mp-catalog-page .hero-section .dgwt-wcas-search-submit {
    left: 24px !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
  }

  .mp-catalog-page .hero-section .dgwt-wcas-search-submit svg {
    width: 16px !important;
    height: 16px !important;
  }


  /* Resultados FiboSearch en mobile */
  .dgwt-wcas-suggestions-wrapp {
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-width: none !important;
  }

  .dgwt-wcas-details-wrapp {
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
  }
   .mp-catalog-page .featured-products-section {
        padding: 30px 40px;
    }
    
    .mp-catalog-page .featured-section-title {
        font-size: 20px;

    }

    .mp-catalog-page .featured-slider-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -10px;
    }

    .mp-catalog-page .featured-grid {
        display: flex !important;
        align-items: stretch;
        gap: 20px;
        padding: 0 20px;
    }

   .mp-catalog-page .featured-card {
        scroll-snap-align: center;
        flex: 0 0 303px;
        width: 303px;
        height: 390px;
    }
    
    .mp-catalog-page .featured-card .catalog-card-media {
        width: 100%;
        height: 210px;
        min-height: 210px;
    }
    
    .mp-catalog-page .featured-card .catalog-card-body {
        flex: 1;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
    }
    
    .mp-catalog-page .featured-card .catalog-card-title {
        margin-top: auto;
        min-height: 48px;
        height: auto;
        max-height: none;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        line-height: 1.35;
        overflow: visible;
    }
    
    .mp-catalog-page .featured-card .catalog-card-price {
        min-height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }
    
    .mp-catalog-page .featured-card .catalog-card-min {
        min-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mp-catalog-page .featured-dots {
        display: flex;
    }

    .mp-catalog-page .featured-slider-container::-webkit-scrollbar {
        display: none;
    }
  .mp-catalog-page .catalog-grid-header {
      flex-direction: column-reverse;
      align-items: center;
      justify-content: center;
      gap: 14px;
    }
    
    .mp-catalog-page .catalog-grid-section{
        gap: 2px;
    }
    
    
    .mp-catalog-page .custom-select {
      width: 100%;
      max-width: 317px;
      margin: 0 auto;
    }
    
    .mp-catalog-page .catalog-grid-title {
      width: 100%;
      text-align: center;
      margin: 0;
    }
    
    .mp-catalog-page .catalog-grid-title span {
      display: block;
      font-size: 14px;
      text-align: left;
    }
  .mp-catalog-page .catalog-grid {
    grid-template-columns: 1fr;
  }
  
  .mp-catalog-page .catalog-pagination .page-numbers {
    width: 38px;
    height: 38px;
    border-radius: 15px;
  }
  
  .mp-catalog-page .catalog-card {
      width: 303px;

  }
  
  .mp-catalog-page .faq-section {
      padding: 32px 11px;
    }
    
    .mp-catalog-page .faq-title {
      font-size: 14px;
      margin: 0 0 10px;
    }
    
    .mp-catalog-page .faq-question-title .faq-question {
      gap: 21px;
      font-size: 15px;
      line-height: 24px;
    }
    
    .mp-catalog-page .faq-answer {
      font-size: 14px;
      line-height: 22.5px;
    }
    
    
    .mp-catalog-page .faq-icon svg {
      width: 100%;
      height: 100%;
      width: 18px;
      height: 18px;
    }
    
    .mp-catalog-page .faq-icon-close {
      display: none;
    }
    
    .mp-catalog-page .faq-item.is-open .faq-answer {
      max-height: 300px;
      opacity: 1;
      transform: translateY(0);
    }
    
    .mp-catalog-page .faq-item.is-open .faq-icon-plus {
      display: none;
    }
    
    .mp-catalog-page .faq-item.is-open .faq-icon-close {
      display: grid;
    }
      .mp-product-page .related-section{
    padding-bottom: 80px !important;
 }
}