/**
 * HispaDrive home redesign — section styles added incrementally.
 */
@import url("hispadrive-hero.css");
@import url("hispadrive-id.css");
@import url("hispadrive-footer.css");
@import url("hispadrive-featured-mobile.css");

body#index.hispadrive-home .hispadrive-sr-visual-hide {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Espacio compacto entre secciones contiguas en home (--home-block-gap) */
body#index.hispadrive-home {
  --home-block-gap: 32px;
}

@media (min-width: 768px) {
  body#index.hispadrive-home {
    --home-block-gap: 36px;
  }
}

@media (min-width: 992px) {
  body#index.hispadrive-home {
    --home-block-gap: 40px;
  }
}

/* --- Step 3: hero, pilares, testimonios --- */
body#index.hispadrive-home .full_width_top_container,
body#index.hispadrive-home .full_width_top2_container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  overflow-x: clip;
}

body#index.hispadrive-home .full_width_top_container,
body#index.hispadrive-home .full_width_top2_container,
body#index.hispadrive-home #easycontent_container_21,
body#index.hispadrive-home #easycontent_container_21 .container-fluid,
body#index.hispadrive-home #easycontent_container_21 .row,
body#index.hispadrive-home #easycontent_container_21 .col-12,
body#index.hispadrive-home #easycontent_21 {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

body#index.hispadrive-home #easycontent_21 .easy_brother_block {
  padding: 0;
  margin: 0;
}

/* Hero → pilares: sin margen del .block de STEasy Content (≈38px) */
body#index.hispadrive-home .full_width_top_container,
body#index.hispadrive-home .full_width_top2_container,
body#index.hispadrive-home #content #easycontent_container_21.block,
body#index.hispadrive-home #content #easycontent_container_21.easycontent_container,
body#index.hispadrive-home #content #easycontent_container_19.block,
body#index.hispadrive-home #content #easycontent_container_19.easycontent_container,
body#index.hispadrive-home #easycontent_container_19,
body#index.hispadrive-home #easycontent_container_19.block,
body#index.hispadrive-home #easycontent_container_19.easycontent_container,
body#index.hispadrive-home #easycontent_container_21,
body#index.hispadrive-home #easycontent_container_21 .easycontent_21,
body#index.hispadrive-home #easycontent_21,
body#index.hispadrive-home #easycontent_21 .marantec-banner {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Hero: ver hispadrive-hero.css */

/* Pilares (ST Easy Content #19) — gana a customer-s1.css del Theme Editor */
body#index.hispadrive-home #easycontent_container_19,
body#index.hispadrive-home #easycontent_container_19 .container-fluid,
body#index.hispadrive-home #easycontent_container_19 .row,
body#index.hispadrive-home #easycontent_container_19 .col-12,
body#index.hispadrive-home #easycontent_19,
body#index.hispadrive-home #easycontent_19 .style_content,
body#index.hispadrive-home #easycontent_19 .easy_brother_block {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#index.hispadrive-home #easycontent_19 .hfc-beneficios {
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: visible !important;
}

body#index.hispadrive-home #easycontent_19 .hfc-beneficios__wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

body#index.hispadrive-home #easycontent_19 .hfc-beneficios__top {
  display: none;
}

body#index.hispadrive-home #easycontent_19 .hfc-beneficios__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #ececf3;
  background: transparent !important;
  box-shadow: none !important;
  counter-reset: hispadrive-pillar;
  text-align: left;
  align-items: stretch;
}

body#index.hispadrive-home #easycontent_19 .hfc-beneficios__item {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 40px 32px 28px 0 !important;
  border: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
}

body#index.hispadrive-home #easycontent_19 .hfc-beneficios__item img {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body#index.hispadrive-home #easycontent_19 .hfc-beneficios__item::before {
  flex: none;
  counter-increment: hispadrive-pillar;
  content: counter(hispadrive-pillar, decimal-leading-zero);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--color-accent-text);
}

