/* TRANSIZIONE BASE */
nav a, a {
    transition: color 0.25s ease, transform 0.25s ease;
}

/* HOVER TESTO */
nav a:hover, a:hover {
    color: #ff8c00; /* ARANCIONE */
    transform: translateY(-2px);
}

/* SOTTOLINEATURA ANIMATA */
nav a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #ff8c00;
    transition: width 0.3s ease;
    margin-top: 4px;
}

nav a:hover::after {
    width: 100%;
}

/* ==== CATALOGO IN EVIDENZA ==== */
nav a[href*="catalogo"],
nav a[href*="shop"],
nav a[href*="prodotti"] {
    font-weight: 700;
    color: #ff8c00 !important;
}

/* EFFETTO GLOW SU CATALOGO */
nav a[href*="catalogo"]:hover,
nav a[href*="shop"]:hover,
nav a[href*="prodotti"]:hover {
    text-shadow: 0 0 8px rgba(255,140,0,0.6);
    transform: scale(1.06);
}

/* LINEA SEMPRE VISIBILE SU CATALOGO */
nav a[href*="catalogo"]::after,
nav a[href*="shop"]::after,
nav a[href*="prodotti"]::after {
    width: 100%;
}

/* MOBILE: EFFETTI PIÙ LEGGERI */
@media (max-width: 768px) {
    nav a:hover {
        transform: none;
    }
}
/* ===============================
   1) CATALOGO COME PULSANTE
================================ */
nav a[href*="catalogo"],
nav a[href*="shop"],
nav a[href*="prodotti"] {
    background: #ff8c00;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    margin-left: 10px;
    transition: all 0.3s ease;
}

nav a[href*="catalogo"]:hover,
nav a[href*="shop"]:hover,
nav a[href*="prodotti"]:hover {
    background: #ffa733;
    box-shadow: 0 0 12px rgba(255,140,0,0.6);
    transform: scale(1.08);
}

/* ===============================
   2) MENU EFFETTO SLIDE E UNDERLINE
================================ */
nav a {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #ff8c00;
    transform: translateX(4px);
}

/* underline animata */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #ff8c00;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* ===============================
   3) CARD PRODOTTI ANIMATE
================================ */
.product,
.product-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover,
.product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* zoom immagine prodotto */
.product img,
.product-item img {
    transition: transform 0.3s ease;
}

.product:hover img,
.product-item:hover img {
    transform: scale(1.05);
}

/* prezzo evidenziato */
.price {
    transition: color 0.3s ease;
}

.product:hover .price,
.product-item:hover .price {
    color: #ff8c00;
}

/* ===============================
   MOBILE: EFFETTI PIÙ LEGGERI
================================ */
@media (max-width: 768px) {
    nav a:hover {
        transform: none;
    }

    .product:hover,
    .product-item:hover {
        transform: none;
        box-shadow: none;
    }
}