@charset "UTF-8";
/* CSS Document */

/* Override colore primario tema */
.text-primary {
  color: #d3a183 !important;
}
.product-price {
  color: #d3a183 !important;
}
a {
  color: #d3a183;
}
a:hover {
  color: #c08a6a;
}
body#checkout section.checkout-step .address-item.selected {
  border-color: #d3a183 !important;
}
.custom-radio input[type=radio]:checked+span {
  background-color: #d3a183 !important;
}

/* Import font Lora e Lato da Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Lato:wght@400;600;700&display=swap');

/* ========================================
   BARRA PROMO SPEDIZIONE GRATUITA
   ======================================== */
.promo-bar {
  background-color: #4C262D;
  padding: 10px 0;
  text-align: center;
  width: 100%;
}

.promo-bar-text {
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Responsive promo bar */
@media (max-width: 767px) {
  .promo-bar {
    padding: 8px 0;
  }
  
  .promo-bar-text {
    font-size: 12px;
  }
}

.cms-id-7 .page-header h1,.cms-id-8 .page-header h1, .cms-id-4 .page-header h1 {
    display: none;
}

/* Menu header - font Lato SemiBold */
#header .top-menu a,
#header #top-menu a,
.top-menu > li > a,
#top-menu > li > a {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  font-style: normal;
  text-transform: none;
}

.page-header h1 {
    margin-left: 80px !important;
    padding-left: 0 !important;
}

#category .page-header h1,
body#category .page-header h1,
.page-category .page-header h1 {
    margin-left: 80px !important;
    padding-left: 0 !important;
}


.container {
	width: 100%;

}
.product-actions .control-label {
    display: none;
}

section.product-features {
    display: none;
}
.product-additional-info.js-product-additional-info {
    display: none;
}

section#main {
  padding-top: 80px;
}
.container.em-cs__inner {
	max-width: 1200px;
}

div#left-column {
    margin-top: 100px;
}
.carousel .carousel-inner {
    /*height: 680px;*/
	height: auto;
	margin: 0px;
}
.img-fluid {
    max-width: 100%;
    height: auto;
    width: 100%;
}


.header-modern .header-bar { padding:16px 0; }
.header-icons { gap: 12px; }
.icon-btn { background: none; border: 0; padding: 0; cursor: pointer; line-height: 1; }
.icon-btn .icon-svg { width: 20px; height: 20px; vertical-align: middle; color: #000; transition: color 0.2s ease; }
.icon-cart .icon-svg { width: 20px; height: 20px; color: #000; transition: color 0.2s ease; }
.icon-btn:hover .icon-svg,
.icon-cart a:hover .icon-svg { color: #D4A574; }

/* Label sotto le icone header */
.icon-btn,
.icon-cart a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 3px;
}
.icon-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #333;
  line-height: 1;
  white-space: nowrap;
}

/* Nascondi etichette icone tranne Account */
.js-open-search .icon-label,
.icon-cart .icon-label,
.header-icons a.icon-btn:last-child .icon-label {
  display: none;
}

.icon-btn:hover .icon-label,
.icon-cart a:hover .icon-label {
  color: #D4A574;
}
.header-search { padding: 12px 0; }
.header-search.is-open { display: block !important; }

/* container delle icone */
.header-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px; /* spazio tra icone */
  position: relative;
    right: 10px;
    top: 5px;
}

/* Assicura icona carrello sempre visibile */
.icon-cart,
.icon-cart .blockcart,
.icon-cart #_desktop_cart {
  display: block !important;
}

/* dimensione uniforme delle icone SVG */
.header-icons .icon-svg {
  width: 20px;
  height: 20px;
  color: #000;
}

#header {
	
	box-shadow: 0 3px 6px rgba(0, 0, 0, .1607843137);
	-webkit-box-shadow:  0 3px 6px rgba(0, 0, 0, .1607843137);
}

#_desktop_logo {
	width: 150px;
  margin-left: 20px;
}
#top-menu {
	text-transform: uppercase;
}
.dropdown-item {
	color: #43242a !important;
}


#_desktop_language_selector {
	width: 100px;
	float: left;
	margin-top: 8px;
}

.carousel .carousel-control .icon-next:hover i, .carousel .carousel-control .icon-prev:hover i, .dropdown:hover .expand-more, .page-my-account #content .links a:hover i, .search-widget form button[type="submit"] .search:hover, .top-menu .sub-menu a:hover {
	color: #d3a183;
}


#main .page-footer {
    margin-bottom: 0 !important;
}
.footer-container {
    background: #432228;
}
.block-contact, .footer-container li a {
    color: #fff !important;
}
.block-contact, .footer-container p,.block-contact, .footer-container a {
    color: #fff !important;
	margin-bottom: 20px !important;
}
.footer-container .container {
    width: 90%;
}

/* === Override colori base Agrimontana === */
.btn-primary, .btn-primary:hover {

	background-color: #43242a !important;
	
}

.btn-primary:hover {
  background-color: #d3a183;
}


.btn-outline-primary {
  color: #43242a;

  border-color: #43242a;
  }

  .alert-info {
	background-color: #d3a183;
	border-color: #43242a;
	color: #43242a;
}

.btn-outline-primary:hover {
	
	background-color: #43242a;
	border-color: #43242a;
}

.tabs .nav-tabs .nav-link.active {
	color: #43242a;
}

.product-flags li.product-flag {
	
	background: #d3a183;
;
}

.product-images > li.thumb-container .thumb.selected, .product-images > li.thumb-container .thumb:hover {
	border: #d3a183 3px solid;
}

.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover {

	border-bottom: #43242a 3px solid;
}

#header a:hover {
	color: #d3a183;
	
}


