.elementor-504 .elementor-element.elementor-element-9571c6e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:50px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;}.elementor-widget-wc-categories .woocommerce .woocommerce-loop-category__title{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-wc-categories .woocommerce-loop-category__title .count{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-504 .elementor-element.elementor-element-16f04fb.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}/* Start custom CSS for html, class: .elementor-element-c8d7717 */.qdt-shop-intro {
  --qdt-green: #243814;
  --qdt-gold: #be9756;
  --qdt-text: #505248;

  width: min(100%, 760px);
  margin: 0 auto clamp(34px, 4vw, 54px);
  padding: clamp(38px, 5vw, 62px) 20px 0;

  text-align: center;
}

.qdt-shop-intro__eyebrow {
  display: block;
  margin-bottom: 12px;

  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.28em;
  text-transform: uppercase;

  color: var(--qdt-gold);
}

.qdt-shop-intro__title {
  margin: 0;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;

  color: var(--qdt-green);
}

.qdt-shop-intro__text {
  max-width: 560px;
  margin: 16px auto 0;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;

  color: var(--qdt-text);
}

@media (max-width: 767px) {

  .qdt-shop-intro {
    margin-bottom: 28px;
    padding: 32px 18px 0;
  }

  .qdt-shop-intro__eyebrow {
    margin-bottom: 10px;
    font-size: 7px;
  }

  .qdt-shop-intro__title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .qdt-shop-intro__text {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.6;
  }

}/* End custom CSS */
/* Start custom CSS for wc-categories, class: .elementor-element-16f04fb *//* =========================================================
   CATEGORÍAS DE TIENDA · QUINTO DE LA TORRE
========================================================= */

.qdt-shop-categories {
  --qdt-green: #243814;
  --qdt-green-dark: #16230c;
  --qdt-gold: #be9756;
  --qdt-cream: #f7f4ec;
  --qdt-white: #ffffff;

  width: 100%;
}

/* Rejilla principal */

.qdt-shop-categories ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.2vw, 34px) !important;

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tarjeta */

.qdt-shop-categories ul.products li.product,
.qdt-shop-categories ul.products li.product-category {
  position: relative;
  float: none !important;

  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;
  background: var(--qdt-green-dark);
}

/* Enlace completo */

.qdt-shop-categories ul.products li.product a,
.qdt-shop-categories ul.products li.product-category a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Imagen */

.qdt-shop-categories ul.products li.product img,
.qdt-shop-categories ul.products li.product-category img {
  display: block;

  width: 100% !important;
  height: clamp(340px, 35vw, 520px) !important;
  margin: 0 !important;

  object-fit: cover;
  object-position: center;

  transform: scale(1.02);
  filter:
    saturate(0.9)
    contrast(1.02);

  transition:
    transform 1.1s cubic-bezier(.22, 1, .36, 1),
    filter 0.8s ease;
}

/* Capa oscura */

.qdt-shop-categories ul.products li.product a::before,
.qdt-shop-categories ul.products li.product-category a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(
      180deg,
      rgba(15, 27, 8, 0.04) 20%,
      rgba(15, 27, 8, 0.2) 54%,
      rgba(15, 27, 8, 0.86) 100%
    );

  pointer-events: none;

  transition: background 0.6s ease;
}

/* Línea ornamental */

.qdt-shop-categories ul.products li.product a::after,
.qdt-shop-categories ul.products li.product-category a::after {
  content: "";
  position: absolute;
  z-index: 4;

  left: 28px;
  bottom: 92px;

  width: 42px;
  height: 1px;

  background-color: var(--qdt-gold);

  transform-origin: left center;
  transform: scaleX(0.55);

  transition:
    transform 0.55s cubic-bezier(.22, 1, .36, 1),
    width 0.55s ease;
}

/* Nombre de categoría */

.qdt-shop-categories ul.products li.product h2,
.qdt-shop-categories ul.products li.product-category h2,
.qdt-shop-categories .woocommerce-loop-category__title {
  position: absolute;
  z-index: 5;

  left: 28px;
  right: 28px;
  bottom: 28px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;

  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 2.7vw, 42px) !important;
  font-weight: 400 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;
  text-align: left !important;
  text-transform: none !important;

  color: var(--qdt-white) !important;

  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(.22, 1, .36, 1);
}

/* Contador de productos */

.qdt-shop-categories ul.products li.product h2 .count,
.qdt-shop-categories ul.products li.product-category h2 .count,
.qdt-shop-categories .woocommerce-loop-category__title .count {
  display: block;

  margin-top: 11px;
  padding: 0 !important;

  background: transparent !important;

  font-family: "Montserrat", sans-serif !important;
  font-size: 8px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;

  color: rgba(255, 255, 255, 0.72) !important;
}

/* Sustituye “productos” visualmente por “formatos” */

.qdt-shop-categories ul.products li.product h2 .count,
.qdt-shop-categories ul.products li.product-category h2 .count {
  font-size: 0 !important;
}

