/* Sofarium Catálogo ACF - estilos de integración con el HTML actual */
.sf-catalog-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: -88px 0 42px;
  position: relative;
  z-index: 3;
  min-height: 48px;
  pointer-events: none;
}

.sf-catalog-toolbar form {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(21,19,15,0.14);
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(52,38,25,0.055);
}

.sf-catalog-toolbar label,
.sf-catalog-toolbar .sf-catalog-order-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5f4c3d;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sf-catalog-toolbar select {
  width: auto;
  min-width: 158px;
  min-height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(141,114,91,0.28);
  background: #ffffff;
  color: #15130f;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: normal;
  text-transform: none;
}

.sf-catalog-grid .gallery-card {
  cursor: pointer;
}

.sf-catalog-placeholder {
  width: 100%;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6f675d;
  background: #e9e0d4;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-catalog-actions {
  gap: 8px;
}

.sf-catalog-actions .mini-btn {
  margin-right: 0;
}

.sf-catalog-info-btn,
.sf-catalog-info-btn:visited {
  background: #15130f !important;
  color: #ffffff !important;
  border-color: #15130f !important;
  line-height: 1.15;
  text-align: center;
}

.sf-catalog-info-btn:hover,
.sf-catalog-info-btn:focus {
  background: transparent !important;
  color: #15130f !important;
  border-color: #15130f !important;
}

.sf-catalog-lightbox-info,
.sf-catalog-lightbox-info:visited {
  width: 100%;
  margin: 4px 0 22px;
  color: #ffffff !important;
}

.sf-catalog-lightbox-info:hover,
.sf-catalog-lightbox-info:focus {
  color: #15130f !important;
}

.sf-catalog-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.sf-catalog-pagination a {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21,19,15,0.14);
  background: #fffdf8;
  color: #15130f;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.sf-catalog-pagination a.active,
.sf-catalog-pagination a:hover {
  background: #15130f;
  color: #fff;
}

.sf-catalog-empty {
  padding: 28px;
  border: 1px solid rgba(21,19,15,0.14);
  background: #fffdf8;
  color: #6f675d;
}

html.sf-catalog-modal-open {
  overflow: hidden;
}

.sf-catalog-lightbox .sf-catalog-tags {
  margin-bottom: 18px;
}

.sf-catalog-lightbox .lightbox-text p {
  margin: 0 0 12px;
}

@media only screen and (max-width: 1180px) {
  .sf-catalog-toolbar {
    margin: -22px 0 30px;
  }
}

@media only screen and (max-width: 860px) {
  .sf-catalog-toolbar {
    justify-content: flex-start;
    margin: 0 0 24px;
    min-height: auto;
  }

  .sf-catalog-toolbar form,
  .sf-catalog-toolbar label,
  .sf-catalog-toolbar .sf-catalog-order-label {
    width: 100%;
  }

  .sf-catalog-toolbar label,
  .sf-catalog-toolbar .sf-catalog-order-label {
    flex-wrap: wrap;
  }

  .sf-catalog-toolbar select {
    width: 100%;
  }
}


/* v1.1.6 · Lightbox: cerrar en esquina superior derecha de la ficha */
.sf-catalog-lightbox .lightbox-panel {
  position: relative;
}

.sf-catalog-lightbox .sf-catalog-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 40 !important;
}

.sf-catalog-lightbox .lightbox-side {
  padding-top: 72px;
}

@media only screen and (max-width: 860px) {
  .sf-catalog-lightbox .sf-catalog-close {
    top: 12px !important;
    right: 12px !important;
  }

  .sf-catalog-lightbox .lightbox-side {
    padding-top: 58px;
  }
}


/* =========================================================
   v1.1.16 · Entrega Express: shortcode limpio con estética Sofarium
   El hero, la intro y el formulario van fuera del plugin.
   Este bloque solo asegura que el listado conserve la maquetación de Avada.
   ========================================================= */

.sfav-root.sf-express-products-only {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 34px !important;
  background: transparent !important;
  color: #15130f;
  font-family: "Open Sans", Arial, sans-serif;
  box-sizing: border-box;
}

.sfav-root.sf-express-products-only,
.sfav-root.sf-express-products-only * {
  box-sizing: border-box;
}

.sfav-root.sf-express-products-only .sf-express-category {
  margin: 0 0 72px !important;
}

.sfav-root.sf-express-products-only .sf-express-category:last-of-type {
  margin-bottom: 0 !important;
}

.sfav-root.sf-express-products-only .sf-express-category-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  margin: 0 0 40px !important;
}

.sfav-root.sf-express-products-only .eyebrow {
  font-family: "Raleway", Arial, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.19em !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  color: #5f4c3d !important;
  margin: 0 0 8px !important;
}

.sfav-root.sf-express-products-only .section-title {
  margin: 0 !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 58px !important;
  line-height: 0.98 !important;
  font-weight: 300 !important;
  letter-spacing: -0.045em !important;
  color: #15130f !important;
}

.sfav-root.sf-express-products-only .gallery-full.sf-catalog-grid,
.sfav-root.sf-express-products-only .sf-express-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 -12px !important;
}