/* ====== Sezione Heritage Agrimontana ====== */
.heritage-section {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #0a0a0a;
  line-height: 1.65;
  padding: 60px 0;
}

.heritage-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
header#header {
    position: fixed;
    width: 100%;
}
.header-icons {
        right: 120px;
        position: fixed;
        top: 25px;
    }
	.carousel {
        padding-bottom: 0px;
margin-bottom: 0px;
    }

.header-icons {
    right: 110px;
    position: fixed;
    top: 65px;
}


/* --- Colonna sinistra --- */
.heritage-left {
  text-align: left;
}

.heritage-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  letter-spacing: 0.18em;
}

.heritage-rule {
  display: inline-block;
  width: 64px;
  height: 1px;
  background: #2a2a2a;
  opacity: 0.7;
}

.heritage-name {
  font-size: 14px;
  text-transform: uppercase;
}

.heritage-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  line-height: 1.2;
  font-size: 44px;
  margin: 0;
  color: #111;
  text-transform: none;
  letter-spacing: 0;
}

/* --- Colonna destra --- */
.heritage-right {
  max-width: 640px;
  text-align: justify;
}

.heritage-right p {
  margin: 0 0 12px 0;
  font-size: 16px;
}

.heritage-right p:first-of-type {
  font-size: 18px;
}

.heritage-btn {
  display: inline-block;
  background: #fff;
  color: #0a0a0a;
  border: 1px solid #cfcfcf;
  padding: 12px 22px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  margin-top: 24px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.heritage-btn:hover {
  border-color: #999;
  color: #000;
}


.em-cs.em-cs--dark .container.em-cs__inner.em-cs--image_left {
	max-width: 800px;
}

#wrapper .banner {
	
	margin-bottom: 0px !important;
}

.simplebanner-title {
	text-align: center;
	padding: 20px;
}

.container, .container-fluid {

	padding-left: 0px !important;
	padding-right: 0px !important;
}

.emhc-grid {
	margin-right: 30px;
	margin-left: 30px;
}

#wrapper {
	padding-top: 0px !important;

}
.language-selector-wrapper {
    position: fixed;
    right: 20px;
    top: 65px;
}

@media (max-width: 992px) {
  .heritage-container {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
@media (max-width: 1024px) {

/* ===== Forza layout mobile fino a 1024px (copre telefoni in landscape) ===== */

/* Mostra la barra hamburger (Bootstrap la nasconde a 768px+) */
.header-nav .hidden-md-up {
  display: block !important;
}

/* Nascondi il menu desktop orizzontale */
nav.d-none.d-md-block,
nav[role="navigation"].d-md-block {
  display: none !important;
}

/* Nascondi solo il logo desktop (le icone restano visibili con position:fixed) */
#_desktop_logo {
  display: none !important;
}

/* Logo mobile: limita dimensioni */
#_mobile_logo,
#_mobile_logo img,
.top-logo,
.top-logo img {
  max-width: 120px;
  max-height: 50px;
  width: auto;
  height: auto;
}
.top-logo {
  display: inline-block;
}

.language-selector-wrapper {
    position: relative;
    right: 10px;
	top: 0px;
}
.header-modern .header-bar {
    padding: 0px 0;
}
.carousel {
        padding-bottom: 0px;
margin-bottom: 0px;
    }

/* ===== Mobile: nascondi label e distribuisci icone ===== */

/* Nascondi tutte le label testuali su mobile */
.icon-label,
.cart-products-count {
  display: none !important;
}

/* Su mobile: PS JS sposta contenuto da _desktop_cart a _mobile_cart */
/* Nascondi _desktop_cart (svuotato dal JS) e mostra _mobile_cart (riempito dal JS) */
.header-icons .icon-cart {
  display: none !important;
}
.header-icons #_mobile_cart {
  display: block !important;
}
.header-icons .icon-cart-mobile .blockcart {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.header-icons .icon-cart-mobile .blockcart a {
  display: flex !important;
  align-items: center;
  text-decoration: none;
  color: #000 !important;
  background: none !important;
  padding: 0 !important;
}
.header-icons .icon-cart-mobile .blockcart .hidden-sm-down {
  display: none !important;
}
.header-icons .icon-cart-mobile .icon-svg,
.header-icons .icon-cart-mobile .material-icons,
.header-icons .icon-cart-mobile .shopping-cart {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
  color: #000 !important;
}

/* Header-icons su mobile: tutte le icone in riga con spaziatura uniforme */
.header-icons {
  display: flex !important;
  position: fixed;
  right: 10px;
  top: 50px;
  z-index: 9999;
  gap: 12px;
  align-items: center;
}

/* Reset posizioni fisse individuali su mobile */
.header-icons .js-open-search {
  position: static !important;
}
.header-icons .icon-btn[href] {
  position: static !important;
}

}


/* 
  CSS per Pagina "L'Azienda Agrimontana" - PrestaShop
  Inserire questo CSS nel tema o in un blocco CSS personalizzato
*/

/* Variabili colori */
:root {
  --agri-bordeaux: #4C262D;
  --agri-bordeaux-hover: #2A0C12;
  --agri-gold: #D4A574;
  --agri-gray-light: #F5F5F5;
  --agri-text: #333333;
  --agri-text-light: #555555;
}

/* Reset base per la pagina */
.agri-page * {
  box-sizing: border-box;
}

.agri-page {
  font-family: "Lato", sans-serif;
  color: var(--agri-text);
  line-height: 1.6;
}

/* SEZIONE HERO */
.agri-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: #ffffff;
}

.agri-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
}

.agri-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.agri-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.agri-hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
}

.agri-breadcrumb {
  margin-top: 30px;
  color: #fff;
  font-size: 14px;
}

