/**
 * CDB UX Helper - Stili mobile
 * Header fisso + Bottom bar 5 voci
 * Solo mobile: max-width 767px
 * Colori: arancione #e6765f, testo #232323, grigio #7A7A7A, sfondo #F1F1F1
 */

/* ============================================================
   VARIABILI
   ============================================================ */
:root {
    --cdb-orange:       #e6765f;
    --cdb-orange-dark:  #c85a44;
    --cdb-white:        #ffffff;
    --cdb-text:         #232323;
    --cdb-gray:         #7A7A7A;
    --cdb-bg-light:     #F1F1F1;
    --cdb-header-h:     82px;
    --cdb-bar-h:        56px;
    --cdb-z-header:     9100;
    --cdb-z-bar:        9100;
}

/* ============================================================
   RESET BODY - spazio per header fisso e bottom bar
   Solo su mobile
   ============================================================ */
@media (max-width: 767px) {

    body {
        padding-top: var(--cdb-header-h) !important;
        padding-bottom: var(--cdb-bar-h) !important;
    }

    /* Nasconde header nativo del tema su mobile */
    #header .header-nav,
    #header .header-top,
    #header [class*="displayMegaMenu"],
    #header [class*="displayNavFullWidth"] {
        display: none !important;
    }

    /* Nasconde menu mobile nativo del tema */
    #mobile_top_menu_wrapper,
    #_mobile_top_menu,
    #menu-icon {
        display: none !important;
    }

}

/* ============================================================
   HEADER MOBILE FISSO
   ============================================================ */
.cdb-header-mobile {
    display: none; /* nascosto su desktop */
}

@media (max-width: 767px) {

    .cdb-header-mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--cdb-header-h);
        background-color: var(--cdb-white);
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
        z-index: var(--cdb-z-header);
        overflow: hidden; /* rete di sicurezza: nulla puo sporgere dalla barra fissa */
    }

    /* Riga logo + ricerca + freccia indietro (era il vecchio contenitore) */
    .cdb-header-mobile__row {
        display: flex;
        align-items: center;
        height: 54px;
        padding: 0 10px;
        gap: 8px;
        flex-shrink: 0;
    }

    /* ============================================================
       FASCIA LEGGERA ROTANTE - sostituisce il banner Amazzing
       Solo CSS, nessun JS/scroll coinvolto - nessun rischio rimbalzo
       ============================================================ */
    .cdb-top-strip {
        position: relative;
        height: 28px;
        background-color: var(--cdb-orange);
        overflow: hidden;
        flex-shrink: 0;
    }

    .cdb-top-strip__msg {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--cdb-white);
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        padding: 0 30px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
    }

    /* Numero di messaggi variabile (gestiti dal BO) - la rotazione
       e gestita da una piccola funzione in cdbuxhelper.js, non da
       CSS keyframes fisse: cosi funziona con 1 o con 8 messaggi
       senza dover toccare questo file ogni volta */
    .cdb-top-strip__msg.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    /* Freccia indietro */
    .cdb-header-mobile__back {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--cdb-text);
        padding: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .cdb-header-mobile__back:active {
        color: var(--cdb-orange);
    }

    /* Logo */
    .cdb-header-mobile__logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        transition: opacity 0.2s ease;
    }

    .cdb-header-mobile__logo--hidden {
        display: none;
    }

    .cdb-header-mobile__logo-img {
        height: 36px !important;
        width: auto !important;
        max-width: 120px !important;
        object-fit: contain;
    }

    /* Ricerca compatta */
    .cdb-header-mobile__search {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .cdb-header-mobile__search-trigger {
        display: flex;
        align-items: center;
        gap: 6px;
        background: var(--cdb-bg-light);
        border: 1px solid #ddd;
        border-radius: 20px;
        padding: 6px 12px 6px 10px;
        cursor: pointer;
        color: var(--cdb-gray);
        font-size: 13px;
        font-family: inherit;
        -webkit-tap-highlight-color: transparent;
        max-width: 160px;
        width: 100%;
    }

    .cdb-header-mobile__search-placeholder {
        flex: 1;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Ricerca espansa */
    .cdb-header-mobile__search-expanded {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--cdb-header-h);
        background: var(--cdb-white);
        align-items: center;
        padding: 0 10px;
        gap: 8px;
        z-index: 1;
    }

    .cdb-header-mobile__search-expanded.is-open {
        display: flex;
    }

    .cdb-header-mobile__search-close {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--cdb-text);
        padding: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .cdb-header-mobile__search-input-wrap {
        flex: 1;
        position: relative;
    }

    .cdb-header-mobile__search-input {
        width: 100%;
        height: 38px;
        border: 1.5px solid var(--cdb-orange);
        border-radius: 20px;
        padding: 0 16px;
        font-size: 14px;
        font-family: inherit;
        color: var(--cdb-text);
        background: var(--cdb-white);
        outline: none;
        box-sizing: border-box;
        -webkit-appearance: none;
    }

    .cdb-header-mobile__search-input:focus {
        border-color: var(--cdb-orange);
        box-shadow: 0 0 0 2px rgba(230, 118, 95, 0.15);
    }

}

