/*
  argille-custom.css
  Miglioramenti grafici per Argille & Fantasie del Parco
  Si sovrappone a main.css senza modificarlo
*/

/* ============================================================
   2. VARIABILI CUSTOM AGGIUNTIVE
   ============================================================ */
:root {
  --terracotta:      #C04A00;
  --terracotta-soft: #E07840;
  --marrone:         #3D1800;
  --verde-bosco:     #2D6000;
  --verde-soft:      #608040;
  --crema:           #F5EFE6;
  --crema-dark:      #EDE3D4;
  --sabbia:          #D4B896;
  --testo:           #4A3728;
  --shadow-warm:     0 8px 32px rgba(61, 24, 0, 0.10);
  --shadow-card:     0 4px 20px rgba(61, 24, 0, 0.08);
  --radius-card:     14px;
  --radius-btn:      50px;
}

/* ============================================================
   3. HEADER – più elegante, con sfondo crema caldo
   ============================================================ */
.header {
    background: #FDFAF6 !important;
    border-bottom: 2px solid var(--crema-dark) !important;
    box-shadow: 0 2px 20px rgba(61,24,0,0.06) !important;
    --accent-color: #C04A00;
    --contrast-color: #ffffff;
    --surface-color: #ffffff;
}

/* Logo – dimensioni migliori */
.header .main-header .logo img {
  max-height: 54px !important;
  width: auto;
  margin-right: 12px;
}

/* Nome azienda nel logo */
.header .main-header .logo h1.sitename {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--marrone) !important;
  line-height: 1.2;
}

/* Nav link */
.navmenu a,
.navmenu a:focus {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marrone) !important;
  padding: 12px 15px;
  position: relative;
}

/* Primo link allineato al logo */
.navmenu li:first-child a {
  padding-left: 0;
}

.navmenu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.navmenu a:hover::after,
.navmenu .active::after {
  width: 100%;
}

.navmenu a:hover,
.navmenu .active {
  color: var(--terracotta) !important;
}

.header .main-header .header-actions .header-action-btn {
    --accent-color: #C04A00;
    --contrast-color: #ffffff;
}

/* ============================================================
   4. HERO – overlay più caldo, titolo più elegante
   ============================================================ */
.hero .overlay-content {
  background: linear-gradient(
    135deg,
    rgba(61, 24, 0, 0.55) 0%,
    rgba(61, 24, 0, 0.15) 60%,
    transparent 100%
  ) !important;
}

.hero .hero-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 600 !important;
  font-style: italic;
  font-size: 4.5rem !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .hero .hero-title {
    font-size: 2.6rem !important;
  }
}

.hero .primary-cta {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--terracotta) !important;
  color: #fff !important;
  padding: 14px 36px !important;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(192, 74, 0, 0.35);
}

.hero .primary-cta:hover {
  background: transparent !important;
  border-color: #fff;
  color: #fff !important;
  box-shadow: 0 6px 28px rgba(192, 74, 0, 0.25);
  transform: translateY(-2px);
}

/* ============================================================
   5. SECTION TITLES – più carattere
   ============================================================ */
.section-title h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 40px !important;
  font-weight: 600 !important;
  font-style: italic;
  color: var(--marrone) !important;
  letter-spacing: -0.01em;
}

.section-title h2::after {
  width: 60px !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--terracotta), var(--verde-bosco)) !important;
  border-radius: 2px;
}

.section-title p {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: color-mix(in srgb, var(--testo), transparent 30%);
  letter-spacing: 0.02em;
}

/* Page title bar */
.page-title h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic;
  font-weight: 600;
  color: var(--marrone) !important;
}

/* ============================================================
   6. PROMO CARDS – più definite, bordo caldo
   ============================================================ */
.promo-cards .category-card {
  border-radius: var(--radius-card) !important;
  overflow: hidden;
  box-shadow: var(--shadow-card) !important;
  border: 1px solid var(--crema-dark);
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.promo-cards .category-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-warm) !important;
}

.promo-cards .category-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 24px !important;
  font-weight: 600;
  font-style: italic;
  color: var(--marrone) !important;
}

.promo-cards .category-image img {
  transition: transform 0.6s ease !important;
}

.promo-cards .category-card:hover .category-image img {
  transform: scale(1.06) !important;
}

.promo-cards .view-all {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta) !important;
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.promo-cards .view-all:hover {
  color: var(--verde-bosco) !important;
  border-color: var(--verde-bosco);
}

/* ============================================================
   7. PRODUCT CARDS – eleganti, warm
   ============================================================ */
.best-sellers .product-card {
  border-radius: var(--radius-card) !important;
  box-shadow: var(--shadow-card) !important;
  border: 1px solid var(--crema-dark);
  background: #FFFCF9 !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.best-sellers .product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-warm) !important;
}

.best-sellers .product-image {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
}

.best-sellers .product-image img {
  transition: transform 0.6s ease !important;
}

.best-sellers .product-card:hover .product-image .main-img {
  transform: scale(1.05);
}

