
/* ==========================================================================
   17. PRODUCTO INDIVIDUAL
========================================================================== */
/* #region PRODUCTS*/
body.single-product .woocommerce-message {
  margin-left: 2rem;
  margin-right: 2rem;
  padding: 1.2rem 4rem;
  border-radius: 12px;
  background-color: #6265fe !important;
  color: #fff !important;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 20px rgba(62, 71, 226, 0.10) !important;
  border: none !important;
}
.product-type {
    font-size: 16px;
    color: #777;
    margin-bottom: 0.3rem;
    display: inline-block;
    margin-right: 1rem;
    line-height: 1px;
}

.pdf-note {
text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    color: #022e47;
    margin-top: 3rem;
    margin-bottom: -1.5rem;
    padding: 0 1rem;
}
.reference-note {
  font-size: 0.8rem;
  color: #022e47;
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

body.single-product .woocommerce-message .close-message {
  position: absolute!important;
  top: 1rem;
  right: 1.5rem;
  font-size: 20rem;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.woocommerce div.product .woocommerce-tabs {
  display: none !important;
}
.product-header {
  background-color: #fff;
  padding: 7rem 1rem 2rem;
  color: #022e47;
  font-family: 'Poppins', sans-serif;
}

.product-header-flex {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1000px;
  margin: auto;
}
.product-image-wrapper img {
  border-radius: 12px;
  min-width: 320px !important;
  max-width: 320px !important;
  height: auto;
  margin-top: 0.7rem;
  margin-left: 1.8rem;
}
.product-info-text {
  flex: 1;
}
.product-info-text h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  width: 600px;
  line-height: 35px;
  margin-top: 1rem;
}
.product-info-text .meta {
  font-size: 16px;
  color: #777;
  margin-bottom: 0.3rem;
  display: inline-block;
  margin-right: 1rem;
  line-height: 1px;
}
.product-description {
  font-size: 16px;
  color: #022e47;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-right: 1.8rem;
  margin-top: 1rem;
}
.cart-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  margin-right: 1.8rem;
}
form.cart {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart button.single_add_to_cart_button {
  background-color: #6265fe !important;
  border: none;
  color: white;
  border-radius: 8px;
  font-size: 16px!important;
  transition: background 0.3s;
  transform: translateX(-30px)!important;
  white-space: nowrap !important;
  padding: 0.8rem 0.6rem!important;
}
.cart button.single_add_to_cart_button:hover {
  opacity: 0.6;
}

.cart .qty {
  border: 1.5px solid #6265fe !important;
  border-radius: 8px !important;
  margin-top: 1.8rem!important;
  margin-bottom: 0.5rem!important;
  min-height: 40px!important;
  transform: translateX(15px)!important;
  width:65px!important;

}
.product-main {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: -4rem auto auto auto;
}
.product-pdfs {
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}
.product-pdfs hr {
  margin: 2rem 0;
  border: none;
  border-top: 1.5px solid #6265fe;
}
.pdf-block h3 {
  font-size: 25px;
  color: #6265fe;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}
.reaction-sizes {
  font-weight: normal;
  font-size: 25px;
  color: #022e47;
}
.pdf-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 1rem;
}
.pdf-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
  color: #022e47;
  text-decoration: none;
  font-size: 16px;
}
.pdf-link i {
  font-size: 2rem;
  color: #6265fe;
  margin-bottom: 0.4rem;
}
.woocommerce .product table {
  display: none !important;
}



.related-products {
  max-width: 800px;
  margin: -2rem auto 4rem auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: visible;
}
.related-products h2 {
  font-size: 25px;
  color: #6265fe;
  font-weight: 800;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.related-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0.5rem;
  padding: 1rem 2rem 0rem 0rem; /* espacio para flechas */
  scroll-padding: 1rem;
}

