/* ===================================== */
/* CSS Specifico per Granoro             */
/* ===================================== */

/* Import font Libre Bodoni */
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Colori Brand Granoro */
:root {
    --granoro-gold: #AF8C56;
    --granoro-red: #dd3333;
    --granoro-dark: #424140;
    --granoro-white: #FFFFFF;
    --granoro-light-gold: rgba(175, 140, 86, 0.1);
}

/* Logo dimensione ridotta (era 200px) */
.granoro-template .granoro-logo {
    height: 220px !important;  /* Ridotto da 200px */
    width: auto;
    object-fit: contain;
}

/* Titolo principale più piccolo (era 3.8rem) */
.granoro-template .granoro-main-title {
    font-size: 3.2rem !important;  /* Ridotto da 3.8rem */
    font-family: 'Libre Bodoni', serif;
    font-weight: 400;
    color: var(--granoro-gold);
    font-style: italic;
    margin: 1rem 0;
}

/* Subtitle più piccolo */
.granoro-template .granoro-subtitle {
    font-size: 1.4rem !important;  /* Ridotto da 1.6rem */
    color: var(--granoro-dark);
    font-family: 'Libre Bodoni', serif;
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Immagini prodotto più piccole e centrate (era 400x400) */
.granoro-template .product-image-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.granoro-template .product-image {
    width: 350px !important;   /* Ridotto da 400px */
    height: 350px !important;  /* Ridotto da 400px */
    object-fit: contain;
    background: white;
    display: block !important;
    margin: 0 auto !important;  /* Centra l'immagine */
}

/* Titolo prodotto più piccolo (era 3.8rem) */
.granoro-template .product-title {
    font-size: 3rem !important;  /* Ridotto da 3.8rem */
    font-weight: 400;
    color: var(--granoro-dark);
    font-style: italic;
    font-family: 'Libre Bodoni', serif;
    text-align: center;
    margin: 1rem 0;
    line-height: 1.1;
}

/* Descrizione prodotto più piccola */
.granoro-template .product-description {
    font-size: 0.95rem !important;  /* Ridotto da 1.1rem */
    color: var(--granoro-dark);
    font-family: 'Libre Bodoni', serif;
    line-height: 1.5;
    text-align: center;
    padding: 0 1rem;
}

/* Card prodotto con padding ridotto e centrata */
.granoro-template .granoro-product-card {
    /* padding: 0 !important;  /* Ridotto da 2rem */
    margin: 0 0 0 0 !important;  /* Centrata */
    text-align: center !important;  /* Centra tutto il contenuto */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
	padding: 0 !important;
}

/* Info banner più compatto */
.granoro-template .granoro-info-banner {
    padding: 1rem 2rem !important;  /* Ridotto da 1.5rem 2rem */
}

.granoro-template .granoro-info-text {
    font-size: 1rem !important;  /* Ridotto da 1.1rem */
    margin: 0;
}

/* Pulsanti categoria più piccoli */
.granoro-template .granoro-category-btn {
    padding: 0.6rem 1.8rem !important;  /* Ridotto da 0.8rem 2rem */
    font-size: 1rem !important;  /* Ridotto da 1.1rem */
	min-width: fit-content !important;
}

/* Link "Scopri la filiera" più piccolo */
.granoro-template .discover-link {
    font-size: 13px !important;  /* Ridotto da 1.1rem */
}

.granoro-template .arrow-circle {
    width: 45px !important;   /* Ridotto da 50px */
    height: 45px !important;  /* Ridotto da 50px */
    font-size: 1.3rem !important;  /* Ridotto da 1.5rem */
}

/* Griglia prodotti centrata */
.granoro-template .products-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem !important;
    margin: 2rem 0 !important;
}

/* Searchbox più compatta */
.granoro-template .searchbox {
    max-width: 450px !important;  /* Ridotto da 500px */
    margin: 1.5rem auto !important;
}

.granoro-btn {
	font-size: 13px !important;
}

.granoro-template .searchbox input {
    height: 45px !important;  /* Ridotto da 50px */
    font-size: 1rem !important;
}

/* Logo Authentico light (bianco) per Granoro */
.granoro-template .authentico-logo {
    content: url('/img/Authentico_Blockchain_LOGO_light.png') !important;
}

/* Footer più compatto */
.granoro-template .granoro-footer {
    padding: 2rem 0 !important;  /* Ridotto da 3rem */
}

.granoro-template .granoro-footer h3 {
    font-size: 1.3rem !important;  /* Ridotto da 1.5rem */
}

.granoro-template .granoro-footer p {
    font-size: 0.95rem !important;  /* Ridotto da 1rem */
}

/* Media query per mobile - riduzione proporzionale */
@media (max-width: 768px) {
    .granoro-template .granoro-logo {
        height: 120px !important;  /* Ancora più piccolo su mobile */
    }
    
    .granoro-template .granoro-main-title {
        font-size: 2.5rem !important;
    }
    
    .granoro-template .product-image {
        width: 280px !important;
        height: 280px !important;
    }
    
    .granoro-template .product-title {
        font-size: 2.2rem !important;
    }
}

/* Media query per schermi molto piccoli */
@media (max-width: 480px) {
    .granoro-template .granoro-logo {
        height: 160px !important;
    }
    
    .granoro-template .granoro-main-title {
        font-size: 2rem !important;
    }
    
    .granoro-template .product-image {
        width: 220px !important;
        height: 220px !important;
    }
    
    .granoro-template .product-title {
        font-size: 1.8rem !important;
    }
}