.best-sellers .product-info .product-title a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--marrone) !important;
  line-height: 1.3;
}

.best-sellers .product-info .product-title a:hover {
  color: var(--terracotta) !important;
}

.best-sellers .product-info .product-price .current-price {
  font-family: 'Raleway', sans-serif;
  font-size: 19px !important;
  font-weight: 700;
  color: var(--terracotta) !important;
}

.best-sellers .product-image .badge {
  background: var(--verde-bosco) !important;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px !important;
}

.best-sellers .product-image .product-overlay .btn-cart {
  background: var(--marrone) !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 13px;
  border-radius: var(--radius-btn) !important;
}

.best-sellers .product-image .product-overlay .btn-cart:hover {
  background: var(--terracotta) !important;
}

/* Filter pills */
.best-sellers .product-filters ul li {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px !important;
  border: 1px solid var(--crema-dark);
}

.best-sellers .product-filters ul li.filter-active {
  background: var(--terracotta) !important;
  border-color: var(--terracotta);
}

.best-sellers .view-all-btn {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marrone);
  border: 2px solid var(--marrone);
  padding: 12px 36px;
  border-radius: var(--radius-btn);
  transition: all 0.3s;
  display: inline-block;
}

.best-sellers .view-all-btn:hover {
  background: var(--marrone);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}

/* ============================================================
   8. CALL TO ACTION – gradiente caldo
   ============================================================ */
.call-to-action {
  background: linear-gradient(135deg, var(--marrone) 0%, #6B2E00 50%, var(--verde-bosco) 100%) !important;
  position: relative;
  overflow: hidden;
}

.call-to-action::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(192,74,0,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.call-to-action h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 42px !important;
  font-style: italic;
  color: #fff !important;
}

.call-to-action p {
  color: rgba(255,255,255,0.85) !important;
}

.call-to-action .btn-shop-now {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--terracotta);
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.call-to-action .btn-shop-now:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.call-to-action .action-buttons .btn-shop-now {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--terracotta);
    border-radius: var(--radius-btn);
}

.call-to-action .action-buttons .btn-shop-now:hover {
    background: color-mix(in srgb, var(--terracotta), #000 15%);
    border-color: color-mix(in srgb, var(--terracotta), #000 15%);
    transform: translateY(-2px);
}

.call-to-action .action-buttons .btn-view-deals {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-btn);
    margin-left: 12px;
}

.call-to-action .action-buttons .btn-view-deals:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

.call-to-action h2 {
    -webkit-text-fill-color: initial;
    background: none;
}

/* ============================================================
   9. STATS – icone colorate
   ============================================================ */
.stats-item i {
  color: var(--terracotta) !important;
}

.stats-item h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

/* ============================================================
   10. ABOUT / FEATURE BOXES
   ============================================================ */
.about-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 34px !important;
  font-weight: 600;
  font-style: italic;
  color: var(--marrone) !important;
  line-height: 1.25;
}

.feature-box {
  border-left: 3px solid var(--terracotta);
  padding-left: 20px;
  transition: border-color 0.3s;
}

.feature-box:hover {
  border-color: var(--verde-bosco);
}

.feature-box .icon-box i {
  color: var(--terracotta) !important;
}

.feature-box h3 a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--marrone) !important;
}

/* ============================================================
   11. FOOTER – più caldo e strutturato
   ============================================================ */
.footer {
  background: var(--crema) !important;
  border-top: 2px solid var(--crema-dark);
}

.footer h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--marrone) !important;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.footer .icon {
  color: var(--terracotta) !important;
}

.footer .social-links a {
  background: var(--marrone) !important;
  transition: background 0.3s, transform 0.2s;
}

.footer .social-links a:hover {
  background: var(--terracotta) !important;
  transform: translateY(-3px);
}

.footer .social-links a {
    color: var(--accent-color);
    border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.footer .social-links a:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.footer .copyright {
  border-top: 1px solid var(--crema-dark);
  padding-top: 20px;
  color: color-mix(in srgb, var(--testo), transparent 30%);
  font-size: 13px;
}

/* ============================================================
   12. SCROLL TOP BUTTON
   ============================================================ */
.scroll-top {
  background: var(--terracotta) !important;
}

.scroll-top:hover {
  background: var(--marrone) !important;
}

/* ============================================================
   13. SHOP SIDEBAR – più pulita
   ============================================================ */
.widget-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-weight: 600;
  font-style: italic;
  color: var(--marrone) !important;
  border-bottom: 2px solid var(--crema-dark);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.category-link {
  color: var(--testo) !important;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  transition: color 0.2s;
}

.category-link:hover {
  color: var(--terracotta) !important;
}

/* ============================================================
   14. BUTTONS GENERICI
   ============================================================ */
.btn-primary,
.btn.btn-primary {
  background: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-btn) !important;
  transition: all 0.3s;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--marrone) !important;
  border-color: var(--marrone) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(61,24,0,0.2);
}

.btn-outline-primary,
.btn.btn-outline-primary {
  color: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-btn) !important;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background: var(--terracotta) !important;
  color: #fff !important;
}

