* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-family-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --color-topbar: #2e2f4d;
  --color-text: #333;
  --color-background: #fff; /*#fff;*/
  --color-white: #ffffff;
  --color-gray: #666;
  --color-light-gray: #f0f0f0;
  --color-dark-gray: #333333;
  --color-blue: #5a9bd4;
  --color-hover: rgba(123, 179, 232, 0.8);

  --colore-link: #69A7E4;
  
  /* Variabile principale per il colore del testo in evidenza - MODIFICA QUI PER CAMBIARE IL COLORE IN TUTTO IL SITO */
  /* --colore-testo-principale: #6698C7; */ /* Azzurro originale */
  --colore-testo-principale: #606060; /* Grigio neutro */
  --colore-icone: #69A7E4;
  /* Alias per retrocompatibilità */
  --color-accent: var(--colore-testo-principale);
  --color-primary: var(--colore-testo-principale);
  
  /* Colori neutri e professionali */
  --color-neutral-dark: #2c3e50;
  --color-neutral-medium-dark: #34495e;
  --color-neutral-medium: #555;
  --color-neutral-light: #f5f5f5;
  --color-neutral-border: #e0e0e0;
  --color-neutral-bg: #f8f9fa;
  --color-neutral-border-light: #e9ecef;
  --color-neutral-border-dark: #dee2e6;
  
  /* Colori semantici */
  --color-success: #27ae60;
  --color-success-light: #2ecc71;
  --color-error: #e74c3c;
  --color-error-light: #fee2e2;
  --color-error-dark: #dc2626;
  --color-error-border: #dc3545;
  --color-error-text: #721c24;
  --color-warning: #f39c12;
  --color-warning-dark: #e67e22;
  --color-warning-bg: #fff9e6;
  --color-warning-border: #ffe6cc;
  --color-warning-text: #856404;
  
  /* Colori badge prodotti */
  --color-badge-bestseller: #ff6b6b;
  --color-badge-bestseller-dark: #ee5a6f;
  --color-badge-new: #4ecdc4;
  --color-badge-new-dark: #44a08d;
  
  /* Colori aggiuntivi */
  --color-gray-light: #999;
  --color-border-subtle: #f0f2f5;
  --color-border-medium: #e0e2e7;
}