body#index.hispadrive-home #easycontent_19 .hfc-beneficios__titulo {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  max-width: none !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left !important;
  color: var(--color-heading);
}

body#index.hispadrive-home #easycontent_container_20,
body#index.hispadrive-home #easycontent_container_20 .container-fluid,
body#index.hispadrive-home #easycontent_container_20 .row,
body#index.hispadrive-home #easycontent_container_20 .col-12,
body#index.hispadrive-home #easycontent_20,
body#index.hispadrive-home #easycontent_20 .style_content,
body#index.hispadrive-home #easycontent_20 .block_content,
body#index.hispadrive-home #easycontent_20 .easy_brother_block {
  margin: 0 !important;
  padding: 0 !important;
}

body#index.hispadrive-home #easycontent_container_19,
body#index.hispadrive-home #easycontent_container_19 .container-fluid,
body#index.hispadrive-home #easycontent_container_19 .row,
body#index.hispadrive-home #easycontent_container_19 .col-12,
body#index.hispadrive-home #easycontent_19 .style_content,
body#index.hispadrive-home #easycontent_19 .block_content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body#index.hispadrive-home #easycontent_20 .clientes {
  box-sizing: border-box;
  margin: 0 !important;
  /* padding-bottom = aire blanco antes del bloque gris de marcas */
  padding: var(--home-block-gap) 0 var(--home-block-gap) !important;
  background: var(--color-bg);
}

body#index.hispadrive-home #easycontent_20 .clientes__contenedor {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

body#index.hispadrive-home #easycontent_20 .clientes__cabecera {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 40px;
}

body#index.hispadrive-home #easycontent_20 .clientes__titulo {
  margin: 0 !important;
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--color-heading);
}

body#index.hispadrive-home #easycontent_20 .clientes__google {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

body#index.hispadrive-home #easycontent_20 .clientes__google-resumen {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
}

body#index.hispadrive-home #easycontent_20 .clientes__google-estrella {
  color: var(--color-cta);
}

body#index.hispadrive-home #easycontent_20 .clientes__google-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--color-cta);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

body#index.hispadrive-home #easycontent_20 .clientes__google-link-text {
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}

body#index.hispadrive-home #easycontent_20 .clientes__google-link:hover,
body#index.hispadrive-home #easycontent_20 .clientes__google-link:focus-visible {
  color: var(--color-heading);
}

body#index.hispadrive-home #easycontent_20 .clientes__google-link:hover .clientes__google-link-text,
body#index.hispadrive-home #easycontent_20 .clientes__google-link:focus-visible .clientes__google-link-text {
  border-bottom-color: var(--color-heading);
}

@media (min-width: 768px) {
  body#index.hispadrive-home #easycontent_20 .clientes__google {
    align-items: flex-end;
    text-align: right;
  }
}

body#index.hispadrive-home #easycontent_20 .clientes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

body#index.hispadrive-home #easycontent_20 .clientes__tarjeta {
  min-height: 0;
  padding: 28px 0 0;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid var(--color-line);
}

body#index.hispadrive-home #easycontent_20 .clientes__tarjeta--melocoton,
body#index.hispadrive-home #easycontent_20 .clientes__tarjeta--gris,
body#index.hispadrive-home #easycontent_20 .clientes__tarjeta--azul {
  background: transparent;
}

body#index.hispadrive-home #easycontent_20 .clientes__estrellas {
  margin-bottom: 16px;
  text-align: left;
  color: var(--color-accent-text);
  font-size: 1.125rem;
  letter-spacing: 2px;
}

body#index.hispadrive-home #easycontent_20 .clientes__texto {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
}

body#index.hispadrive-home #easycontent_20 .clientes__nombre {
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 0;
  font-weight: var(--fw-semibold);
  color: var(--color-heading);
}

body#index.hispadrive-home #easycontent_20 .clientes__fuente {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-muted);
}

