﻿/*
Theme Name: Star Human Air Italia
*/

/* ================= BASE ================= */
body {
    font-family: Poppins, sans-serif;
    background: #f5f5f7;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.2px;
}

.container {
    max-width: 1280px;
}

/* ================= LOGO ================= */

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

    .navbar-brand img,
    .custom-logo {
        max-height: 90px;
        width: auto;
        object-fit: contain;
        transition: 0.3s ease;
    }
/* MOBILE */
@media (max-width: 768px) {
    .navbar-brand img,
    .custom-logo {
        max-height: 65px;
    }
}
/* ================= HEADER ================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: 0.3s;
}

/* HEADER PIÙ ALTO */
.navbar {
    min-height: 100px;
}

@media (max-width: 768px) {
    .navbar {
        min-height: 75px;
    }
}
/* ================= MENU ================= */
.navbar-nav {
    gap: 10px;
}

.nav-link {
    color: #1a1a1a !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: 0.25s;
}

    .nav-link:hover {
        background: rgba(212,175,55,0.15);
        color: #d4af37 !important;
        transform: translateY(-1px);
    }

.current-menu-item .nav-link {
    background: linear-gradient(45deg, #d4af37, gold);
    color: #000 !important;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    padding: 20px;
    min-width: 300px;
}

/* ================= ICONS ================= */
.icon,
.header-icons a {
    color: #1a1a1a;
    font-size: 18px;
}

/* ================= CART ================= */
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #d4af37;
    color: #000;
    border-radius: 50%;
    font-size: 12px;
    padding: 3px 6px;
}

/* ================= SEARCH ================= */
.search-box input {
    background: #fff;
    border: 1px solid #ddd;
    color: #1a1a1a;
    padding: 8px 12px;
}

/* ================= MINI CART ================= */
.mini-cart {
    position: relative;
}

/* ================= MINI CART POSITION FIX ================= */

.cart-dropdown {
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    margin-top: 0;
    width: 340px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.25s ease;
}

/* HOVER */
.mini-cart:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* INVISIBLE BRIDGE */
.cart-dropdown::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 25px;
}
.mini-cart:hover .cart-dropdown {
    display: block;
}

/* ================= CAROUSEL ================= */
#mainCarousel {
    margin: 0 0 40px 0;
}

    #mainCarousel .carousel-item {
        height: 500px;
        overflow: hidden;
    }

        #mainCarousel .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 6s ease;
        }

        #mainCarousel .carousel-item.active img {
            transform: scale(1.05);
        }

    #mainCarousel .carousel-caption {
        background: rgba(0,0,0,0.4);
        padding: 20px;
        border-radius: 10px;
    }

        #mainCarousel .carousel-caption h2 {
            font-size: 32px;
            font-weight: bold;
        }

@media (max-width: 768px) {
    #mainCarousel .carousel-item {
        height: 300px;
    }
}

/* ================= BUTTON ================= */
.btn-luxury {
    background: linear-gradient(45deg, #d4af37, gold);
    border: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    transition: 0.3s;
}

    .btn-luxury:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(212,175,55,0.3);
    }

/* ================= SECTIONS ================= */
section {
    margin-bottom: 60px;
}

h2 {
    font-weight: 600;
    margin-bottom: 25px;
}

/* ================= CATEGORY CARD ================= */
.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.4s;
}

    .category-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

.category-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

    .category-overlay h3 {
        color: #fff;
        font-size: 20px;
        margin: 0;
        transform: translateY(10px);
        transition: 0.3s;
    }

.category-card:hover h3 {
    transform: translateY(0);
    color: #d4af37;
}

/* ================= PRODUCTS ================= */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

.woocommerce ul.products li {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    transition: 0.3s;
}

    .woocommerce ul.products li:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

/* ================= BLOG ================= */
.blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

    .blog-card:hover {
        transform: translateY(-5px);
        border-color: #d4af37;
    }

    .blog-card a {
        color: #1a1a1a;
        text-decoration: none;
    }

        .blog-card a:hover {
            color: #d4af37;
        }

    .blog-card p {
        color: #555;
    }