/* ============================================================
   BOTTOM BAR 5 VOCI
   ============================================================ */
.cdb-bottom-bar {
    display: none; /* nascosta su desktop */
}

@media (max-width: 767px) {

    .cdb-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--cdb-bar-h);
        background-color: var(--cdb-orange);
        border-top: none;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
        z-index: var(--cdb-z-bar);
        flex-direction: row;
        align-items: stretch;
        justify-content: space-around;
    }

    /* Singolo item */
    .cdb-bottom-bar__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: 6px 2px;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-size: 10px;
        font-family: inherit;
        font-weight: 500;
        line-height: 1.2;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.15s ease;
        min-width: 0;
        cursor: pointer;
    }

    .cdb-bottom-bar__item:hover,
    .cdb-bottom-bar__item:active,
    .cdb-bottom-bar__item:focus {
        color: var(--cdb-white);
        text-decoration: none;
        outline: none;
    }

    .cdb-bottom-bar__item--active {
        color: var(--cdb-white);
    }

    /* Icona */
    .cdb-bottom-bar__icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 3px;
        width: 24px;
        height: 24px;
    }

    /* Label */
    .cdb-bottom-bar__label {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60px;
        display: block;
        text-align: center;
    }

    /* Badge carrello */
    .cdb-bottom-bar__badge {
        position: absolute;
        top: -5px;
        right: -8px;
        background-color: var(--cdb-orange);
        color: var(--cdb-white);
        font-size: 9px;
        font-weight: 700;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
        line-height: 1;
        font-family: inherit;
    }

    /* Voce attiva basata sulla pagina corrente */
    body#index .cdb-bottom-bar__item:first-child {
        color: var(--cdb-white);
        font-weight: 700;
    }

    body#cart .cdb-bottom-bar__item--cart {
        color: var(--cdb-white);
        font-weight: 700;
    }

    body#my-account .cdb-bottom-bar__item:last-child {
        color: var(--cdb-white);
        font-weight: 700;
    }

}

/* ============================================================
   BACK TO TOP - ricalibrato sopra bottom bar
   ============================================================ */
@media (max-width: 767px) {

    .back-to-top,
    #back-to-top,
    .scrollup,
    [class*="back-to-top"],
    [id*="back-to-top"] {
        bottom: calc(var(--cdb-bar-h) + 16px) !important;
    }

}

/* ============================================================
   FORM RICERCA NELL HEADER MOBILE
   ============================================================ */