/* --- Step 4: productos destacados (grid + cards) --- */
body#index.hispadrive-home #content.page-home {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body#index.hispadrive-home #content .stfeaturedslider_container.hispadrive-featured-grid.block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Pilares → destacados (arriba) y destacados → clientes (padding en .clientes) */
body#index.hispadrive-home #wrapper #content .stfeaturedslider_container.hispadrive-featured-grid,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid {
  padding-top: var(--home-block-gap) !important;
  padding-bottom: 0 !important;
}

/* Productos destacados — mismo formato que «Nuestros clientes» */
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .products_section.hd-featured {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--color-bg);
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-featured__contenedor {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-featured__row {
  display: block;
  margin: 0;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-featured__row > [class*="col-"] {
  flex: none;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .title_block,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .title_flex_left,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .title_flex_right,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .swiper-button-tr {
  display: none !important;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-featured__cabecera {
  margin-bottom: 40px;
}

/* Título destacados: mismo estilo que #easycontent_20 .clientes__titulo (anula customer-s1 .clientes__titulo) */
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-featured__cabecera .clientes__titulo,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-featured__cabecera h2.clientes__titulo,
body#index.hispadrive-home .stfeaturedslider_container .title_block .title_block_inner,
body#index.hispadrive-home .stfeaturedslider_container .title_block a.title_block_inner {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-h2) !important;
  font-weight: var(--fw-medium) !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--color-heading) !important;
  line-height: 1.2 !important;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .product_view_more_box {
  display: none !important;
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .hd-category-product-grid:not(.is-list) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
  margin: 0;
}

@media (max-width: 1199px) {
  body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .hd-category-product-grid:not(.is-list) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 20px;
  }
}

@media (max-width: 767px) {
  body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .hd-category-product-grid:not(.is-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 14px;
  }
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .products.product_list.row.grid .product_list_item {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .ajax_block_product {
  height: 100%;
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .pro_outer_box {
  height: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-bg);
  box-shadow: 0 12px 40px rgba(68, 69, 88, 0.08);
  overflow: hidden;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .display_as_grid .pro_outer_box {
  border: none;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: visible;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .display_as_grid .pro_first_box {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: transparent;
  box-shadow: none;
  border: 0;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .display_as_grid .product_img_link {
  display: block;
  width: 100%;
  height: 100%;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .display_as_grid .front-image {
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .display_as_grid .pro_second_box {
  padding: 0;
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .s_title_block a {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .product-price {
  color: var(--color-heading);
  font-weight: var(--fw-semibold);
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .hover_fly_btn {
  border-radius: var(--radius-pill);
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .ajax_add_to_cart_button {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: #fff;
}

body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .quick-view {
  border: 1px solid var(--color-line);
}

/* --- Step 5: marcas (rectángulo 1120px, mismo radio que Hispadrive ID) --- */
body#index.hispadrive-home .brands_slider_container.products_container {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto !important;
  /* vertical 48 / right 56; left 40px = mismo inset que .hispadrive-id__copy */
  padding: 48px 56px 48px 40px !important;
  border: 0;
  border-radius: 32px;
  overflow: hidden;
  background: var(--color-bg-alt);
  text-align: left;
}

body#index.hispadrive-home .brands_slider_container .brands_slider,
body#index.hispadrive-home .brands_slider_container .row,
body#index.hispadrive-home .brands_slider_container .products_slider,
body#index.hispadrive-home .brands_slider_container .block_content {
  display: contents;
}

body#index.hispadrive-home .brands_slider_container .title_block {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
  text-align: left;
}

body#index.hispadrive-home .brands_slider_container .title_flex_left,
body#index.hispadrive-home .brands_slider_container .title_flex_right,
body#index.hispadrive-home .brands_slider_container .swiper-button-tr,
body#index.hispadrive-home .brands_slider_container .swiper-button-outer,
body#index.hispadrive-home .brands_slider_container .swiper-pagination {
  display: none !important;
}

body#index.hispadrive-home .brands_slider_container .title_block_inner {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-heading);
  border: none;
  margin: 0;
  padding: 0;
}

body#index.hispadrive-home .brands_slider_container .title_block_inner:hover {
  color: var(--color-cta);
}

body#index.hispadrive-home .brands_slider_container .products_sldier_swiper,
body#index.hispadrive-home .brands_slider_container .swiper-wrapper {
  display: flex !important;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  overflow: visible;
}

body#index.hispadrive-home .brands_slider_container .brands_slider_wrap,
body#index.hispadrive-home .brands_slider_container .pro_outer_box {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
  transform: none !important;
}

body#index.hispadrive-home .brands_slider_container .brands_slider_item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  box-shadow: none;
}

body#index.hispadrive-home .brands_slider_container .brands_slider_item img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  border: 0;
  filter: none;
}

@media (max-width: 767px) {
  body#index.hispadrive-home .brands_slider_container.products_container {
    border-radius: 24px;
    /* vertical 36 / right 24; left 20px = mismo inset que .hispadrive-id__copy en móvil */
    padding: 36px 24px 36px 20px !important;
  }
}

/* --- Step 6: contacto --- */
body#index.hispadrive-home #contacto.contacto-hispadrive {
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding: var(--section-y-mobile) var(--gutter);
  max-width: calc(var(--container) + var(--gutter) * 2);
}

body#index.hispadrive-home #contacto .contacto-hispadrive__titulo {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  color: var(--color-heading);
}

