/** Shopify CDN: Minification failed

Line 157:1 Expected identifier but found "."
Line 298:0 Expected "}" to go with "{"

**/
/* =========================
   🌿 ERMINIA DESIGN SYSTEM
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap');

:root {
  --bg-main: #f5f1eb;
  --bg-soft: #faf7f2;
  --bg-card: #eae3d9;
  --text-main: #2b2b2b;
  --text-soft: #6b6b6b;
  --gold: #d6c3a3;
  --gold-dark: #c2ae8d;
  --overlay-dark: rgba(0,0,0,0.35);
  --radius: 12px;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

section { padding: 40px 20px; }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -0.5px;
}
h1 { font-size: 28px; }
h2 { font-size: 22px; }
p  { font-size: 15px; color: var(--text-soft); }

/* VIDEO HERO */
.video-hero { position: relative; height: auto; overflow: hidden; }
.video-bg   { width: 100%; height: 100%; object-fit: cover; }
.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}
.overlay {
  position: absolute;
  bottom: 1%; left: 5%; right: 5%;
  color: white;
  z-index: 2;
}

/* BUTTONS */
.btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  text-align: center;
  border-radius: var(--radius);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn.primary { background: var(--gold); color: #000; }
.btn.primary:hover { background: var(--gold-dark); }
.btn.secondary { border: 1px solid white; color: white; }
.btn.whatsapp { background: #25D366; color: white; }

/* PRODUCT SLIDER */
.product-slider h2 { margin-bottom: 16px; }
.slider {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 10px;
}
.slider::-webkit-scrollbar { display: none; }
.card {
  min-width: 70%;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-4px); }
.card img   { width: 100%; display: block; }
.card p     { font-size: 14px; padding: 8px; }
.card span  { font-size: 13px; padding: 0 8px 10px; display: block; }
.price-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(255,255,255,0.85);
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
}

/* MOOD */
.mood { margin-bottom: 40px; }
.mood-wrapper { position: relative; }
.mood-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}
.mood-bg { width: 100%; border-radius: var(--radius); display: block; }
.mood-content {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  color: white;
  z-index: 2;
}
.mood-products {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}
.mini-product { min-width: 80px; }
.mini-product img { width: 100%; border-radius: 8px; }

/* VIDEO SECTION */
.video-section video { width: 100%; border-radius: var(--radius); }

/* ERMINIA BLOCK */
.erminia { text-align: left; }
.erminia-container { display: flex; flex-direction: column; gap: 20px; }
.erminia-image img { width: 100%; border-radius: var(--radius); }
.erminia-text h2 { font-size: 24px; }
.subtitle { font-style: italic; margin-bottom: 10px; }
.note { font-size: 12px; margin-top: 8px; color: var(--text-soft); }

/* CTA BANNER */
.cta-banner {
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

/* MOOD VIDEO */
.mood-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

..mood-wrapper video.mood-bg {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 9/16;
  max-height: none;
}


/* MOBILE */
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  .overlay { bottom: 3%; }
  .card { min-width: 75%; }
  .btn { font-size: 15px; }
}
/* Prezzi mini-product - nero senza sottolineatura */
.mini-product a,
.mini-product span,
.mini-product p,
.mood-products a,
.mood-products span {
  color: #000000 !important;
  text-decoration: none !important;
}

/* Mini-product - foto proporzione originale senza crop */
.mini-product {
  min-width: 110px;
  max-width: 110px;
  flex-shrink: 0;
}

.mini-product img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px;
}

/* Riduci spazio tra mood */
.mood {
  margin-bottom: 12px;
}
.overlay {
  text-align: center;
}
/* ========================
  /* ========================
   DESKTOP (min 768px)
   ======================== */
@media (min-width: 768px) {

  /* 4 Mood affiancati */
  #shopify-section-template--28113429594496__mood_section_gb3KNX,
  #shopify-section-template--28113429594496__mood_section_gbfyry,
  #shopify-section-template--28113429594496__mood_section_8BdNaJ,
  #shopify-section-template--28113429594496__mood_section_K6KADL {
    display: inline-block !important;
    width: calc(25% - 12px) !important;
    vertical-align: top;
    margin: 0 6px;
  }

  /* Video e wrapper rispettano larghezza */
  #shopify-section-template--28113429594496__mood_section_gb3KNX .mood-wrapper,
  #shopify-section-template--28113429594496__mood_section_gbfyry .mood-wrapper,
  #shopify-section-template--28113429594496__mood_section_8BdNaJ .mood-wrapper,
  #shopify-section-template--28113429594496__mood_section_K6KADL .mood-wrapper {
    width: 100%;
    overflow: hidden;
  }

  #shopify-section-template--28113429594496__mood_section_gb3KNX video,
  #shopify-section-template--28113429594496__mood_section_gbfyry video,
  #shopify-section-template--28113429594496__mood_section_8BdNaJ video,
  #shopify-section-template--28113429594496__mood_section_K6KADL video {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 9/16;
  }

  /* Erminia - foto sinistra, testo destra */
  .erminia-container {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 40px 80px;
  }
  
  .erminia-image { flex: 1; }
  .erminia-text { flex: 1; }
  /* Product slider - 5 card visibili su desktop */
  .slider {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    overflow-x: visible;
  }

  .slider .card {
    min-width: unset;
    width: 100%;
  }
/* Video Hero - desktop/mobile */
.video-mobile {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
@media (max-width: 767px) {
  .video-hero {
    aspect-ratio: 9 / 16 !important;
    height: auto;
  }
  .video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (min-width: 768px) {
  .video-hero { aspect-ratio: 16 / 9; }
  .video-mobile { display: none; }
  .video-desktop { display: block; }
  .cta-note { font-size: 1rem; }
}
  .cta-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  letter-spacing: 0.05em;
  text-align: center;
  width: 100%;
  display: block;

}