@media (max-width: 767px) {

    .cdb-header-mobile__search-form {
        flex: 1;
        min-width: 0;
        margin: 0;
    }

    .cdb-header-mobile__search-wrap {
        display: flex;
        align-items: center;
        background: var(--cdb-bg-light);
        border: 1px solid #ddd;
        border-radius: 20px;
        overflow: hidden;
        height: 36px;
    }

    .cdb-header-mobile__search-input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 0 10px;
        font-size: 13px;
        font-family: inherit;
        color: var(--cdb-text);
        outline: none;
        min-width: 0;
        height: 100%;
        -webkit-appearance: none;
    }

    .cdb-header-mobile__search-input::placeholder {
        color: var(--cdb-gray);
    }

    .cdb-header-mobile__search-input:focus {
        background: var(--cdb-white);
    }

    .cdb-header-mobile__search-submit {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        color: var(--cdb-gray);
        cursor: pointer;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .cdb-header-mobile__search-submit:active {
        color: var(--cdb-orange);
    }

    /* Quando il campo e attivo evidenzia il bordo */
    .cdb-header-mobile__search-input:focus ~ .cdb-header-mobile__search-submit,
    .cdb-header-mobile__search-wrap:focus-within {
        border-color: var(--cdb-orange);
    }

}

/* ============================================================
   NASCONDE ELEMENTI NATIVI DEL TEMA SU MOBILE
   ============================================================ */
@media (max-width: 767px) {

    /* Burger Mega Menu PRO - sostituito dalla bottom bar */
    .ybc-menu-toggle {
        display: none !important;
    }

    /* Menu mobile nativo Mega Menu PRO */
    .ets_mm_megamenu {
        display: none !important;
    }

}

/* ============================================================
   PAGINA MENU STILE AMAZON
   ============================================================ */
.cdb-menu-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 0 80px 0;
    background: #f5f5f5;
    min-height: 100vh;
}

/* Sezione generica */
.cdb-menu-section {
    background: #fff;
    margin-bottom: 8px;
    padding: 0;
}

.cdb-menu-section__title {
    font-size: 13px;
    font-weight: 700;
    color: #7A7A7A;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 16px 6px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Sezione account */
.cdb-menu-section--account {
    background: #fff;
    margin-bottom: 8px;
    padding: 16px;
}

.cdb-menu-account-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #232323;
}

.cdb-menu-account-name {
    font-size: 18px;
    font-weight: 700;
    color: #232323;
}

/* Guida gruppo in evidenza - arancione */
.cdb-menu-guide-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fde8e3;
    border: 1.5px solid #e6765f;
    border-radius: 8px;
    padding: 12px 14px;
    color: #e6765f;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 14px;
}

.cdb-menu-guide-highlight svg:first-child {
    flex-shrink: 0;
}

.cdb-menu-guide-highlight svg:last-child {
    margin-left: auto;
    flex-shrink: 0;
}

.cdb-menu-guide-highlight:hover {
    text-decoration: none;
    background: #fbd5cd;
    color: #e6765f;
}

/* Scelte rapide - pill orizzontali */
.cdb-menu-quick-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.cdb-menu-quick-link {
    display: inline-block;
    padding: 8px 14px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    color: #232323;
    text-decoration: none;
    white-space: nowrap;
}

.cdb-menu-quick-link:hover {
    background: #ebebeb;
    text-decoration: none;
    color: #232323;
}

/* Pulsanti login/registrazione */
.cdb-menu-auth-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.cdb-menu-btn {
    flex: 1;
    display: block;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.cdb-menu-btn--primary {
    background: #e6765f;
    color: #fff;
}

.cdb-menu-btn--primary:hover {
    background: #c85a44;
    color: #fff;
    text-decoration: none;
}

.cdb-menu-btn--secondary {
    background: #f5f5f5;
    border: 1.5px solid #ddd;
    color: #232323;
}

.cdb-menu-btn--secondary:hover {
    background: #ebebeb;
    color: #232323;
    text-decoration: none;
}

/* Guida generica */
.cdb-menu-guide-generic {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7A7A7A;
    font-size: 13px;
    text-decoration: none;
    padding: 8px 0 0;
}

.cdb-menu-guide-generic svg:last-child {
    margin-left: auto;
}

.cdb-menu-guide-generic:hover {
    color: #e6765f;
    text-decoration: none;
}

/* Categorie - stile Amazon con riquadri grandi */
.cdb-menu-categories {
    padding: 4px 0;
}

.cdb-menu-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #232323;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    -webkit-tap-highlight-color: transparent;
}