body#index.hispadrive-home #contacto .contacto-hispadrive__subtitulo {
  margin-bottom: 32px;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

body#index.hispadrive-home #contacto .contacto-hispadrive__dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  margin: 0 0 32px;
}

body#index.hispadrive-home #contacto .contacto-hispadrive__dl-row {
  margin: 0;
}

body#index.hispadrive-home #contacto .contacto-hispadrive__dl-row--half {
  grid-column: span 1;
}

body#index.hispadrive-home #contacto .contacto-hispadrive__dl-row:not(.contacto-hispadrive__dl-row--half) {
  grid-column: 1 / -1;
}

body#index.hispadrive-home #contacto .contacto-hispadrive__dl dt {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

body#index.hispadrive-home #contacto .contacto-hispadrive__dl dd {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

body#index.hispadrive-home #contacto .contacto-hispadrive__mapa iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: var(--radius-card-mobile);
}

/* --- Step 8: responsive --- */
@media (max-width: 991px) {
  body#index.hispadrive-home #easycontent_20 .clientes__grid {
    grid-template-columns: 1fr;
  }

  body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .products.product_list.row.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body#index.hispadrive-home .stfeaturedslider_container .display_as_grid .pro_outer_box {
    border-radius: var(--radius-card-mobile);
  }

}

@media (min-width: 768px) {
  body#index.hispadrive-home #easycontent_20 .clientes {
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: var(--home-block-gap) !important;
  }
}

@media (min-width: 992px) {
  body#index.hispadrive-home #contacto.contacto-hispadrive {
    padding: var(--section-y) var(--gutter);
  }
}

@media (max-width: 767px) {
  body#index.hispadrive-home #easycontent_20 .clientes {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body#index.hispadrive-home #easycontent_19 .hfc-beneficios__wrap {
    padding: 0 20px;
  }

  body#index.hispadrive-home #easycontent_19 .hfc-beneficios__grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  body#index.hispadrive-home #easycontent_19 .hfc-beneficios__item {
    padding: 40px 0 !important;
    border-bottom: 1px solid #ececf3 !important;
  }

  body#index.hispadrive-home #easycontent_20 .clientes__contenedor {
    padding: 0 20px;
  }

  body#index.hispadrive-home #easycontent_20 .clientes__cabecera {
    flex-direction: column;
    align-items: flex-start;
  }

  body#index.hispadrive-home #easycontent_20 .clientes__google {
    align-items: flex-start;
    text-align: left;
  }

  body#index.hispadrive-home #easycontent_19 .hfc-beneficios__item::before {
    font-size: 12px;
  }

  body#index.hispadrive-home #easycontent_19 .hfc-beneficios__titulo {
    font-size: 13px;
    letter-spacing: 1.8px;
  }
}

