@media (min-width: 767px) {
  button#search_filter_toggler {
    display: none;
  }
}
@media (min-width: 1100px) {
  /*==============================
              GENERALES
  ===============================*/
  body#category .container {
    max-width: 1320px;
    margin: 0 auto;
  }
  body#category #content-wrapper {
    padding: 0;
    padding-left: 25px !important;
  }

  body#category .card-block {
    padding: 2.5rem 0rem 0rem 1rem;
  }

  .category-campa #left-column {
    display: flex;
    flex-direction: column;
  }

  .category-campa #left-column #search_filters_wrapper {
    order: 1;
    height: auto;
    overflow: visible;
    flex: 0 1 auto;
  }

  .category-campa #left-column .iagt-sort {
    order: 99;
    margin-top: -8%;
    position: relative;
    z-index: 0;
  }
  .category-campa .iagt-products-top {
    display: none;
  }

  /*==============================
               LISTADOS
  ===============================*/

  .product-miniature .psasp-add .btn {
    width: 56px;
    height: 56px;
    padding: 16px;
    gap: 11px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--iagt-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.03);
    font-size: 0;
  }

  .product-miniature .thumbnail-container img {
    border-radius: 4%;
  }
  /* 1 fila por producto */
  #js-product-list .products.row {
    display: block;
    margin: 0;
  }
  #js-product-list .products .product {
    width: 100%;
    max-width: none;
    padding: 0 0 16px;
  }

  body#product .product-description:after,
  .page-category .product-description:after {
    display: none !important;
  }

  .page-category .block-category {
    min-height: 0px !important;
    margin-bottom: 0rem;
  }
  .page-category .block-category-inner {
    display: none !important;
  }
  .page-category .total-products {
    padding: 0rem 0rem 2.5rem 2.3rem;
  }

  .page-category .block-category h1 {
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    letter-spacing: 0px;
    margin-left: 1rem;
    text-transform: none;
  }
  .page-category .lf-acc-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #05222a;
  }
  .page-category .lf-acc-icon {
    opacity: 1;
    top: 3.75px;
    left: 12px;
    border-width: 2px;
    color: #3f923d;
  }
  .page-category button.lf-acc.js-lf-acc {
    outline: none;
  }
  .page-category .iagt-sort {
    padding: 0rem 0rem 0rem 1rem;
  }

  .product-miniature .thumbnail-container {
    position: relative;
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
  }

  /* Contenedor principal de imagen y texto */
  .product-miniature .thumbnail-top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    flex: none;
    order: 0;
    flex-grow: 1;
    width: 100%;
  }

  /* IMG (211.35 x 157) */
  .product-miniature .thumbnail-top .product-thumbnail {
    border-radius: 4px;
    display: block;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    position: relative;
  }

  /* Overlay para productos fuera de stock */
  .product-miniature.out-of-stock .thumbnail-top .product-thumbnail:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
  }

  .product-miniature .thumbnail-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Contenedor de texto (título + meta + precio) */
  .product-miniature .product-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0px;
    order: 1;
    align-self: stretch;
    flex-grow: 1;
    width: 100%;
    background: transparent;
  }

  /* Contenedor de título y OEM/REF */
  .product-miniature .product-meta-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
    width: 100%;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
  }

  /* Título */
  .product-miniature .product-title {
    margin: 0;
    flex: none;
    order: 0;
    flex-grow: 0;
  }
  .product-miniature .product-title a {
    color: #05222a;
    font-family: "Familjen Grotesk", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    text-decoration: none;
    margin: 0;
  }

  /* Meta info (OEM y REF) */
  .product-meta-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
    width: 100%;
    height: 21px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
  }

  .oem-info,
  .ref-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 4px;
    height: 21px;
    flex: none;
    flex-grow: 0;
  }

  .oem-label,
  .ref-label {
    font-family: "Familjen Grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #05222a;
    opacity: 0.7;
    flex: none;
    flex-grow: 0;
  }

  .oem-value,
  .ref-value {
    font-family: "Familjen Grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #05222a;
    opacity: 0.7;
    flex: none;
    flex-grow: 0;
  }

  /* Separador vertical */
  .meta-separator {
    width: 12px;
    height: 0px;
    opacity: 0.35;
    border: 1px solid #05222a;
    transform: rotate(90deg);
    flex: none;
    flex-grow: 0;
  }

  /* Subtítulo (vehículo) */
  .psasp-subtitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 4px;
    width: 100%;
    height: 28px;
    opacity: 0.8;
    margin: 0;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
  }

  .psasp-subtitle-text {
    font-family: "Familjen Grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #05222a;
    flex: none;
    order: 1;
    flex-grow: 0;
  }

  /* PRECIO - Contenedor principal */
  body#product .product-miniature .product-price-and-shipping,
  body#category .product-miniature .product-price-and-shipping {
    margin: 0;
    display: flex;
    align-items: flex-end; /* alinear a la izquierda */
  }

  .product-price-and-shipping .price-line {
    display: flex;
    flex-direction: column; /* apila verticalmente */
    align-items: flex-start;
  }
  .product-price-and-shipping .regular-price {
    order: 0;
    text-decoration: line-through;
    opacity: 0.6;
    margin-bottom: 0.25rem;
  }
  .price-main {
    font-family: "Familjen Grotesk", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #21272a;
    flex: none;
    order: 1;
    flex-grow: 0;
  }

  /* CTA botón (56x56) - Posicionado en la esquina inferior derecha */
  body#product .psasp-add,
  body#category .psasp-add {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0px;
    gap: 16px;
    width: 56px;
    height: 56px;
    flex: none;
    order: 1;
    flex-grow: 0;
    margin-top: 10px;
  }

  /* Botón deshabilitado para productos fuera de stock */
  .product-miniature.out-of-stock .psasp-add .btn {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
  }
  /* BOTÓN: abajo a la derecha de la card */
  .product-miniature > form.psasp-add {
    position: absolute;
    right: 16px;
    bottom: 16px;
    margin: 0;
  }

  /* Limpieza de reglas que rompen el layout */
  .product-miniature.search-width {
    width: 100% !important;
  }


  /* Oculta elementos no necesarios */
  .product-miniature .quick-view,
  .product-miniature .highlighted-informations {
    display: none !important;
  }

  /* Asegura que el contenedor principal ocupe el ancho completo */
  .product-miniature {
    width: 100%;
    position: relative;
  }

  /* ===== BANDERAS DE PRODUCTO ===== */
  .product-flags {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  /* Bandaera específica para "Fuera de stock" */
  .product-flags li.product-flag.out-of-stock {
    background-color: #ff6b6b;
    color: #ffffff;
  }

  .product-flags li.product-flag.on-sale {
    background-color: #98f060;
    color: #05222a;
  }

  .product-flags li.product-flag.discount {
    background-color: #4ecdc4;
    color: #05222a;
  }

  .product-flags li.product-flag.new {
    background-color: #45b7d1;
    color: #ffffff;
  }

  /* Banderas de stock */
  .product-flags li.product-flag.availability {
    background-color: #98f060;
    color: #05222a;
  }

  .product-flags li.product-flag.last-remaining-items {
    background-color: #ffa726;
    color: #05222a;
  }

  /* Ocultar precio original de PrestaShop */
  .product-miniature .product-price-and-shipping .price {
    display: none;
  }

  /* Mensaje de fuera de stock */
  .product-miniature.out-of-stock .out-of-stock-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(5, 34, 42, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: "Familjen Grotesk", sans-serif;
    font-weight: 600;
    font-size: 14px;
    z-index: 2;
    text-align: center;
  }

  /*===========================
            LISTADO CAMPA
  ==============================*/
  .category-campa .h3.product-title.iagt-name-campa {
    margin-top: 7%;
  }
  /* 1) Contenedor principal: 16px de aire a izquierda/derecha */
  .category-campa #content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 2) Neutralizar .row para que no meta márgenes negativos */
  .category-campa #js-product-list .products.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block;
    margin-top: 1rem;
  }
  .category-campa #js-product-list .products.row > [class^="col-"],
  .category-campa #js-product-list .products.row > [class*=" col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%; /* forzar la columna al 100% */
  }

  /* 3) Zona superior (título, resultados, controles) alineada con el listado */
  .category-campa .iagt-products-top,
  .category-campa #js-product-list {
    /*padding-left: 24px; 
    padding-right: 16px; /* idem */
  }

  /* 4) Card: ancho máx. Figma + gap vertical 24px */
  .category-campa .js-product.product {
    width: 100%;
    max-width: 816px; /* como tu Figma */
    margin: 0 auto 24px; /* centrada y separación entre cards */
    padding: 0; /* el padding va en .thumbnail-container */
  }

  /* 5) Caja de la card (imagen + texto) */
  body#product .product-miniature .thumbnail-container,
  body#category .product-miniature .thumbnail-container {
    padding: 16px 16px 16px 16px; /* aire interno */
    gap: 24px; /* el gap horizontal de tu Figma */
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    margin-bottom: 0;
    width: 816px;
  }

  /* 6) Imagen + texto: mantener medidas del Figma */
  .category-campay .product-miniature .thumbnail-top {
    gap: 16px;
    width: 664px; /* como definiste */
  }

  /* 7) Evitar posibles desbordes horizontales */
  .category-campa img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /*===============================
  LISTADO PÁGINA DEL PRODUCTO
  ================================*/
  .product-price-and-shipping-iagt {
    display: none;
  }
  /* ===== Solo FICHA (product page) · accesorios ===== */
  body.page-product #vehicle-parts .iagt-part-row .product-miniature {
    display: grid;
    grid-template-columns: 136px 1fr 120px; /* imagen | texto | lateral */
    column-gap: 24px;
    align-items: center;
  }

  body.page-product .product-price-and-shipping-iagt {
    display: block;
  }
  body.page-product .product-pieces {
    font-weight: 600;
    font-size: 24px;
    line-height: 42px;
    color: #05222a;
    margin-left: 7%;
  }
  body.page-product span.iagt-name-list-product {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #05222a;
  }
  body.page-product span.iagt-desc-list-product {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  body.page-product span.price-main {
    margin-left: 60%;
  }

  /* El formulario actúa como columna lateral (col 3) */
  body.page-product
    #vehicle-parts
    .iagt-part-row
    .product-miniature
    > form.psasp-add {
    grid-column: 3; /* a la derecha */
    grid-row: 1 / span 2; /* ocupa alto del item */
    display: flex; /* apila su contenido */
    flex-direction: column; /* PRECIO arriba, BOTÓN debajo */
    align-items: flex-end;
    gap: 8px;

    /* anula posicionamientos heredados */
    position: static !important;
    inset: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    float: none !important;
    margin: 0 !important;
    transform: none !important;
    z-index: auto !important;
  }

  /* Precio (arriba) dentro del form */
  body.page-product
    #vehicle-parts
    .iagt-part-row
    .psasp-add
    .product-price-and-shipping {
    order: 1; /* primero */
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: static !important;
    float: none !important;
    margin: 0 !important;
  }
  body.page-product #vehicle-parts .iagt-part-row .psasp-add .price,
  body.page-product #vehicle-parts .iagt-part-row .psasp-add .price-main {
    font-weight: 700;
    font-size: 18px;
    color: #05222a;
  }
  body.page-product #vehicle-parts .iagt-part-row .psasp-add .tax-note {
    color: #6b7280;
    font-size: 12px;
  }

  /* Botón (debajo) dentro del form */
  body.page-product #vehicle-parts .iagt-part-row .psasp-add .btn {
    order: 2; /* segundo */
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #082a2a;
    color: #fff;
    border: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Responsive: en móvil, que pase a la columna del texto */
  @media (max-width: 768px) {
    body.page-product #vehicle-parts .iagt-part-row .product-miniature {
      grid-template-columns: 96px 1fr;
      grid-template-rows: auto auto auto;
      row-gap: 10px;
    }
    body.page-product
      #vehicle-parts
      .iagt-part-row
      .product-miniature
      > form.psasp-add {
      grid-column: 2; /* junto al texto */
      align-items: flex-start;
    }
    body.page-product
      #vehicle-parts
      .iagt-part-row
      .psasp-add
      .product-price-and-shipping {
      text-align: left;
    }
  }
  /*======================================
            LISTADO BUSCADOR
  ========================================*/

  #psajaxsearchplus-listing-content .iagt-products-top {
    display: none;
  }
  #psajaxsearchplus-listing-content{
    min-height: 65vh;
  }