.agri-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.agri-breadcrumb a:hover {
  text-decoration: underline;
}

.agri-breadcrumb-sep {
  margin: 0 10px;
}

/* SEZIONI GENERALI */
.agri-section {
  padding: 80px 20px;
}

.agri-section-white {
  background-color: #ffffff;
}

.agri-section-gray {
  background-color: var(--agri-gray-light);
}

.agri-section-dark {
  background-color: var(--agri-bordeaux);
  color: #ffffff;
}

.agri-container {
  max-width: 1200px;
  margin: 0 auto;
}

.agri-container-narrow {
  max-width: 1000px;
  margin: 0 auto;
}

/* TITOLI */
.agri-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--agri-bordeaux);
  margin-bottom: 30px;
}

.agri-title-center {
  text-align: center;
  margin-bottom: 50px;
}

.agri-title-white {
  color: #ffffff;
}

.agri-subtitle {
  font-size: 32px;
  font-weight: 600;
  color: var(--agri-bordeaux);
  margin-bottom: 25px;
}

/* SFONDO BEIGE */
.agri-section-beige {
  background-color: #E8E0D8;
}

/* LABEL E QUOTE */
.agri-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--agri-gold);
  margin-bottom: 15px;
}

.agri-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.agri-label-badge svg {
  color: var(--agri-bordeaux);
}

.agri-quote {
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  color: var(--agri-bordeaux);
  line-height: 1.5;
  margin-bottom: 25px;
}

.agri-quote-large {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 400;
  font-style: normal;
  color: var(--agri-bordeaux);
  line-height: 1.4;
  margin-bottom: 30px;
}

.agri-quote-large em {
  font-style: italic;
}

/* TESTO */
.agri-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--agri-text);
}

.agri-text-left {
  text-align: left;
}

.agri-text-center {
  text-align: center;
}

.agri-text + .agri-text {
  margin-top: 20px;
}

/* LAYOUT DUE COLONNE */
.agri-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.agri-col {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

/* IMMAGINI */
.agri-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* GRIGLIA VALORI */
.agri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* TAB SYSTEM */
.agri-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  gap: 10px;
}

.agri-tab-item {
  margin: 0;
}
li.agri-tab-item {
    list-style: none;
}
.agri-tab-link {
  display: block;
  padding: 15px 25px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--agri-bordeaux);
  text-decoration: none;
  background-color: #ffffff;
  border: 2px solid var(--agri-bordeaux);
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.agri-tab-link:hover {
  background-color: var(--agri-bordeaux);
  color: #ffffff;
}

.agri-tab-link.active {
  background-color: var(--agri-bordeaux);
  color: #ffffff;
}

.agri-tabs-content {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.agri-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.agri-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CARD VALORI */
.agri-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.agri-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.agri-card-content {
  padding: 25px;
}

.agri-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--agri-bordeaux);
  margin-bottom: 15px;
}

.agri-card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--agri-text-light);
}

/* TIMELINE STORIA */
.agri-storia-timeline {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  position: relative !important;
}

/* Linea orizzontale */
.agri-storia-timeline::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 12px !important;
  height: 3px !important;
  background: #D4A574 !important;
}

.agri-storia-item {
  flex: 1 !important;
  min-width: 200px !important;
  padding: 55px 15px 20px 15px !important;
  text-align: center !important;
  position: relative !important;
}

/* Pallino sulla timeline */
.agri-storia-item::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  transform: translateX(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  background: #4C262D !important;
  border: 4px solid #D4A574 !important;
  border-radius: 50% !important;
}

.agri-storia-anno {
  display: block !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  color: #D4A574 !important;
  margin-bottom: 10px !important;
  line-height: 1 !important;
}

.agri-storia-titolo {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  color: #ffffff !important;
}

.agri-storia-testo {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.85) !important;
  margin: 0 !important;
}

/* Mobile: timeline verticale */
@media (max-width: 767px) {
  .agri-storia-timeline {
    flex-direction: column !important;
    padding-left: 40px !important;
  }
  
  .agri-storia-timeline::before {
    left: 10px !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 3px !important;
    height: auto !important;
  }
  
  .agri-storia-item {
    padding: 0 0 30px 20px !important;
    text-align: left !important;
  }
  
  .agri-storia-item::before {
    left: -30px !important;
    top: 5px !important;
    transform: none !important;
  }
  
  .agri-storia-anno {
    font-size: 36px !important;
  }
}

/* LOGHI MARCHI */
.agri-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.agri-logo-link {
  text-decoration: none;
}

.agri-logo-img {
  height: 80px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.agri-logo-link:hover .agri-logo-img {
  filter: grayscale(0%);
}

/* CTA BUTTON */
.agri-btn {
  display: inline-block;
  background-color: var(--agri-bordeaux);
  color: #ffffff;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.agri-btn:hover {
  background-color: var(--agri-bordeaux-hover);
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .agri-hero {
    padding: 80px 0;
  }
  
  .agri-hero h1 {
    font-size: 32px;
  }
  
  .agri-hero-subtitle {
    font-size: 16px;
  }
  
  .agri-section {
    padding: 50px 15px;
  }
  
  .agri-title {
    font-size: 28px;
  }
  
  .agri-subtitle {
    font-size: 24px;
  }
  
  .agri-row {
    flex-direction: column;
  }
  
  .agri-col {
    min-width: 100%;
    padding: 15px 0;
  }
  
  .agri-image {
    height: 300px;
  }
  
  .agri-timeline-year {
    font-size: 36px;
  }
  
  .agri-timeline-title {
    font-size: 18px;
  }
}

/* ========================================
   PAGINA FRUTTA - CTA BANNER
   ======================================== */
.agri-frutta-cta {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(76, 38, 45, 0.25);
}

.agri-frutta-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(76, 38, 45, 0.85) 0%, rgba(42, 12, 18, 0.9) 100%);
  z-index: 0;
}

