.category-item {
    display: block!important;
    width: 100%;
    margin-bottom: 10px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.category-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #000;
}

.category-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.category-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.count-submenu {
    display: inline-block;
    background-color: #253064!important;
    color: #fff!important;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;

    line-height: 24px;
}

.toggle-submenu {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.submenu {
    display: none;       /* nasconde */
    list-style: none;
    margin: 0;
    padding: 8px 0 0 28px; /* indentazione */
}

.submenu li {
    display: block;
    margin: 4px 0;
}

.category-item.active > .submenu {
    display: block;     /* mostra */
}

.title.style-3 {
    background-size: auto 15px!important; /* larghezza auto, altezza 40px */
    padding-bottom: 15px!important;       /* deve essere uguale o > dell’altezza */
}

#lw-alert{
    display: none;
    background: #253064;   /* nuovo sfondo */
    border: 1px solid #1a2247; /* bordo più scuro */
    color: #ffffff;        /* testo bianco */
    font-size: 1.2rem;
    position: fixed;
    bottom: 300px;
    right: 40px;
    padding: 30px;
}

.shopping-cart-button:hover a {
    background-color: #1a2247!important;
}

.shopping-cart-button-2 a {
    display: inline-block;
    width: 100%;
    margin-top: 5px;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    border-radius: 4px;
    line-height: 1;
    padding: 10px 20px;
    background-color: #8099CE;   /* colore base */
    font-family: "Quicksand", sans-serif;
    border: 2px solid #8099CE;   /* bordo uguale al bg */
    transition: all 0.3s ease;   /* animazione smooth */
}

.shopping-cart-button-2 a:hover {
    background-color: #5f7bb8 !important; /* più scuro in hover */
    border-color: #5f7bb8;                /* bordo coerente */
}


.list-filter.size-filter li a {
    display: inline-block;
    width: 32px;         /* larghezza rettangolo */
    height: 24px;        /* altezza rettangolo */
    border-radius: 6px;  /* angoli arrotondati */
    border: 2px solid #ddd;
}

.list-filter.size-filter li a.small {
    width: 24px;         /* larghezza rettangolo */
    height: 24px;        /* altezza rettangolo */
}

.list-filter.size-filter li.active a {
    border: 5px solid #253064; /* evidenzia variante selezionata */
}


.carausel-1-column-cover {
    position: relative;
}


/* Pulsante sottocategoria selezionata - versione più scura */
.btn-dark {
    background-color: #1a1f3c !important; /* blu notte profondo */
    border-color: #1a1f3c !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

/* Hover: leggermente più chiaro per dare profondità */
.btn-dark:hover,
.btn-dark:focus {
    background-color: #242a52 !important; /* blu acciaio */
    border-color: #242a52 !important;
    color: #ffffff !important;
}

/* Stato attivo o cliccato */
.btn-dark:active {
    background-color: #11152b !important; /* quasi nero */
    border-color: #11152b !important;
    color: #ffffff !important;
}

/* Leggera ombra per risalto visivo */
.btn-dark {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}




/* Pulsante Acquista */
/* Verde "success" dedicato (puoi cambiarlo qui una volta sola) */
:root { --acquista-green: #28a745; }

/* Stato base: bordo e testo verdi, sfondo trasparente */
.add-cart .add.btn-acquista,
.add-cart .add.btn-acquista:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--acquista-green) !important;
    color: var(--acquista-green) !important;
    background: transparent !important;
    border-radius: 4px;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .80s ease, color .80s ease, border-color .80s ease;
}

/* Icona allineata al colore del testo */
.add-cart .add.btn-acquista i {
    color: var(--acquista-green) !important;
}

/* Hover/Focus/Active: tutto verde con testo bianco */
.add-cart .add.btn-acquista:hover,
.add-cart .add.btn-acquista:focus,
.add-cart .add.btn-acquista:active {
    background: var(--acquista-green) !important;
    border-color: var(--acquista-green) !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Icona bianca su hover */
.add-cart .add.btn-acquista:hover i,
.add-cart .add.btn-acquista:focus i,
.add-cart .add.btn-acquista:active i {
    color: #fff !important;
}