#module-psajaxsearchplus-resultados  .search-list-row{
    min-height: 65vh;
  }
  /*===============================
   PIEZAS EN DETALLE DEL PRODUCTO DESKTOP
  ================================*/

  body#product .container {
    max-width: 1320px;
    margin: 0 auto;
  }
  body.page-product .product-pieces {
    margin-left: 0%;
  }

  body#product .js-product.product {
    float: right;
  }

  /* === LISTADO: layout como la última imagen === */

  /* Usamos el grid; evitamos anidar un flex dentro */
  body#product .product-miniature .thumbnail-top {
    display: contents;
  }

  /* Imagen fija en col 1 */
  body#product .product-miniature .product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 211.35px;
    height: 157px;
  }

  /* Texto en col 2 */
  body#product .product-miniature .product-description {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  /* CTA en col 3, verticalmente al final (como cards anteriores) */
  body#product .product-miniature > form.psasp-add {
    grid-column: 3;
    grid-row: 1 / span 2;
    position: static !important;
    margin: 0 !important;
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  body#product .product-miniature .product-price-and-shipping {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  body#product .product-price-and-shipping .price-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  body#product .product-price-and-shipping .regular-price {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 2px;
    opacity: 0.6;
  }

  body#product .product-price-and-shipping .price-main {
    display: contents;
    align-items: baseline;
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: #21272a;
  }

  body#product .product-price-and-shipping .tax-note {
    display: contents;
  }

  /* Ajustes finos */
  body#product .product-miniature .product-title a {
    -webkit-line-clamp: 2;
    height: auto;
    max-height: 56px;
  }

  body#product .product-miniature .product-meta-info {
    margin-top: 2px;
  }

  body#product .price_button_container {
    /* margin-top: 14px; */
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}