.qdt-shop-categories ul.products li.product h2 .count::after,
.qdt-shop-categories ul.products li.product-category h2 .count::after {
  content: attr(aria-label);

  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* Hover */

.qdt-shop-categories ul.products li.product:hover img,
.qdt-shop-categories ul.products li.product-category:hover img {
  transform: scale(1.085);

  filter:
    saturate(1)
    contrast(1.04);
}

.qdt-shop-categories ul.products li.product:hover a::before,
.qdt-shop-categories ul.products li.product-category:hover a::before {
  background:
    linear-gradient(
      180deg,
      rgba(15, 27, 8, 0.02) 15%,
      rgba(15, 27, 8, 0.16) 50%,
      rgba(15, 27, 8, 0.91) 100%
    );
}

.qdt-shop-categories ul.products li.product:hover a::after,
.qdt-shop-categories ul.products li.product-category:hover a::after {
  width: 64px;
  transform: scaleX(1);
}

.qdt-shop-categories ul.products li.product:hover h2,
.qdt-shop-categories ul.products li.product-category:hover h2 {
  transform: translateY(-5px);
}

/* Accesibilidad mediante teclado */

.qdt-shop-categories ul.products li.product a:focus-visible,
.qdt-shop-categories ul.products li.product-category a:focus-visible {
  outline: 2px solid var(--qdt-gold);
  outline-offset: 4px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

  .qdt-shop-categories ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .qdt-shop-categories ul.products li.product img,
  .qdt-shop-categories ul.products li.product-category img {
    height: clamp(360px, 55vw, 480px) !important;
  }

}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 767px) {

  .qdt-shop-categories ul.products {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .qdt-shop-categories ul.products li.product img,
  .qdt-shop-categories ul.products li.product-category img {
    height: clamp(380px, 115vw, 500px) !important;
  }

  .qdt-shop-categories ul.products li.product h2,
  .qdt-shop-categories ul.products li.product-category h2,
  .qdt-shop-categories .woocommerce-loop-category__title {
    left: 22px;
    right: 22px;
    bottom: 23px;

    font-size: clamp(31px, 10vw, 42px) !important;
  }

  .qdt-shop-categories ul.products li.product a::after,
  .qdt-shop-categories ul.products li.product-category a::after {
    left: 22px;
    bottom: 86px;
  }

}

/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .qdt-shop-categories ul.products li.product img,
  .qdt-shop-categories ul.products li.product-category img,
  .qdt-shop-categories ul.products li.product h2,
  .qdt-shop-categories ul.products li.product-category h2,
  .qdt-shop-categories ul.products li.product a::after,
  .qdt-shop-categories ul.products li.product-category a::after {
    transition: none !important;
  }

}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-9571c6e *//* =========================================================
   CATEGORÍAS DE PRODUCTO · QUINTO DE LA TORRE
   CSS PARA PEGAR DENTRO DEL PROPIO WIDGET
========================================================= */

.elementor-504 .elementor-element.elementor-element-9571c6e {
  --qdt-green: #243814;
  --qdt-dark: #16230c;
  --qdt-gold: #be9756;
  --qdt-white: #ffffff;
}

/* Rejilla */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tarjeta */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category {
  position: relative !important;
  float: none !important;

  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  background: var(--qdt-dark) !important;
}

/* Enlace */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category > a {
  position: relative !important;
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  overflow: hidden !important;
  text-decoration: none !important;
}

/* Imagen */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category img {
  display: block !important;

  width: 100% !important;
  height: 430px !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: cover !important;
  object-position: center !important;

  transform: scale(1.02);
  filter: saturate(.88) contrast(1.03);

  transition:
    transform 1s cubic-bezier(.22, 1, .36, 1),
    filter .8s ease;
}

/* Degradado oscuro */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category > a::before {
  content: "" !important;

  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;

  display: block !important;

  background:
    linear-gradient(
      180deg,
      rgba(16, 28, 9, 0.02) 20%,
      rgba(16, 28, 9, 0.18) 52%,
      rgba(16, 28, 9, 0.9) 100%
    ) !important;

  pointer-events: none !important;
}

/* Línea dorada */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category > a::after {
  content: "" !important;

  position: absolute !important;
  left: 28px !important;
  bottom: 91px !important;
  z-index: 4 !important;

  display: block !important;

  width: 42px !important;
  height: 1px !important;

  background: var(--qdt-gold) !important;

  transition: width .5s ease;
}

/* Título */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category
.woocommerce-loop-category__title {
  position: absolute !important;

  left: 28px !important;
  right: 28px !important;
  bottom: 28px !important;
  z-index: 5 !important;

  display: block !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;

  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 38px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: -0.025em !important;
  text-align: left !important;
  text-transform: none !important;

  color: var(--qdt-white) !important;

  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

/* Contador */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category
.woocommerce-loop-category__title .count {
  display: block !important;

  margin-top: 11px !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;

  font-family: "Montserrat", sans-serif !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;

  color: rgba(255,255,255,.7) !important;
}

/* Hover */

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category:hover img {
  transform: scale(1.085);
  filter: saturate(1) contrast(1.05);
}

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category:hover
.woocommerce-loop-category__title {
  transform: translateY(-5px);
}

.elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category:hover > a::after {
  width: 68px !important;
}

/* Tablet */

@media (max-width: 1024px) {

  .elementor-504 .elementor-element.elementor-element-9571c6e ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category img {
    height: 440px !important;
  }

}

/* Móvil */

@media (max-width: 767px) {

  .elementor-504 .elementor-element.elementor-element-9571c6e ul.products {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category img {
    height: 440px !important;
  }

  .elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category
  .woocommerce-loop-category__title {
    left: 22px !important;
    right: 22px !important;
    bottom: 23px !important;

    font-size: 36px !important;
  }

  .elementor-504 .elementor-element.elementor-element-9571c6e ul.products li.product-category > a::after {
    left: 22px !important;
    bottom: 84px !important;
  }

}/* End custom CSS */