a{
  color: var(--color-primary);
}
a i{
  position: relative;
  top: 8px;
}
p{
  font-size: 12px;
}
.previous i,
.next i{
  position: unset;
}
.js-customer-form > div > div:nth-child(1) > div{
  display: flex;
  gap: 1rem;
}
body {
  font-family: var(--font-family-base);
  line-height: 1.5;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.hero-section {
  position: relative;
  height: 80vh;
  min-height: 700px;
  overflow: hidden;
}

.container-prodotto{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.container-carrello{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

.breadcrumb {
  margin: 1rem auto !important;
  max-width: 1440px !important;
}

/* =======================================================
   PRODUCT PAGE LAYOUT
   ======================================================= */

.product-main-wrapper {
  width: 100%;
  padding: 0;
}

.product-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-image-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.main-product-image {
  width: 100%;
  
  height: auto;
  object-fit: contain;
  /*padding: 1rem;*/
  transition: all 0.3s ease;
}

.product-name-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1rem;
  /*margin: 5rem 0;*/
}

/* Rating */
.product-rating {
  /*display: flex; nascosto per il momento*/
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star.filled {
  color: #FFD700;
  font-size: 18px;
}

.star.empty {
  color: #E0E0E0;
  font-size: 18px;
}

.reviews-text {
  color: var(--colore-testo-principale);
  font-size: 14px;
  font-weight: 500;
}

/* Categoria piccola */
.product-category-small {
  color: var(--colore-testo-principale);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-subtitle{
  color: var(--colore-testo-principale);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Nome prodotto GRANDE */
.product-name-big {
  color: var(--colore-testo-principale);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Prezzo */
.product-price {
  margin-bottom: 30px;
}

.current-price {
  color: var(--colore-testo-principale);
  font-size: 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.old-price {
  color: #999;
  text-decoration: line-through;
  margin-right: 15px;
  font-size: 2rem;
}

/* Sezioni info */
.info-section {
  margin-bottom: 25px;
}

.section-title {
  color: var(--colore-testo-principale);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
}

.section-text {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.read-more {
  color: var(--colore-testo-principale);
  text-decoration: none;
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

/* Skin type */
.skin-type-section {
  margin-bottom: 20px;
}

.skin-type-label {
  color: var(--colore-testo-principale);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}

.skin-type-text, .skin-ideal-text {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 3px;
}

/* Quiz */
.skin-quiz {
  margin-bottom: 30px;
}

.quiz-question {
  color: #333;
  font-size: 14px;
  margin-right: 10px;
}

.quiz-link {
  color: var(--colore-testo-principale);
  text-decoration: underline;
  font-weight: 500;
  font-size: 14px;
}

.quiz-link:hover {
  color: var(--colore-link);
}

/* Product variants - PIXEL PERFECT come riferimento */
.product-variants-section {
  margin-bottom: 30px;
}

.variant-group {
  margin-bottom: 15px;
}

.variant-options {
  display: flex;
  gap: 12px;
}

.variant-label {
  margin: 0;
  cursor: pointer;
}

.variant-radio {
  display: none;
}

.variant-btn {
  display: inline-block;
  border: 1px solid var(--colore-testo-principale);
  background: white;
  color: var(--colore-testo-principale);
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  min-width: 60px;
  text-align: center;
}

.variant-radio:checked + .variant-btn {
  background: var(--colore-testo-principale);
  color: white;
  border-color: var(--colore-testo-principale);
}

.variant-btn:hover {
  border-color: var(--colore-link);
}

/* Purchase section - PIXEL PERFECT */
.purchase-section {
  display: flex;
  gap: 12px;
  align-items: center;
}

.purchase-section > * {
  display: flex;
  align-items: center;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  background: white;
}

.qty-btn {
  background: none;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 16px;
  color: var(--colore-testo-principale);
  font-weight: 500;
  min-width: 32px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--color-background);
}

.qty-input {
  border: none;
  text-align: center;
  width: 50px;
  padding: 10px 4px;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  background: transparent;
}

.add-cart-btn {
  background: var(--colore-testo-principale);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  height: 40px;
  flex: 1;
  min-width: 180px;
}

.add-cart-btn:hover {
  background: var(--colore-link);
}

.wishlist-btn {
  background: white;
  border: 1px solid #E0E0E0;
  color: var(--colore-testo-principale);
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.wishlist-btn:hover {
  border-color: var(--colore-testo-principale);
  background: var(--color-background);
}

.heart {
  font-size: 16px;
}

@media (max-width: 768px) {
  .container-prodotto {
    padding: 0 1rem;
  }
  
  .product-two-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .product-image-col {
    padding: 0;
  }
  
  .main-product-image {
    max-width: 100%;
    width: 100%;
  }
  
  .thumbnails-wrapper {
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .thumbnail-item {
    width: 70px;
    height: 70px;
  }
  
  .product-name-col {
    padding: 0 1rem;
    margin: 1rem 0;
  }
  
  .product-name-big {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .product-price {
    margin-bottom: 1.5rem;
  }
  
  .current-price {
    font-size: 1.8rem;
  }
  
  .old-price {
    font-size: 1.3rem;
  }
  
  .product-summary {
    font-size: 0.9rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 1rem !important;
  }
  
  .product-feature-row {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0;
  }
  
  .feature-label {
    min-width: auto;
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
  }
  
  .feature-value {
    font-size: 0.8rem;
  }
  
  .product-variants-section {
    margin-bottom: 1.5rem;
  }
  
  .variant-options {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .variant-btn {
    padding: 12px 18px;
    font-size: 13px;
    min-width: 70px;
    flex: 1;
    min-width: 0;
  }
  
  .purchase-section {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .quantity-control {
    width: 100%;
    justify-content: space-between;
    max-width: 150px;
    margin: 0 auto;
  }
  
  .add-cart-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    height: 48px;
    min-width: auto;
  }
  
  .social-sharing {
    margin: 1rem 0;
    padding: 1rem 0;
    justify-content: center;
  }
  
  .product-description-full {
    padding: 1.5rem 0;
    margin-top: 2rem;
  }
  
  .description-content {
    padding: 0 1rem;
  }
}

/* =======================================================
   HERO SECTION CON PRESTASHOP SLIDER SUPPORT 
   ======================================================= */

.hero-section {
  position: relative;
  height: 80vh;
  min-height: 700px;
  overflow: hidden;
}

/* Supporto per PrestaShop Image Slider (ps_imageslider) */
.hero-section .homeslider-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 700px;
  background: transparent;
  display: block;
}

.hero-section .rslides {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 700px;
}

.hero-section .rslides li.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  min-width: 100%;
  min-height: 100%;
}

.hero-section .rslides li.slide:first-child,
.hero-section .rslides li.slide.rslides1_on {
  opacity: 1;
}

.hero-section .rslides li.slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
}

.hero-section .rslides li.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
}

/* Forza dimensioni anche per immagini lazy-processed nello slider */
.hero-section .rslides li.slide img.lazy-processed {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
}

/* Styling per video nello slider */
.hero-section .rslides li.slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-section .rslides li.slide .slide-video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}

/* Video loading state */
.hero-section .rslides li.slide .slide-video-element.lazy-loading {
  opacity: 0.5;
  filter: blur(5px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.hero-section .rslides li.slide .slide-video-element.lazy-loaded {
  opacity: 1;
  filter: blur(0);
}

/* Assicura che i video si adattino come le immagini */
.hero-section .rslides li.slide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback image per video - sempre visibile dietro il video */
.hero-section .rslides li.slide .slide-fallback-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  display: block;
  min-width: 100%;
  min-height: 100%;
}

/* Video sopra l'immagine fallback */
.hero-section .rslides li.slide .slide-video-element {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 768px) {
  .hero-section .rslides li.slide .slide-video-element {

    top: -30px;
  }
}


/* Se il video non è caricato o ha errori, mostra solo l'immagine */
.hero-section .rslides li.slide .slide-video-element:not([src]):not([data-src]),
.hero-section .rslides li.slide .slide-video-element.error {
  display: none;
}

/* Quando il video è caricato e riproducibile, nascondi l'immagine fallback */
.hero-section .rslides li.slide .slide-video-element.lazy-loaded:not(.error) ~ .slide-fallback-image,
.hero-section .rslides li.slide .slide-video-element[src]:not(.error) ~ .slide-fallback-image {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Contenuto testuale sopra lo slider PrestaShop */
.hero-section .rslides .caption {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 70%,
    transparent 100%
  );
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 120px 80px 0 0;
  text-align: right;
  flex-direction: column;
}

.hero-section .rslides .caption h2 {
  display: none; /* Nascondiamo il titolo originale */
}

.hero-section .rslides .caption h3 {
  font-size: 80px;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-base);
  line-height: 0.9;
  color: #333;
  margin-bottom: 50px;
  letter-spacing: -1px;
  margin-top: 0;
}

.hero-section .rslides .caption p {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 18px 50px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  backdrop-filter: blur(2px);
  text-decoration: none;
  display: inline-block;
  margin: 0;
  line-height: 1;
}

.hero-section .rslides .caption p:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--colore-testo-principale);
  color: var(--colore-testo-principale);
  transform: translateY(-2px);
}

/* Stile per accent text */
.hero-section .rslides .caption .hero-accent {
  color: var(--colore-testo-principale);
  font-weight: 300;
}

/* Chat Widget - può rimanere */
.chat-widget {
  position: absolute;
  bottom: 60px;
  right: 60px;
  z-index: 20;
}

.chat-btn {
  background: #5a6b8d;
  color: white;
  border: none;
  padding: 20px 32px;
  border-radius: 35px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(90, 107, 141, 0.4);
  transition: all 0.3s ease;
}

.chat-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(90, 107, 141, 0.5);
}

/* Nascondiamo i moduli che non vogliamo vedere nella hero section */
.hero-section .ps_newproducts,
.hero-section .ps_banner,
.hero-section .ps_featuredproducts {
  display: none;
}

.categories-section {
  padding: 100px 0;
  background: #fff;
}

.section-heading {
  font-size: 56px;
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-base);
  color: var(--colore-testo-principale);
  text-align: center;
  margin-bottom: 80px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.categories-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

.category-card:hover {
  transform: translateY(-12px);
}

.category-image {
  width: 100%;
  height: 200px;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  /* box-shadow: 0 12px 40px rgba(123, 179, 232, 0.15); */
  transition: all 0.4s ease;
}

.category-card:hover .category-image {
  box-shadow: 0 20px 60px rgba(123, 179, 232, 0.25);
  transform: scale(1.02);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  font-size: 20px;
  color: #333;
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-base);
  line-height: 1.2;
}

/* Services Section - Le 2 immagini in alto */
.services-section {
  padding: 80px 0;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
  text-align: center;
}

.service-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-base);
  color: #333;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.service-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: var(--font-weight-regular);
}

.service-btn {
  background: var(--colore-testo-principale);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-base);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.service-btn:hover {
  background: var(--colore-link);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 152, 199, 0.4);
}

.skin-test-section {
  padding: 100px 0;
  background: var(--color-background);
}

.skin-test-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-subheading {
  font-size: 28px;
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-base);
  color: var(--colore-testo-principale);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.section-description {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  font-weight: 400;
}