.sfav-root.sf-express-products-only .gallery-card,
.sfav-root.sf-express-products-only .sf-express-product-card {
  width: 33.333% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 12px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.sfav-root.sf-express-products-only .gallery-card:hover {
  transform: translateY(-4px);
}

.sfav-root.sf-express-products-only .gallery-card .media,
.sfav-root.sf-express-products-only .sf-express-card-media {
  position: relative !important;
  width: 100% !important;
  height: 270px !important;
  min-height: 270px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #e9e0d4 !important;
  border-top: 1px solid rgba(21,19,15,0.14) !important;
  border-left: 1px solid rgba(21,19,15,0.14) !important;
  border-right: 1px solid rgba(21,19,15,0.14) !important;
}

.sfav-root.sf-express-products-only .gallery-card .media img,
.sfav-root.sf-express-products-only .sf-express-card-media img {
  width: 100% !important;
  height: 270px !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.75s ease;
}

.sfav-root.sf-express-products-only .gallery-card:hover .media img {
  transform: scale(1.035);
}

.sfav-root.sf-express-products-only .gallery-card .meta {
  flex: 1 1 auto !important;
  min-height: 250px !important;
  padding: 22px 22px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fffdf8 !important;
  border-left: 1px solid rgba(21,19,15,0.14) !important;
  border-right: 1px solid rgba(21,19,15,0.14) !important;
  border-bottom: 1px solid rgba(21,19,15,0.14) !important;
  box-shadow: 0 18px 46px rgba(52,38,25,0.055) !important;
}

.sfav-root.sf-express-products-only .model-kicker {
  display: block !important;
  font-family: "Raleway", Arial, sans-serif !important;
  color: #8d725b !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  margin: 0 0 8px !important;
}

.sfav-root.sf-express-products-only .gallery-card .meta h3 {
  margin: 0 0 16px !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 25px !important;
  line-height: 1.08 !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
  color: #15130f !important;
}

.sfav-root.sf-express-products-only .gallery-card .meta p {
  flex-grow: 1 !important;
  margin: 0 0 18px !important;
  color: #6f675d !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
}

.sfav-root.sf-express-products-only .model-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 0 12px !important;
}

.sfav-root.sf-express-products-only .model-tags span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  margin: 0 7px 7px 0 !important;
  padding: 0 9px !important;
  border: 1px solid rgba(141,114,91,0.22) !important;
  border-radius: 999px !important;
  background: #f4ede4 !important;
  color: #5f4c3d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.sfav-root.sf-express-products-only .card-actions,
.sfav-root.sf-express-products-only .sf-catalog-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: auto !important;
}

.sfav-root.sf-express-products-only .mini-btn {
  min-height: 38px !important;
  padding: 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #15130f !important;
  background: #15130f !important;
  color: #fff !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.sfav-root.sf-express-products-only .sf-catalog-info-btn {
  background: transparent !important;
  color: #15130f !important;
}

.sfav-root.sf-express-products-only .mini-btn:hover {
  background: transparent !important;
  color: #15130f !important;
}

.sfav-root.sf-express-products-only .sf-catalog-info-btn:hover {
  background: #15130f !important;
  color: #fff !important;
}

.sfav-root.sf-express-products-only .sf-express-card-label {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  background: rgba(25, 23, 21, 0.88) !important;
  color: #fff !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
}

.sfav-root.sf-express-products-only .sf-express-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 32px 0 0 !important;
}

.sfav-root.sf-express-products-only .sf-express-page-btn {
  min-width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(35, 30, 26, 0.18) !important;
  border-radius: 999px !important;
  background: #fffdf8 !important;
  color: #231e1a !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.sfav-root.sf-express-products-only .sf-express-page-btn:hover,
.sfav-root.sf-express-products-only .sf-express-page-btn.is-active {
  background: #15130f !important;
  color: #fff !important;
  border-color: #15130f !important;
}

.sfav-root.sf-express-products-only .sf-express-empty {
  padding: 38px !important;
  border: 1px solid rgba(21,19,15,0.14) !important;
  background: #fffdf8 !important;
  color: #6f675d !important;
}

@media only screen and (max-width: 1180px) {
  .sfav-root.sf-express-products-only .gallery-card,
  .sfav-root.sf-express-products-only .sf-express-product-card {
    width: 50% !important;
  }
}

@media only screen and (max-width: 860px) {
  .sfav-root.sf-express-products-only {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .sfav-root.sf-express-products-only .sf-express-category-head {
    display: block !important;
  }

  .sfav-root.sf-express-products-only .section-title {
    font-size: 42px !important;
  }

  .sfav-root.sf-express-products-only .gallery-card,
  .sfav-root.sf-express-products-only .sf-express-product-card {
    width: 100% !important;
  }

  .sfav-root.sf-express-products-only .gallery-card .media,
  .sfav-root.sf-express-products-only .gallery-card .media img,
  .sfav-root.sf-express-products-only .sf-express-card-media,
  .sfav-root.sf-express-products-only .sf-express-card-media img {
    height: 250px !important;
    min-height: 250px !important;
  }

  .sfav-root.sf-express-products-only .gallery-card .meta {
    min-height: auto !important;
  }
}

@media only screen and (max-width: 560px) {
  .sfav-root.sf-express-products-only .section-title {
    font-size: 36px !important;
  }
}