.agri-frutta-cta__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.agri-frutta-cta__icon {
  width: 80px;
  height: 80px;
  background: rgba(212, 165, 116, 0.15);
  border: 2px solid #D4A574;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: #D4A574;
  transition: all 0.3s ease;
}

.agri-frutta-cta:hover .agri-frutta-cta__icon {
  background: #D4A574;
  color: #4C262D;
  transform: scale(1.1);
}

.agri-frutta-cta__icon svg {
  width: 36px;
  height: 36px;
}

.agri-frutta-cta__title {
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.3;
}

.agri-frutta-cta__btn {
  display: inline-block;
  background-color: #ffffff;
  color: #4C262D;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 45px;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.agri-frutta-cta__btn:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .agri-frutta-cta {
    padding: 50px 25px;
    border-radius: 12px;
  }
  
  .agri-frutta-cta__title {
    font-size: 24px;
  }
  
  .agri-frutta-cta__icon {
    width: 60px;
    height: 60px;
  }
  
  .agri-frutta-cta__icon svg {
    width: 28px;
    height: 28px;
  }
}

/* ================================
   PAGINA PRODOTTO SINGOLO
   Product Details visibile + Description full-width
   ================================ */

/* Pagina prodotto - sfondo bianco full width */
body#product {
  background-color: #ffffff;
}

body#product #wrapper {
  background-color: #ffffff;
  padding: 0;
  padding-top: 130px !important;
  max-width: 100%;
  width: 100%;
}

body#product #wrapper > .container {
  max-width: 100%;
  width: 100%;
  padding: 0;
  background-color: #ffffff;
}

body#product #content-wrapper {
  background-color: #ffffff;
  max-width: 100%;
  width: 100%;
}

body#product #main {
  background-color: #ffffff;
  max-width: 100%;
  width: 100%;
  padding-top: 80px;
}

body#product #main > .container {
  max-width: 100%;
  width: 100%;
  padding: 0;
  background-color: #ffffff;
}

/* Contenuto prodotto centrato */
body#product .product-container {
  background-color: #ffffff;
  padding-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Titolo prodotto h1 */
body#product h1.h1,
#product h1.h1 {
  font-family: "Lora", serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
}

/* Prezzo prodotto */
body#product .current-price .price,
body#product .product-price,
#product .current-price .price,
#product .product-price {
  color: #43242a !important;
  font-weight: 600;
  font-size: 18px;
}

/* Tasse incluse - in linea con il prezzo */
body#product .tax-shipping-delivery-label,
#product .tax-shipping-delivery-label {
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  color: #888;
}

body#product .current-price,
#product .current-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

/* Nascondi prezzo al pezzo */
body#product .product-unit-price,
#product .product-unit-price,
body#product .unit-price-cart,
#product .unit-price-cart {
  display: none !important;
}

/* Nascondi label Quantity */
body#product .product-quantity label,
#product .product-quantity label,
body#product .product-quantity .label,
#product .product-quantity .label,
body#product .qty label,
#product .qty label {
  display: none !important;
}

/* Pulsante Aggiungi al carrello - più lungo, font più piccolo */
body#product .add-to-cart,
#product .add-to-cart {
  padding: 12px 40px !important;
  font-size: 13px !important;
  min-width: 200px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Cuoricino wishlist - senza cerchio */
body#product .wishlist-button-add,
#product .wishlist-button-add,
body#product .wishlist-button,
#product .wishlist-button,
.wishlist-button-add,
.wishlist-button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body#product .wishlist-button-add i,
#product .wishlist-button-add i,
body#product .wishlist-button i,
#product .wishlist-button i,
body#product .wishlist-button-add svg,
#product .wishlist-button-add svg {
  color: #43242a;
}

/* Popup wishlist - testo visibile */
.wishlist-list .wishlist-list-item p,
.wishlist-list .wishlist-list-item span,
.wishlist-list .wishlist-list-item a,
.wishlist-list p,
.wishlist-add-to-new p,
.wishlist-add-to-new input,
.wishlist-modal .modal-body p,
.wishlist-modal .modal-body span,
.wishlist-modal .modal-body a,
.wishlist-modal .modal-body label {
  color: #333 !important;
}

/* Pulsanti frecce quantità - stile grigio */
body#product .bootstrap-touchspin .btn,
#product .bootstrap-touchspin .btn,
body#product .input-group-btn-vertical .btn,
#product .input-group-btn-vertical .btn {
  background-color: #f5f5f5 !important;
  border-color: #ddd !important;
  color: #666 !important;
}

body#product .bootstrap-touchspin .btn:hover,
#product .bootstrap-touchspin .btn:hover,
body#product .input-group-btn-vertical .btn:hover,
#product .input-group-btn-vertical .btn:hover {
  background-color: #e8e8e8 !important;
}

/* Input quantità */
body#product #quantity_wanted,
#product #quantity_wanted {
  border-color: #ddd;
  text-align: center;
}

/* Titolo "Other products in the same category" / "You might also like" */
body#product .product-accessories > .h5,
body#product .product-accessories > p.h5,
#product .product-accessories > .h5,
#product .product-accessories > p.h5,
.product-accessories > .h5,
.product-accessories > p.h5,
body#product .featured-products > h2,
#product .featured-products > h2,
.featured-products > h2,
body#product section.featured-products h2,
#product section.featured-products h2 {
  margin: 10px 0 25px !important;
  text-align: center !important;
  font-family: "Lora", serif !important;
  font-size: 24px !important;
  line-height: 28px !important;
  color: #000 !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  font-weight: 400 !important;
}

