/* ===================================================================
   SIDEBAR DE CATEGORÍAS EN LA HOME (Hummingbird - PrestaShop 9.1)
   =================================================================== */

/* 1. Ocultar el texto "Opcional" únicamente cuando esté dentro del contenedor de vat_number */
.mb-3:has(input[name="vat_number"]) .form-text {
    font-size: 0 !important;
}

/* 2. Insertar el texto personalizado */
.mb-3:has(input[name="vat_number"]) .form-text::after {
    content: "No ponga nada si usted es un particular";
    font-size: 0.875rem !important; /* Tamaño estándar de Bootstrap */
    color: #6c757d; /* Color gris de form-text */
    display: block;
}

@layer ps-components
{.checkout-steps__step--success:after, .checkout-steps__step--success:before {
background: #1e337d!important;
}.checkout-steps__step--current:before, .checkout-steps__step--success .checkout-steps__number{
background: #1e337d!important;
}
.btn:hover {
background-color: #1e337d!important;
border-color: #1e337d!important;
color: #1e337d!important;
}}

.header-block--active .header-block, .header-block--active .header-block__icon{color: #1e337d!important;
}

.category-tree__list[data-depth="0"]>.category-tree__item>.category-tree__item-header .category-tree__item-link {
font-weight: 400!important;
font-size: 13px!important;
}
body a, body .btn-link, body .page-subheading, body .block-categories .category-sub-menu li a:hover, .category-tree__item-header{
font-weight: 400!important;
font-size: 13px!important;
}
/* =================================================================aya
   ESTILOS SIDEBAR DE CATEGORÍAS EN LA HOME (PÁGINA DE INICIO)
   =================================================================== */

.footer .container .ps-socialfollow{
    width: 25%;
}

@media(max-width: 991px) and (min-width: 768px){
  .footer .container .ps-socialfollow{
    width: 50%;
  }
}

@media(max-width: 767px){
  .footer .container .ps-socialfollow{
    width: 100%;
  }
}


/* Variables globales */
:root {
  --primary: #27409a !important;
  --primary-color: #27409a !important;
  --brand-primary: #27409a !important;
}

/* Enlaces y textos destacados */
body a, 
body .btn-link,
body .page-subheading,
body .block-categories .category-sub-menu li a:hover {
  color: #27409a !important;
}

/* Botones principales */
body .btn-primary,
body input.btn-primary,
body button.btn-primary,
body .bg-primary,
body .nav-pills .nav-link.active,
body .page-item.active .page-link {
  background-color: #27409a !important;
  border-color: #27409a !important;
  color: #ffffff !important;
}

/* Hover de botones principales */
/*body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active {
  background-color: red !important;
  border-color: #1e337d !important;
}*/

/* Corrección para el Footer: Enlaces y textos en blanco */
#footer,
.footer-container,
#footer a,
.footer-container a,
#footer p,
.footer-container p,
#footer span,
.footer-container span,
#footer .block-offset,
.footer-container .block-offset {
  color: #ffffff !important;
}

/* Títulos del footer en blanco brillante */
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6,
.footer-container h1, .footer-container h2, .footer-container h3, .footer-container h4, .footer-container h5, .footer-container h6,
#footer .h3, .footer-container .h3 {
  color: #ffffff !important;
}

/* Efecto hover suave al pasar el ratón por los enlaces del footer */
#footer a:hover,
.footer-container a:hover {
  color: #d1d5db !important; /* Gris claro al pasar el ratón */
  text-decoration: underline;
}

/* Texto en negro para la sección de ofertas/newsletter (fondo claro) */
#footer .footer__before,
#footer .footer__before p,
#footer .footer__before .h3,
#emailsubscription_anchor_displayFooterBefore p {
  color: #000000 !important;
}




#product #center-column .product__bottom{
  display: flex;
}

#product #center-column .product__bottom .product__bottom-left{
  width: 100%;
}

#product #center-column .product__bottom .product__bottom-right{
  display: none;
}




.product-flags .badge.discount, 
.product-flags .badge:not(.discount) {
    border: 1px solid #27409a !important;
}



/* Sobreescribim la variable del color primari només per a les etiquetes o forcem el fons amb màxima especificitat */
.product-flags .badge,
.product-flags .text-bg-primary {
    background-color: #27409a !important; /* Posa aquí el color hexadecimal que vulguis (ex: gris, vermell...) */
    --bs-primary-rgb: 39, 64, 154 !important; /* Si empra la variable RGB de Bootstrap, la canviem de cop */
}







@media(min-width: 992px){
  #index #wrapper{
    display: flex;
  }
}

#index #wrapper{
    
    margin: 0 auto;

  padding-top: 25px;
}

#index #content-wrapper,
#index .content_columns {
  display: flex;
  flex-wrap: wrap;
}

#index #left-column {
  flex: 0 0 25%;
  max-width: 25%;
}

#index #center-column {
  flex: 0 0 75%;
  max-width: 75%;
}

.superleft_column{
  width: 25%;
  padding-right: 30px;
}

.superleft_column .ps-categorytree,
.superleft_column .ets_baw_display_banner,
#category .ps-categorytree,
#new-products .ps-categorytree,
#product .ps-categorytree{
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.03), 5px 5px 10px rgba(0, 0, 0, 0.03);
}

.superleft_column .ps-categorytree p.left-block__title,
#category .ps-categorytree p.left-block__title,
#new-products .ps-categorytree p.left-block__title,
#product .ps-categorytree p.left-block__title{
  background: #27409a !important;
  padding: 10px;
}

.superleft_column .ps-categorytree p.left-block__title a,
#category .ps-categorytree p.left-block__title a,
#new-products .ps-categorytree p.left-block__title a,
#product .ps-categorytree p.left-block__title a{
  color: #ffffff !important;
}

.superleft_column .ps-categorytree .accordion,
#category .ps-categorytree .accordion,
#new-products .ps-categorytree .accordion,
#product .ps-categorytree .accordion{
  padding: 0 10px;
}

#product .wk-product-customization #wkCustomizationBoxTex{
  display: none;
}


@media (max-width: 992px) {
  #index #left-column,
  #index #center-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .superleft_column,
  #product #left-column,
  #category #left-column,
  #new-products #left-column{
    display: none;
  }
}



@media (min-width: 1200px){
  #index #wrapper{
      max-width: 1140px;
  }
}

@media (min-width: 1400px){
  #index #wrapper{
      max-width: 1320px;
  }
}














.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 20px auto;
    font-family: sans-serif;
}

.feature-card {
    display: flex;
    align-items: center;
    flex: 1 1 calc(50% - 10px); /* 2 columnes a ordinador */
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    padding: 18px;
    box-sizing: border-box;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content {
    padding-left: 15px;
}

.feature-title {
    font-size: 13px;
    font-weight: bold;
    color: #0b2240;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.feature-text {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
}

.feature-text strong {
    color: #2c3e50;
}

.feature-subtext {
    font-size: 12px;
    color: #888888;
}

/* Responsivat per a mòbils: passa a una sola columna automàticament */
@media (max-width: 768px) {
    .feature-card {
        flex: 1 1 100%;
    }
}


@media (max-width: 650px){
  #index .ps-customtext{
      max-width: 1320px;
  }
}


@media (min-width: 120px){
  #header .header-bottom .ps-mainmenu--desktop ul.ps-mainmenu__tree li:nth-child(2){
      display: none;
  }
}


#footer .ps-emailsubscription form .gdpr-consent span label{
      color: #27409a;
}


nav.breadcrumb__wrapper ol.breadcrumb{
  flex-wrap: wrap;
}