.product-flags li.product-flag {
  background-color: #98f060;
  color: #05222a;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: "Familjen Grotesk", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  list-style: none;
}

body#category .product-price-and-shipping .price-line {
  display: flex;
  flex-direction: column; /* apila verticalmente */
  align-items: flex-start;
}
body#category .product-price-and-shipping .regular-price {
  order: 0;
  text-decoration: line-through;
  opacity: 0.6;
  margin-bottom: 0.25rem;
  margin-left: 0px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #21272a;
}

/* Meta info (OEM y REF) */
body#category .product-meta-info {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 16px;
  width: 100%;
  height: 21px;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
  line-height: 21px;
  color: #575757;
}

/* Contenedor de título y OEM/REF */
body#category .product-miniature .product-meta-container {
  margin-top: -6px;
}

body#category .price-main {
  font-family: "Familjen Grotesk", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  color: #21272a;
  flex: none;
  order: 1;
  flex-grow: 0;
}

body#product .tax-note,
body#category .tax-note {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #575757;
  flex: none;
  order: 1;
  flex-grow: 0;
}
body#category .psasp-subtitle-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #05222a;
}
/* Subtítulo (vehículo) */

body#category .psasp-subtitle {
  display: inline-block;
  line-height: 1.25;
  gap: 4px;
  margin-top: 12px;
}