/* Blockreassurance - icone nere nella pagina prodotto */
path#color {
  fill: black !important;
}

/* Product Details - sempre visibile nella colonna destra */
.product-details-visible {
  margin-top: 20px;
  padding-top: 20px;
 
}

/* Nascondi reference e quantities */
.product-reference,
.product-quantities {
  display: none !important;
}

.product-details-visible .product-manufacturer,
.product-details-visible .product-availability-date,
.product-details-visible .product-condition {
  margin-bottom: 10px;
}

.product-details-visible .label {
  font-weight: 600;
  color: #43242a;
}

.product-details-visible .product-features {
  margin-top: 15px;
}

.product-details-visible .product-features .h6 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #43242a;
}

.product-details-visible .data-sheet {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px 15px;
}

.product-details-visible .data-sheet .name {
  font-weight: 500;
  color: #666;
}

.product-details-visible .data-sheet .value {
  color: #333;
}

/* Icone certificazioni prodotto */
.product-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.certification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;

  border-radius: 8px;
  min-width: 70px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certification-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.certification-badge svg {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}

.certification-badge .certification-label {
  font-size: 11px;
  font-weight: 600;
  color: #43242a;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Allegati */
.product-attachments-section {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e5e5;
}

.product-attachments-section .attachment {
  margin-bottom: 10px;
}

.product-attachments-section .attachment h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

.product-attachments-section .attachment a {
  color: #d3a183;
  text-decoration: none;
}

.product-attachments-section .attachment a:hover {
  text-decoration: underline;
}

/* Extra content da moduli */
.extra-content-section {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e5e5;
}

/* Description - Full Width */
.product-description-fullwidth {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  background-color: #f9f9f9 !important;
  margin-top: 50px !important;
  margin-bottom: 50px !important;
  border-top: none !important;
  overflow: hidden;
}

/* Rimuove la linea sopra la description */
#main .product-container,
#main .product-container .row,
#product .product-container {
  border-bottom: none !important;
}

.product-description-fullwidth .product-description-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px !important;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #000;
}

.product-description-fullwidth .product-description-content > *:first-child {
  margin-top: 0 !important;
}

.product-description-fullwidth .product-description-content > *:last-child {
  margin-bottom: 0 !important;
}

.product-description-fullwidth .product-description {
  line-height: 1.7;
  color: #333;
}

.product-description-fullwidth .product-description p {
  margin-bottom: 15px;
}

.product-description-fullwidth .product-description img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .product-details-visible .data-sheet {
    grid-template-columns: 1fr;
  }
  
  .product-details-visible .data-sheet .name {
    margin-bottom: 2px;
  }
  
  .product-details-visible .data-sheet .value {
    margin-bottom: 10px;
  }
  
  .product-description-fullwidth {
    padding: 25px 0;
    margin-top: 25px;
  }
}

/* Fix per modal carrello - mantieni visibile il blocco prodotto */
body#product .js-product-container,
body#product .product-information,
body#product .js-product-actions {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Assicura che il backdrop del modal non nasconda altri elementi */
.modal-backdrop {
  z-index: 1040;
}

#blockcart-modal {
  z-index: 1050;
}

#blockcart-modal .product-name {
  color: #d3a183 !important;
}

/* ============================================
   PAGINA CATEGORIA - Full Width senza sidebar
   ============================================ */

/* Nasconde la colonna sinistra nelle pagine categoria */
#category #left-column,
.category-id- #left-column,
.page-category #left-column {
  display: none !important;
}

/* Rende il contenuto principale full width */
#category #content-wrapper,
.category-id- #content-wrapper,
.page-category #content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  margin-left: 0 !important;
}

/* Assicura che la griglia prodotti occupi tutto lo spazio */
#category #js-product-list,
.page-category #js-product-list {
  width: 100%;
}

/* ============================================
   HEADER CATEGORIA - Nascondi immagine
   ============================================ */

/* Nasconde l'immagine della categoria */
#category .category-cover,
#category .category-header .category-cover,
.page-category .category-cover {
  display: none !important;
}

/* Nasconde anche la descrizione categoria se presente */
#category .category-description,
.page-category .category-description {
  display: none !important;
}

/* Riduci spazio nel blocco categoria */
#category .block-category,
.page-category .block-category {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

/* Titolo categoria */
#category h1,
#category .h1,
#category #js-product-list-header {
  font-size: 24px;
  font-weight: 400;
  text-transform: none;
  margin-bottom: 15px !important;
  margin-top: 30px !important;
  padding-left: 15px;
}

/* Riduce spazio sopra */
#category #main,
.page-category #main {
  padding-top: 80px;
}

#category #content-wrapper,
.page-category #content-wrapper {
  padding-top: 20px;
}

/* ============================================
   SOTTOCATEGORIE - Allineamento con filtro ordina
   ============================================ */

/* Nasconde le sottocategorie originali (box grandi) */
#category #subcategories,
#category .subcategories,
.page-category #subcategories,
.page-category .subcategories {
  display: none !important;
}

/* Stile per la barra superiore prodotti */
#category .products-selection,
.page-category .products-selection {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap;
  padding: 15px 0;
  border-bottom: 1px solid #333;
  margin-bottom: 30px;
  margin-top: 0;

  background-color: #fff;
}

/* Sfondo bianco per tutta la sezione header categoria */
#category #main > section:first-child,
#category section#main,
.page-category #main > section:first-child,
.page-category section#main {
  background-color: #fff;
}

/* Rimuove la riga grigia tra titolo e sottocategorie */
#category #js-product-list-top,
.page-category #js-product-list-top {
  background-color: #fff;
  padding-left: 66px;
}