@media (max-width: 575px) {
  body#index.hispadrive-home #contacto .contacto-hispadrive__dl {
    grid-template-columns: 1fr;
  }

}

/* Home STEasy: sin margen entre hero, pilares y testimonios (Panda .block ≈ 38px) */
body#index.hispadrive-home #wrapper #content #easycontent_container_21.block,
body#index.hispadrive-home #wrapper #content #easycontent_container_19.block,
body#index.hispadrive-home #wrapper #content #easycontent_container_20.block,
body#index.hispadrive-home #content.page-home #easycontent_container_20.block {
  margin: 0 !important;
}

/* Destacados → clientes: sin padding inferior del slider ni margen .block (≈38px) */
body#index.hispadrive-home #content.page-home .stfeaturedslider_container.block.products_container.hispadrive-featured-grid {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: var(--home-block-gap) 0 0 !important;
}

body#index.hispadrive-home #content.page-home #easycontent_20 .clientes {
  padding-top: var(--home-block-gap) !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  padding-bottom: 0 !important;
}

body#index.hispadrive-home #content.page-home .brands_slider_container.block.products_container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 992px) {
  body#index.hispadrive-home #content.page-home .stfeaturedslider_container.block.products_container.hispadrive-featured-grid {
    padding: var(--home-block-gap) 0 0 !important;
  }
}

body#index.hispadrive-home .full_width_top2_container .wrapper_top_container:empty,
body#index.hispadrive-home .wrapper_top_container:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}


/* Home destacados — mismas reglas rejilla que categoría */

body.hispadrive-category .hd-category-product-grid:not(.is-list) .product_list_item,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product_list_item,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .product_list_item,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product_list_item {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
}


body.hispadrive-category .hd-category-product-grid::before,
body.hispadrive-category .hd-category-product-grid::after,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid::before,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid::after,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid::before,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid::after,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid::before,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid::after {
  display: none !important;
}


