/* views/css/ps_customtopbar.css */

/* Contenedor principal de ancho completo con fondo rojo */
.ps-customtopbar-wrapper {
    background-color: #d1171f; /* Rojo similar al de la imagen de referencia */
    color: #ffffff;
    padding: 20px;
    font-size: 14px;
    width: 100%;
}

/* Uso de flexbox para alinear los elementos */
.ps-customtopbar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- IZQUIERDA --- */
.topbar-left {
    display: flex;
    align-items: center;
}

.topbar-custom-icon {
    max-height: 20px; /* Ajusta el tamaño del icono subido */
    width: auto;
    margin-right: 10px;
    filter: brightness(0) invert(1); /* Vuelve blanco el icono si es negro */
}

.topbar-text {
    font-weight: 500;
}

/* --- DERECHA --- */
.topbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.topbar-right a {
    color: #ffffff !important;
    text-decoration: none;
    margin-left: 25px; /* Espacio entre iconos */
    display: flex;
    align-items: center;
    position: relative;
    transition: opacity 0.3s;
}

.topbar-right a:hover {
    opacity: 0.8;
}

.topbar-right i.material-icons {
    font-size: 24px; /* Tamaño de los iconos de la derecha */
}

/* Contador del carrito */
.cart-count {
    background: #ffffff;
    color: #d1171f;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    /* padding: 2px 5px; */
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    text-align: center;
}

#menu-icon-custom{
    display: none;
    margin-right: auto;
}

#menu-icon-custom i{
    font-size: 30px;
}


.header-nav{
    display: none;
}


.ps-customtopbar-wrapper .container{
    margin: 0;
    width: 100%;
}


.header-top .container {
  margin-left: 50px;
  margin-right: 50px;
  width: auto !important;
}

.header-top .container #_desktop_logo {
  max-width: 160px;
}

.header-top .container .row {
  justify-content: center;
}

.header-top .header-top-right, 
.header-top .position-static {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

#header .header-top {
  background-color: #fff;
  padding: 0.8rem 0 !important;
}

.header-top-right .cotizar-container .btn-cotizar{
    display: block !important;
}

/* Ajustes Responsive para móviles */
@media (max-width: 767px) {
    .ps-customtopbar-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .topbar-left {
        justify-content: center;
        margin-bottom: 10px;
    }

    .topbar-right {
        justify-content: center;
    }

    .topbar-right a {
        margin: 0 15px;
    }

    .topbar-info{
        display: none !important;
    }

    .ps-customtopbar-flex{
        display: flex;
        flex-direction: row;
    }

    .ps-customtopbar-flex .topbar-left{
        display: flex;
        width: 160px;
        margin: 0;
    }

    #menu-icon-custom{
        display: block;
    }

    .header-top-right .cotizar-container .btn-cotizar{
        display: none !important;
    }
}