/* Face Types - I 4 volti */
.face-types-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 60px;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.face-type-card {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.face-type-card:hover {
  transform: translateY(-5px);
}

.face-image-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.face-type-card:hover .face-image-wrapper {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.face-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.face-type-text {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  font-family: var(--font-family-base);
  color: var(--colore-testo-principale);
  line-height: 1.3;
  margin: 0;
}

.skin-test-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.control-btn {
  background: #333;
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
  background: var(--colore-testo-principale);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(123, 179, 232, 0.3);
}

.blog-section {
  padding: 100px 0;
  background: white;
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.blog-image {
  height: 240px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 32px 28px;
}

.blog-category {
  color: var(--colore-testo-principale);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.blog-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 500;
}

.blog-link {
  color: var(--colore-testo-principale);
  text-decoration: underline;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--colore-link);
}

.blog-carousel-next {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--colore-testo-principale);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(123, 179, 232, 0.3);
}

.blog-carousel-next:hover {
  background: var(--colore-link);
  transform: translateY(-50%) scale(1.1);
}

.promotions-section {
  padding: 100px 0;
  background: var(--color-background);
}

.promotions-grid,
.novita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.product-image {
  height: 320px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* =======================================================
   LISTING SPECIALI (OFFERS / NEW / BEST)
   Scope ristretto: solo 3 pagine dedicate
   ======================================================= */
body#prices-drop .product-listing .container,
body#new-products .product-listing .container,
body#best-sales .product-listing .container {
  max-width: 1440px;
  padding-left: 60px;
  padding-right: 60px;
}

body#prices-drop .product-listing #js-product-list .products,
body#new-products .product-listing #js-product-list .products,
body#best-sales .product-listing #js-product-list .products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.4rem !important;
  margin: 0 !important;
}

body#prices-drop .product-listing #js-product-list .products > .js-product,
body#new-products .product-listing #js-product-list .products > .js-product,
body#best-sales .product-listing #js-product-list .products > .js-product {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

body#prices-drop .product-listing .page-title,
body#new-products .product-listing .page-title,
body#best-sales .product-listing .page-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: left;
  margin: 0.75rem 0 1.5rem;
  color: #2f2f36;
}

@media (max-width: 1199px) {
  body#prices-drop .product-listing #js-product-list .products,
  body#new-products .product-listing #js-product-list .products,
  body#best-sales .product-listing #js-product-list .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body#prices-drop .product-listing .container,
  body#new-products .product-listing .container,
  body#best-sales .product-listing .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  body#prices-drop .product-listing #js-product-list .products,
  body#new-products .product-listing #js-product-list .products,
  body#best-sales .product-listing #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body#prices-drop .product-listing #js-product-list .products,
  body#new-products .product-listing #js-product-list .products,
  body#best-sales .product-listing #js-product-list .products {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body#prices-drop .product-listing .page-title,
  body#new-products .product-listing .page-title,
  body#best-sales .product-listing .page-title {
    font-size: 2rem;
    margin: 0.4rem 0 1.2rem;
  }
}

/* Uniformita card nelle 3 pagine listing speciali */
body#prices-drop .product-listing .pc-product-card,
body#new-products .product-listing .pc-product-card,
body#best-sales .product-listing .pc-product-card {
  height: 100%;
}

body#prices-drop .product-listing .pc-product-image,
body#new-products .product-listing .pc-product-image,
body#best-sales .product-listing .pc-product-image {
  height: 260px;
  background: #fff;
}

body#prices-drop .product-listing .pc-product-name,
body#new-products .product-listing .pc-product-name,
body#best-sales .product-listing .pc-product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9rem;
}

/* Paginazione: fix bullet + allineamento moderno */
body#prices-drop .product-listing .pagination,
body#new-products .product-listing .pagination,
body#best-sales .product-listing .pagination {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

body#prices-drop .product-listing .pagination .col-md-4,
body#new-products .product-listing .pagination .col-md-4,
body#best-sales .product-listing .pagination .col-md-4,
body#prices-drop .product-listing .pagination .col-md-6,
body#new-products .product-listing .pagination .col-md-6,
body#best-sales .product-listing .pagination .col-md-6 {
  width: auto;
  max-width: 100%;
  flex: 1 1 auto;
  padding: 0;
}

body#prices-drop .product-listing .pagination .page-list,
body#new-products .product-listing .pagination .page-list,
body#best-sales .product-listing .pagination .page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

body#prices-drop .product-listing .pagination .page-list li,
body#new-products .product-listing .pagination .page-list li,
body#best-sales .product-listing .pagination .page-list li {
  margin: 0;
}

body#prices-drop .product-listing .pagination .page-list a,
body#new-products .product-listing .pagination .page-list a,
body#best-sales .product-listing .pagination .page-list a {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dce4;
  border-radius: 999px;
  background: #fff;
  color: #3a3e47;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

body#prices-drop .product-listing .pagination .page-list li.current a,
body#new-products .product-listing .pagination .page-list li.current a,
body#best-sales .product-listing .pagination .page-list li.current a {
  background: #2f2f36;
  border-color: #2f2f36;
  color: #fff;
}

body#prices-drop .product-listing .pagination .page-list a:hover,
body#new-products .product-listing .pagination .page-list a:hover,
body#best-sales .product-listing .pagination .page-list a:hover {
  border-color: #2f2f36;
  color: #2f2f36;
}

@media (max-width: 767px) {
  body#prices-drop .product-listing .pagination,
  body#new-products .product-listing .pagination,
  body#best-sales .product-listing .pagination {
    flex-direction: column;
    align-items: flex-start;
  }

  body#prices-drop .product-listing .pagination .page-list,
  body#new-products .product-listing .pagination .page-list,
  body#best-sales .product-listing .pagination .page-list {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.product-info {
  padding: 32px 28px;
}

.product-category {
  color: var(--colore-testo-principale);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.product-rating {
  margin-bottom: 16px;
  align-items: center;
  gap: 8px;
}

.stars {
  color: #ffd700;
  font-size: 16px;
}

.reviews-count {
  color: #666;
  font-size: 14px;
}

.product-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
  font-weight: 500;
}

.product-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.product-price {
  font-size: 24px;
  color: var(--colore-testo-principale);
  font-weight: 600;
}