/* Container prodotti sfondo grigio */
#category #products,
#category section#products,
.page-category #products,
.page-category section#products {
  background-color: #f1f1f1;
}

/* Sfondo bianco solo per la parte sopra la linea */
#category #js-product-list-header,
.page-category #js-product-list-header {
  background-color: #fff;
  padding-top: 30px;
  padding-bottom: 15px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 70px;
}

/* Allinea sottocategorie con i prodotti */
#category .subcategory-links-wrapper,
.page-category .subcategory-links-wrapper {
  padding-left: 45px;
}

#category .sort-by-wrapper,
.page-category .sort-by-wrapper {
  padding-right: 95px;
}

/* Wrapper sottocategorie inline */
#category .subcategory-links-wrapper,
.page-category .subcategory-links-wrapper {
  display: flex;
  align-items: center;
}

/* Sottocategorie come link inline */
#category .subcategory-links,
.page-category .subcategory-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

#category .subcategory-links a,
.page-category .subcategory-links a {
  color: #000;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
}

#category .subcategory-links a:hover,
.page-category .subcategory-links a:hover {
  color: #e8a83a;
}

/* Nasconde il contatore prodotti */
#category .products-selection .showing,
#category .products-selection .total-products,
.page-category .products-selection .showing,
.page-category .products-selection .total-products {
  display: none !important;
}

/* ============================================
   SOTTOCATEGORIE - Mobile
   ============================================ */
@media (max-width: 768px) {
  /* Barra superiore: stack verticale su mobile */
  #category .products-selection,
  .page-category .products-selection {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
    padding: 12px 15px;
  }

  /* Sottocategorie: wrap orizzontale con gap ridotto */
  #category .subcategory-links-wrapper,
  .page-category .subcategory-links-wrapper {
    padding-left: 0;
    width: 100%;
  }

  #category .subcategory-links,
  .page-category .subcategory-links {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  #category .subcategory-links a,
  .page-category .subcategory-links a {
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f9f8f6;
    white-space: nowrap;
  }

  #category .subcategory-links a:hover,
  .page-category .subcategory-links a:hover {
    background: #43242a;
    color: #fff !important;
    border-color: #43242a;
  }

  /* Sort: piena larghezza su mobile */
  #category .sort-by-wrapper,
  .page-category .sort-by-wrapper {
    width: 100%;
    padding-right: 0;
    justify-content: flex-start;
  }

  /* Riduci padding del blocco header categoria */
  #category #js-product-list-top,
  .page-category #js-product-list-top {
    padding-left: 0;
  }

  #category #js-product-list-header,
  .page-category #js-product-list-header {
    padding-left: 15px;
  }
}

/* ============================================
   DROPDOWN ORDINA PER - Stile come esempio
   ============================================ */

#category .sort-by-wrapper,
.page-category .sort-by-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#category .products-sort-order-wrapper,
.page-category .products-sort-order-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