body#category .psasp-subtitle:before, #psajaxsearchplus-listing-content .psasp-subtitle:before{
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.25em;
  vertical-align: -0.15em;
  background-image: url("data:image/svg+xml,%3Csvg width='21' height='20' viewBox='0 0 21 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.0962 8.125H18.2524L16.0821 3.24219C15.9839 3.02127 15.8237 2.83358 15.621 2.70185C15.4183 2.57012 15.1817 2.5 14.9399 2.5H5.75244C5.51068 2.5 5.2741 2.57012 5.07137 2.70185C4.86865 2.83358 4.70847 3.02127 4.61025 3.24219L2.43994 8.125H1.59619C1.43043 8.125 1.27146 8.19085 1.15425 8.30806C1.03704 8.42527 0.971191 8.58424 0.971191 8.75C0.971191 8.91576 1.03704 9.07473 1.15425 9.19194C1.27146 9.30915 1.43043 9.375 1.59619 9.375H2.22119V15.625C2.22119 15.9565 2.35289 16.2745 2.58731 16.5089C2.82173 16.7433 3.13967 16.875 3.47119 16.875H5.34619C5.67771 16.875 5.99565 16.7433 6.23007 16.5089C6.4645 16.2745 6.59619 15.9565 6.59619 15.625V15H14.0962V15.625C14.0962 15.9565 14.2279 16.2745 14.4623 16.5089C14.6967 16.7433 15.0147 16.875 15.3462 16.875H17.2212C17.5527 16.875 17.8707 16.7433 18.1051 16.5089C18.3395 16.2745 18.4712 15.9565 18.4712 15.625V9.375H19.0962C19.262 9.375 19.4209 9.30915 19.5381 9.19194C19.6553 9.07473 19.7212 8.91576 19.7212 8.75C19.7212 8.58424 19.6553 8.42527 19.5381 8.30806C19.4209 8.19085 19.262 8.125 19.0962 8.125ZM6.59619 11.875H4.72119C4.55543 11.875 4.39646 11.8092 4.27925 11.6919C4.16204 11.5747 4.09619 11.4158 4.09619 11.25C4.09619 11.0842 4.16204 10.9253 4.27925 10.8081C4.39646 10.6908 4.55543 10.625 4.72119 10.625H6.59619C6.76195 10.625 6.92092 10.6908 7.03813 10.8081C7.15534 10.9253 7.22119 11.0842 7.22119 11.25C7.22119 11.4158 7.15534 11.5747 7.03813 11.6919C6.92092 11.8092 6.76195 11.875 6.59619 11.875ZM15.9712 11.875H14.0962C13.9304 11.875 13.7715 11.8092 13.6542 11.6919C13.537 11.5747 13.4712 11.4158 13.4712 11.25C13.4712 11.0842 13.537 10.9253 13.6542 10.8081C13.7715 10.6908 13.9304 10.625 14.0962 10.625H15.9712C16.137 10.625 16.2959 10.6908 16.4131 10.8081C16.5303 10.9253 16.5962 11.0842 16.5962 11.25C16.5962 11.4158 16.5303 11.5747 16.4131 11.6919C16.2959 11.8092 16.137 11.875 15.9712 11.875ZM3.80791 8.125L5.75244 3.75H14.9399L16.8845 8.125H3.80791Z' fill='%233F923D'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
body#category .block-category-inner {
  display: none !important;
}