/* ================= SIDEBAR ================= */
.sidebar {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
}
/* ===== UI POLISH ===== */
body {
    line-height: 1.5;
}

img {
    border-radius: 8px;
}

/* TITOLI */
h1, h2, h3 {
    letter-spacing: -0.3px;
}

/* LINK */
a {
    transition: all 0.2s ease;
}
/* HEADER SHADOW ON SCROLL */
.main-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* MENU PIÙ PULITO */
.nav-link {
    font-size: 14px;
    letter-spacing: 0.3px;
}

    /* HOVER PREMIUM */
    .nav-link:hover {
        background: rgba(212,175,55,0.12);
    }
.category-card {
    cursor: pointer;
}

    /* BADGE */
    .category-card::after {
        content: "Scopri";
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255,255,255,0.9);
        color: #000;
        font-size: 12px;
        padding: 5px 10px;
        border-radius: 20px;
        opacity: 0;
        transition: 0.3s;
    }

    .category-card:hover::after {
        opacity: 1;
    }
/* CARD PRODOTTO */
.woocommerce ul.products li {
    position: relative;
}

    /* HOVER ACTION */
/*    .woocommerce ul.products li::after {
        content: "Acquista";
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        background: #d4af37;
        color: #000;
        padding: 8px 14px;
        border-radius: 20px;
        font-size: 13px;
        opacity: 0;
        transition: 0.3s;
    }
*/
    .woocommerce ul.products li:hover::after {
        opacity: 1;
        bottom: 20px;
    }
/* FADE IN */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
section {
    padding: 40px 0;
}

.container {
    padding-left: 20px;
    padding-right: 20px;
}
/* SCROLLBAR (premium) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

/* SELEZIONE TESTO */
::selection {
    background: #d4af37;
    color: #000;
}

.woocommerce ul.products li:hover .product-actions {
    opacity: 1;
    bottom: 20px;
}
.wishlist.active {
    color: red;
}
.sticky-cart {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px;
    z-index: 999;
}
/* CLICK FEEDBACK */
button:active {
    transform: scale(0.97);
}

/* IMAGE HOVER */
.product img {
    transition: 0.4s;
}

.product:hover img {
    transform: scale(1.05);
}
/* FIX GRID PRODOTTI */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FIX CARD */
.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
}

    /* FIX IMMAGINI */
    .woocommerce ul.products li.product img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

/* FIX SOVRAPPOSIZIONI */
.woocommerce ul.products li.product {
    position: relative;
    overflow: hidden;
}
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    position: static; /* IMPORTANTISSIMO */
}
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.woocommerce ul.products li .button {
    width: 100%;
    text-align: center;
}
/* FIX TITOLO PRODOTTO */
.woocommerce ul.products li.product a {
    text-decoration: none !important;
    color: #1a1a1a !important;
}

/* TITOLO */
.woocommerce ul.products li.product h2 {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
}

/* HOVER */
.woocommerce ul.products li.product a:hover {
    color: #d4af37 !important;
}
/* NASCONDI DI DEFAULT */
.product-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

/* MOSTRA SOLO AL PASSAGGIO */
.woocommerce ul.products li.product:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}
/* NASCONDI AZIONI NELLA PAGINA SINGOLA */
.single-product .product-actions {
    display: none !important;
}  
/* NASCONDE QUICK VIEW NELLA PAGINA PRODOTTO */
.single-product .product-actions {
    display: none !important;
}
/* GRID PIÙ PULITA */
.category-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: 0.4s;
}

    .category-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

/* IMMAGINE */
.category-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.5s;
}

/* ZOOM */
.category-card:hover img {
    transform: scale(1.1);
}

/* OVERLAY */
.category-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

    /* TITOLO */
    .category-overlay h3 {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }

/* BADGE */
.category-card::after {
    content: "Scopri";
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
}