.cdb-menu-cat-item:last-child {
    border-bottom: none;
}

.cdb-menu-cat-item:hover,
.cdb-menu-cat-item:active {
    background: #f9f9f9;
    color: #232323;
    text-decoration: none;
}

.cdb-menu-cat-item__label {
    flex: 1;
}

/* Voci lista generica */
.cdb-menu-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #232323;
    font-size: 15px;
    text-decoration: none;
    background: #fff;
    -webkit-tap-highlight-color: transparent;
}

.cdb-menu-list-item:last-child {
    border-bottom: none;
}

.cdb-menu-list-item:hover,
.cdb-menu-list-item:active {
    background: #f9f9f9;
    color: #232323;
    text-decoration: none;
}

.cdb-menu-list-item span {
    flex: 1;
}

/* Voce Esci in rosso */
.cdb-menu-list-item--danger {
    color: #c0392b;
}

.cdb-menu-list-item--danger:hover {
    color: #c0392b;
}

/* Informazioni negozio */
.cdb-menu-section--store {
    background: #fff;
    margin-bottom: 8px;
}

.cdb-menu-store-info {
    padding: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #232323;
}

.cdb-menu-store-info a {
    color: #e6765f;
    text-decoration: none;
}

.cdb-menu-store-legal {
    color: #7A7A7A;
    font-size: 12px;
}

/* ============================================================
   ACCORDION SOTTOCATEGORIE PAGINA MENU
   ============================================================ */
.cdb-menu-cat-group {
    border-bottom: 1px solid #f0f0f0;
}

.cdb-menu-cat-group:last-child {
    border-bottom: none;
}

.cdb-menu-cat-item--has-sub {
    width: 100%;
    text-align: left;
    background: #fff;
    border: none;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.cdb-menu-cat-arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.cdb-menu-cat-item--has-sub[aria-expanded="true"] .cdb-menu-cat-arrow {
    transform: rotate(90deg);
}

/* Sottovoci nascoste di default */
.cdb-menu-sub {
    display: none;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
}

.cdb-menu-sub[aria-hidden="false"] {
    display: block;
}

.cdb-menu-sub-item {
    display: block;
    padding: 13px 16px 13px 28px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    -webkit-tap-highlight-color: transparent;
}

.cdb-menu-sub-item:last-child {
    border-bottom: none;
}

.cdb-menu-sub-item:hover,
.cdb-menu-sub-item:active {
    color: #e6765f;
    background: #f5f5f5;
    text-decoration: none;
}

/* ============================================================
   IMMAGINI CATEGORIE PAGINA MENU
   ============================================================ */
.cdb-menu-cat-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 16px;
}

/* ============================================================
   COMPATIBILITA POPUP KNOWBAND CARRELLO ABBANDONATO
   Corregge posizione popup e X chiusura su mobile
   ============================================================ */
@media (max-width: 767px) {

    /* Sposta il popup sotto l header fisso */
    .fancybox-wrap.fancybox-mobile {
        top: calc(var(--cdb-header-h) + 10px) !important;
        max-height: calc(100vh - var(--cdb-header-h) - var(--cdb-bar-h) - 20px) !important;
        overflow-y: auto !important;
    }

    /* X chiusura in basso a sinistra - sempre visibile */
    .fancybox-wrap.fancybox-mobile .fancybox-close,
    .fancybox-wrap.fancybox-mobile .fancybox-item.fancybox-close,
    .fancybox-mobile .fancybox-close,
    .fancybox-close {
        top: auto !important;
        bottom: -22px !important;
        right: auto !important;
        left: 10px !important;
        transform: none !important;
        margin: 0 !important;
        background: #e6765f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") center center no-repeat !important;
        border-radius: 50% !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 99999 !important;
    }

    /* Assicura che il contenuto interno sia scrollabile */
    .fancybox-wrap.fancybox-mobile .fancybox-inner {
        overflow-y: auto !important;
        max-height: calc(100vh - var(--cdb-header-h) - var(--cdb-bar-h) - 40px) !important;
    }

}

