/* =========================
   HOME - CATEGORIE CAROUSEL
========================= */
.categorie-home-carousel {
    max-width: 1200px;
    margin: 70px auto;
    text-align: center;
    padding: 0 10px;
    position: relative;
}

.titolo-home-categorie {
    font-family: Georgia, serif;
    font-size: 34px;
    color: #4b2e1e;
    margin-bottom: 10px;
}

.sottotitolo-home-categorie {
    max-width: 650px;
    margin: 0 auto 40px auto;
    color: #6b4b3a;
    font-size: 16px;
    line-height: 1.5;
}

/* UL prodotti come carosello */
.categorie-home-carousel ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

/* Card categorie */
.categorie-home-carousel ul.products li.product-category {
    flex: 0 0 auto !important;
    width: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

/* Immagine card */
.categorie-home-carousel ul.products li.product-category img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover immagine */
.categorie-home-carousel ul.products li.product-category:hover img {
    transform: scale(1.08);
}

/* Titolo card */
.categorie-home-carousel ul.products li.product-category h2 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: white;
    font-size: 20px;
    font-family: Georgia, serif;
    text-align: left;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Nascondi scroll bar */
.categorie-home-carousel ul.products::-webkit-scrollbar {
    display: none;
}

/* MOBILE */
@media (max-width: 1024px) {
    .categorie-home-carousel ul.products li.product-category {
        width: 180px;
    }
}

@media (max-width: 600px) {
    .categorie-home-carousel ul.products li.product-category {
        width: 140px;
    }
}

/* =========================
   FRECCE CAROUSEL
========================= */
.categorie-home-carousel button.prev,
.categorie-home-carousel button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.categorie-home-carousel button.prev:hover,
.categorie-home-carousel button.next:hover {
    background: rgba(255,255,255,1);
}

.categorie-home-carousel button.prev { left: -15px; }
.categorie-home-carousel button.next { right: -15px; }

/* =========================
   RESPONSIVE TEXT
========================= */
@media(max-width:768px){
    .titolo-home-categorie {
        font-size: 28px;
    }
    .sottotitolo-home-categorie {
        font-size: 14px;
    }
}

/* =========================
   HOME - BANNER BENEFIT
========================= */
.home-benefits {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 60px auto;
  max-width: 1200px;
  text-align: center;
  flex-wrap: wrap;
}

.spedizione-vantaggi {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 30px 0;
}

.spedizione-vantaggi .vantaggio {
  flex: 1;
  background: #fef7ed;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  text-decoration: none;
  color: #7a4f1f;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.spedizione-vantaggi .vantaggio:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.spedizione-vantaggi .vantaggio i {
  margin-bottom: 10px;
  display: block;
  font-size: 2em;
  color: #d94f2b;
}

.spedizione-vantaggi .vantaggio p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

/* =========================
   SEZIONE IRINA
========================= */
.irina-home{
    margin:80px auto;
    max-width:1100px;
    padding:40px 20px;
}

.irina-container{
    display:flex;
    align-items:center;
    gap:50px;
    max-width:900px;
    margin:auto;
}

.irina-foto{
    width:220px;
    height:220px;
    border-radius:50%;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,0.18);
}

.irina-foto img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.irina-testo{
    max-width:520px;
}

.irina-testo h2{
    font-size:32px;
    margin-bottom:15px;
    font-family: Georgia, serif;
    color:#5c3b1e;
    position:relative;
}

.irina-testo h2:after{
    content:"";
    display:block;
    width:60px;
    height:2px;
    background:#b86b2c;
    margin-top:10px;
}

.irina-testo p{
    font-size:18px;
    line-height:1.6;
    color:#5a4633;
    margin-bottom:15px;
}

.btn-irina{
    display:inline-block;
    margin-top:10px;
    padding:12px 26px;
    background:#b86b2c;
    color:white;
    text-decoration:none;
    border-radius:6px;
    transition:all .3s ease;
}

.btn-irina:hover{
    background:#8c4e1c;
}