.category-card:hover::after {
    opacity: 1;
}
/* FIX DEFINITIVO ELEMENTI FANTASMA */
.woocommerce ul.products li::before,
.woocommerce ul.products li::after {
    content: none !important;
    display: none !important;
}
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
    content: none !important;
}
/* KILL DEFINITIVO PSEUDO ELEMENTI */
.woocommerce ul.products li::before,
.woocommerce ul.products li::after,
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
}
.product-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

    .product-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .product-card h3 {
        font-size: 16px;
        margin-top: 10px;
        color: #1a1a1a;
    }

    .product-card a {
        text-decoration: none;
    }

    .product-card p {
        font-weight: 600;
    }
/* FIX DEFINITIVO SHOP WOOCOMMERCE */

.woocommerce ul.products {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

    .woocommerce ul.products li.product {
        list-style: none !important;
    }

        /* RIMUOVE PSEUDO ELEMENTI */
        .woocommerce ul.products li.product::before,
        .woocommerce ul.products li.product::after,
        .woocommerce ul.products::before,
        .woocommerce ul.products::after {
            display: none !important;
            content: none !important;
        }

    /* RESET FLOAT WOOCOMMERCE */
    .woocommerce ul.products li.product {
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        width: 100% !important;
    }

/* GRID PULITA */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ================= BLOG HOME ================= */

.blog-home-wrapper {
    display: grid;
    grid-template-columns: 2fr 1.2fr 320px;
    gap: 30px;
}

@media (max-width: 992px) {
    .blog-home-wrapper {
        grid-template-columns: 1fr;
    }
}

/* HERO */
.hero-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

    .hero-card img {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

.hero-content {
    padding: 30px;
}

    .hero-content h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-content a {
        color: #1a1a1a;
        text-decoration: none;
    }

        .hero-content a:hover {
            color: #d4af37;
        }

.hero-meta {
    color: #999;
    margin-bottom: 15px;
}

/* GRID */
.blog-grid {
    display: grid;
    gap: 20px;
}

.blog-small-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

    .blog-small-card:hover {
        transform: translateY(-5px);
    }

    .blog-small-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.blog-small-content {
    padding: 20px;
}

    .blog-small-content h3 {
        font-size: 18px;
    }

    .blog-small-content a {
        color: #1a1a1a;
        text-decoration: none;
    }

        .blog-small-content a:hover {
            color: #d4af37;
        }

/* SIDEBAR */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

    .sidebar-box h3 {
        margin-bottom: 20px;
    }

    .sidebar-box ul {
        list-style: none;
        padding: 0;
    }

    .sidebar-box li {
        margin-bottom: 12px;
    }

    .sidebar-box a {
        color: #555;
        text-decoration: none;
    }

        .sidebar-box a:hover {
            color: #d4af37;
        }
/* ================= BLOG LINK FIX ================= */

/* RESET COMPLETO LINK BLOG */
.blog-home-wrapper a,
.hero-card a,
.blog-small-card a,
.blog-content a,
.blog-sidebar a {
    text-decoration: none !important;
    color: #1a1a1a !important;
    transition: 0.3s;
}

    /* HOVER PREMIUM */
    .blog-home-wrapper a:hover,
    .hero-card a:hover,
    .blog-small-card a:hover,
    .blog-content a:hover,
    .blog-sidebar a:hover {
        color: #d4af37 !important;
    }

/* TITOLI */
.hero-card h2 a,
.blog-small-content h3 a {
    text-decoration: none !important;
    color: #1a1a1a !important;
}

/* READ MORE */
.read-more {
    color: #d4af37 !important;
    font-weight: 600;
}

    .read-more:hover {
        opacity: 0.8;
    }

/* SIDEBAR */
.sidebar-box ul li a {
    text-decoration: none !important;
    color: #555 !important;
}

    .sidebar-box ul li a:hover {
        color: #d4af37 !important;
    }
/* ================= HERO BLOG ================= */

.hero-article {
    width: 100%;
}

/* CARD */
.hero-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    transition: 0.35s;
}

    .hero-card:hover {
        transform: translateY(-5px);
    }

    /* IMAGE */
    .hero-card img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        display: block;
    }

