/* HEADER → marrone con testo panna */
#header {
  background-color: #5e4f4d !important;
  border: none !important;
}

/* Barra superiore (Accedi/Carrello) → PANNA con scritte marroni */
.header-nav, #header .header-nav {
  background-color: #faf6f0 !important;
  border-bottom: 1px solid #d4c4b0 !important;
}

#header .header-nav a,
#header .header-nav span,
#header #_desktop_user_info a,
#header #_desktop_user_info span,
#header #_desktop_cart a,
#header #_desktop_cart span,
#header #_desktop_cart .cart-products-count {
  color: #5e4f4d !important;
}

/* Nascondi Contattaci */
.header-nav a[href*="contattaci"],
.header-nav a[href*="contact"],
.header-nav .contact-link {
  display: none !important;
}

/* Menu → panna */
#header .top-menu a,
#header .top-menu span,
#header nav a,
#header nav span,
#header #_desktop_top_menu a,
#header #_desktop_top_menu span {
  color: #faf6f0 !important;
}

#header .top-menu a:hover,
#header nav a:hover {
  color: #d4b896 !important;
}

#header .header-top a,
#header .header-top span {
  color: #faf6f0 !important;
}

/* Barra di ricerca */
#search_widget input {
  background-color: #f0ebe2 !important;
  border-color: #c4b49a !important;
  color: #3a2e22 !important;
}

/* CORPO → panna */
body, html {
  background-color: #faf6f0 !important;
  color: #3a2e22 !important;
}

#wrapper, #main, #content, #content-wrapper,
.page-wrapper, .page-content,
.featured-products, .products-section,
#index, .page-home {
  background-color: #faf6f0 !important;
}

h1, h2, h3, h4 { color: #3a2e22 !important; }
a { color: #5e4f4d; }
a:hover { color: #7d755b; }

.card, .product-miniature .card {
  background-color: #faf6f0 !important;
  border-color: #d4c4b0 !important;
}

.btn-primary, .cart-preview .btn {
  background-color: #7d755b !important;
  border-color: #7d755b !important;
  color: #faf6f0 !important;
}

.btn-primary:hover {
  background-color: #5e4f4d !important;
  border-color: #5e4f4d !important;
}

.product-flag, .new-flag {
  background-color: #7d755b !important;
  color: #faf6f0 !important;
}

.product-flag.out-of-stock {
  background-color: #8B6F5E !important;
  color: #faf6f0 !important;
}

.price { color: #3a2e22 !important; }

/* FOOTER → panna con testo marrone */
#footer, .footer-container {
  background-color: #faf6f0 !important;
  color: #3a2e22 !important;
}

#footer h3, #footer h4,
#footer .h3, #footer .h4,
#footer p.h4,
#footer .footer-title,
#footer [class*="title"],
.footer-container h3,
.footer-container h4 {
  color: #5e4f4d !important;
}

#footer a, .footer-container a {
  color: #5e4f4d !important;
}

#footer a:hover, .footer-container a:hover {
  color: #7d755b !important;
}

#footer p, #footer span, #footer li, #footer div,
.footer-container p, .footer-container span, .footer-container li {
  color: #3a2e22 !important;
}

/* Newsletter → panna */
.block-newsletter, [class*="newsletter"] {
  background-color: #faf6f0 !important;
  color: #3a2e22 !important;
}

.block-newsletter p, .block-newsletter label,
.block-newsletter h2, .block-newsletter h3 {
  color: #3a2e22 !important;
}

.block-newsletter input[type="email"] {
  background-color: #fff !important;
  color: #3a2e22 !important;
  border: 1px solid #c4b49a !important;
}

.block-newsletter .btn,
.block-newsletter button,
input[type="submit"] {
  background-color: #7d755b !important;
  border-color: #7d755b !important;
  color: #faf6f0 !important;
}

/* Social icons → marrone fisso */
.social-sharing a,
.social-sharing li a {
  color: #5e4f4d !important;
  border-color: #5e4f4d !important;
  background-color: transparent !important;
}

.social-sharing a svg,
.social-sharing a i,
.social-sharing a::before {
  color: #5e4f4d !important;
  fill: #5e4f4d !important;
}

.social-sharing a:hover {
  background-color: #5e4f4d !important;
  border-color: #5e4f4d !important;
}

.social-sharing a:hover svg,
.social-sharing a:hover i,
.social-sharing a:hover::before {
  color: #faf6f0 !important;
  fill: #faf6f0 !important;
}

/* Copyright */
.footer-bottom {
  background-color: #f0ebe2 !important;
  color: #5e4f4d !important;
}

.block-social ul li.facebook::before,
.block-social ul li.instagram::before {
  filter: brightness(0) saturate(100%) invert(35%) sepia(15%) saturate(1000%) hue-rotate(20deg);
}

/* Titolo Instagram: rimuove corsivo e maiuscolo forzato */
.instagram-home-title h3 a {
  font-style: normal !important;
  text-transform: none !important;
}

/* Cropping uniforme e spaziatura anteprime Instagram (foto e video) - fix da supporto sviluppatore modulo */
.instagram-item img, .instagram-item video {
  height: 220px !important;
  object-fit: cover;
}

.instagram-carousel-container .instagram-item-gallery {
  padding-right: 3px;
}