/* Miniatura grid (misma lógica que destacados home) */
body.hispadrive-category .hd-category-product-grid:not(.is-list) .ajax_block_product,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .ajax_block_product,
/* Miniatura grid (misma lógica que destacados home) */
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .ajax_block_product,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .ajax_block_product {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .pro_outer_box,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_outer_box,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .pro_outer_box,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_outer_box {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  height: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .pro_first_box,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_first_box,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .pro_first_box,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_first_box {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: transparent;
  box-shadow: none;
  border: 0;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .product_img_link,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product_img_link,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .product_img_link,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product_img_link {
  display: block;
  width: 100%;
  height: 100%;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .front-image,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .front-image,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .front-image,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .front-image {
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .back-image,
body.hispadrive-category .hd-category-product-grid:not(.is-list) .back_image_pic,
body.hispadrive-category .hd-category-product-grid:not(.is-list) img.holder,
body.hispadrive-category .hd-category-product-grid:not(.is-list) .product-manufacturer-logo,
body.hispadrive-category .hd-category-product-grid:not(.is-list) .hover_fly,
body.hispadrive-category .hd-category-product-grid:not(.is-list) .bottom_hover_fly,
body.hispadrive-category .hd-category-product-grid:not(.is-list) .add_to_love:not(.hispadrive-product-love),
body.hispadrive-category .hd-category-product-grid:not(.is-list) .act_box_inner,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .back-image,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .back_image_pic,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) img.holder,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product-manufacturer-logo,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hover_fly,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .bottom_hover_fly,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .add_to_love:not(.hispadrive-product-love),
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .act_box_inner,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .back-image,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .back_image_pic,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) img.holder,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .product-manufacturer-logo,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .hover_fly,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .bottom_hover_fly,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .add_to_love:not(.hispadrive-product-love),
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .act_box_inner,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .back-image,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .back_image_pic,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) img.holder,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product-manufacturer-logo,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hover_fly,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .bottom_hover_fly,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .add_to_love:not(.hispadrive-product-love),
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .act_box_inner {
  display: none !important;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .act_box_cart .hispadrive-product-love,
body.hispadrive-category .hd-category-product-rows .hispadrive-product-love,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .act_box_cart .hispadrive-product-love,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .act_box_cart .hispadrive-product-love,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-rows .hispadrive-product-love,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .act_box_cart .hispadrive-product-love {
  display: inline-flex !important;
  visibility: visible !important;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .pro_second_box,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_second_box,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .pro_second_box,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_second_box {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 0;
  text-align: left !important;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .pro_block_align_2,
body.hispadrive-category .hd-category-product-grid:not(.is-list) .pro_block_align_1,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_block_align_2,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_block_align_1,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .pro_block_align_2,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .pro_block_align_1,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_block_align_2,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_block_align_1 {
  text-align: left !important;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .product-desc,
body.hispadrive-category .hd-category-product-grid:not(.is-list) .pro_mini_cate_name,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product-desc,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_mini_cate_name,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .product-desc,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .pro_mini_cate_name,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product-desc,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_mini_cate_name {
  display: none !important;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .hispadrive-featured-brand,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hispadrive-featured-brand,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .hispadrive-featured-brand,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hispadrive-featured-brand {
  order: 1;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-muted);
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .mini_name,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .mini_name,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .mini_name,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .mini_name {
  order: 2;
  margin: 0;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .s_title_block,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .s_title_block,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .s_title_block,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .s_title_block {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  text-align: left;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .s_title_block a,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .s_title_block a,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .s_title_block a,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .s_title_block a {
  color: var(--color-text);
  text-transform: none;
  text-align: left;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .hispadrive-product-miniature .s_title_block.hispadrive-product-name a,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hispadrive-product-miniature .s_title_block.hispadrive-product-name a,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .hispadrive-product-miniature .s_title_block.hispadrive-product-name a,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hispadrive-product-miniature .s_title_block.hispadrive-product-name a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  white-space: normal !important;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .pro_kuan_box,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_kuan_box,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .pro_kuan_box,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .pro_kuan_box {
  order: 3;
  margin: 0;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .product-price-and-shipping .price,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product-price-and-shipping .price,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .product-price-and-shipping .price,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product-price-and-shipping .price {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .product-price-and-shipping .tax_label,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product-price-and-shipping .tax_label,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .product-price-and-shipping .tax_label,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .product-price-and-shipping .tax_label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-muted);
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .act_box_cart,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .act_box_cart,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .act_box_cart,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .act_box_cart {
  order: 4;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: auto;
  width: 100%;
  padding: 0;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .hispadrive-product-buy-row__main .ajax_add_to_cart_button,
body.hispadrive-category .hd-category-product-grid:not(.is-list) .hispadrive-product-buy-row__main .btn,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hispadrive-product-buy-row__main .btn,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .hispadrive-product-buy-row__main .ajax_add_to_cart_button,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .hispadrive-product-buy-row__main .btn,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hispadrive-product-buy-row__main .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  background: var(--color-cta) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}


body.hispadrive-category .hd-category-product-grid:not(.is-list) .hispadrive-featured-qv,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hispadrive-featured-qv,
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) .hispadrive-featured-qv,
body#product.hispadrive-product .hd-product-related .hd-category-product-grid:not(.is-list) .hispadrive-featured-qv {
  order: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--color-text);
  background: transparent;
  border: none;
}

/* Rejilla destacados: 4 / 3 / 2 columnas (prioridad sobre reglas copiadas de categoría) */
body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 48px 24px !important;
}

@media (max-width: 1199px) {
  body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px 20px !important;
  }
}

@media (max-width: 767px) {
  body#index.hispadrive-home .stfeaturedslider_container.hispadrive-featured-grid .hd-category-product-grid:not(.is-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px 14px !important;
  }
}
