/* Ajustes visuales versionados para los iconos de cuenta y cesta. */
.plassimo-search-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Agrupación óptica móvil: conservar botones de 44 px y cesta inmóvil. */
@media (max-width: 767px) {
  #header .ps-searchbar--mobile .header-block__action-btn > .plassimo-search-icon {
    position: relative;
    left: 12px;
  }
  #header #_mobile_ps_customersignin .header-block__action-btn > .plassimo-header-icon--account {
    position: relative;
    left: 6px;
  }
}

#header .plassimo-menu-icon {
    display: block;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: color 0.2s ease, transform 0.2s ease;
}

#header .menu-toggle:hover .plassimo-menu-icon,
#header .menu-toggle:focus-visible .plassimo-menu-icon {
    color: #e5007d;
    transform: none;
}

#header .header-block__action-btn .plassimo-header-icon,
#header .menu-toggle .plassimo-menu-icon {
    transform: none !important;
}

#header .ps-searchbar__magnifier.plassimo-search-icon {
    width: 22px;
    height: 22px;
}

#header .plassimo-header-icon--basket {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    stroke-width: 2;
}

#header .plassimo-header-icon--account {
    stroke-width: 2;
}

#header .ps-customersignin .dropdown-toggle::after {
    display: none;
}

#header .header-block__action-btn:hover .plassimo-header-icon,
#header .header-block__action-btn:focus .plassimo-header-icon,
#header .header-block__action-btn:focus-visible .plassimo-header-icon,
#header .menu-toggle:hover .plassimo-menu-icon,
#header .menu-toggle:focus .plassimo-menu-icon,
#header .menu-toggle:focus-visible .plassimo-menu-icon {
    color: #212529 !important;
    transform: none;
}

#header .header-block--active .plassimo-header-icon--basket {
    color: #e5007d !important;
}

#header .ps-customersignin .dropdown-menu {
    width: 280px;
    min-width: 280px;
    padding: 6px;
    border-radius: 12px;
}

#header .ps-customersignin .dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #212529;
}

#header .ps-customersignin .plassimo-account-menu-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#header .ps-customersignin .dropdown-item:hover,
#header .ps-customersignin .dropdown-item:focus-visible,
#header .ps-customersignin .dropdown-item[aria-current="page"] {
    background: #fff3f8;
    color: #e5007d;
}

#header .ps-customersignin .dropdown-divider {
    margin: 6px;
}

#header .header-block--active .plassimo-header-icon--basket {
    color: #e5007d;
}

@media (hover: none), (pointer: coarse) {
    #header .header-block__action-btn:hover .plassimo-header-icon,
    #header .menu-toggle:hover .plassimo-menu-icon {
        color: inherit;
        transform: none;
    }

    #header .header-block--active .plassimo-header-icon--basket {
        color: #e5007d;
    }
}

#header #_desktop_ps_shoppingcart .header-block__action-btn,
#header #_mobile_ps_shoppingcart .header-block__action-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#header #_desktop_ps_shoppingcart .header-block__badge,
#header #_mobile_ps_shoppingcart .header-block__badge {
    position: absolute;
    top: 0;
    right: -2px;
    width: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e5007d;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

@media (max-width: 767px) {
    #header .ps-mainmenu__mobile-toggle {
        margin-left: -4px;
    }

    #header .ps-searchbar--mobile,
    #header #_mobile_ps_customersignin,
    #header #_mobile_ps_shoppingcart {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #header .menu-toggle,
    #header .ps-searchbar--mobile .header-block__action-btn,
    #header #_mobile_ps_customersignin .header-block__action-btn,
    #header #_mobile_ps_shoppingcart .header-block__action-btn {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    #header .ps-searchbar--mobile .plassimo-search-icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        stroke-width: 2;
    }

    #header .plassimo-header-icon--basket {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

}