/* CONTENT */
.hero-content {
    padding: 35px;
}

/* DATA */
.hero-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

/* TITOLO */
.hero-content h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
}

    /* FIX LINK BLU */
    .hero-content h2 a,
    .hero-content a {
        color: #1a1a1a !important;
        text-decoration: none !important;
    }

        /* HOVER */
        .hero-content h2 a:hover,
        .hero-content a:hover {
            color: #d4af37 !important;
        }

/* TESTO */
.hero-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* READ MORE */
.read-more {
    display: inline-flex;
    align-items: center;
    color: #d4af37 !important;
    font-weight: 600;
    text-decoration: none !important;
}

    .read-more:hover {
        transform: translateX(5px);
    }
/* ================= BLOG GRID FIX ================= */

/* RESET TOTALE LINK */
.blog-grid a,
.blog-small-card a,
.blog-small-content a,
.blog-small-content h3 a {
    text-decoration: none !important;
    color: #1a1a1a !important;
}

    /* HOVER */
    .blog-grid a:hover,
    .blog-small-card a:hover,
    .blog-small-content a:hover,
    .blog-small-content h3 a:hover {
        color: #d4af37 !important;
    }

/* CARD */
.blog-small-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.35s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

    .blog-small-card:hover {
        transform: translateY(-5px);
    }

    /* IMAGE */
    .blog-small-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }

/* CONTENT */
.blog-small-content {
    padding: 22px;
}

    /* TITLE */
    .blog-small-content h3 {
        font-size: 20px;
        line-height: 1.3;
        margin: 0;
    }
/* ================= FEATURED SMALL FIX ================= */

.featured-small h4 a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: 0.3s;
}

    /* HOVER */
    .featured-small h4 a:hover {
        color: #d4af37 !important;
    }

/* CARD */
.featured-small {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

    .featured-small:hover {
        transform: translateY(-5px);
    }

    /* IMAGE */
    .featured-small img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }

    /* CONTENT */
    .featured-small .content,
    .featured-small .featured-content {
        padding: 20px;
    }

    /* TITLE */
    .featured-small h4 {
        margin: 0;
        line-height: 1.3;
        font-size: 20px;
    }
/* ================= SIDEBAR FIX ================= */

/* RESET LINK */
.sidebar a,
.sidebar-box a,
.sidebar ul li a,
.sidebar-box ul li a {
    color: #555 !important;
    text-decoration: none !important;
    transition: 0.3s;
}

    /* HOVER */
    .sidebar a:hover,
    .sidebar-box a:hover,
    .sidebar ul li a:hover,
    .sidebar-box ul li a:hover {
        color: #d4af37 !important;
    }

/* LISTA */
.sidebar ul,
.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ITEM */
.sidebar li,
.sidebar-box li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f1f1;
}