.top-bar {
  background: var(--color-topbar);
  color: white;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.top-bar-content {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.promo-message {
  white-space: nowrap;
  margin: 0;
  font-size: 10px;
}

.main-header {
  background: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

/* Variante layout: logo allineato a sinistra mantenendo il menu custom (solo desktop) */
@media (min-width: 769px) {
  .main-header.header-logo-left .header-container {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .main-header.header-logo-left .header-center {
    order: 1;
    flex: 0 0 auto;
    text-align: left;
    margin-right: clamp(24px, 3vw, 56px);
  }

  .main-header.header-logo-left .header-left-section {
    order: 2;
    flex: 0 1 auto;
    min-width: 0;
    gap: 0;
  }

  .main-header.header-logo-left .header-right-section {
    order: 3;
    flex: 1 1 0;
    min-width: 0;
    justify-content: flex-start;
    gap: 10px;
  }

  .main-header.header-logo-left .nav-left,
  .main-header.header-logo-left .nav-right {
    width: auto;
    flex: 0 1 auto;
    margin: 0;
    justify-content: flex-start;
    gap: clamp(0.72rem, 2.05vw, 7.2rem);
  }

  .main-header.header-logo-left .nav-right {
    margin-left: 1rem;
  }

  .main-header.header-logo-left .nav-link {
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .main-header.header-logo-left .header-icons {
    margin-left: 10px;
  }

  .main-header.header-logo-left .header-right-section > .search-icon {
    margin-left: auto;
  }
}

.header-left-section {
  display: flex;
  align-items: center;
  gap: 32px;
}

.search-icon {
  background: none;
  border: none;
  color: var(--colore-testo-principale);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.search-icon:hover {
  color: var(--colore-link);
}

.nav-left {
  display: flex;
  width: 70%;
  margin-left: 1rem;
  justify-content: space-between;
}

.header-center {
  text-align: center;
}

.brand-logo {
  text-decoration: none;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-base);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-img {
  max-height: 60px;
  /* padding-top: 17px; */
  width: auto;
  object-fit: contain;
}

.logo-latte,
.logo-luna {
  color: var(--colore-testo-principale);
}

.logo-e {
  color: #333333;
  margin: 0 2px;
}

.header-right-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.nav-right {
  display: flex;
  width: 70%;
  margin-right: 1rem;
  justify-content: space-between;
}

.nav-link {
  color: var(--colore-testo-principale);
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--colore-link);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 769px) {
  .main-header .header-left-section {
    gap: 20px;
  }

  .main-header .header-right-section {
    gap: 20px;
  }

  .main-header .header-left-section,
  .main-header .header-right-section {
    min-width: 0;
  }

  .main-header .nav-left,
  .main-header .nav-right {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: clamp(0.72rem, 1.05vw, 1.2rem);
    flex-wrap: nowrap;
    min-width: 0;
  }

  .main-header .nav-link {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
  }

  .main-header .nav-dropdown {
    min-width: 0;
  }
}

.header-icon {
  color: var(--colore-testo-principale);
  text-decoration: none;
  position: relative;
  padding: 4px;
  transition: color 0.2s ease;
}

.header-icon:hover {
  color: var(--colore-link);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
}

.menu-burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 3px;
}

.menu-burger span {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

.header-nav-mobile,
.header-top-mobile,
.mobile-menu-overlay {
  display: none;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  justify-content: start;
  display: grid;
  overflow: hidden;
}

.slide-image img,
.slide img,
.slide-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 2rem;
  margin-top: 2rem;
}

.chat-widget {
  position: fixed;
  bottom: 60px;
  right: 60px;
  z-index: 20;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

main {
  overflow: hidden;
}

.homeslider_nav.prev{
  display: none;
  border-radius: 0 20px 20px 0;
}

.homeslider_nav.next{
  display: none;
  border-radius: 20px 0 0 20px;
}

@keyframes message-cycle {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  4% {
    opacity: 1;
    transform: translateX(0%);
  }

  29% {
    opacity: 1;
    transform: translateX(0%);
  }

  33% {
    opacity: 0;
    transform: translateX(-100%);
  }

  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .categories-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .face-types-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .blog-grid,
  .promotions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-container {
    padding: 0 40px;
  }

  .blog-carousel-next {
    right: 40px;
  }
}
.row.accountPage{
  padding: 2rem 5rem;
background: var(--color-background);
width: 80%;
margin: 2rem auto;
border-radius: 1rem;
}

#content-wrapper{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

#content-wrapper:has(.hero-section){
  max-width: 100%;
  padding: 0;
  width: 100%;
}
.form-control{
  width: 100%;
  margin: 1px;
  min-height: 2rem;
  border: none;
  border-radius: 5px;
  padding-left: 1rem;
  font-size: 1rem;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {

  #content-wrapper{
    padding: 0;
  }
  .row.accountPage{
    width: 100%;
    padding: 1rem;
    margin: 0;
  }
  .breadcrumb-list{
    justify-content: center;
  }
  .hero-title {
    font-size: 36px;
  }

  .hero-cta {
    padding: 14px 30px;
    font-size: 14px;
  }

  .section-heading {
    font-size: 28px;
  }

  .top-bar {
    height: 30px;
  }

  .top-bar-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .promo-message {
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(100%);
    animation: message-cycle 24s infinite;
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .promo-message:nth-child(1) {
    animation-delay: 0s;
  }

  .promo-message:nth-child(2) {
    animation-delay: 8s;
  }

  .promo-message:nth-child(3) {
    animation-delay: 16s;
  }

  .categories-section,
  .skin-test-section {
    padding: 60px 0;
  }

  .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vw;
    justify-content: start;
    display: grid;
    padding: 2rem;
    overflow: hidden;
  }

  .slide-image img,
  .slide img {
    margin: 0;
  }

  .hero-section,
  .hero-section .homeslider-container {
    min-height: 500px;
    padding: 1rem;
  }
  
  .hero-section .rslides {
    min-height: 500px;
  }

  /* Adattamento contenuto PrestaShop Slider per mobile */
  .hero-section .rslides .caption {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.8) 60%,
      transparent 100%
    );
    padding: 40px 20px 60px 20px;
    text-align: center;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-section .rslides .caption h3 {
    font-size: 48px;
    margin-bottom: 30px;
    text-align: center;
  }

  .hero-section .rslides .caption p {
    padding: 16px 40px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }

  .header-left-section,
  .header-right-section,
  .header-container > .header-center {
    display: none;
  }

  .section-heading {
    font-size: 36px;
  }

  .categories-wrapper,
  .skin-types-container,
  .blog-grid,
  .promotions-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .category-image {
    height: 250px;
  }

  .face-image-wrapper {
    width: 120px;
    height: 120px;
  }

  .section-container {
    padding: 0 20px;
  }

  .slider-controls {
    padding: 0 20px;
  }

  .chat-widget {
    bottom: 20px;
    right: 20px;
  }

  .blog-carousel-next {
    display: none;
  }

  .blog-section,
  .promotions-section,
  .categories-section,
  .skin-test-section {
    padding: 60px 0;
  }

  .top-bar-content {
    justify-content: center;
  }

  .promo-message {
    width: 100%;
    font-size: 12px;
    text-align: center;
  }

  .main-header {
    padding: 10px 0;
  }

  .header-container {
    padding: 0 15px;
    flex-direction: column;
    gap: 15px;
    display: flex;
  }


  .header-top-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    order: 1;
    padding: 0 1rem;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 1;
    position: static;
    cursor: pointer;
  }
  
  .mobile-menu-overlay {
    display: block;
  }

  .header-center {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .header-icons {
    order: 3;
    gap: 15px;
  }

  .header-search-mobile {
    display: flex;
    justify-content: center;
    order: 2;
  }

  .search-icon {
    display: flex;
    align-items: center;
  }

  .header-nav-mobile {
    display: flex !important;
    justify-content: center;
    order: 3;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    width: 100%;
    background: white;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-mobile-wrapper {
    display: flex !important;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 15px;
  }

  .header-nav-mobile .nav-left,
  .header-nav-mobile .nav-right {
    display: flex !important;
    gap: 15px;
    visibility: visible !important;
  }

  .header-nav-mobile .nav-link {
    font-size: 0.7rem !important;
    font-weight: bold;
    white-space: nowrap;
    padding: 5px 16px;
    border-radius: 20px;
    color: var(--colore-link);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.8px solid rgba(123, 179, 232, 0.5);
    display: inline-block !important;
    visibility: visible !important;
  }

  .logo-img {
    padding: 0%;
  }

  .nav-link:hover,
  .nav-link:active {
    background: var(--colore-link);
    color: white;
    transform: translateY(-1px);
  }

  .header-left-section,
  .header-right-section {
    display: none;
  }

  .menu-burger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
  }

  .menu-burger:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .menu-burger span {
    width: 22px;
    height: 2px;
    background: var(--colore-testo-principale);
    border-radius: 1px;
    transition: all 0.3s ease;
  }

  .logo-img {
    max-width: 70px;
    height: auto;
    transform: translateX(14px);
  }
  .newsletter-logo .logo-img {
    max-height: 100px !important; 
  }

  .brand-logo {
    font-size: 16px;
  }

  .header-icon {
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
  }

  .header-icon:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .cart-badge {
    font-size: 10px;
    padding: 2px 5px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
  }

  .header-nav-mobile::-webkit-scrollbar {
    height: 4px;
  }

  .header-nav-mobile::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }

  .header-nav-mobile::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
  }

  .header-nav-mobile::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
  }

  .categories-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .face-types-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .face-image-wrapper {
    width: 100px;
    height: 100px;
  }
}