.related-scroll .product {
  width: 195px;
  height: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  border-radius: 12px;;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 0.2rem;
  text-align: center;
  overflow: hidden;
  justify-content: flex-start;
  text-align: left; /* ← clave */
}
.related-scroll .product img {
  background-color: #6265fe; /* color por defecto o cambiar dinámicamente */
  border-radius: 12px;
  width: 190px !important;
  height: 190px;
  margin-bottom: 0.8rem;
}
.related-scroll .product .woocommerce-loop-category__title,
.related-scroll .product .posted_in {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #022e47;
  margin-bottom: 0.2rem;
}

.related-scroll .woocommerce-loop-category__title,
.related-scroll .woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  box-orient: vertical;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
  color: #022e47;
  text-transform: uppercase;
  padding-left: 0.5rem;
}

.related-scroll .button,
.related-scroll .price,
.related-scroll .star-rating {
  display: none !important;
}

.related-wrapper {
  max-width: 100%;
  overflow-x: auto; 
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: white;
  border: 2px solid #003b50;
  color: #003b50;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 23px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  padding: 0;
}
/* Estilizar la etiqueta label */
.woocommerce.single-product label[for="pa_reaction"] {
    position: relative;
    top: -12px; /* Ajusta el valor negativo para subir más o menos */
    display: inline-block;
    color: #6265fe;
    font-size: 16px;
    font-weight: bold;
    margin-right: -20px;
}
.woocommerce.single-product .woocommerce-js .variations th {
    font-size: 16px; /* tamaño del texto del encabezado */
    font-weight: bold;
    color: #022e47; /* ejemplo de color */
}
/* Estilizar el select */
table.variations td.value select#pa_reaction {
    width: 100%;
    padding: -1rem 0.2rem -1rem 0.5rem;
    border-radius: 8px;
    border: 1.5px solid #6265fe;
    background-color: #fff;
    font-size: 14px;
    font-weight: bold;
    color: #022e47;
}
.woocommerce.single-product table.variations td,
.woocommerce.single-product table.variations th {
    padding: 0.2em 1em; /* Ajusta el padding a tu preferencia */
    border: 0px;
}
.woocommerce.single-product table{
  margin-top: 30px;
  border: none;
}
/* Estilizar el enlace para limpiar selección */
table.variations td.value .reset_variations {
    display: inline-block;
    margin-top: 0px!important;
    margin-left: 7px;
    color: #6265fe;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

/* Opcional: Añadir hover al enlace para limpiar selección */
table.variations td.value .reset_variations:hover {
    color: #0056b3;
}

.scroll-btn.left {
  left: -55px; /* lo saca a la izquierda */
}

.scroll-btn.right {
  right: -55px; /* lo saca a la derecha */
}

.scroll-btn:hover {
  background-color: #003b50;
  color: white;
}
.related-scroll::-webkit-scrollbar {
  height: 8px; /* Ajusta el grosor si quieres */
}

.related-scroll::-webkit-scrollbar-track {
  background: #f4f5f5; /* Color de fondo del track */
}

.related-scroll::-webkit-scrollbar-thumb {
  background-color: #022e47; /* Color del thumb */
  border-radius: 10px;
  border: 1px solid #f4f5f5; /* Opcional: para dejar espacio alrededor */
}

/*HEADER, FOOTER Y COLORES DE AGRO---------------------------------------------------------------------------------*/
body.product_cat-agroindustrial-pathogen-detection .site-footer {
  background-color: #52d2a5;
}
body.product_cat-agroindustrial-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}

body.product_cat-agroindustrial-pathogen-detection .custom-header{
  background-color: #52d2a5;
}
body.product_cat-agroindustrial-pathogen-detection .custom-header a,
body.product_cat-agroindustrial-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-agroindustrial-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #52d2a5;
}

body.product_cat-agroindustrial-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #52d2a5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-agroindustrial-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-agroindustrial-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #52d2a5 !important;
}
body.product_cat-agroindustrial-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(82, 210, 165, 0.8);
}

