/* Topbar links */
.topbar-link {
    color: #fff;
    text-decoration: none;
}
.topbar-link:hover span {
    color: #FFD485;
}

/* Icon sizes */
.icon-xs { width: 1rem; height: 1rem; }
.icon-sm { width: 1.25rem; height: 1.25rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }
.icon-xl { width: 2rem; height: 2rem; }

/* Colori social */
.text-whatsapp { color: #25D366 !important; }
.text-instagram { color: #C13584 !important; }
.text-youtube { color: #FF0000 !important; }

/* Utilities */
.mt-n1 { margin-top: -0.25rem; }
.cursor-pointer { cursor: pointer; }
.text-poli-yellow { color: #FFD485 !important; }

/* ========================================
   Navbar principale
   ======================================== */

.menu-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}
@media (min-width: 992px) {
    .nav-main {
        position: relative;
    }
}

.nav-logo {
    height: 6rem;
    width: 9rem;
    background-position: center;
    background-size: cover;
}

.nav-title {
    font-size: 3rem;
    line-height: 1.2;
}

.nav-title-mobile {
    font-size: 1.875rem;
}

/* Search */
.search-box {
    width: 24rem;
}

.search-icon-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.5rem;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    pointer-events: none;
    z-index: 5;
}

.search-input {
    padding-left: 3rem !important;
}

.search-input-mobile {
    padding-left: 2.5rem !important;
}

/* Mobile header */
.nav-mobile-header {
    background-position: left bottom;
    background-repeat: no-repeat;
}

.navbar-toggler-custom {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: none;
}
.navbar-toggler-custom:hover,
.navbar-toggler-custom:focus {
    color: #FFD485;
}

/* ========================================
   Menu links
   ======================================== */
.menu-link {
    color: #fff;
    text-decoration: none;
}
.menu-link:hover {
    color: #FFD485;
}

.menu-category{
    font-size: 14px;
}

.menu-item {
    width: 100%;
}

/* Menu list - bordo top solo su desktop */
@media (min-width: 992px) {
    .nav-menu-list {
        border-top: 1px solid #577AB2;
        border-radius: 0 !important;
    }
    .menu-item-products {
        width: 60%;
    }
    .menu-item {
        width: 30%;
    }
}


/* Dropdown prodotti desktop - rimuove caret Bootstrap */
.btn-products::after {
    display: none;
}

/* ========================================
   Pannello prodotti mobile
   ======================================== */
.products-panel {
    z-index: 1040;
    margin-top: 5rem;
}

.products-grid-item {
    height: 5rem;
    background-color: #577AB2;
}

/* ========================================
   Sticky navbar
   ======================================== */
.nav-sticky {
    z-index: 1040;
    transition: transform 0.3s;
}

.sticky-logo-img {
    height: 3rem;
}

@media (min-width: 992px) {
    .sticky-item-logo {
        width: 60%;
    }
    .sticky-item {
        width: 20%;
    }
}

/* Compatibilità con JS in master.blade.php */
.hidden {
    display: none !important;
}
.-translate-y-full {
    transform: translateY(-100%);
}

.search-input{
    padding-top: 1rem;
    padding-bottom: 1rem;
}