/* ============================================================
   COMPATIBILITA TAB BAR PDP (progetto CHECKOUT)
   Corregge offset sticky sotto header fisso cdbuxhelper
   ============================================================ */
@media (max-width: 767px) {

    #cdb-pdp-tabbar {
        top: var(--cdb-header-h) !important;
    }

}

/* ============================================================
   BLOCCO RASSICURAZIONI SOTTO ATC
   Hook: displayReassurance
   ============================================================ */
.cdb-reassurance {
    margin: 12px 0;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.cdb-reassurance__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cdb-reassurance__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    text-decoration: none;
    color: #232323;
    -webkit-tap-highlight-color: transparent;
}

.cdb-reassurance__item:hover {
    text-decoration: none;
    color: #232323;
}

.cdb-reassurance__item--nolink {
    cursor: default;
}

.cdb-reassurance__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cdb-reassurance__icon--green {
    background: #eaf3de;
    color: #3b6d11;
}

.cdb-reassurance__icon--blue {
    background: #e6edf7;
    color: #1d3461;
}

.cdb-reassurance__icon--orange {
    background: #fde8e3;
    color: #e6765f;
}

.cdb-reassurance__icon--purple {
    background: #eeedfe;
    color: #534ab7;
}

.cdb-reassurance__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cdb-reassurance__text strong {
    font-size: 12px;
    font-weight: 600;
    color: #232323;
    line-height: 1.3;
}

.cdb-reassurance__text span {
    font-size: 11px;
    color: #7A7A7A;
    line-height: 1.3;
}

/* ============================================================
   GRIGLIA SOTTOCATEGORIE STILE AMAZON
   Desktop: riga orizzontale scorrevole
   Mobile: griglia 2 colonne
   ============================================================ */
.cdb-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 24px;
    padding: 0;
}

.cdb-subcategories__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #232323;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease;
}

.cdb-subcategories__item:hover {
    text-decoration: none;
    color: #e6765f;
    transform: translateY(-2px);
}

.cdb-subcategories__img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #f5f5f5;
    display: block;
}

.cdb-subcategories__img--placeholder {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.cdb-subcategories__name {
    font-size: 13px;
    font-weight: 600;
    color: #232323;
    line-height: 1.3;
    max-width: 120px;
}

.cdb-subcategories__item:hover .cdb-subcategories__name {
    color: #e6765f;
}

/* Mobile: griglia 2 colonne */
@media (max-width: 767px) {
    .cdb-subcategories {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .cdb-subcategories__item {
        width: 100%;
    }

    .cdb-subcategories__img,
    .cdb-subcategories__img--placeholder {
        width: 100%;
        height: 120px;
    }

    .cdb-subcategories__name {
        max-width: 100%;
    }
}

/* Sottocategorie solo testo - stile pillole */
.cdb-subcategories__item--noimg {
    flex-direction: row;
    background: #fff;
    border: 1.5px solid #e6765f;
    border-radius: 20px;
    padding: 8px 16px;
    width: auto;
}

.cdb-subcategories__item--noimg .cdb-subcategories__name {
    font-size: 13px;
    font-weight: 600;
    color: #e6765f;
    max-width: none;
}

.cdb-subcategories__item--noimg:hover {
    background: #e6765f;
}

.cdb-subcategories__item--noimg:hover .cdb-subcategories__name {
    color: #fff;
}