body.product_cat-agroindustrial-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #52d2a5;
  background-color: white;
}
/*HEADER, FOOTER Y COLORES DE BIO---------------------------------------------------------------------------------*/
body.product_cat-bioterios-pathogen-detection .woocommerce .woocommerce-ordering:hover::after {
  color: white;
}
body.product_cat-bioterios-pathogen-detection .site-footer {
  background-color: #3798a7;
}
body.product_cat-bioterios-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}

/* Header */
body.product_cat-bioterios-pathogen-detection .custom-header{
  background-color: #3798a7;
}
body.product_cat-bioterios-pathogen-detection .custom-header a,
body.product_cat-bioterios-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-bioterios-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #3798a7;
}

body.product_cat-bioterios-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #3798a7;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-bioterios-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-bioterios-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #3798a7 !important;
}
body.product_cat-bioterios-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(55, 152, 167, 0.8);
}

body.product_cat-bioterios-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #3798a7;
  background-color: white;
}
/*HEADER, FOOTER Y COLORES DE HUMAN---------------------------------------------------------------------------------*/
body.product_cat-human-pathogen-detection .site-footer {
  background-color: #f46380;
}
body.product_cat-human-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}

body.product_cat-human-pathogen-detection .custom-header{
  background-color: #f46380;
}
body.product_cat-human-pathogen-detection .custom-header a,
body.product_cat-human-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-human-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #f46380;
}

body.product_cat-human-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #f46380;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-human-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-human-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #f46380 !important;
}
body.product_cat-human-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(244, 99, 128, 0.8);
}

body.product_cat-human-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #f46380;
  background-color: white;
}
/*HEADER, FOOTER Y COLORES DE ALIMENTOS---------------------------------------------------------------------------------*/
body.product_cat-alimentos-pathogen-detection .site-footer {
  background-color: #f39f6f;
}
body.product_cat-alimentos-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}
body.product_cat-alimentos-pathogen-detection .custom-header{
  background-color: #f39f6f;
}
body.product_cat-alimentos-pathogen-detection .custom-header a,
body.product_cat-alimentos-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-alimentos-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #f39f6f;
}

body.product_cat-alimentos-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #f39f6f;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-alimentos-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-alimentos-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #f39f6f !important;
}
body.product_cat-alimentos-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(243, 159, 111, 0.8);
}

body.product_cat-alimentos-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #f39f6f;
  background-color: white;
}

/*HEADER, FOOTER Y COLORES DE VET---------------------------------------------------------------------------------*/
body.product_cat-veterinary-pathogen-detection .site-footer {
  background-color: #9b54ec;
}
body.product_cat-veterinary-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}
body.product_cat-veterinary-pathogen-detection .custom-header{
  background-color: #9b54ec;
}
body.product_cat-veterinary-pathogen-detection .custom-header a,
body.product_cat-veterinary-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-veterinary-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #9b54ec;
}

body.product_cat-veterinary-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #9b54ec;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-veterinary-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-veterinary-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #9b54ec !important;
}
body.product_cat-veterinary-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(155, 84, 236, 0.8);
}

body.product_cat-veterinary-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #9b54ec;
  background-color: white;
}

/*HEADER, FOOTER Y COLORES DE AGUA---------------------------------------------------------------------------------*/
body.product_cat-water-pathogen-detection .site-footer {
  background-color: #2ccde3;
}
body.product_cat-water-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}

/* Header */
body.product_cat-water-pathogen-detection .custom-header{
  background-color: #2ccde3;
}
body.product_cat-water-pathogen-detection .custom-header a,
body.product_cat-water-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-water-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #2ccde3;
}

body.product_cat-water-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #2ccde3;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-water-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-water-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #2ccde3 !important;
}
body.product_cat-water-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(44, 205, 227, 0.8);
}

