:root {
  --color-rosso: #630f30;
  --color-giallo: #bc9850;
  --color-rosso-button: #bb6f92;
  --color-testo-bianco: #fff6fd;
  --color-testo-grigio-chiaro: rgba(17, 17, 17, 0.5);
  --color-testo-grigio: #111111;
  --color-testo-grigio-badge: #1f1f1f;
  --color-bianco-body: #fff6fd;
  --font-size-12: 12px;
  --font-size-13: 13px;
  --font-size-16: 16px;
  --font-size-20: 20px;
  --font-size-25: 25px;
  --font-size-30: 30px;
  --font-size-70: 70px;
  --font-title: "din-condensed", sans-serif;
  --font-body: "avenir", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bianco-body);
  color: var(--color-testo-grigio);
  font-size: var(--font-size-16);
  line-height: 1.2;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title) !important;
  line-height: 1.2;
}

h1 {
  color: var(--color-rosso);
  font-size: var(--font-size-70);
}

@media (max-width: 480px) {
  h1 {
    line-height: 1;
  }
}

h2 {
  color: var(--color-rosso);
  font-size: var(--font-size-70);
}

@media (max-width: 480px) {
  h2 {
    color: var(--color-rosso);
    font-size: 40px;
  }
}

h3 {
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio);
}

h4 {
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio);
  opacity: 0.5;
}

@media (max-width: 480px) {
  h4 {
    font-size: var(--font-size-16);
    color: var(--color-testo-grigio);
    opacity: 0.5;
  }
}

h5 {
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio);
}

h6 {
  font-size: var(--font-size-30);
  color: var(--color-bianco-body);
}