@media (min-width: 481px) {
  .promo-message:nth-child(1) {
    border-right: 1px solid white;
    padding-right: 3rem;
  }

  .promo-message:nth-child(2) {
    border-right: 1px solid white;
    padding-right: 3rem;
  }
}

/* =======================================================
   MATERIAL ICONS FONT - MANCAVA!
   ======================================================= */

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/MaterialIcons-Regular-2d8017489da689caedc1.woff2) format('woff2'),
       url(../fonts/MaterialIcons-Regular-08cefa1bc6566a650da7.woff) format('woff');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* =======================================================
   CART PAGE STYLING - DESIGN MODERNO E PROFESSIONALE
   ======================================================= */

/* Pagina carrello */
.cart-page {
  background: var(--color-background);
  min-height: 70vh;
  padding: 2rem 0;
}

/* Layout principale carrello */
.cart-grid {
  margin: 0;
  max-width: 100%;
  padding: 0;
}

/* Header carrello */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.cart-items-count {
  color: var(--color-gray);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

/* Summary header */
.cart-summary-header {
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

/* Actions bottom */
.cart-actions-bottom {
  padding: 2rem;
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-neutral-bg);
  margin-top: 1rem;
}

/* Reassurance styling - Trust Badges Migliorati */
.cart-reassurance {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--color-neutral-bg) 0%, var(--color-neutral-border-light) 100%);
  border-radius: 12px;
  border: 1px solid var(--color-neutral-border-dark);
}

.cart-reassurance .block-reassurance {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-reassurance .block-reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cart-reassurance .block-reassurance-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.cart-reassurance .block-reassurance-item img,
.cart-reassurance .block-reassurance-item .icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.cart-reassurance .block-reassurance-item .block-reassurance-item-content {
  flex: 1;
}

.cart-reassurance .block-reassurance-item h6 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.cart-reassurance .block-reassurance-item p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin: 0;
  line-height: 1.4;
}