body.product_cat-water-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #2ccde3;
  background-color: white;
}
/*HEADER, FOOTER Y COLORES DE marcadorestumorales---------------------------------------------------------------------------------*/
body.product_cat-marcadorestumorales-pathogen-detection .site-footer {
  background-color: #55c466;
}
body.product_cat-marcadorestumorales-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}

/* Header */
body.product_cat-marcadorestumorales-pathogen-detection .custom-header{
  background-color: #55c466;
}
body.product_cat-marcadorestumorales-pathogen-detection .custom-header a,
body.product_cat-marcadorestumorales-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-marcadorestumorales-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #55c466;
}

body.product_cat-marcadorestumorales-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #55c466;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-marcadorestumorales-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-marcadorestumorales-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #55c466 !important;
}
body.product_cat-marcadorestumorales-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(85, 196, 102, 0.8);
}

body.product_cat-marcadorestumorales-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #55c466;
  background-color: white;
}

/*HEADER, FOOTER Y COLORES DE MULTIPLEX---------------------------------------------------------------------------------*/
body.product_cat-multiplex-pathogen-detection .site-footer {
  background-color: #4845b3;
}
body.product_cat-multiplex-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}

/* Header */
body.product_cat-multiplex-pathogen-detection .custom-header{
  background-color: #4845b3;
}
body.product_cat-multiplex-pathogen-detection .custom-header a,
body.product_cat-multiplex-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-multiplex-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #4845b3;
}

body.product_cat-multiplex-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #4845b3;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-multiplex-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-multiplex-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #4845b3 !important;
}
body.product_cat-multiplex-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(72, 69, 179, 0.8);
}

body.product_cat-multiplex-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #4845b3;
  background-color: white;
}
/*HEADER, FOOTER Y COLORES DE GMO---------------------------------------------------------------------------------*/
body.product_cat-geneticallymodifiedorganism-pathogen-detection .site-footer {
  background-color: #fe73e5;
}
body.product_cat-geneticallymodifiedorganism-pathogen-detection {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}

/* Header */
body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header{
  background-color: #fe73e5;
}
body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header a,
body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header .login-icon {
  color: #fefefe; /* azul muy oscuro */
}
body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header .login-trigger:hover .login-icon {
  color: #fe73e5;
}

body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe; /* o el color que prefieras */
  color: #fe73e5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header .sub-menu a {
  color: white !important;
}

body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header .sub-menu a:hover {
  background-color: #fefefe;
  color: #fe73e5 !important;
}
body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header .nav-menu li ul {
background-color: rgba(254, 115, 229, 0.8);
}

body.product_cat-geneticallymodifiedorganism-pathogen-detection .custom-header .cart-icon-header a.cart-contents:hover {
  color: #fe73e5;
  background-color: white;
}

/* #endregion */