@media (max-width: 480px) {
  h6 {
    font-size: var(--font-size-20);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  font-family: var(--font-title);
  cursor: pointer;
  border: none;
  outline: none;
  letter-spacing: 0px;
}

.button {
  color: var(--color-bianco-body);
  background-color: var(--color-rosso-button) !important;
  padding: 0.5rem 2rem;
  border-radius: 24px;
  font-size: var(--font-size-20);
}

@media (min-width: 1400px) {
  html {
    font-size: 112.5%;
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 125%;
  }
  .container {
    max-width: 1500px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 137.5%;
  }
  .container {
    max-width: 1700px;
  }
}

/***********************************************************************************/
/********************************* BANNER ANIMATO **********************************/
/***********************************************************************************/

.banner {
  background-color: var(--color-rosso);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
  padding: 0;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  height: 25px;
}

.banner-column {
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.banner-center {
  padding: 0 3rem;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.banner-text-center {
  color: var(--color-bianco-body);
  font-size: 13px;
  margin: 0;
  text-align: center;
  font-weight: 400;
}

.banner-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.banner-track {
  display: inline-flex;
  gap: 1rem;
  will-change: transform;
}

.banner-scroll-left .banner-track {
  animation: scroll-to-right 25s linear infinite;
}

.banner-scroll-right .banner-track {
  animation: scroll-to-left 25s linear infinite;
}

.banner-scroll-left {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.banner-scroll-right {
  mask-image: linear-gradient(
    to left,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to left,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.banner-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
  white-space: nowrap;
}

.banner-text {
  color: var(--color-bianco-body);
  font-size: var(--font-size-12);
  white-space: nowrap;
  font-weight: 300;
  opacity: 0.8;
}

@keyframes scroll-to-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes scroll-to-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 820px) {
  .banner-grid {
    grid-template-columns: 1fr;
    height: 30px;
  }

  .banner-scroll-left,
  .banner-scroll-right {
    display: none;
  }

  .banner-center {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .banner-grid {
    height: 30px;
  }

  .banner-text-center strong {
    display: block;
  }
}

/***********************************************************************************/
/*********************************** HEADER ****************************************/
/***********************************************************************************/

.header {
  position: fixed;
  top: 25px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
}

.header-container {
  max-width: 100%;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.logo-img {
  height: 40px;
  width: auto;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-12);
}

.info-label {
  color: var(--color-rosso);
  font-weight: 600;
}

.info-date {
  color: var(--color-rosso);
  font-weight: 500;
}

.hamburger {
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-giallo);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.vai-shop {
  color: var(--color-giallo);
  font-size: var(--font-size-14);
}

.vai-shop:hover {
  text-decoration: underline;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh; /* SEMPRE 100vh */
  background-color: var(--color-rosso);
  z-index: 1002;
  overflow-y: auto;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.active {
  left: 0;
}

.nav-menu-inner {
  height: 100vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.nav-close:hover {
  transform: rotate(90deg);
}

.close-line {
  position: absolute;
  width: 32px;
  height: 2px;
  background-color: var(--color-giallo);
  top: 50%;
  left: 50%;
  border-radius: 2px;
}

.close-line-1 {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-line-2 {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 4rem;
  max-width: 800px;
  align-items: end;
  padding-bottom: 3rem;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-column-left {
  align-self: end;
}

.nav-column-right {
  align-self: end;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link-main {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--color-testo-bianco);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  line-height: 1.1;
  display: inline-block;
}

.nav-link-main:hover {
  color: var(--color-giallo);
  transform: translateX(10px);
}

.nav-submenu {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-sublink {
  font-family: var(--font-body);
  font-size: var(--font-size-16); /* SEMPRE 16px */
  color: rgba(255, 246, 253, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.nav-sublink::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1.5px;
  background-color: var(--color-giallo);
  transition: width 0.3s ease;
}

.nav-sublink:hover {
  color: var(--color-testo-bianco);
  padding-left: 16px;
}

.nav-sublink:hover::before {
  width: 8px;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .header-container {
    padding: 0.75rem 1.5rem;
  }

  .header-left {
    gap: 1rem;
  }

  .logo-img {
    height: 35px;
  }

  .header-info {
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .header {
    top: 30px;
  }

  .header-container {
    padding: 0.6rem 1.5rem;
  }

  .header-left {
    gap: 0.75rem;
  }

  .logo-img {
    height: 32px;
  }

  .header-info {
    font-size: 13px;
  }

  .info-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .header-info {
    display: none;
  }

  .logo-img {
    height: 28px;
  }

  .hamburger {
    width: 28px;
    height: 20px;
  }
}

@media (min-width: 1400px) {
  .nav-link-main {
    font-size: 2.75rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu-inner {
    height: 100vh;
  }

  .nav-content {
    gap: 1.5rem 3rem;
    padding-bottom: 3rem;
  }

  .nav-column {
    gap: 1.5rem;
  }

  .nav-link-main {
    font-size: 2.25rem;
  }

  .nav-sublink {
    font-size: var(--font-size-16);
  }
}

@media (max-width: 820px) {
  .nav-menu-inner {
    height: 100vh;
    padding: 1.5rem;
  }

  .nav-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .nav-column {
    gap: 1.5rem;
  }

  .nav-link-main {
    font-size: 2rem;
  }

  .nav-sublink {
    font-size: var(--font-size-16);
  }
}

@media (max-width: 480px) {
  .nav-menu-inner {
    height: 100vh;
    padding: 1rem;
  }

  .nav-link-main {
    font-size: var(--font-size-30);
  }

  .nav-logo-img {
    height: 32px;
  }

  .nav-content {
    gap: 1.25rem;
    padding-bottom: 6rem;
  }

  .nav-column {
    gap: 1.25rem;
  }

  .nav-section {
    gap: 0.4rem;
  }

  .nav-sublink {
    font-size: var(--font-size-20);
  }
}

/***********************************************************************************/
/********************************* SUBMENU ***************************************/
/***********************************************************************************/

.submenu-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.submenu-wrapper::-webkit-scrollbar {
  display: none;
}

.submenu {
  display: flex;
  gap: 0.3rem;
  width: max-content;
  min-width: 100%;
  justify-content: center;
}

.submenu-item {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-rosso);
  text-decoration: none;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s ease;
  background-color: transparent;
  font-family: var(--font-title);
  font-size: var(--font-size-20);
}

.submenu-item:hover {
  background-color: var(--color-rosso-button);
  color: var(--color-bianco-body);
}

.submenu-item.active {
  background-color: var(--color-rosso-button);
  color: var(--color-bianco-body);
}

@media (max-width: 768px) {
  .submenu {
    justify-content: flex-center;
  }

  .submenu-item {
    font-size: var(--font-size-16);
    padding: 0.3rem 1rem;
  }
}

@media (max-width: 540px) {
  .submenu {
    justify-content: flex-start;
  }

  .submenu-item {
    font-size: var(--font-size-16);
    padding: 0.3rem 1rem;
  }
}

/***********************************************************************************/
/********************************* SECTION 1 ***************************************/
/***********************************************************************************/
.section-3 {
  padding: 2% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* CRITICO */
}

.box-section-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%; /* AGGIUNTO */
  max-width: 100vw; /* CRITICO per Android */
  overflow: hidden; /* CRITICO */
}

.slider-section-3 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%; /* AGGIUNTO */
  max-width: 100%; /* AGGIUNTO */
}

.slider-container-3 {
  position: relative;
  max-width: 1200px;
  width: 100%; /* AGGIUNTO */
  overflow: hidden; /* AGGIUNTO */
}

.slider-container-deca {
  position: relative;
  width: 1100px;
  max-width: 1200px;
  overflow: hidden; /* AGGIUNTO */
}

@media (max-width: 1024px) {
  .section-3 {
    padding: 2% 2%;
  }

  .slider-container-deca {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* CONFERMATO */
  }

  .slider-container-3 {
    overflow: hidden; /* CONFERMATO */
  }

  .section-3 {
    overflow-x: hidden; /* EXTRA SICUREZZA */
  }
}

.slider-wrapper-3 {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  width: 100%; /* AGGIUNTO */
  max-width: 100%; /* AGGIUNTO */
}

.slider-track-3 {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 30px;
  padding: 0 calc(50% - 140px);
  width: max-content;
  touch-action: pan-y;
  user-select: none;
}

.slide {
  flex: 0 0 280px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.5;
  transform: scale(1.2);
  will-change: transform, opacity; /* PERFORMANCE */
}

.slide.active {
  opacity: 1;
  transform: scale(1.8);
}

.slide-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block; /* AGGIUNTO */
}

.slider-arrows-3 {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
  z-index: 10;
}

.arrow-3 {
  width: 50px;
  height: 50px;
  background: var(--color-rosso-button);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  flex-shrink: 0; /* AGGIUNTO */
}

.arrow-3 svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.slider-content-3 {
  transition: opacity 0.4s ease;
  width: 100%; /* AGGIUNTO */
  max-width: 100%; /* AGGIUNTO */
  overflow: hidden; /* AGGIUNTO */
}

.box-categorie {
  border-bottom: 1px solid var(--color-testo-grigio);
  max-width: 100%; /* AGGIUNTO */
  overflow: hidden; /* AGGIUNTO */
}

.border-right {
  border-right: 1px solid var(--color-testo-grigio);
}

.box-1-categoria {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.text-categoria {
  color: var(--color-testo-grigio-chiaro);
  font-size: var(--font-size-13);
  padding-bottom: 0;
  margin-bottom: 0;
  line-height: 1.8;
}

.text-categoria-1 {
  color: var(--color-testo-grigio-chiaro);
  font-size: var(--font-size-12);
  padding-bottom: 0;
  margin-bottom: 0;
  line-height: 1.3;
}

.cta-categoria {
  font-family: var(--font-title);
  color: var(--color-rosso-button);
  font-size: var(--font-size-25);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .slider-track-3 {
    gap: 20px; /* RIDOTTO da 25px */
    padding: 0 calc(50% - 115px); /* AGGIUSTATO: 230px/2 */
  }

  .slide {
    flex: 0 0 230px; /* RIDOTTO da 250px */
    transform: scale(1); /* RIDOTTO da 1.1 - CRITICO */
  }

  .slide.active {
    transform: scale(1.3); /* RIDOTTO MOLTO da 1.6 - CRITICO */
  }

  .slider-arrows-3 {
    padding: 0 20px;
  }

  .slide-image {
    height: 450px; /* RIDOTTO */
  }

  .slider-content-3 {
    transition: opacity 0.4s ease;
    width: 820px; /* AGGIUNTO */
    max-width: 100%; /* AGGIUNTO */
    overflow: hidden; /* AGGIUNTO */
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .slider-content-3 {
    transition: opacity 0.4s ease;
    width: 742px; /* AGGIUNTO */
    max-width: 100%; /* AGGIUNTO */
    overflow: hidden; /* AGGIUNTO */
    margin: 0 auto;
  }
  .border-right {
    border: none;
    border-bottom: 1px solid var(--color-testo-grigio);
  }
}

@media (max-width: 768px) {
  .section-3 {
    padding: 2% 1%; /* RIDOTTO */
    overflow-x: hidden; /* EXTRA */
  }

  .slider-track-3 {
    gap: 15px; /* RIDOTTO da 20px */
    padding: 0 calc(50% - 90px); /* AGGIUSTATO: 180px/2 */
  }

  .slide {
    flex: 0 0 180px; /* RIDOTTO da 220px */
    transform: scale(1);
  }

  .slide.active {
    transform: scale(1.2); /* RIDOTTO MOLTO da 1.4 - CRITICO */
  }

  .slider-arrows-3 {
    padding: 0 10px;
  }

  .arrow-3 {
    width: 35px;
    height: 35px;
  }

  .arrow-3 svg {
    width: 18px;
    height: 18px;
  }

  .slide-image {
    height: 340px; /* RIDOTTO */
  }

  .border-right {
    border-right: none;
    border-bottom: 1px solid var(--color-testo-grigio);
  }

  .slider-content-3 {
    transition: opacity 0.4s ease;
    width: 680px; /* AGGIUNTO */
    max-width: 100%; /* AGGIUNTO */
    overflow: hidden; /* AGGIUNTO */
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .section-3 {
    padding: 2% 2%;
    overflow-x: hidden;
  }

  .box-section-3 {
    padding: 0 5px;
  }

  .slider-track-3 {
    gap: 30px; /* Spazio tra le slide */
    padding: 0 calc(50% - 95px); /* Per slide da 190px: 190/2 = 95 */
  }

  .slide {
    flex: 0 0 190px; /* Larghezza ridotta per vedere le laterali */
    transform: scale(1);
  }

  .slide.active {
    transform: scale(1.35); /* Scale per evidenziare la foto attiva */
  }

  .slider-arrows-3 {
    padding: 0 5px;
  }

  .arrow-3 {
    width: 38px;
    height: 38px;
  }

  .arrow-3 svg {
    width: 14px;
    height: 14px;
  }

  .slide-image {
    height: 350px; /* Altezza come richiesto */
    object-fit: cover;
  }

  .box-categorie {
    max-width: 360px;
    margin: 0 auto;
  }

  .box-categoria-3 {
    max-width: 350px;
    margin: 0 auto;
  }
}
/***********************************************************************************/
/********************************* SECTION 2 ***************************************/
/***********************************************************************************/
.section-2 {
  padding: 2% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-red-section-2 {
  line-height: 1;
}

.text-categorie-section-2 {
  font-size: var(--font-size-16);
}
/***********************************************************************************/
/********************************* SECTION 3 ***************************************/
/***********************************************************************************/
.section-2 {
  padding: 2% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-section-2 {
  background-image: url("/petrolio-super-coffee-img/homepage-section-2.webp");
  background-position: center;
  background-size: cover;
  height: 500px;
  width: 100%;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  padding: 3%;
}

.title-section-2 {
  color: var(--color-bianco-body) !important;
}

.text-section-2 {
  color: var(--color-bianco-body);
  max-width: 420px;
}

@media (max-width: 480px) {
  .box-section-2 {
    align-items: start;
    justify-content: end;
    text-align: start;
    padding: 10% 5%;
    height: 400px;
  }

  .text-section-2 {
    color: var(--color-bianco-body);
    margin: 0 auto;
    text-align: start;
  }
}

.split-move {
  opacity: 0;
  transform: translateY(120%);
}

/***********************************************************************************/
/********************************* TUTTI I CAFFE' ***************************************/
/***********************************************************************************/

.section-tutti-prodotti {
  padding: 4% 5%;
  background-color: transparent;
}

.image-container {
  position: relative;
  width: 100%;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 350px;
  overflow: hidden;
}

.img-prodotto-categorie {
  width: 140%;
  height: 140%;
  object-fit: cover;
  border-radius: 24px;
}

.text-prodotto-categorie {
  margin: 0 !important;
  font-family: var(--font-body);
  font-size: var(--font-size-13);
  color: var(--color-testo-grigio);
  padding-top: 0 !important;
}

/***********************************************************************************/
/********************************* ATTREZZATURA TOP ***************************************/
/***********************************************************************************/

.image-container-attrezzatura {
  display: block;
  width: 100%;
}

.img-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
}

.img-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-main {
  opacity: 1;
}

.img-hover {
  opacity: 0;
}

.image-container-attrezzatura:hover .img-hover {
  opacity: 1;
}

.image-container-attrezzatura:hover .img-main {
  opacity: 0;
}

.text-prodotto-attrezzatura {
  margin: 0 !important;
  font-family: var(--font-body);
  font-size: var(--font-size-13);
  color: var(--color-testo-grigio);
}

.img-wrapper img {
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

@media (max-width: 540px) {
  .image-container-attrezzatura:hover .img-hover {
    opacity: 0;
  }

  .image-container-attrezzatura:hover .img-main {
    opacity: 1;
  }

  .img-hover {
    opacity: 0 !important;
  }

  .img-main {
    opacity: 1 !important;
  }
}
/***********************************************************************************/
/********************************* SECTION 6 ***************************************/
/***********************************************************************************/
.box-section-6 {
  background-image: url("/petrolio-super-coffee-img/img-box-section-6.webp");
  background-position: center;
  background-size: cover;
  height: 500px;
  width: 100%;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  padding: 3%;
}

@media (max-width: 480px) {
  .box-section-6 {
    align-items: start;
    justify-content: end;
    text-align: start;
    padding: 10% 5%;
    height: 400px;
  }
}
/***********************************************************************************/
/********************************* SECTION 7 ***************************************/
/***********************************************************************************/
.section-7 {
  background-image: url("/petrolio-super-coffee-img/img-box-section-7.webp");
  height: 450px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  padding: 3%;
}

@media (max-width: 480px) {
  .section-7 {
    background-image: url("/petrolio-super-coffee-img/img-box-section-7-mobile.webp");
    align-items: start;
    justify-content: end;
    text-align: start;
    padding: 10% 5%;
    height: 500px;
  }
}

/***********************************************************************************/
/********************************* FOOTER **********************************/
/***********************************************************************************/
.footer-section {
  background-color: #f5e6ed;
  padding: 4rem 0 2rem 0;
}

.footer-main {
  margin-bottom: 3rem;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-header {
  display: block;
}

.footer-title {
  font-family: var(--font-title);
  font-size: var(--font-size-25);
  color: var(--color-rosso-button);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-toggle {
  display: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-family: var(--font-title);
  font-size: var(--font-size-20);
  color: var(--color-testo-grigio);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-rosso-button);
  text-decoration: underline;
}

.footer-newsletter {
  max-width: 100%;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-rosso-button);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: var(--font-size-16);
  color: var(--color-testo-grigio);
  background-color: transparent;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(17, 17, 17, 0.5);
}

.newsletter-input:focus {
  border-color: var(--color-rosso-button);
  box-shadow: 0 0 0 3px rgba(187, 111, 146, 0.1);
}

.newsletter-form .button {
  width: 100%;
}

.newsletter-msg {
  margin: 0.5rem 0 0;
  font-family: var(--font-body);
  font-size: var(--font-size-14);
  min-height: 1.2em;
}

.newsletter-msg--ok {
  color: #2e7d32;
}

.newsletter-msg--err {
  color: var(--color-rosso-button);
}

.footer-bottom {
  margin-top: 1rem;
}

.footer-credits p {
  font-family: var(--font-body);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.social-link {
  font-family: var(--font-title);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--color-rosso-button);
}

.footer-email a {
  font-family: var(--font-title);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-email a:hover {
  color: var(--color-rosso-button);
}

@media (max-width: 991px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-column {
    margin-bottom: 0;
  }

  .footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
    border-bottom: 0.5px solid var(--color-giallo);
  }

  .footer-title {
    margin-bottom: 0;
    text-align: left;
  }

  .footer-toggle {
    display: block;
    font-size: 2rem;
    color: var(--color-giallo);
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
  }

  .footer-column.active .footer-toggle {
    transform: rotate(90deg);
  }

  .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 0;
    text-align: left;
  }

  .footer-column.active .footer-links {
    max-height: none;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }

  .footer-newsletter {
    margin-top: 1rem;
  }

  .footer-newsletter .footer-title {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-main {
    margin-bottom: 3rem;
  }

  .footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
  }

  .footer-credits,
  .footer-social,
  .footer-email {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .footer-social {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-title {
    font-size: var(--font-size-20);
  }
}