/* TITOLO */
.sidebar h3,
.sidebar-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* BOX */
.sidebar-box {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
/* FORCE SHOW CART */
.woocommerce-cart-form,
.cart-collaterals,
.shop_table,
.cart_totals {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
/* ================= CART LAYOUT FINAL ================= */

/* WRAPPER */
.woocommerce-cart .woocommerce {
    width: 100%;
}

/* NOTICES */
.woocommerce-notices-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

/* CONTENITORE REALE */
.woocommerce-cart-form,
.cart-collaterals {
    display: inline-block;
    vertical-align: top;
}

/* COLONNA PRODOTTI */
.woocommerce-cart-form {
    width: calc(100% - 430px);
    margin-right: 30px;
}

/* SIDEBAR TOTALI */
.cart-collaterals {
    width: 400px;
}

/* MOBILE */
@media (max-width: 992px) {

    .woocommerce-cart-form,
    .cart-collaterals {
        width: 100%;
        margin-right: 0;
    }

    .cart-collaterals {
        margin-top: 30px;
    }
}
/* ================= TABLE ================= */

.woocommerce table.shop_table {
    border: none;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.woocommerce table.shop_table th {
    background: #fafafa;
    font-weight: 600;
    padding: 22px;
    border-bottom: 1px solid #f1f1f1;
}

.woocommerce table.shop_table td {
    padding: 24px;
    vertical-align: middle;
    border-bottom: 1px solid #f5f5f5;
}

/* ================= PRODUCT ================= */

.woocommerce-cart table.cart img {
    width: 90px;
    border-radius: 14px;
}

.product-name a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: 0.3s;
}

.product-name a:hover {
    color: #d4af37 !important;
}

/* ================= REMOVE ================= */

.woocommerce a.remove {
    color: #999 !important;
    font-size: 22px;
    transition: 0.3s;
}

.woocommerce a.remove:hover {
    color: red !important;
    background: transparent !important;
}

/* ================= QUANTITY ================= */

.quantity input.qty {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    width: 70px;
    background: #fafafa;
}

/* ================= COUPON ================= */

.coupon input {
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 12px 14px;
    background: #fafafa;
}

/* ================= BUTTONS ================= */

.woocommerce button.button,
.woocommerce a.button,
.checkout-button {
    background: linear-gradient(45deg, #d4af37, gold) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 26px !important;
    font-weight: 600;
    transition: 0.3s;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}


/* ================= CART FINAL FIX ================= */

/* WRAPPER */
.woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* NOTICE FULL WIDTH */
.woocommerce-notices-wrapper {
    width: 100%;
}

/* LEFT COLUMN */
.woocommerce-cart-form {
    flex: 1 1 0;
    min-width: 0;
}

/* RIGHT COLUMN */
.cart-collaterals {
    width: 380px !important;
    flex-shrink: 0;
}

/* RESET FLOATS WOOCOMMERCE */
.cart-collaterals,
.woocommerce-cart-form {
    float: none !important;
}

    /* TOTAL BOX */
    .cart-collaterals .cart_totals {
        width: 100% !important;
        box-sizing: border-box;
    }

/* MOBILE */
@media (max-width: 992px) {

    .woocommerce-cart .woocommerce {
        flex-direction: column;
    }

    .cart-collaterals {
        width: 100% !important;
    }
}
/* ================= MINI CART PREMIUM ================= */

.cart-dropdown,
.widget_shopping_cart,
.woocommerce-mini-cart {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

    /* LINK */
    .woocommerce-mini-cart a,
    .widget_shopping_cart a,
    .woocommerce-mini-cart__total a {
        color: #1a1a1a !important;
        text-decoration: none !important;
        transition: 0.3s;
    }

        /* HOVER */
        .woocommerce-mini-cart a:hover,
        .widget_shopping_cart a:hover {
            color: #d4af37 !important;
        }

/* PRODUCT NAME */
.woocommerce-mini-cart-item a {
    font-weight: 600;
    line-height: 1.4;
}

/* IMAGE */
.woocommerce-mini-cart img {
    border-radius: 12px;
    width: 70px !important;
}

/* REMOVE */
.woocommerce-mini-cart a.remove {
    color: #999 !important;
    font-size: 18px;
}

    .woocommerce-mini-cart a.remove:hover {
        color: red !important;
        background: transparent !important;
    }

/* TOTAL */
.woocommerce-mini-cart__total {
    border-top: 1px solid #f1f1f1;
    padding-top: 15px;
    margin-top: 15px;
    color: #1a1a1a;
}

/* BUTTONS */
.woocommerce-mini-cart__buttons .button {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    border-radius: 30px !important;
    background: linear-gradient(45deg, #d4af37, gold) !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 18px !important;
    font-weight: 600;
}

    .woocommerce-mini-cart__buttons .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(212,175,55,0.25);
    }
/* ================= MINI CART UX FIX ================= */

/* WRAPPER */
.mini-cart {
    position: relative;
}

/* DROPDOWN */
/* ================= MINI CART POSITION FIX ================= */

.cart-dropdown {
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    margin-top: 0;
    width: 340px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.25s ease;
}

/* HOVER */
.mini-cart:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* INVISIBLE BRIDGE */
.cart-dropdown::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 25px;
}
/* HOVER */
.mini-cart:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* AREA INVISIBILE PER NON FAR CHIUDERE */
.cart-dropdown::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 20px;
}

/* ================= BUTTONS ================= */

.woocommerce-mini-cart__buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    /* BOTTONI */
    .woocommerce-mini-cart__buttons .button {
        flex: 1;
        white-space: nowrap;
        text-align: center;
        padding: 12px 10px !important;
        font-size: 14px;
        border-radius: 30px !important;
        background: linear-gradient(45deg, #d4af37, gold) !important;
        color: #000 !important;
        border: none !important;
        font-weight: 600;
    }

        /* HOVER */
        .woocommerce-mini-cart__buttons .button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(212,175,55,0.25);
        }

/* MOBILE */
@media (max-width: 768px) {

    .cart-dropdown {
        width: 300px;
        right: -20px;
    }

    .woocommerce-mini-cart__buttons {
        flex-direction: column;
    }
}
/* ================= CHECKOUT CUSTOM ================= */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: start;
}

/* CARD */
.checkout-card {
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

    /* TITLES */
    .checkout-card h3 {
        margin-bottom: 25px;
        font-size: 28px;
    }

/* INPUTS */
.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100%;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    background: #fafafa !important;
    box-sizing: border-box;
}

/* BUTTON */
#place_order {
    width: 100% !important;
    background: linear-gradient(45deg, #d4af37, gold) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 35px !important;
    padding: 18px !important;
    font-weight: 700 !important;
}

/* MOBILE */
@media (max-width: 992px) {

    .checkout-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= MINI CART FIX ================= */

/* ITEM */
.woocommerce-mini-cart-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    position: relative;
    padding: 12px 0 !important;
}

    /* IMAGE */
    .woocommerce-mini-cart-item img {
        width: 70px !important;
        height: 70px !important;
        object-fit: cover;
        border-radius: 12px;
        flex-shrink: 0;
        order: 0 !important;
    }

    /* CONTENT */
    .woocommerce-mini-cart-item a {
        display: flex;
        align-items: center;
        gap: 14px;
        color: #1a1a1a !important;
        text-decoration: none !important;
        font-weight: 600;
    }

        /* REMOVE BUTTON */
        .woocommerce-mini-cart-item a.remove {
            position: absolute;
            top: 10px;
            right: 0;
            color: #999 !important;
            font-size: 18px;
        }

    /* TEXT */
    .woocommerce-mini-cart-item .quantity {
        display: block;
        margin-top: 4px;
        color: #777;
        font-size: 14px;
    }

/* PREVENT OVERFLOW */
.cart-dropdown,
.widget_shopping_cart_content {
    overflow: hidden;
}
/* ================= NEWSLETTER CHECKBOX PERFECT FIX ================= */

.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-checkout label.checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px;
    width: 100%;
    line-height: 1.5;
    cursor: pointer;
}

    /* CHECKBOX */
    .woocommerce-checkout .woocommerce-form__label-for-checkbox input,
    .woocommerce-checkout label.checkbox input {
        margin: 0 !important;
        flex-shrink: 0;
        width: 18px;
        height: 18px;
    }

    /* TEXT */
    .woocommerce-checkout .woocommerce-form__label-for-checkbox span,
    .woocommerce-checkout label.checkbox span {
        display: inline-block;
        flex: 1;
        color: #555;
    }

.main-header.scrolled .custom-logo,
.main-header.scrolled .navbar-brand img {
    max-height: 70px;
}

@media (max-width:768px) {

    .main-header.scrolled .custom-logo,
    .main-header.scrolled .navbar-brand img {
        max-height: 55px;
    }
}