/* Nuovo stile Oliveto Spiavento (palette scatola Bag in Box): oliva #9a994b, verde scuro #0a410e, oro #d8af00 */

/* Header verde scuro con logo giallo: quadrotti 2x2 agli angoli (desktop), due quadrotti ai lati del logo (mobile) */
@media (min-width: 981px) {
  #rec4802903603 .t-menu-base { position: relative; }
  #rec4802903603 .t-menu-base::before,
  #rec4802903603 .t-menu-base::after {
    content: ''; position: absolute; top: 0; width: 100px; height: 100px; pointer-events: none;
    background: url("https://static.tildacdn.com/tild6330-6666-4533-a637-373837313766/quadrotti_oliveto.png") no-repeat 0 0 / 100px 100px;
  }
  #rec4802903603 .t-menu-base::before { left: 0; }
  #rec4802903603 .t-menu-base::after { right: 0; transform: scaleX(-1); }
  #rec4802903603 .t-menu-base__rightwrapper { margin-right: 32px; }
}
@media (max-width: 980px) {
  #rec4802903603 .t-menu-base__mobile-menu { position: relative; }
  #rec4802903603 .t-menu-base__mobile-menu::before,
  #rec4802903603 .t-menu-base__mobile-menu::after {
    content: ''; position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -17px; pointer-events: none; z-index: 1;
    background: url("https://static.tildacdn.com/tild6330-6666-4533-a637-373837313766/quadrotti_oliveto.png") no-repeat 0 0 / 68px 68px;
  }
  #rec4802903603 .t-menu-base__mobile-menu::before { left: calc(50% - 62px - 12px - 34px); background-position: 0 0; }
  #rec4802903603 .t-menu-base__mobile-menu::after { left: calc(50% + 62px + 12px); background-position: -34px -34px; }
  #rec4802903603 .tmenu-mobile__container .t-menuwidgeticons__wrapper { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); margin: 0; }
  #rec4802903603 .tmenu-mobile__container .t-menu-burger { margin-left: auto; }
}

/* Footer: link leggibili su sfondo oliva */
#rec288649445 .t977__text a { color: #0a410e !important; text-decoration: underline; }

