/* ===================================================================================

* Theme Name: Markite Child
* Theme URI: https://themeforest.net/user/basictheme/portfolio
* Author: BasicTheme
* Author URI: https://themepure.net/wp/markite/
* Description: Markite - Digital Marketplace WooCommerce Theme
* Version: 1.0.0
* Template: markite
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

====================================================================================== */
/* ===================================================================================
   Markite Child Theme – Clean CSS
====================================================================================== */

/* ===========================================================
   TOP BAR (email / telefono / menu / social)
=========================================================== */

.nc-topbar {
    background: #f7f7f7;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px solid #e2e2e2;
}

.nc-topbar-inner {
    display: flex;
    align-items: center;
}

/* Sinistra: email + telefono */
.nc-topbar__left {
    display: flex;
    align-items: center;
}

.nc-topbar__item {
    display: flex;
    align-items: center;
    color: #555;
    padding: 0 10px;
}

.nc-topbar__item:first-child {
    padding-left: 0;
}

.nc-topbar__item + .nc-topbar__item {
    border-left: 1px solid #dddddd;
}

.nc-topbar__item i {
    margin-right: 6px;
}

.nc-topbar__item a {
    color: inherit;
    text-decoration: none;
}

/* Destra: menu + social */
.nc-topbar__right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nc-topbar__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nc-topbar__menu li {
    padding: 0 10px;
    border-left: 1px solid #dddddd;
}

.nc-topbar__menu li:first-child {
    border-left: none;
}

.nc-topbar__menu a {
    text-decoration: none;
    color: #555;
    font-size: 13px;
}

.nc-topbar__social {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.nc-topbar__social a {
    padding: 0 8px;
    border-left: 1px solid #dddddd;
    color: #555;
    font-size: 13px;
}

.nc-topbar__social a:first-child {
    border-left: none;
}


/* ===========================================================
   HEADER ACTIONS (allineamento elementi a destra)
=========================================================== */

.header__action {
    display: flex;
    align-items: center;
    column-gap: 18px;
}


/* ===========================================================
   FIBOSEARCH: STYLE PULITO E COMPATTO NELL’HEADER
=========================================================== */

.header-search-fibo {
    max-width: 260px;
    margin-right: 14px; /* Spazio prima di My account */
}

.header-search-fibo .dgwt-wcas-search-wrapp {
    max-width: 50% !important;
}

/* Nascondo search su tablet/mobile (usa menu mobile) */
@media (max-width: 991px) {
    .header-search-fibo {
        display: none !important;
    }
}
/* ===================================================================
   RIPRISTINO SPAZI, ALLINEAMENTO E DIMENSIONI ACCOUNT + CARRELLO
=================================================================== */

/* container azioni header */
.header__action {
    display: flex;
    align-items: center;
    gap: 22px;                /* spazio uguale e arioso */
}

/* link My Account */
.header__action .account-btn,
.header__action .header__login {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;       /* spazio tra icona e testo */
    font-size: 14px;
    padding: 4px 0;            /* rialza visivamente */
    white-space: nowrap;
}

/* carrello */
.header__action .tp-header-cart {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* anche l’icona del carrello torna proporzionata */
.header__action .tp-header-cart i,
.header__action .tp-header-cart svg {
    width: 18px;
    height: 18px;
}

/* badge numero prodotti centrato */
.header__action .cartmini__item-count {
    font-size: 12px !important;
    width: 18px !important;
    height: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Centra verticalmente il carrello nell'header */
.header__cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
}

/* Il link interno (icona + badge) centrato */
.header__cart .cart-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* icona carrello */
.header__cart .cart-toggle-btn i {
    display: block;
}

/* badge numero prodotti centrato */
.header__cart .cart-toggle-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
}