#category .sort-by-label,
.page-category .sort-by-label {
  color: #888;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

#category .products-sort-order,
.page-category .products-sort-order {
  position: relative;
}

#category .products-sort-order .select-title,
.page-category .products-sort-order .select-title {
  border: none;
  border-radius: 0;
  padding: 10px 40px 10px 15px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  min-width: 180px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

#category .products-sort-order .select-title:hover,
.page-category .products-sort-order .select-title:hover {
  border-color: transparent;
}

#category .products-sort-order .dropdown-icon,
.page-category .products-sort-order .dropdown-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #666;
  pointer-events: none;
}

#category .products-sort-order .dropdown-menu,
.page-category .products-sort-order .dropdown-menu {
  border-radius: 0;
  border: 1px solid #ddd;
  margin-top: 0;
  min-width: 100%;
  padding: 0;
}

#category .products-sort-order .dropdown-menu a,
.page-category .products-sort-order .dropdown-menu a {
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  display: block;
  text-decoration: none;
}

#category .products-sort-order .dropdown-menu a:hover,
.page-category .products-sort-order .dropdown-menu a:hover {
  background-color: #f5f5f5;
}

#category .products-sort-order .dropdown-menu a.current,
.page-category .products-sort-order .dropdown-menu a.current {
  background-color: #f0f0f0;
  font-weight: 500;
}

/* Griglia prodotti 4 colonne - stile Agrimontana */
#category .products,
.page-category .products {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 80px !important;
  padding: 0 !important;
  gap: 0 !important;
}

#category .products .product,
.page-category .products .product {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Fix per le classi Bootstrap esistenti */
#category .products .product.col-xs-12,
#category .products .product.col-sm-6,
#category .products .product.col-xl-4,
.page-category .products .product.col-xs-12,
.page-category .products .product.col-sm-6,
.page-category .products .product.col-xl-4 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Riduce margin nella card prodotto */
body#category .products .product-miniature,
body#category .products article.product-miniature,
body.page-category .products .product-miniature,
body.page-category .products article.product-miniature,
.product-miniature,
article.product-miniature {
  margin: 0 !important;
  padding: 0 !important;
  background: #f1f1f1 !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
}

/* Riduce margin del .product dentro product-miniature */
body#category .product-miniature .product,
body.page-category .product-miniature .product,
body .product-miniature .product,
.product-miniature .product {
  margin: 0 !important;
  padding: 0 !important;
  background: #f1f1f1 !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
}

/* Riduce margin e padding del thumbnail-container */
body#category .product-miniature .thumbnail-container,
body.page-category .product-miniature .thumbnail-container,
body .product-miniature .thumbnail-container,
.product-miniature .thumbnail-container {
  margin-left: 20px !important;
  margin-right: 20px !important;
  padding: 0 !important;
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
}

/* Immagini prodotto più grandi */
body#category .product-miniature .product-thumbnail img,
body.page-category .product-miniature .product-thumbnail img,
.product-miniature .product-thumbnail img,
.product-miniature .thumbnail-container img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Sfondo grigio chiaro per la zona testo prodotto (nome e prezzo) */
body#category .product-miniature .product-description,
body.page-category .product-miniature .product-description,
body .product-miniature .product-description,
.product-miniature .product-description {
  background-color: #f1f1f1 !important;
  padding: 15px !important;
  margin: 0 !important;
}

/* Forza rimozione margini su tutti gli elementi del prodotto */
body#category #products .products article,
body#category #products .products .product,
body#category #products .products > div {
  margin: 0 !important;
  padding: 0 !important;
}

/* Responsive: 3 colonne su tablet */
@media (max-width: 1199px) {
  #category .products .product,
  .page-category .products .product,
  #category .products .product.col-xs-12,
  #category .products .product.col-sm-6,
  #category .products .product.col-xl-4 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }
}

/* Responsive: 2 colonne su tablet piccolo */
@media (max-width: 991px) {
  #category .products .product,
  .page-category .products .product,
  #category .products .product.col-xs-12,
  #category .products .product.col-sm-6,
  #category .products .product.col-xl-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* Responsive: 2 colonne su mobile */
@media (max-width: 575px) {
  #category .products,
  .page-category .products {
    margin: 0 10px !important;
  }
  #category .products .product,
  .page-category .products .product,
  #category .products .product.col-xs-12,
  #category .products .product.col-sm-6,
  #category .products .product.col-xl-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  #category .product-miniature .thumbnail-container,
  .page-category .product-miniature .thumbnail-container {
    margin-left: 5px !important;
    margin-right: 5px !important;
  }
  #category #js-product-list-header,
  .page-category #js-product-list-header {
    padding-left: 0 !important;
  }
}

/* Slider orizzontale per Prodotti Popolari e Nuovi Prodotti su mobile */
@media (max-width: 767px) {
  .featured-products .products {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 0 15px !important;
    margin: 0 !important;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  .featured-products .products::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .featured-products .products .product,
  .featured-products .products .product.col-xs-12,
  .featured-products .products .product.col-sm-6,
  .featured-products .products .product.col-lg-4,
  .featured-products .products .product.col-xl-3 {
    flex: 0 0 42% !important;
    max-width: 42% !important;
    min-width: 42% !important;
    scroll-snap-align: start;
    padding: 0 !important;
  }
  .featured-products .products .product .thumbnail-container {
    margin: 0 !important;
  }
  .featured-products .products .product .product-description {
    padding: 5px !important;
  }
  .featured-products .products .product .product-title {
    font-size: 0.85rem;
  }
  .featured-products .products .product .price {
    font-size: 0.9rem;
  }
}

/* Tutti i testi neri nella sezione categoria */
#category .product-title a,
#category .product-price-and-shipping,
#category .price,
#category .product-miniature .product-title a,
#category .product-miniature .price,
#category .subcategory-links a,
#category .sort-by-label,
#category .products-sort-order .select-title,
.page-category .product-title a,
.page-category .product-price-and-shipping,
.page-category .price,
.page-category .product-miniature .product-title a,
.page-category .product-miniature .price,
.page-category .subcategory-links a,
.page-category .sort-by-label,
.page-category .products-sort-order .select-title,
.product-miniature .product-title a,
.product-miniature .price {
  color: #000 !important;
}

/* ========================================
   MEGA MENU - STILE COLONNE MULTIPLE
   ======================================== */

/* Contenitore principale del submenu - Layout a griglia */
.top-menu .popover.sub-menu {
  border: none;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  padding: 30px 40px;
  min-width: 600px;
  max-width: 900px;
  background-color: #f9f8f6;
}

/* Lista categorie - Layout a colonne */
.top-menu .popover.sub-menu > ul.top-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding: 0;
  margin: 0;
}

/* Ogni categoria principale come colonna */
.top-menu .popover.sub-menu > ul.top-menu > li.category {
  flex: 0 0 auto;
  min-width: 180px;
  max-width: 220px;
  list-style: none;
  margin-bottom: 20px;
}

/* LIVELLO 1 - Titoli categorie principali (MAIUSCOLO GRASSETTO) */
.top-menu .sub-menu a[data-depth="1"] {
  font-family: "Lato", sans-serif !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  color: #000 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.12px !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
  display: block !important;
  text-decoration: none !important;
  position: relative !important;
  background: none !important;
}

.top-menu .sub-menu a[data-depth="1"]:hover {
  color: var(--agri-bordeaux, #4C262D) !important;
  background: none !important;
}

/* Rimuovi freccia/indicatore dalle categorie principali */
.top-menu .sub-menu a.dropdown-submenu[data-depth="1"]::after {
  display: none;
}

/* Nascondi icone expand mobile nel desktop */
.top-menu .sub-menu a[data-depth="1"] .float-xs-right {
  display: none;
}

/* Contenitore sottocategorie - sempre visibile */
.top-menu .popover.sub-menu .collapse {
  display: block !important;
  height: auto !important;
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
}

/* Lista sottocategorie */
.top-menu .popover.sub-menu .collapse ul.top-menu {
  display: block;
  padding: 0;
  margin: 0;
}

/* LIVELLO 2 - Sottocategorie (testo normale) */
.top-menu .sub-menu a[data-depth="2"] {
  font-family: "Lato", sans-serif !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: #000 !important;
  padding: 8px 0 !important;
  display: block !important;
  text-decoration: none !important;
  position: relative !important;
  background: none !important;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.top-menu .sub-menu a[data-depth="2"]::before {
  display: none;
}

.top-menu .sub-menu a[data-depth="2"]:hover {
  color: var(--agri-bordeaux, #4C262D);
  background: none;
  padding-left: 0;
}

/* LIVELLO 3 - Sotto-sottocategorie */
.top-menu .sub-menu a[data-depth="3"] {
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  padding: 5px 0 5px 12px;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-menu .sub-menu a[data-depth="3"]::before {
  display: none;
}

.top-menu .sub-menu a[data-depth="3"]:hover {
  color: var(--agri-bordeaux, #4C262D);
}

/* Categoria corrente/attiva */
.top-menu .sub-menu .category.current > a {
  color: var(--agri-bordeaux, #4C262D) !important;
}

/* Rimuovi separatori tra categorie */
.top-menu .sub-menu ul[data-depth="1"] > li.category:not(:last-child) {
  border-bottom: none;
}

/* RESPONSIVE - Tablet */
@media (max-width: 1200px) {
  .top-menu .popover.sub-menu {
    min-width: 500px;
    padding: 25px 30px;
  }
  
  .top-menu .popover.sub-menu > ul.top-menu > li.category {
    min-width: 150px;
  }
}

/* RESPONSIVE - Mobile */
@media (max-width: 991px) {
  .top-menu .popover.sub-menu {
    min-width: 100%;
    max-width: 100%;
    padding: 15px 20px;
  }
  
  .top-menu .popover.sub-menu > ul.top-menu {
    flex-direction: column;
    gap: 0;
  }
  
  .top-menu .popover.sub-menu > ul.top-menu > li.category {
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .top-menu .popover.sub-menu > ul.top-menu > li.category:last-child {
    border-bottom: none;
  }
  
  .top-menu .sub-menu a[data-depth="1"] {
    font-size: 12px;
    padding-bottom: 8px;
  }
  
  .top-menu .sub-menu a[data-depth="2"] {
    font-size: 13px;
    padding: 5px 0;
  }
  
  /* Mostra icone expand su mobile */
  .top-menu .sub-menu a[data-depth="1"] .float-xs-right {
    display: inline-block;
  }
  
  /* Collapse funziona normalmente su mobile */
  .top-menu .popover.sub-menu .collapse {
    display: none !important;
  }
  
  .top-menu .popover.sub-menu .collapse.show {
    display: block !important;
  }
}

/* ========================================
   PAGINAZIONE CATEGORIA
   ======================================== */

/* Contenitore paginazione - sfondo trasparente */
.pagination {
  background-color: transparent !important;
  padding: 15px 0 !important;
  margin: 0 !important;
}

/* Reset stili lista paginazione */
.pagination ul,
.pagination .page-list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
}

/* Tutti i numeri della stessa dimensione - grassetto grigio */
.pagination .page-list li a,
.pagination .page-list li span,
.pagination a,
.pagination span {
  font-family: "Lato", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #888 !important;
  background: transparent !important;
  border: none !important;
  padding: 8px 12px !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

/* Numero selezionato/corrente - nero */
.pagination .page-list li.current a,
.pagination .page-list li.current span,
.pagination .current a,
.pagination .current span,
.pagination a.current,
.pagination span.current {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  background: transparent !important;
}

/* Hover sui numeri */
.pagination .page-list li a:hover,
.pagination a:hover {
  color: #000 !important;
  background: transparent !important;
}

/* Frecce navigazione */
.pagination .previous,
.pagination .next {
  color: #888 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.pagination .previous:hover,
.pagination .next:hover {
  color: #000 !important;
}

/* Sfondo pagina categoria */
#category #content-wrapper,
.page-category #content-wrapper,
#category #wrapper,
.page-category #wrapper {
  background-color: #f5f5f5 !important;
}

/* ========================================
   PAGINE CARRELLO E CHECKOUT - Fix header overlap
   ======================================== */

/* Pagina carrello */
#cart #wrapper,
.page-cart #wrapper,
body#cart #wrapper {
  padding-top: 140px !important;
}

#cart section#main,
.page-cart section#main,
body#cart section#main {
  padding-top: 0 !important;
}

/* Pagina checkout / ordine */
#checkout #wrapper,
.page-order #wrapper,
body#checkout #wrapper,
body.page-order #wrapper {
  padding-top: 140px !important;
}

#checkout section#main,
.page-order section#main,
body#checkout section#main,
body.page-order section#main {
  padding-top: 0 !important;
}

/* Responsive - mobile */
@media (max-width: 991px) {
  #cart #wrapper,
  .page-cart #wrapper,
  body#cart #wrapper,
  #checkout #wrapper,
  .page-order #wrapper,
  body#checkout #wrapper,
  body.page-order #wrapper {
    padding-top: 120px !important;
  }
}

/* Override padding #custom-text su mobile */
@media (max-width: 991.98px) {
  #custom-text {
    padding: 1.5rem !important;
  }
}

/* Fix overflow orizzontale su mobile */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Fix colori footer su mobile */
@media (max-width: 767px) {
  .footer-container .links .h3,
  .footer-container .links .title,
  .footer-container .links ul>li a,
  .footer-container .links ul>li,
  .footer-container .blockcms-title a,
  .footer-container .myaccount-title a,
  .footer-container .block-contact-title,
  .footer-container .linklist .blockcms-title a,
  .footer-container .links .collapse-icons .material-icons {
    color: #fff !important;
  }
  .footer-container .links ul {
    background-color: transparent !important;
  }
  .footer-container .links ul>li {
    border-bottom-color: rgba(255,255,255,.2) !important;
  }
  .footer-container .links .title {
    border-bottom-color: rgba(255,255,255,.3) !important;
  }
}

/* Heritage section: rimuovi padding su mobile */
@media (max-width: 767px) {
  .heritage-section {
    padding: 0;
  }
  .heritage-container {
    padding: 0;
  }
}