/* Fascia olive e foglie sopra footer e recensioni */
#rec288649445,
.t-rec[data-record-type="528"] {
  border-top: 48px solid transparent;
  background-image: url("https://static.tildacdn.com/tild3632-3866-4464-b966-613363663065/fascia_olive_foglie.png");
  background-repeat: repeat-x;
  background-size: auto 48px;
  background-position: left top;
  background-origin: border-box;
}
.t-rec[data-record-type="528"] { padding-top: 45px !important; }
.t-rec[data-record-type="528"] .t-section__title { color: #0a410e !important; }

/* Pulsanti principali (negozio, carrello, moduli, ricette): verde scuro */
.t778 .t-btnflex_type_button,
.t706 .t-btnflex_type_button,
.t-popup .t-btnflex_type_button,
.t774 .t-btnflex_type_button,
.t-form .t-submit {
  background-color: #0a410e !important;
  color: #ffffff !important;
  border-color: #0a410e !important;
}
.t778 .t-btnflex_type_button:hover,
.t706 .t-btnflex_type_button:hover,
.t-popup .t-btnflex_type_button:hover,
.t774 .t-btnflex_type_button:hover,
.t-form .t-submit:hover {
  background-color: #d8af00 !important;
  color: #0a410e !important;
  border-color: #d8af00 !important;
}

/* Pulsante secondario "Info" */
.t778 .t-btnflex_type_button2 { color: #0a410e !important; border-color: #0a410e !important; }

/* Inviti all'azione (ricettario): oro */
.t580 .t-btnflex_type_button { background-color: #d8af00 !important; color: #0a410e !important; }

/* Bollini sulle schede prodotto */
.t778__mark { background-color: #d8af00 !important; color: #0a410e !important; }

/* Icona del carrello */
.t706__carticon-imgwrap { background-color: #0a410e !important; }

/* Vecchio verde e vecchio oro nei testi: nuova palette */
#allrecords [style*="color:#688f3f"],
#allrecords [style*="color: #688f3f"],
#allrecords [style*="color: rgb(104, 143, 63)"],
#allrecords [style*="color:rgb(104,143,63)"] { color: #0a410e !important; }
#allrecords [style*="color: rgb(220, 188, 52)"],
#allrecords [style*="color: rgb(218, 185, 48)"],
#allrecords [style*="color:#dcbc34"] { color: #d8af00 !important; }

/* Link nei testi su sfondo chiaro */
#rec304823319 a, #rec313205967 a,
.t1119 .t-descr a, .t1053__descr a, .t1053__title a { color: #0a410e !important; text-decoration: underline; }
.t1053__title a { text-decoration: none; }
#rec4802925103 .t1053__title a[href^="mailto"] { font-size: 0.68em; overflow-wrap: anywhere; }

/* Schede prodotto: nome in minuscolo leggibile, prezzo in evidenza, descrizione breve */
.t778__title { text-transform: lowercase !important; }
.t778__title::first-letter { text-transform: uppercase; }
.t778 .t-store__card__price, .t778 .t-store__card__price-currency, .t778__price-value, .t778__price-currency { color: #0a410e !important; font-weight: 700 !important; }
.t778__descr { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
  .t778 .t-btnflex_type_button, .t778 .t-btnflex_type_button2 { font-size: 12px !important; }
  .t778__title { font-size: 14px !important; }
}

/* Prodotti in homepage su cellulare: foto a sinistra e testo a destra, come una lista negozio */
@media (max-width: 640px) {
  .t1073__col { display: flex !important; align-items: flex-start; gap: 14px; margin-bottom: 28px !important; }
  .t1073__bgimg { width: 120px !important; min-width: 120px; height: 160px !important; padding-bottom: 0 !important; margin: 0 !important; border-radius: 8px; background-size: cover; background-position: center; }
  .t1073__textwrapper { flex: 1; padding-top: 0 !important; margin-top: 0 !important; }
  .t1073 .t-card__descr { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px !important; }
  .t1073 .t-card__btn { margin-top: 10px !important; }
}

/* Elenchi puntati nei testi centrati */
.t795 ul { display: inline-block; text-align: left; margin: 8px auto 0; padding-left: 20px; }

/* Premi in homepage: riquadri bianchi della stessa altezza */
#rec4802906203 .t853__imgwrapper { height: 240px; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 10px; padding: 16px !important; box-sizing: border-box; box-shadow: 0 6px 20px -10px rgba(10,65,14,0.25); }
#rec4802906203 .t853__img { max-height: 100%; max-width: 100%; width: auto !important; height: auto !important; object-fit: contain; border-radius: 4px; }

/* Recensioni: schede con virgolette, nomi in verde scuro */
.t528__col { background: #ffffff; border-radius: 10px; padding: 22px 20px; box-sizing: border-box; box-shadow: 0 6px 20px -12px rgba(10,65,14,0.3); margin-bottom: 24px; }
.t528__title { color: #0a410e !important; font-weight: 700 !important; }
.t528__title::before { content: '\201C'; display: block; color: #d8af00; font-size: 44px; line-height: 0.8; font-family: Georgia, serif; margin-bottom: 4px; }
.t528__text { font-style: italic; }

/* ===== Stile compatto e-commerce: tipografia e spaziature ridotte ===== */
.t-rec[style*="padding-top:75px"], .t-rec[style*="padding-top:90px"], .t-rec[style*="padding-top:105px"], .t-rec[style*="padding-top:120px"], .t-rec[style*="padding-top:135px"], .t-rec[style*="padding-top:150px"], .t-rec[style*="padding-top:165px"], .t-rec[style*="padding-top:180px"], .t-rec[style*="padding-top:195px"], .t-rec[style*="padding-top:210px"] { padding-top: 56px !important; }
.t-rec[style*="padding-bottom:75px"], .t-rec[style*="padding-bottom:90px"], .t-rec[style*="padding-bottom:105px"], .t-rec[style*="padding-bottom:120px"], .t-rec[style*="padding-bottom:135px"], .t-rec[style*="padding-bottom:150px"], .t-rec[style*="padding-bottom:165px"], .t-rec[style*="padding-bottom:180px"], .t-rec[style*="padding-bottom:195px"], .t-rec[style*="padding-bottom:210px"] { padding-bottom: 56px !important; }
.t-rec[style*="padding-top:60px"] { padding-top: 48px !important; }
.t-rec[style*="padding-bottom:60px"] { padding-bottom: 48px !important; }
.t-section__topwrapper { margin-bottom: 36px !important; }
.t-section__title { margin-bottom: 14px !important; }
.t-section__descr { max-width: 640px; margin-bottom: 36px !important; }
.t-section__container:not(:has(.t-section__descr)) .t-section__title { margin-bottom: 36px !important; }
.t-section__title, .t-title_xxs, .t-title_xs, .t-title_sm, .t-title_md, .t-title_lg, .t-title_xl, .t-title_xxl { font-size: 32px !important; line-height: 1.2 !important; }
.t-descr_xxl, .t-descr_xl, .t-descr_lg { font-size: 18px !important; line-height: 1.55 !important; }
.t-descr_md { font-size: 17px !important; line-height: 1.55 !important; }
.t-name_xl, .t-name_lg, .t-heading_lg, .t-heading_md, .t-heading_sm, .t-heading_xs { font-size: 19px !important; line-height: 1.3 !important; }
.t-text_md, .t-text_sm { font-size: 16px !important; line-height: 1.6 !important; }
.t528 .t-text_xs { font-size: 16px !important; line-height: 1.55 !important; }
.t528 .t-name_xs { font-size: 17px !important; }
/* Copertine e slider: titolo piu' grande delle sezioni ma senza esagerare */
.t-rec[data-record-type="734"] .t-title, .t-rec[data-record-type="18"] .t-title, .t-rec[data-record-type="60"] .t-title { font-size: 40px !important; }
.t-rec[data-record-type="734"] .t-descr, .t-rec[data-record-type="18"] .t-descr { font-size: 18px !important; }

@media (max-width: 640px) {
  .t-rec[style*="padding-top:45px"], .t-rec[style*="padding-top:60px"], .t-rec[style*="padding-top:75px"], .t-rec[style*="padding-top:90px"], .t-rec[style*="padding-top:105px"], .t-rec[style*="padding-top:120px"], .t-rec[style*="padding-top:135px"], .t-rec[style*="padding-top:150px"], .t-rec[style*="padding-top:165px"], .t-rec[style*="padding-top:180px"] { padding-top: 32px !important; }
  .t-rec[style*="padding-bottom:45px"], .t-rec[style*="padding-bottom:60px"], .t-rec[style*="padding-bottom:75px"], .t-rec[style*="padding-bottom:90px"], .t-rec[style*="padding-bottom:105px"], .t-rec[style*="padding-bottom:120px"], .t-rec[style*="padding-bottom:135px"], .t-rec[style*="padding-bottom:150px"], .t-rec[style*="padding-bottom:165px"], .t-rec[style*="padding-bottom:180px"] { padding-bottom: 32px !important; }
  .t-section__topwrapper { margin-bottom: 24px !important; }
  .t-section__title { margin-bottom: 10px !important; }
  .t-section__descr { margin-bottom: 24px !important; }
  .t-section__container:not(:has(.t-section__descr)) .t-section__title { margin-bottom: 24px !important; }
  .t-section__title, .t-title_xxs, .t-title_xs, .t-title_sm, .t-title_md, .t-title_lg, .t-title_xl, .t-title_xxl { font-size: 24px !important; }
  .t-rec[data-record-type="734"] .t-title, .t-rec[data-record-type="18"] .t-title, .t-rec[data-record-type="60"] .t-title { font-size: 28px !important; }
  .t-descr_xxl, .t-descr_xl, .t-descr_lg, .t-descr_md { font-size: 16px !important; }
  .t-rec[data-record-type="734"] .t-descr, .t-rec[data-record-type="18"] .t-descr { font-size: 16px !important; }
  .t-name_xl, .t-name_lg, .t-heading_lg, .t-heading_md, .t-heading_sm, .t-heading_xs { font-size: 17px !important; }
}