/*=================================
PIEZAS EN DETALLE DEL PRODUCTO MÓVIL
==================================*/

body#product .product-price-and-shipping .price-line {
  display: flex;
  flex-direction: column; /* apila verticalmente */
  align-items: flex-start;
}
body#product .product-price-and-shipping .regular-price {
  order: 0;
  text-decoration: line-through;
  opacity: 0.6;
  margin-bottom: 0.25rem;
  margin-left: 0px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #041016;
}

/* Meta info (OEM y REF) */
body#product .product-meta-info {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 16px;
  width: 100%;
  height: 21px;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
  line-height: 21px;
  color: #575757;
}

/* Contenedor de título y OEM/REF */
body#product .product-miniature .product-meta-container {
  margin-top: -6px;
}

body#product .price-main {
  font-family: "Familjen Grotesk", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  color: #21272a;
  flex: none;
  order: 1;
  flex-grow: 0;
}

/* body#product .psasp-subtitle > span,
body#product .psasp-subtitle-text {
  display: none;
} */
/* Subtítulo (vehículo) */

body#product span.iagt-name-list-product {
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #05222a;
}
body#product span.iagt-desc-list-product {
  font-weight: 400;
  font-size: 1rem;
  line-height: 24px;
  color: #21272a;
}

body#product .price_button_container {
  margin-top: 14px;
  align-items: flex-end;
}
body#product .product-miniature.search-width {
  width: 100%;
}

/*===============================
          PAGINACIÓN
  ================================*/
.hidden-md-up.text-xs-right.up {
  display: none;
}
/* ===== IAGT · Pagination (Figma) ===== */
.iagt-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 24px 0 32px;
}

/* Summary (el texto “Mostrando …”) */
.iagt-pagination__summary {
  color: #6b7280;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  display: none;
}

/* Lista de páginas */
.iagt-pagination__list {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
}

