/* ====================== MONTSERRAT - CARICATO IN HEAD ====================== */
:root {
    --bs-body-font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    --bs-font-sans-serif: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    --bs-heading-font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
}

/* Titoli più eleganti */
h1, h2, h3, h4, h5, h6,
.vm-page-title,
.product-name,
.category-view .product-name {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* Testi normali più leggibili */
p, .product-short-description, .price, .btn, 
.vm-product-details-container, .vm-product, .category-view {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    font-weight: 400;
    line-height: 1.68;
}

/* ====================== CATEGORIA PRODOTTI - MINIMAL ELEGANT ====================== */
.category-view {
    background: #fff;
    padding: 40px 0;
}

.category-view .row {
    --bs-gutter-x: 2rem;
}

.vm-product {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: none;
    height: 100%;
}

.vm-product:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.vm-product-media-container img {
    transition: transform 0.6s ease;
    width: 100%;
    height: auto;
}

.vm-product:hover .vm-product-media-container img {
    transform: scale(1.08);
}

.vm-product-details-container {
    padding: 20px 24px 24px;
    text-align: center;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
    line-height: 1.4;
}

.prices {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ec430f;
    margin: 10px 0 18px;
}

.vm-addtocart-button .addtocart-button {
    background: #222;
    color: #fff;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.vm-addtocart-button .addtocart-button:hover {
    background: #ec430f;
    transform: scale(1.05);
}

.vm-stock-status {
    font-size: 0.9rem;
}

.category-view .product,
.category-view .vm-product-container {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .vm-product {
        margin-bottom: 30px;
    }
}

/* =============================================
   PULSANTI CONTATTO RAPIDI - VIRTUEMART
   ============================================= */

.custom-product-buttons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 1.75rem !important;
    margin-bottom: 1rem;
}

.custom-product-buttons .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    min-width: 170px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    transition: all 0.35s ease !important;
}

.custom-product-buttons .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18) !important;
}

.custom-product-buttons .btn i {
    font-size: 1.35rem;
}

/* WhatsApp Preventivo */
.custom-product-buttons .btn-success {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
}
.custom-product-buttons .btn-success:hover {
    background-color: #1ebe5a !important;
    border-color: #1ebe5a !important;
}

/* WhatsApp Informazioni */
.custom-product-buttons .btn-info {
    background-color: #00b0ff !important;
    border-color: #00b0ff !important;
    color: #fff !important;
}
.custom-product-buttons .btn-info:hover {
    background-color: #0099e6 !important;
    border-color: #0099e6 !important;
}

/* Condividi */
.custom-product-buttons .btn-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

/* Chiama Ora */
.custom-product-buttons .btn-warning {
    background-color: #ff9500 !important;
    border-color: #ff9500 !important;
    color: #fff !important;
}
.custom-product-buttons .btn-warning:hover {
    background-color: #e68600 !important;
    border-color: #e68600 !important;
}

@media (max-width: 767px) {
    .custom-product-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .custom-product-buttons .btn {
        min-width: 100% !important;
        padding: 16px 20px !important;
        justify-content: flex-start !important;
    }
}