/* Hiper Hispania Catalog 1.1.0 */
body.shop-0.category-id-2 #left_column,
body.shop-0.category-id-2 #switch_left_column,
body.shop-0.category-id-2 #js-product-list,
body.shop-0.category-id-2 .products-selection,
body.shop-0.category-id-2 .category-products,
body.shop-0.category-id-2 #products {
  display: none !important;
}

body.shop-0.category-id-2 #center_column,
body.shop-0.category-id-2 #main,
body.shop-0.category-id-2 #content-wrapper {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hhcatalog {
  --hhcatalog-ink: #17282c;
  --hhcatalog-deep: #0f3a3f;
  --hhcatalog-muted: #627276;
  --hhcatalog-line: #dbe3e1;
  --hhcatalog-canvas: #f5f7f6;
  --hhcatalog-gradient: linear-gradient(135deg, #0f3a3f 0%, #155e63 55%, #1f7a80 100%);
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  background: var(--hhcatalog-canvas);
  color: var(--hhcatalog-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hhcatalog *,
.hhcatalog *::before,
.hhcatalog *::after {
  box-sizing: border-box;
}

.hhcatalog a {
  text-decoration: none !important;
}

.hhcatalog-wrap {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
}

.hhcatalog-hero {
  position: relative;
  height: clamp(380px, 56vh, 540px);
  overflow: hidden;
  background: #1d282a;
}

.hhcatalog-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hhcatalog-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 22, 0.8) 0%, rgba(8, 20, 22, 0.57) 34%, rgba(8, 20, 22, 0.08) 64%, rgba(8, 20, 22, 0) 100%);
}

.hhcatalog-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hhcatalog-hero-copy {
  width: min(570px, 47%);
}

.hhcatalog-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: 0;
}

.hhcatalog-hero-copy p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.55;
}

.hhcatalog-hero-copy a,
.hhcatalog-card-copy b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
}

.hhcatalog-hero-copy a {
  min-height: 50px;
  margin-top: 24px;
  padding: 0 20px;
  background: #fff;
  color: var(--hhcatalog-deep) !important;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(5, 15, 17, 0.22);
}

.hhcatalog-directory {
  padding: 48px 0 58px;
}

.hhcatalog-heading {
  margin-bottom: 24px;
}

.hhcatalog-heading h2 {
  margin: 0;
  color: var(--hhcatalog-deep);
  font-size: 38px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.hhcatalog-heading p {
  margin: 10px 0 0;
  color: var(--hhcatalog-muted);
  font-size: 16px;
  line-height: 1.58;
}

.hhcatalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hhcatalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hhcatalog-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hhcatalog-ink) !important;
  box-shadow: 0 8px 22px rgba(24, 45, 47, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hhcatalog-card:hover {
  transform: translateY(-3px);
  border-color: #a9c1bc;
  box-shadow: 0 16px 34px rgba(24, 45, 47, 0.1);
}

.hhcatalog-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf0ef;
}

.hhcatalog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.hhcatalog-card:hover .hhcatalog-card-media img {
  transform: scale(1.035);
}

.hhcatalog-card-copy {
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.hhcatalog-card-copy strong {
  color: #111a1c;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.hhcatalog-card-copy > span {
  margin: 9px 0 18px;
  color: var(--hhcatalog-muted);
  font-size: 14px;
  line-height: 1.52;
}

.hhcatalog-card-copy b {
  min-height: 42px;
  margin-top: auto;
  padding: 0 15px;
  background: var(--hhcatalog-gradient);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(15, 58, 63, 0.16);
}

@media (max-width: 1080px) {
  .hhcatalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hhcatalog-wrap { width: min(100% - 28px, 1360px); }
  .hhcatalog-hero { height: 500px; }
  .hhcatalog-hero > img { object-position: 62% center; }
  .hhcatalog-hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 20, 22, 0.94) 0%, rgba(8, 20, 22, 0.76) 38%, rgba(8, 20, 22, 0.12) 76%, rgba(8, 20, 22, 0.02) 100%),
      linear-gradient(90deg, rgba(8, 20, 22, 0.2), transparent 72%);
  }
  .hhcatalog-hero-inner { align-items: flex-end; padding-bottom: 58px; }
  .hhcatalog-hero-copy { width: min(560px, 88%); }
  .hhcatalog-hero-copy h1 { font-size: 38px; }
  .hhcatalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .hhcatalog-wrap { width: min(100% - 20px, 1360px); }
  .hhcatalog-hero {
    height: 510px;
    height: min(510px, calc(100svh - 64px));
    min-height: 460px;
  }
  .hhcatalog-hero-inner { padding-bottom: 32px; }
  .hhcatalog-hero-copy { width: 100%; }
  .hhcatalog-hero-copy h1 { max-width: 340px; font-size: 32px; line-height: 1.06; }
  .hhcatalog-hero-copy p { max-width: 350px; margin-top: 11px; font-size: 14px; line-height: 1.48; }
  .hhcatalog-hero-copy a { width: min(100%, 350px); min-height: 48px; margin-top: 17px; }
  .hhcatalog-directory { padding: 34px 0 46px; }
  .hhcatalog-heading { margin-bottom: 18px; text-align: center; }
  .hhcatalog-heading h2 { font-size: 28px; }
  .hhcatalog-heading p { margin-top: 8px; font-size: 13px; }
  .hhcatalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hhcatalog-card-media { aspect-ratio: 1 / 0.82; }
  .hhcatalog-card-copy { min-height: 174px; padding: 14px; }
  .hhcatalog-card-copy strong { font-size: 18px; }
  .hhcatalog-card-copy > span {
    margin: 7px 0 12px;
    font-size: 12px;
    line-height: 1.42;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .hhcatalog-card-copy b { width: 100%; min-height: 40px; padding: 0 9px; font-size: 12px; }
}

@media (max-width: 350px) {
  .hhcatalog-grid { grid-template-columns: 1fr; }
  .hhcatalog-card { display: grid; grid-template-columns: 42% 58%; }
  .hhcatalog-card-media { aspect-ratio: auto; }
  .hhcatalog-card-copy { min-height: 164px; }
  .hhcatalog-hero-copy h1 { font-size: 29px; }
}