/* Botón-píldora */
.iagt-pagination__btn {
  min-width: 40px;
  height: 40px !important;
  padding: 0 12px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  background: #fff;
  color: #05222a;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* centrado óptico */
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

/* Hover/active */
.iagt-pagination__btn:hover {
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.iagt-pagination li.is-current .iagt-pagination__btn {
  /* Item */

  width: 36.88px;
  height: 37.17px;
  left: calc(50% - 36.88px / 2 - 103.43px);
  top: 0px;
  background: #05222a;
  border-radius: 4px;
  color: #ffffff;
}

li.is-current {
  background: #05222a;
  border-radius: 4px;
}

/* Anterior / Siguiente (solo icono) */
.iagt-pagination__btn.is-prev,
.iagt-pagination__btn.is-next {
  width: 40px;
  padding: 0;
}
.iagt-pagination__btn.is-prev i,
.iagt-pagination__btn.is-next i {
  font-size: 20px;
  line-height: 1;
}

/* Espaciador "…" */
.iagt-pagination__spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: #0f2e2e;
  opacity: 0.6;
}

/* Disabled */
.iagt-pagination__btn.is-disabled {
  pointer-events: none;
}

:root {
  --iagt-page-bg: #ffffff; /* fondo general */
  --iagt-text: #0f172a; /* títulos / precio */
  --iagt-muted: #6b7280; /* subtítulo / secundarios */
  --iagt-ok: #16a34a; /* "resultados" */
  --iagt-border: #e5e7eb; /* bordes suaves */
  --iagt-card: #ffffff; /* fondo card */
  --iagt-accent: #05222a; /* botón carrito */
  --iagt-ink: #ffffff; /* icono en botón */
}

/* ---------- Fondo y cabecera del listado ---------- */
body,
.page-home,
.page-category,
.page-manufacturer,
.page-search {
  background: var(--iagt-page-bg);
}

.iagt-products-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.iagt-products-top .page-heading {
  color: var(--iagt-text);
  font-weight: 800;
  letter-spacing: -0.2px;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 2px;
  text-transform: none;
}
.iagt-products-top .total-products {
  color: #05222ab2;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}

.iagt-products-top .iagt-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.iagt-products-top .iagt-sort {
  display: none;
}


.iagt-filter-btn {
  border: 0;
  background: transparent;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: right;
  color: #0f172a;
  line-height: 1;
}
.iagt-filter-btn svg {
  width: 32px;
  height: 32px;
  display: block;
}
.iagt-filter-btn:active {
  transform: scale(0.98);
}

#search_filters_wrapper.iagt-open,
#search_filters.iagt-open {
  display: block !important;
}
#search_filters {
  padding-top: 0rem;
}

/*-- Detalles de vehiculo --*/
/* ---------- Grid / Card ---------- */
.products .products.row {
  --bs-gutter-x: 0;
}

.products .js-product.product {
  position: relative;
  padding: 14px;
  margin: 14px 0;
  width: 100%;
}

.product-description-short {
  text-align: left;
  display: inline-block;
}

.ps-wa-contact {
  margin-bottom: 32px;
}

.product-accessories {
  padding: 24px 16px;
}

.product-accessories .product-pieces {
  line-height: 42px;
  font-weight: 600;
  font-size: 2rem;
  color: #05222a;
  text-align: left;
  padding-left: 0px;
}

.header-product {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #05222a;
}
body#category .row {
  margin-left: unset;
  margin-right: unset;
}

/* ==== PAGINACIÓN CUSTOM VEHÍCULO ==== */
#vehicle-parts nav.pagination {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

#vehicle-parts nav.pagination ul.page-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

#vehicle-parts nav.pagination ul.page-list li {
  display: inline-block;
  align-self: baseline;
}

#vehicle-parts nav.pagination ul.page-list li a,
#vehicle-parts nav.pagination ul.page-list li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  color: #05222a;
  background: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

#vehicle-parts nav.pagination ul.page-list li a:hover {
  background: #f1f5f9;
}

#vehicle-parts nav.pagination ul.page-list li.current a,
#vehicle-parts nav.pagination ul.page-list li.current span {
  background: #05222a;
  color: #fff;
  border-color: #05222a;
  font-weight: bold;
}

#vehicle-parts nav.pagination ul.page-list li.disabled a {
  opacity: 0.4;
  pointer-events: none;
}

#js-product-list .product-miniature .thumbnail-container:hover {
  background-color: #f8f8f8;
}

.price_button_container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.product-miniature .product-title a {
  text-align: left;
}

.product-miniature .product-title {
  text-align: left;
}

#content-wrapper #js-product-list .product-miniature.search-width {
  width: 100%;
}

#js-product-list-header .block-category {
  min-height: 3rem;
}
body#category .psasp-subtitle > span:first-child {
  white-space: nowrap;
  flex: 0 0 auto;
}


/* ajustes finales elena */

#js-product-list .product-miniature .thumbnail-container {
  margin:0;
  width: 100%;
  max-width: 550px;
}

@media (min-width: 1100px){
  #js-product-list .product-miniature .thumbnail-container {
    max-width: 816px;
  }
}

.product-meta-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 16px;
  width: 100%;
  height: 21px;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}


.search-list-page .search-list-row{
  width: 100%;
  margin:0;
  min-height: 65vh;
}


#psajaxsearchplus-listing-content #js-product-list .row{
  margin: 0;
}
body#manufacturer #products #js-product-list{
  width: 100%;
  padding: 16px;
}

body#manufacturer #products #js-product-list .products{
  max-width: 100%;
  margin: 0;
}