/* ============================================================
   15. MOBILE REFINEMENTS
   ============================================================ */
@media (max-width: 768px) {
  .header .main-header .logo h1.sitename {
    font-size: 17px !important;
  }

  .header .main-header .logo img {
    max-height: 42px !important;
  }

  .section-title h2 {
    font-size: 28px !important;
  }

  .about-title {
    font-size: 26px !important;
  }

  .call-to-action h2 {
    font-size: 28px !important;
  }

  .call-to-action .btn-view-deals {
    margin-left: 0;
    margin-top: 12px;
    display: block;
    text-align: center;
  }

  .best-sellers .product-info .product-title a {
    font-size: 15px;
  }
}

/* ============================================================
   16. TERRITORIO – typed text stilizzato
   ============================================================ */
.typed {
  color: var(--terracotta) !important;
  font-style: italic;
}

/* ============================================================
   17. FAQ – stile accordeon
   ============================================================ */
.faq-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--marrone);
}

.faq-item.faq-active h3 {
  color: var(--terracotta);
}

/* ============================================================
   18. BREADCRUMB
   ============================================================ */
.breadcrumbs a {
  color: var(--terracotta) !important;
}

.breadcrumbs .current {
  color: var(--testo) !important;
}

/* ============================================================
   19. SOTTILE TEXTURE SFONDO – senso di carta naturale
   ============================================================ */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23FDFAF6'/%3E%3Crect x='0' y='0' width='1' height='1' fill='%23F5EFE6' opacity='0.4'/%3E%3C/svg%3E");
}

/* ============================================================
   20. PRODUCT SHOP CARDS
   ============================================================ */
.product-card .product-title a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--marrone) !important;
}

.product-card .product-category {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde-bosco) !important;
  margin-bottom: 6px;
}

.product-card .product-price {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--terracotta) !important;
}

.product-card {
  border-radius: var(--radius-card) !important;
  box-shadow: var(--shadow-card) !important;
  border: 1px solid var(--crema-dark) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-warm) !important;
}


/* ============================================================
   Menu mobile - sfondo chiaro con link marroni leggibili
   ============================================================ */
@media (max-width: 1199px) {
    /* Pannello menu: sfondo chiaro crema */
    .navmenu ul {
        background-color: #FDFAF6 !important;
        box-shadow: 0 10px 40px rgba(61, 24, 0, 0.25) !important;
        padding: 10px 0 !important;
    }

    /* Link: marrone leggibile su sfondo crema */
    .navmenu a,
    .navmenu a:focus {
        color: var(--marrone) !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid rgba(61, 24, 0, 0.08);
    }

    /* Ultimo link senza bordino */
    .navmenu li:last-child a {
        border-bottom: none;
    }

    /* Hover: terracotta */
    .navmenu a:hover,
    .navmenu .active {
        color: var(--terracotta) !important;
        background-color: rgba(192, 74, 0, 0.06);
    }

    /* Disattiva la sottolineatura desktop su mobile */
    .navmenu a::after {
        display: none !important;
    }

    /* Overlay di sfondo: marrone trasparente invece del grigio default */
    .mobile-nav-active .navmenu {
        background: rgba(61, 24, 0, 0.7) !important;
    }

    /* X di chiusura bianca per essere leggibile sull'overlay */
    .mobile-nav-active .mobile-nav-toggle {
        color: #FDFAF6 !important;
    }
}


.feature-box .icon-box i {
    color: var(--terracotta) !important;
    transition: color 0.3s; /* aggiunta per transizione fluida */
}

/* Hover: icona bianca quando il box è in hover */
.about-2 .features-boxes .feature-box:hover .icon-box i {
    color: var(--contrast-color, #ffffff) !important;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.current-price {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--terracotta) !important;
}

/*--------------------------------------------------------------
# Hero Section - Override per leggibilità testo
--------------------------------------------------------------*/

/* Overlay scuro più marcato a sinistra (dove c'è il testo), 
   sfumato verso destra (per non coprire la foto) */
.hero .overlay-content {
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.20) 65%, rgba(0, 0, 0, 0.10) 100% ) !important;
}

/* Su mobile (testo centrato) overlay uniforme dal basso */
@media (max-width: 768px) {
    .hero .overlay-content {
        background: linear-gradient( to top, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.35) 100% ) !important;
    }
}

/* Tagline: bianca con piccola ombra */
.hero .brand-tagline {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    opacity: 1; /* override dell'opacity 0.9 di main.css per massima leggibilità */
}

/* Titolo principale: bianco con ombra più marcata */
.hero .hero-title {
    color: #ffffff !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

/* CTA: usa il tuo ColoreBase (c0392b) per stagliarsi sul testo bianco */
.hero .primary-cta {
    background-color: #c0392b !important;
    color: #ffffff !important;
    border: 2px solid #c0392b;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

    .hero .primary-cta:hover {
        background-color: #a93226 !important;
        border-color: #a93226;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    }