@media (max-width:768px){
    .irina-container{
        flex-direction:column;
        text-align:center;
        gap:30px;
        max-width:90%;
        margin:auto;
    }
    .irina-foto{
        width:180px;
        height:180px;
        margin:0 auto;
        box-shadow:0 10px 25px rgba(0,0,0,0.15);
    }
    .irina-foto img{
        width:100%;
        height:100%;
        object-fit:cover;
    }
    .irina-testo h2:after{
        margin:10px auto 0;
        display:block;
    }
    .irina-testo h2{
        font-size:28px;
    }
    .irina-testo p{
        font-size:16px;
        line-height:1.5;
    }
    .btn-irina{
        padding:10px 22px;
        font-size:16px;
    }
}

/* =========================
   SEZIONE SCELTE DI IRINA - BEST SELLERS
========================= */
.irina-venduti {
  margin: 80px auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 10px;
  text-align: center;
  box-sizing: border-box;
}

.irina-venduti h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  color: #5c3b1e;
  margin-bottom: 10px;
  position: relative;
}

.irina-venduti h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #b86b2c;
  margin: 10px auto 0;
}

.irina-venduti .intro {
  font-size: 18px;
  color: #5a4633;
  margin-bottom: 40px;
}

.irina-prodotti {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.irina-card {
  display: block;
  background: #fff6eb;
  border-radius: 20px;
  text-decoration: none;
  color: #5a4633;
  padding: 20px;
  transition: all .3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.irina-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.irina-card .card-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 15px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.irina-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.irina-card .categoria {
  font-size: 14px;
  color: #b86b2c;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-weight: 600;
}

.irina-card h3 {
  font-size: 18px;
  font-family: Georgia, serif;
  margin: 0;
}

/* =========================
   RESPONSIVE BEST SELLERS
========================= */
@media (max-width: 1024px) {
  .irina-prodotti {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .irina-card .card-img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .irina-prodotti {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .irina-card .card-img {
    width: 100px;
    height: 100px;
  }
  .irina-venduti h2 {
    font-size: 28px;
  }
  .irina-venduti .intro {
    font-size: 16px;
  }
}

/* =========================
   SEZIONE CUCINA / RICETTE
========================= */
.cucina-irina{
  max-width:1200px;
  margin:90px auto;
  padding:40px 20px;
  text-align:center;
}

.cucina-irina h2{
  font-family: Georgia, serif;
  font-size:34px;
  color:#5c3b1e;
  margin-bottom:10px;
}

.cucina-intro{
  max-width:650px;
  margin:0 auto 40px;
  font-size:18px;
  color:#5a4633;
  line-height:1.6;
}

.ricette-layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
}

.ricetta-grande{
  position:relative;
  display:block;
  border-radius:20px;
  overflow:hidden;
}

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

.overlay{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:20px;
  background: linear-gradient(to top, rgba(255, 246, 235, 0.9), rgba(255,246,235,0));
  color: #5a4633;
  text-align:left;
}

.overlay h3{
  font-family: Georgia, serif;
  font-size:24px;
  margin:5px 0;
}

.ricette-piccole{
  display:grid;
  grid-template-rows:repeat(3,1fr);
  gap:20px;
}

.ricetta-piccola{
  position:relative;
  border-radius:15px;
  overflow:hidden;
  display:block;
}

.ricetta-piccola img{
  width:100%;
  height:130px;
  object-fit:cover;
}

.btn-cucina{
  display:inline-block;
  margin-top:40px;
  padding:12px 26px;
  background:#b86b2c;
  color:white;
  text-decoration:none;
  border-radius:6px;
}

.btn-cucina:hover{
  background:#8c4e1c;
}

@media(max-width:768px){
  .ricette-layout{
    grid-template-columns:1fr;
  }
  .ricetta-grande img{
    height:280px;
  }
  .ricette-piccole{
    grid-template-columns:1fr;
    grid-template-rows:auto;
  }
}

/* =========================
   BLOCCO GENERALE OVERFLOW
========================= */
body, html {
  overflow-x: hidden;
}

.irina-venduti, .cucina-irina, .irina-home, .categorie-home-carousel, .best-sellers-home {
  box-sizing: border-box;
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  overflow-x: hidden;
}