/* Carrello vuoto */
.no-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-gray);
  font-size: 1.2rem;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.no-items::before {
  content: "🛒";
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-grid__body {
  padding-right: 1.5rem;
}

.cart-grid__right {
  width: 99%;
}

/* Titoli */
.cart-grid .h4 {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Container prodotti */
.cart-container {
  background: var(--color-white);
  border-radius: 16px;
  /*box-shadow: 0 8px 32px rgba(0,0,0,0.1);*/
  margin-bottom: 2rem;
  overflow: hidden;
}

/* Lista prodotti */
.cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-item {
  padding: 2rem;
  border-bottom: 1px solid var(--color-border-subtle);
  transition: all 0.3s ease;
}

.cart-item:hover {
  background: var(--color-neutral-bg);
}

.cart-item:last-child {
  border-bottom: none;
}

/* NUOVO LAYOUT CARRELLO - GRID 30/70 FIGO */
.cart-product-line {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 0;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.cart-product-line:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* IMMAGINE - 30% taglio a vivo, niente padding */
.cart-product-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cart-product-image .product-link {
  display: block;
  width: 100%;
  height: 100%;
}

.cart-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.cart-product-image:hover img {
  transform: scale(1.05);
}

/* CONTENUTO - 70% con tutto organizzato */
.cart-product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Nome prodotto */
.cart-product-name {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-product-name .product-title {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  line-height: 1.3;
  display: block;
  margin-bottom: 0;
}

.cart-product-name .product-title:hover {
  color: var(--colore-link);
  text-decoration: none;
}

/* Badge Stock e Disponibilità */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  margin-top: 0.25rem;
}

.stock-badge i {
  flex-shrink: 0;
}

.stock-badge.stock-low {

}

.stock-badge.stock-out {
  background: linear-gradient(135deg, var(--color-error-light) 0%, #f5c6cb 100%);
  color: var(--color-error-text);
  border: 1px solid var(--color-error-border);
}

.stock-icon {
  font-size: 1rem;
  line-height: 1;
}

.stock-text {
  font-size: 0.85rem;
}

/* Badge Prodotto (Più venduto, Novità) */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-top: 0.25rem;
}

.product-badge i {
  flex-shrink: 0;
  font-size: 0.875rem;
}

.bestseller-badge {
  background: linear-gradient(135deg, var(--color-badge-bestseller) 0%, var(--color-badge-bestseller-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  animation: pulse 2s infinite;
}

.bestseller-badge i {
  color: var(--color-white);
}

.new-badge {
  background: linear-gradient(135deg, var(--color-badge-new) 0%, var(--color-badge-new-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

.new-badge i {
  color: var(--color-white);
}

/* Attributi (Size, Color) */
.cart-product-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.attribute-item {
  background: var(--color-background);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  border: 1px solid var(--color-neutral-border-light);
}

.attribute-label {
  color: var(--color-gray);
  font-weight: 500;
  margin-right: 4px;
}

.attribute-value {
  color: var(--color-text);
  font-weight: 600;
}

/* Prezzo unitario */
.cart-product-price-unit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.old-price {
  color: var(--color-gray-light);
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 500;
}

.discount-badge {
  background: linear-gradient(135deg, var(--color-error) 0%, var(--color-error-dark) 100%);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
  animation: pulse 2s infinite;
}

.discount-badge i {
  flex-shrink: 0;
}

.discount-badge-icon {
  font-size: 1rem;
  line-height: 1;
  color: var(--color-white);
}

.discount-badge-text {
  font-size: 0.85rem;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.promo-badge {
  background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-warning-dark) 100%);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
  box-shadow: 0 2px 6px rgba(243, 156, 18, 0.3);
}

.unit-price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.unit-detail {
  color: var(--color-gray);
  font-size: 0.85rem;
  font-style: italic;
}

/* AZIONI - Quantità + Totale + Rimuovi */
.cart-product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f2f5;
}


/* Controlli quantità FIGHI con + e - */
.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-border-medium);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.qty-btn {
  background: none;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
}

.qty-btn:hover {
  background: var(--color-primary);
  color: white;
}

.qty-btn:active {
  transform: scale(0.95);
}

.qty-input {
  border: none;
  text-align: center;
  padding: 12px 8px;
  outline: none;
  background: transparent;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary);
  width: 60px;
}

.qty-input:focus {
  background: var(--color-background);
}

.qty-input[readonly] {
  cursor: default !important;
  background: var(--color-background) !important;
  user-select: none;
}

.qty-input[readonly]:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Gift quantity styling */
.gift-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
  color: var(--color-white);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.gift-quantity i {
  flex-shrink: 0;
}

.gift-icon {
  font-size: 1.2rem;
  color: var(--color-white);
}

.gift-text {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gift-qty {
  font-size: 1rem;
  font-weight: 700;
}

/* Prezzo totale */
.cart-product-total .total-price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
}

.gift-total {
  color: var(--color-success);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Bottone rimuovi FIGO */
.cart-product-remove .remove-btn {
  background: var(--color-error-light);
  border: 2px solid #fed7d7;
  color: var(--color-error);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-product-remove .remove-btn:hover {
  background: var(--color-error);
  color: var(--color-white);
  border-color: var(--color-error);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.remove-icon {
  font-size: 1.4rem;
  line-height: 1;
}

/* Customizations */
.cart-product-customizations {
  margin-top: 0.5rem;
}

.customization-link {
  color: var(--color-primary);
  font-size: 0.85rem;
  text-decoration: underline;
  font-weight: 500;
}

.customization-link:hover {
  color: var(--colore-link);
}

/* Modal customizations */
.product-customization-line {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.product-customization-line:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.customization-label {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.customization-value {
  color: var(--color-text);
}

.customization-value img {
  max-width: 100px;
  height: auto;
  border-radius: 8px;
}


/* Continue Shopping Button */
.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 152, 199, 0.3);
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

/* Cart Summary - RIEPILOGO ORDINE */
.card.cart-summary {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  background: var(--color-white);
  padding: 2rem;
}

.cart-grid__right .h4 {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Righe riepilogo */
.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: 1rem;
}

.cart-summary-line:last-child {
  border-bottom: none;
}

.cart-summary-line .label {
  color: var(--color-gray);
  font-weight: 500;
}

.cart-summary-line .value {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Totale finale */
.cart-detailed-totals .cart-summary-line:last-child {
  border-top: 2px solid var(--color-primary);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.cart-detailed-totals .cart-summary-line:last-child .label {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-detailed-totals .cart-summary-line:last-child .value {
  color: var(--color-primary);
  font-weight: 700;
}

/* Bottone Checkout */
.checkout.cart-detailed-actions {
  padding: 2rem 0 0;
  margin-bottom: 5rem;
}

.checkout .btn-primary {
  width: 100%;
  padding: 1.2rem 2rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-neutral-dark) 0%, var(--color-neutral-medium-dark) 100%);
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
  color: var(--color-white);
  text-decoration: none;
}

@media (max-width: 768px) {
  .checkout .btn-primary {
    padding: 1rem 1.5rem;
    font-size: 12px;
  }
}

.cart-actions-bottom a{
  text-decoration: none;
}
.checkout .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(44, 62, 80, 0.35);
  background: linear-gradient(135deg, var(--color-neutral-medium-dark) 0%, var(--color-neutral-dark) 100%);
}

.checkout .btn-primary:disabled,
.checkout .btn-primary.disabled {
  background: var(--color-border-medium);
  color: var(--color-gray-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =======================================================
   INDICATORE PROGRESSO SPEDIZIONE GRATUITA
   ======================================================= */
.free-shipping-progress {
  background: linear-gradient(135deg, var(--color-neutral-bg) 0%, var(--color-neutral-border-light) 100%);
  border: 2px solid var(--color-neutral-border-dark);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.free-shipping-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.free-shipping-header i {
  flex-shrink: 0;
}

.free-shipping-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-neutral-medium);
}

.free-shipping-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.free-shipping-bar-container {
  width: 100%;
  height: 12px;
  background: var(--color-neutral-border-light);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}

.free-shipping-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-neutral-medium) 0%, var(--color-gray) 100%);
  border-radius: 10px;
  transition: width 0.6s ease;
  position: relative;
  overflow: hidden;
}

.free-shipping-bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--color-neutral-medium) 0%, var(--color-gray) 50%, var(--color-neutral-medium) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.free-shipping-message {
  text-align: center;
  font-size: 0.9rem;
}

.free-shipping-remaining {
  color: var(--color-gray);
}

.free-shipping-remaining strong {
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.1rem;
}

.free-shipping-success {
  color: var(--color-success);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.free-shipping-success i {
  color: var(--color-success);
  font-size: 1.2rem;
}

/* =======================================================
   CAMPO CODICE PROMOZIONALE MIGLIORATO - LAYOUT INTEGRATO
   ======================================================= */
.cart-voucher-wrapper {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-subtle);
}

.cart-voucher {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Voucher applicati */
.vouchers-applied {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.voucher-applied-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--color-neutral-light);
  border: 1px solid var(--color-neutral-border);
  border-radius: 8px;
}

.voucher-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.voucher-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.voucher-reduction {
  font-weight: 700;
  color: var(--color-success);
  font-size: 1rem;
}

.voucher-remove {
  color: var(--color-gray);
  text-decoration: none;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
  vertical-align: middle;
}

.voucher-remove i {
  font-size: 0.875rem;
  line-height: 1;
  top:0;
}

.voucher-remove:hover {
  background: var(--color-light-gray);
  color: var(--color-text);
}

/* Sezione codice promozionale */
.promo-code-section {
  padding: 1.25rem;
  background: var(--color-neutral-bg);
  border-radius: 12px;
  border: 1px solid var(--color-neutral-border-light);
}

.promo-code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.promo-code-header-icon {
  color: var(--color-neutral-medium);
  font-size: 1.1rem;
}

.promo-code-label {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
  margin: 0;
  cursor: pointer;
}

.promo-code-form {
  margin: 0;
}

.promo-input-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.promo-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-neutral-border-dark);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.promo-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(96, 96, 96, 0.1);
}

.promo-submit-btn {
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 100px;
  font-size: 0.95rem;
  background: #2c3e50;
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.promo-submit-btn:hover {
  background: #34495e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.25);
}

/* Notifiche errori - nascoste di default, visibili quando necessario */
.cart-voucher .js-error {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Mostra l'errore quando ha contenuto o quando viene mostrato via JavaScript */
.cart-voucher .js-error.show,
.cart-voucher .js-error:not([style*="display: none"]),
.cart-voucher .js-error[style*="display: block"],
.cart-voucher .js-error[style*="display: flex"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  padding: 0.75rem 1rem !important;
  margin-top: 0.75rem !important;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Mostra l'errore se ha testo */
.cart-voucher .js-error:has(.js-error-text:not(:empty)) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  padding: 0.75rem 1rem !important;
  margin-top: 0.75rem !important;
}

.cart-voucher .js-error i {
  font-size: 1rem;
}

/* Offerte disponibili */
.available-discounts {
  padding: 1rem;
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  border-radius: 8px;
}

.discounts-title {
  font-weight: 600;
  color: var(--color-warning-text);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.discounts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.discount-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.discount-code {
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-white);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
}

.discount-name {
  color: var(--color-gray);
}

/* =======================================================
   FEEDBACK VISIVO PER AZIONI CARRELLO
   ======================================================= */
.cart-item.updating {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.cart-item.updating::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 10;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.quantity-controls.updating {
  opacity: 0.5;
  pointer-events: none;
}

.cart-summary.updating {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.cart-summary.updating::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 5;
  border-radius: 16px;
}

/* Toast notification per azioni carrello */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInUp 0.3s ease;
  max-width: 400px;
}

.cart-toast.success {
  border-left: 4px solid #27ae60;
}

.cart-toast.error {
  border-left: 4px solid #e74c3c;
}

.cart-toast-icon {
  font-size: 1.5rem;
}

.cart-toast-message {
  flex: 1;
  font-weight: 500;
  color: #333;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Prodotti Correlati */
.cart-related-products {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border-subtle);
}

.related-products-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design - NUOVO LAYOUT */
@media (max-width: 1200px) {
  .cart-grid {
    padding: 0 1rem;
  }
  
  .cart-grid__body,
  .cart-grid__right {
    padding-left: 0;
    padding-right: 0;
  }
  
  .cart-product-content {
    padding: 1.2rem;
  }
}

@media (max-width: 991px) {
  .cart-grid {
    margin-top: 1rem;
  }
  
  .cart-grid__right {
    margin-top: 3rem;
  }
  
  /* Layout mobile per cart-product-line */
  .cart-product-line {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .cart-product-content {
    padding: 1rem;
  }
  
  .cart-product-actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  
  .quantity-controls {
    justify-self: center;
    width: fit-content;
    margin: 0 auto;
  }
  
  .cart-product-total {
    text-align: center;
  }
  
  .cart-product-remove {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cart-grid {
    padding: 0 1rem;
  }
  
  .cart-item {
    padding: 1rem;
  }
  
  .cart-product-line {
    border-radius: 12px;
  }
  
  .cart-product-content {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .cart-product-name .product-title {
    font-size: 1.1rem;
  }
  
  .attribute-item {
    font-size: 0.8rem;
    padding: 3px 8px;
  }
  
  .unit-price {
    font-size: 1.1rem;
  }
  
  .cart-product-actions {
    padding-top: 0.75rem;
    gap: 0.5rem;
  }
  
  .qty-btn {
    padding: 10px 12px;
    min-width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .qty-input {
    width: 50px;
    padding: 10px 6px;
    font-size: 1rem;
  }
  
  .cart-product-total .total-price {
    font-size: 1.2rem;
  }
  
  .cart-product-remove .remove-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .card.cart-summary {
    padding: 1.5rem;
  }
  
  .cart-grid .h4 {
    font-size: 1.4rem;
  }
}

/* Responsive per indicatori migliorati */
@media (max-width: 768px) {
  .free-shipping-progress {
    padding: 1rem;
  }
  
  .free-shipping-title {
    font-size: 0.9rem;
  }
  
  .free-shipping-message {
    font-size: 0.85rem;
  }
  
  .promo-code-section {
    padding: 1rem;
  }
  
  .promo-input-wrapper {
    flex-direction: column;
  }
  
  .promo-submit-btn {
    width: 100%;
  }
  
  .voucher-applied-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .voucher-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .cart-toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .cart-item {
    padding: 0.75rem;
  }
  
  .free-shipping-progress {
    padding: 0.875rem;
  }
  
  .free-shipping-icon {
    font-size: 1.25rem;
  }
  
  .free-shipping-title {
    font-size: 0.85rem;
  }
  
  .discount-badge {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  
  .promo-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
  
  .stock-badge {
    padding: 0.375rem 0.625rem;
    font-size: 0.8rem;
  }
  
  .product-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
  }
  
  .cart-reassurance {
    padding: 1rem;
  }
  
  .cart-reassurance .block-reassurance-item {
    padding: 0.75rem;
    flex-direction: column;
    text-align: center;
  }
  
  .cart-reassurance .block-reassurance-item img,
  .cart-reassurance .block-reassurance-item .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }
  
  .cart-related-products {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .related-products-title {
    font-size: 1.3rem;
  }
  
  .cart-product-line {
    border-radius: 10px;
  }
  
  .cart-product-content {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .cart-product-name .product-title {
    font-size: 1rem;
  }
  
  .cart-product-attributes {
    gap: 0.5rem;
  }
  
  .attribute-item {
    font-size: 0.75rem;
    padding: 2px 6px;
  }
  
  .cart-product-price-unit {
    gap: 0.5rem;
  }
  
  .unit-price {
    font-size: 1rem;
  }
  
  .cart-product-actions {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
  }
  
  .quantity-controls {
    width: 100%;
    justify-content: center;
  }
  
  .qty-btn {
    flex: 1;
    max-width: 50px;
  }
  
  .qty-input {
    flex: 1;
    max-width: 60px;
  }
  
  .cart-product-total {
    order: -1;
  }
  
  .cart-product-total .total-price {
    font-size: 1.1rem;
  }
  
  .cart-product-remove .remove-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* =======================================================
   PULSANTE FLOTTANTE AGGIORNA CARRELLO - FIGO!
   ======================================================= */

/* Pulsante flottante */
.floating-update-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-update-cart.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.update-cart-btn {
  /*background: linear-gradient(135deg, var(--color-primary), var(--colore-link));*/
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(102, 152, 199, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.update-cart-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(102, 152, 199, 0.5);
  background: linear-gradient(135deg, var(--colore-link), var(--color-primary));
}

.update-cart-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.update-cart-btn.updating {
  pointer-events: none;
  opacity: 0.8;
}

.update-cart-btn.updating::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.update-icon {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
  60% { transform: translateY(-2px); }
}

.update-text {
  font-size: 0.9rem;
  white-space: nowrap;
}

.update-count {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 4px;
}

/* Feedback visivo per quantità modificate */
.qty-input.changed {
  border-color: #f39c12 !important;
  background: #fff8e1 !important;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1) !important;
}

.quantity-controls.has-changes {
  border-color: #f39c12 !important;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.1);
  background: #fff8e1;
}

.quantity-controls.has-changes .qty-btn {
  color: #f39c12 !important;
}

.quantity-controls.has-changes .qty-btn:hover {
  background: #f39c12 !important;
  color: white !important;
}

/* Responsive per mobile */
@media (max-width: 768px) {
  .floating-update-cart {
    bottom: 20px;
    right: 20px;
  }
  
  .update-cart-btn {
    padding: 14px 20px;
    font-size: 0.85rem;
  }
  
  .update-text {
    font-size: 0.8rem;
  }
  
  .update-count {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .floating-update-cart {
    bottom: 15px;
    right: 15px;
  }
  
  .update-cart-btn {
    padding: 12px 16px;
    gap: 8px;
  }
  
  .update-text {
    display: none; /* Nascondi testo su schermi molto piccoli */
  }
  
  .update-icon {
    font-size: 1.4rem;
  }
}

/* =======================================================
   MENU DROPDOWN - MEGAMENU FIGO
   ======================================================= */

/* Container dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  position: relative;
  cursor: pointer;
}

.dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-trigger::after {
  transform: rotate(180deg);
}

/* Menu dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
  width: 600px;
  margin-top: 15px;
  border: 1px solid #e9ecef;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Contenuto dropdown */
.dropdown-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  padding: 0;
}

/* Colonna principale (sinistra) */
.dropdown-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 1.5rem;
  border-right: 1px solid #f0f2f5;
}

.dropdown-categories,
.dropdown-collections {
  display: flex;
  flex-direction: column;
  padding-right: 1rem;
}

.dropdown-title {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f2f5;
}

/* Links dropdown */
.dropdown-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dropdown-link {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  border-radius: 6px;
  padding-left: 0.75rem;
}

.dropdown-link:hover {
  color: var(--color-primary);
  background: var(--color-background);
  padding-left: 1rem;
  transform: translateX(4px);
}

/* Colonna promo - PIXEL PERFECT come immagine */
.dropdown-promo {
  background: var(--color-background);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.promo-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.text-danger{
  color: #e74c3c !important;
}
.promo-item:hover {
  transform: translateY(-2px);
}

.promo-image {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.promo-item:hover .promo-image {
  transform: scale(1.03);
}

button{
  background: var(--colore-testo-principale);
  color: white;
  border: none;
  padding: 3px 1rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  font-size: .8rem;
}

button i{
  position: relative;
  top: 2px;
  font-size: 0.8rem !important;
}

.promo-title {
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 1200px) {
  .dropdown-menu {
    width: 500px;
  }
  
  .dropdown-main {
    padding: 1.2rem;
  }
  
  .dropdown-promo {
    padding: 1.2rem;
  }
}

@media (max-width: 991px) {
  .dropdown-menu {
    width: 450px;
  }
  
  .dropdown-content {
    grid-template-columns: 1fr;
  }
  
  .dropdown-main {
    border-right: none;
    border-bottom: 1px solid #f0f2f5;
    padding: 1rem;
  }
  
  .dropdown-promo {
    padding: 1rem;
    flex-direction: row;
    gap: 0.75rem;
  }
  
  .promo-image {
    height: 60px;
  }
}

@media (max-width: 768px) {
  /* Su mobile nascondi il dropdown desktop, usa il menu mobile normale */
  .header-left-section .nav-dropdown .dropdown-menu,
  .header-right-section .nav-dropdown .dropdown-menu {
    display: none;
  }
  
  .header-left-section .dropdown-trigger::after,
  .header-right-section .dropdown-trigger::after {
    display: none;
  }
  
  /* =======================================================
     MOBILE MENU OVERLAY - Full Screen Menu Stile NIOD
     ======================================================= */
  
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Supporto per mobile browsers moderni */
    background: #1a1a1a;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Header Menu Mobile - Stile NIOD */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .mobile-menu-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  .mobile-menu-close:hover {
    transform: rotate(90deg);
  }
  
  .mobile-menu-close svg {
    width: 24px;
    height: 24px;
  }
  
  .mobile-menu-logo {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  .mobile-menu-logo .logo-img {
    max-height: 40px;
    width: auto;
    filter: grayscale(1) invert(1);
  }
  
  .mobile-menu-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .mobile-menu-icon {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    transition: opacity 0.3s ease;
  }
  
  .mobile-menu-icon:hover {
    opacity: 0.7;
  }
  
  .mobile-menu-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .mobile-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--colore-testo-principale, #606060);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Body Menu Mobile */
  .mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
  }
  
  .mobile-menu-nav {
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  /* Featured Links - Top Section */
  .mobile-menu-featured {
    background: #000;
    padding: 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-featured-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .mobile-featured-link:last-child {
    border-bottom: none;
  }
  
  .mobile-featured-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
  }
  
  .mobile-featured-link:hover {
    padding-left: 1rem;
  }
  
  .mobile-featured-link:hover::after {
    width: 40px;
  }
  
  /* Main Menu Categories */
  .mobile-menu-main {
    background: #1a1a1a;
    padding: 0;
  }
  
  .mobile-menu-category {
    display: flex;
    flex-direction: column;
  }
  
  /* Link normali nel menu mobile - Stile NIOD */
  .mobile-menu-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    background: transparent;
  }
  
  .mobile-menu-nav .nav-link:hover,
  .mobile-menu-nav .nav-link:active {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding-left: 2rem;
  }
  
  /* Dropdown nel menu mobile - Accordion style NIOD */
  .mobile-menu-nav .nav-dropdown {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
  }
  
  .mobile-menu-nav .dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
  }
  
  /* Icona + / - per accordion */
  .mobile-menu-nav .dropdown-trigger::after {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  
  .mobile-menu-nav .nav-dropdown.mobile-open .dropdown-trigger::after {
    transform: rotate(90deg);
  }
  
  .mobile-menu-nav .dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 2rem;
  }
  
  /* Menu dropdown nel mobile - accordion */
  .mobile-menu-nav .dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100%;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 0;
  }
  
  .mobile-menu-nav .nav-dropdown.mobile-open .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      max-height: 1000px;
      transform: translateY(0);
    }
  }
  
  /* Scrollbar personalizzata per menu mobile */
  .mobile-menu-content::-webkit-scrollbar {
    width: 4px;
  }
  
  .mobile-menu-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .mobile-menu-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
  }
  
  .mobile-menu-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .mobile-menu-nav .dropdown-content {
    display: block;
    grid-template-columns: 1fr;
    padding: 0;
  }
  
  .mobile-menu-nav .dropdown-main {
    display: block;
    grid-template-columns: 1fr;
    padding: 0;
    border: none;
  }
  
  .mobile-menu-nav .dropdown-categories {
    padding: 0;
  }
  
  /* Sezione "SHOP BY" o sottotitoli */
  .mobile-menu-nav .dropdown-title {
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem 0.5rem 1.5rem;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
  }
  
  .mobile-menu-nav .dropdown-links {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu-nav .dropdown-link {
    display: block;
    padding: 0.875rem 1.5rem 0.875rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-nav .dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 3rem;
    color: white;
    transform: none;
  }
  
  .mobile-menu-nav .dropdown-promo {
    display: none; /* Nascondi promo images su mobile per semplicità */
  }
  
  /* Separatore tra sezioni */
  .mobile-menu-nav .nav-dropdown + .nav-link,
  .mobile-menu-nav .nav-link + .nav-dropdown {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}


.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--colore-testo-principale);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  height: 50px;
  width: 50px;
  opacity: 0.5;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.scroll-to-top.visible {
  visibility: visible;
}

.scroll-to-top:hover {
  opacity: 1;
}


.category-description > p > span{
  background-color: transparent !important;
}

/* Contact Page Improvements */
body#contact #left-column {
  display: none !important;
}

body#contact #content-wrapper.left-column {
  margin-left: 0 !important;
  width: 100% !important;
}

#main .page-content {
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

#main .page-content.card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