/* #region RESPONSIVE */
/* ========== PRODUCTO INDIVIDUAL – TABLETS (≤992px) ========== */
@media (max-width: 992px) {
  .product-header-flex {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .product-info-text h1 {
    width: 100%;
    font-size: 32px;
    text-align: center;
  }

  .product-description {
    text-align: center;
    margin-right: 0;
  }

  .cart-wrapper {
    justify-content: center;
    margin-right: 0;
  }
}

/* ========== PRODUCTO INDIVIDUAL – MÓVILES (≤768px) ========== */
@media (max-width: 768px) {
  .product-header {
    padding: 6rem 1rem 2rem;
  }

  .product-info-text h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .product-description {
    font-size: 14px;
    margin-bottom: 1rem;
  }

  .cart .qty {
    width: 60px !important;
    margin-top: 1rem !important;
    transform: none !important;
  }

  .cart button.single_add_to_cart_button {
    font-size: 14px !important;
    padding: 0.6rem 1rem !important;
    transform: none !important;
  }

  .product-image-wrapper img {
    margin-left: 0;
    max-width: 240px !important;
  }

  .related-scroll .product {
    width: 160px;
    height: auto;
  }

  .related-scroll .product img {
    width: 150px !important;
    height: 150px;
  }
}

/* #endregion */






/* ==========================================================================================
   18. PÁGINA TIENDA 
   ========================================================================================== */
/* #region tienda */
body.post-type-archive-product {
  background-color: #f4f5f5;
  font-family: 'Poppins', sans-serif;
}

/* Footer */
body.post-type-archive-product .site-footer {
  background-color: #6265fe; /* tu azul */
}

/* Header */
body.post-type-archive-product .custom-header,
body.post-type-archive-product .custom-header a,
body.post-type-archive-product .custom-header .login-icon {
  background-color: #6265fe;
  color: white;
  position: relative;
}
body.post-type-archive-product .custom-header .login-icon:hover {
  color: #6265fe;
  transition: color 0.3s ease;
}
body.post-type-archive-product .custom-header .nav-menu > li > a:hover {
  background-color: #fefefe;
  color: #6265fe;
}
body.post-type-archive-product .custom-header .sub-menu {
  background-color: #6265fe !important;
  border-radius: 12px;
  padding: 0.5rem 0;
}
body.post-type-archive-product .custom-header .sub-menu li a:hover {
  color: #6265fe !important;
  background-color: white !important;
}

/* Contenedor general */
body.post-type-archive-product .category-wrapper {
  display: flex;
  gap: 2.5rem;
  padding: 3rem 5% 3rem 5%!important; /* ← mueve los productos más a la derecha */
  align-items: flex-start;
  margin-top: 1rem;
}

/* Sidebar */
body.post-type-archive-product .sidebar-subcategories {
  margin-top: 1rem;
  min-width: 200px;
  font-size: 16px;
  font-weight: 600;
  color: #6265fe;
}
body.post-type-archive-product .sidebar-subcategories .sidebar-search {
  margin-bottom: 2rem;
  margin-left: -3rem!important;
}
body.post-type-archive-product .sidebar-subcategories .sidebar-search input[type="search"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 12px;
}
body.post-type-archive-product .sidebar-subcategories p,
body.post-type-archive-product .sidebar-subcategories .sidebar-title {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: #6265fe;
}
body.post-type-archive-product .sidebar-subcategories .subcategory-link {
  display: block;
  margin-left: 1rem;
  color: #6265fe;
  font-weight: 500;
  transition: color 0.3s;
}
body.post-type-archive-product .sidebar-subcategories .subcategory-link:hover {
  color: #fefefe;
  background-color: #6265fe;
  padding-left: 0.4rem;
  border-radius: 10px;
}

/* Título principal */
body.post-type-archive-product .category-main-title {
  background-color: #6265fe;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.8rem 2rem;
  margin-bottom: 2.5rem;
  border-radius: 40px 0 0 40px;
  width: 1150px;
  text-align: left;
  margin-left: 6rem!important;
  margin-right: 0;
}

/* Contador y orden */
body.post-type-archive-product .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering {
  color: #6265fe;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
body.post-type-archive-product .woocommerce-ordering select {
  background-color: #f4f5f5;
  color: #6265fe;
  border: none;
  border-radius: 20px;
  padding: 0.6rem;
  width: 230px;
  appearance: none;
  position: relative;
  right: 0.2rem !important;
}
body.post-type-archive-product .woocommerce-ordering::after {
  content: '▼';
  position: absolute;
  right: 2.9rem !important;
  top: 50%;
  transform: translateY(-50%);
  color: #6265fe;
  pointer-events: none;
  transition: color 0.3s ease;
  font-size: 0.8rem;
  z-index: 1;
}
body.post-type-archive-product .woocommerce-ordering select:hover {
  background-color: #6265fe !important;
  color: #ffffff !important;
}

/* Si quieres que cambie solo al hacer hover sobre el select: */
body.post-type-archive-product .woocommerce-ordering:hover::after {
  color: #ffffff !important;
}

/* Paginación */
body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li a,
body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li span {
  background-color: #6265fe;
  color: white;
}
body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li .current {
  background-color: #105a8b;
}

/* Botones */
body.post-type-archive-product ul.products li.product .button {
  background-color: #6265fe;
  color: white;
  border-radius: 20px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s;
  margin-top: 0.5rem;
}
body.post-type-archive-product ul.products li.product .button:hover {
  background-color: #105a8b;
}



/* #endregion */
/* PRODUCTS: Estilos comunes para tienda y categorías */

/* GRILLA de productos */
body.woocommerce ul.products,
body.woocommerce-page ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin-left: 150px !important;
  margin-right: 80px !important;
}

.woocommerce ul.products li.product {
  background-color: #f4f5f5;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  padding: 1rem;
  width: 270px;
  min-height: 370px;
  text-align: center;
  transition: transform 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
}

.woocommerce ul.products li.product img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.woocommerce ul.products li.product h2 {
  font-size: 0.7rem;
  font-weight: 400;
  color: #1e2148;
  margin-bottom: 0.5rem;
  height: 4rem;
  overflow: hidden;
}

/* Botón de producto: color será definido por categoría */
.woocommerce ul.products li.product .button {
  border-radius: 20px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s;
  margin-top: 0.5rem;
}

/* PAGINACIÓN */
.woocommerce nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  gap: 0.5rem;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li a,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span {
  border-radius: 50%;
  padding: 0.7rem 0.8rem;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
  text-decoration: none;
}

/* Encabezado y orden */
.woocommerce-products-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

/* Estilo general del contador y selector */
body.woocommerce .woocommerce-result-count,
body.woocommerce .woocommerce-ordering {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-left: 150px;
  margin-right: 100px !important;
  text-align: center;
}

/* Selector de orden (estructura, colores por categoría) */
body.woocommerce .woocommerce-ordering select {
  border: none;
  border-radius: 20px;
  padding: 0.6rem 0rem 0.4rem 2rem;
  margin-right: 9rem;
  width: 200px;
  appearance: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* Título principal de categoría (colores por categoría) */
.category-main-title {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.8rem 2rem;
  margin-bottom: 2.5rem;
  border-radius: 40px 0 0 40px;
  width: 1150px;
  text-align: left;
  margin-left: 6rem !important;
}
/* === CONTENEDOR GENERAL === */
.category-wrapper {
  display: flex;
  gap: 2.5rem;
  padding: 3rem 5%;
  align-items: flex-start;
  margin-top: 1rem;
}

/* === SIDEBAR CATEGORÍAS === */
.sidebar-subcategories {
  margin-top: 1rem;
  min-width: 200px;
  font-size: 1rem;
  font-weight: 600;
}

.sidebar-subcategories p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.sidebar-subcategories a {
  text-decoration: none;
  transition: 0.3s;
}

.sidebar-subcategories a:hover {
  color: #fefefe;
  background-color: currentColor;
  text-decoration: none;
  border-radius: 10px;
}

.sidebar-subcategories .subcategory-link {
  display: block;
  margin-left: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.sidebar-subcategories .subcategory-link:hover {
  color: #fefefe;
  text-decoration: none;
  border-radius: 10px;
  padding-left: 0.4rem;
}

/* === TÍTULO PRINCIPAL DE CATEGORÍA === */
.category-main-title {
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.8rem 2rem;
  margin-bottom: 2.5rem;
  border-radius: 40px 0 0 40px;
  width: 1150px;
  text-align: left;
  margin-left: 6rem !important;
  margin-right: 0;
  transform: translateX(30px);
}
.woocommerce ul.products li.product a {
  text-decoration: none !important;
}


/* TABLETS (768px a 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .category-wrapper {
    flex-direction: column;
    padding: 2rem;
    margin: 0 auto;
  }

  .category-main-title {
    font-size: 1.6rem;
    width: 100%;
    text-align: center;
    margin: 0 auto 2rem;
    transform: none !important;
  }

  .sidebar-subcategories {
    width: 100% !important;
    text-align: center !important;
    margin-top: 6rem!important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: calc(50% - 1rem) !important;
    margin-bottom: 2rem;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    text-align: center;
    margin: 1rem auto;
    padding: 0 1rem;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100%;
    max-width: 100%;
  }

  .woocommerce nav.woocommerce-pagination ul.page-numbers {
    justify-content: center !important;
  }
    body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 1rem !important;
    justify-content: center !important;
  }

  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product {
    width: calc(50% - 1rem) !important; /* Dos columnas */
    max-width: 100% !important;
  }
  body.post-type-archive-product .sidebar-search {
  width: 100%;
  margin: -8rem auto 1.5rem auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
}

body.post-type-archive-product .sidebar-search input[type="search"] {
  width: 100%;
  min-width: 500px;
  max-width: 500px;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
}
@media (min-width: 768px) and (max-width: 991px) {
  /* Wrapper general de tienda */
  body.is-tienda .category-wrapper {
    flex-direction: column;
    padding: 2rem;
    margin: 0 auto;
    gap: 2rem;
  }

  /* Título principal */
  body.is-tienda .category-main-title {
    font-size: 1.6rem;
    text-align: center;
    width: 100%;
    margin: 0 auto 1rem;
    padding: 1rem;
    transform: none !important;
    border-radius: 20px;
  }

  /* Buscador */
  body.is-tienda .sidebar-search {
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
  }

  body.is-tienda .sidebar-search input[type="search"] {
    width: 100%;
    max-width: 500px;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 1rem;
  }

  /* Resultados y orden */
  body.is-tienda .woocommerce-result-count,
  body.is-tienda .woocommerce-ordering {
    text-align: center;
    margin: 1rem auto;
    padding: 0 1rem;
  }

  body.is-tienda .woocommerce-ordering select {
    width: 100%;
    max-width: 100%;
  }

  /* Grilla de productos */
  body.is-tienda ul.products {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem !important;
    padding: 0 1rem !important;
    margin: 0 !important;
  }

  body.is-tienda ul.products li.product {
    width: calc(50% - 1rem) !important;
    margin-bottom: 2rem !important;
    max-width: 100%;
  }

  /* Paginación */
  body.is-tienda nav.woocommerce-pagination ul.page-numbers {
    justify-content: center !important;
    padding: 0 1rem;
  }
}


@media (max-width: 767px) {
  body {
    overflow-x: hidden !important;
  }

  .category-wrapper {
    flex-direction: column !important;
    padding: 2rem 1rem !important;
    margin: 2rem auto 0 auto !important;
    gap: 1.5rem;
    width: 100% !important;
    box-sizing: border-box;
  }

  .category-main-title {
    width: 100% !important;
    margin: 0 auto 2rem auto !important;
    padding: 1rem !important;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 20px;
    transform: none !important;
  }

  .woocommerce-products-header,
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    margin: 0 0 0 0 !important;
    text-align: center;
    width: 100% !important;
    padding: 0 1rem !important;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100% !important;
    margin: 0 auto;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    padding: 0 1rem !important;
  }

  .sidebar-subcategories {
    width: 100% !important;
    text-align: center;
  }

  .sidebar-subcategories .sidebar-search input[type="search"] {
    width: 80%;
  }
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 1rem !important;
    flex-direction: column !important;
    align-items: center;
  }

  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 2rem !important;
  }
}

body.woocommerce .custom-header,
body.archive.woocommerce .custom-header,
body.single-product .custom-header {
  position: relative !important
}

.woocommerce .star-rating,
.woocommerce-page .star-rating,
.woocommerce ul.products li.product .star-rating,
.woocommerce-js .star-rating {
  display: none !important;
}