/* JustoPrecio Category 1.0.0 */
body.shop-1 .hh-cat-landing {
  --hh-cat-ink: #081326;
  --hh-cat-deep: #07111f;
  --hh-cat-primary: #1264f4;
  --hh-cat-accent: #35a7ff;
  --hh-cat-muted: #5a687d;
  --hh-cat-line: #dce5f0;
  --hh-cat-canvas: #f4f7fb;
  --hh-cat-gradient: linear-gradient(135deg, #050912 0%, #0b1e3b 52%, #1264f4 100%);
  background: #f4f7fb;
  color: #081326;
}

body.shop-1 .hh-cat-landing .hh-cat-editorial-hero {
  border-color: #c8d8ed;
  box-shadow: 0 18px 46px rgba(5, 17, 35, 0.13);
}
body.shop-1 .hh-cat-landing .hh-cat-editorial-shade {
  background: linear-gradient(90deg, rgba(3, 7, 15, 0.92) 0%, rgba(7, 24, 51, 0.68) 37%, rgba(9, 39, 84, 0.12) 70%, transparent 100%);
}
body.shop-1 .hh-cat-landing .hh-cat-editorial-kicker span,
body.shop-1 .hh-cat-landing .hh-cat-editorial-cta,
body.shop-1 .hh-cat-landing .hh-cat-product-btn.is-buy,
body.shop-1 .hh-cat-landing .hhprov2-product-buy {
  background: linear-gradient(135deg, #07111f 0%, #0b2e69 52%, #1264f4 100%);
  color: #fff !important;
}
body.shop-1 .hh-cat-landing .hh-cat-editorial-count { border-color: rgba(255,255,255,.42); color: #fff !important; }
body.shop-1 .hh-cat-landing .hh-cat-editorial-trust { border-color: #dce5f0; background: #fff; }
body.shop-1 .hh-cat-landing .hh-cat-editorial-trust i { color: #1264f4; }
body.shop-1 .hh-cat-landing .hh-cat-editorial-kicker::before { background: #35a7ff; }
body.shop-1 .hh-cat-landing .hh-cat-directory-head > span { color: #1264f4; }
body.shop-1 .hh-cat-landing .hh-cat-editorial-trust {
  --hh-agency-green: #1264f4;
}

body.shop-1 .hh-cat-landing .hh-cat-directory-card,
body.shop-1 .hh-cat-landing .hhprov2-slide-card,
body.shop-1 .hh-cat-landing .hh-cat-product-card {
  border-color: #dce5f0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(5, 17, 35, 0.06);
}
body.shop-1 .hh-cat-landing .hh-cat-directory-card:hover,
body.shop-1 .hh-cat-landing .hhprov2-slide-card:hover,
body.shop-1 .hh-cat-landing .hh-cat-product-card:hover {
  border-color: #9ab9e7;
  box-shadow: 0 18px 38px rgba(5, 17, 35, 0.12);
}
body.shop-1 .hh-cat-landing .hh-cat-directory-copy h3,
body.shop-1 .hh-cat-landing .hhprov2-slide-title,
body.shop-1 .hh-cat-landing .hh-cat-section-head h2 { color: #081326 !important; }
body.shop-1 .hh-cat-landing .hhprov2-slide-price { color: #0d60e8; }
body.shop-1 .hh-cat-landing .hh-cat-directory-meta { background: rgba(5,17,35,.84); color: #fff; }

body.shop-1 .hh-cat-landing .jp-category-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: #1264f4;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
body.shop-1 .hh-cat-landing .jp-category-wordmark b { color: #07111f; font-weight: 900; }

body.shop-1 .hh-cat-landing .hh-cat-pagination a.is-current,
body.shop-1 .hh-cat-landing .hh-cat-pagination a:hover { background: #1264f4; border-color: #1264f4; color: #fff !important; }

@media (max-width: 700px) {
  body.shop-1 .hh-cat-landing .hh-cat-editorial-shade {
    background: linear-gradient(0deg, rgba(3,7,15,.97) 0%, rgba(5,16,34,.8) 44%, rgba(5,16,34,.12) 78%, transparent 100%);
  }
}

/* HH20Y: conversion actions keep the same meaning in every JustoPrecio slider. */
body.shop-1 .hh-cat-landing .hhprov2-product-add {
  border: 1px solid #7bc69d !important;
  background: linear-gradient(135deg, #effbf4 0%, #d9f4e5 100%) !important;
  color: #105d38 !important;
  box-shadow: none !important;
}

body.shop-1 .hh-cat-landing .hhprov2-product-add:hover,
body.shop-1 .hh-cat-landing .hhprov2-product-add:focus-visible {
  border-color: #3a9b68 !important;
  background: linear-gradient(135deg, #e2f8eb 0%, #c8eed8 100%) !important;
  color: #0b492c !important;
}

body.shop-1 .hh-cat-landing .hhprov2-product-buy-now {
  border: 1px solid #116039 !important;
  background: linear-gradient(135deg, #116039 0%, #1c8a52 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(17, 96, 57, 0.2) !important;
}

body.shop-1 .hh-cat-landing .hhprov2-product-buy-now:hover,
body.shop-1 .hh-cat-landing .hhprov2-product-buy-now:focus-visible {
  border-color: #0b492b !important;
  background: linear-gradient(135deg, #0b492b 0%, #157343 100%) !important;
  color: #fff !important;
}

/* HH20ZG: concise category hero and full-bleed section directory. */
body.shop-1 .hh-cat-landing .hh-cat-editorial-hero {
  position: relative !important;
  min-height: 0 !important;
  height: clamp(330px, 30vw, 430px) !important;
  overflow: hidden !important;
  border: 1px solid #cdd9e8 !important;
  border-radius: 6px !important;
  background: #071426 !important;
}

body.shop-1 .hh-cat-landing .hh-cat-editorial-media,
body.shop-1 .hh-cat-landing .hh-cat-editorial-media picture,
body.shop-1 .hh-cat-landing .hh-cat-editorial-media img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.shop-1 .hh-cat-landing .hh-cat-editorial-media img {
  object-fit: cover !important;
  object-position: center !important;
  filter: none !important;
  transform: none !important;
}

body.shop-1 .hh-cat-landing .hh-cat-editorial-media::after { display: none !important; }
body.shop-1 .hh-cat-landing .hh-cat-editorial-shade {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background: linear-gradient(180deg, rgba(3, 9, 21, .04) 28%, rgba(3, 11, 27, .22) 58%, rgba(3, 10, 23, .82) 100%) !important;
}

body.shop-1 .hh-cat-landing .hh-cat-editorial-copy {
  position: absolute !important;
  width: 100% !important;
  inset: auto 0 0 !important;
  z-index: 2 !important;
  display: flex !important;
  min-height: 42% !important;
  padding: clamp(24px, 3.2vw, 46px) !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  color: #fff !important;
  text-align: right !important;
}

body.shop-1 .hh-cat-landing .hh-cat-editorial-copy h1 {
  max-width: 900px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(36px, 4vw, 58px) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.02 !important;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .28);
}

body.shop-1 .hh-cat-landing .hh-cat-editorial-kicker,
body.shop-1 .hh-cat-landing .hh-cat-editorial-actions { display: none !important; }

body.shop-1 .hh-cat-landing .hh-cat-directory {
  padding: clamp(42px, 6vw, 78px) 0 !important;
  background: #f4f7fb !important;
}

body.shop-1 .hh-cat-landing .hh-cat-directory-head {
  display: block !important;
  margin: 0 0 clamp(22px, 3vw, 34px) !important;
  text-align: left !important;
}

body.shop-1 .hh-cat-landing .hh-cat-directory-head h2 {
  display: inline-block !important;
  margin: 0 !important;
  background: linear-gradient(90deg, #06101f 0%, #0f397f 56%, #1762d4 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: clamp(30px, 3.2vw, 46px) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
}

body.shop-1 .hh-cat-landing .hh-cat-directory-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.5vw, 20px) !important;
}

body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual,
body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual:nth-child(n) {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  aspect-ratio: 4 / 3 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #071426 !important;
  box-shadow: 0 14px 34px rgba(5, 17, 35, .11) !important;
  text-decoration: none !important;
}

body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual .hh-cat-directory-media,
body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual .hh-cat-directory-media img,
body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual .hh-cat-directory-media svg {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual .hh-cat-directory-media::after { display: none !important; }
body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual .hh-cat-directory-media img {
  object-fit: cover !important;
  object-position: center !important;
  filter: none !important;
  transform: scale(1.002) !important;
  transition: transform .35s ease !important;
}

body.shop-1 .hh-cat-landing .hh-cat-directory-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 8, 20, 0) 35%, rgba(2, 9, 22, .86) 100%);
}

body.shop-1 .hh-cat-landing .hh-cat-directory-title {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 2;
  color: #fff !important;
  font-size: clamp(16px, 1.45vw, 22px) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .36);
}

body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual .hh-cat-directory-meta,
body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual .hh-cat-directory-copy { display: none !important; }

@media (hover: hover) and (pointer: fine) {
  body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual:hover {
    box-shadow: 0 20px 42px rgba(5, 17, 35, .17) !important;
    transform: translateY(-3px) !important;
  }
  body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual:hover .hh-cat-directory-media img {
    transform: scale(1.045) !important;
  }
}

@media (max-width: 1180px) {
  body.shop-1 .hh-cat-landing .hh-cat-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.shop-1 .hh-cat-landing .hh-cat-editorial-hero {
    height: clamp(225px, 67vw, 290px) !important;
    border-radius: 0 !important;
  }

  body.shop-1 .hh-cat-landing .hh-cat-editorial-copy {
    min-height: 44% !important;
    padding: 20px 18px !important;
  }

  body.shop-1 .hh-cat-landing .hh-cat-editorial-copy h1 {
    font-size: clamp(29px, 9vw, 40px) !important;
  }

  body.shop-1 .hh-cat-landing .hh-cat-directory {
    padding: 34px 0 48px !important;
  }

  body.shop-1 .hh-cat-landing .hh-cat-directory-head {
    margin-bottom: 17px !important;
  }

  body.shop-1 .hh-cat-landing .hh-cat-directory-head h2 {
    font-size: 30px !important;
  }

  body.shop-1 .hh-cat-landing .hh-cat-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual,
  body.shop-1 .hh-cat-landing .hh-cat-directory-card--visual:nth-child(n) {
    aspect-ratio: 1 / 1 !important;
    border-radius: 5px !important;
  }

  body.shop-1 .hh-cat-landing .hh-cat-directory-title {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: clamp(13px, 4.2vw, 17px) !important;
  }
}
