@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
@import "variables";

:root {
  /**colors unboxlabs.ai*/
  --nav-color: #ffffff;
  --text-color-card: #1a1a1a;
  --new-primary-color: #280a5e; /* Viola scuro */
  --bg-filter-color: #f5f5f5;
  --primary-color: #280a5e;
  --secondary-color: #6a1b9a;
  --primary-bg-color: #f8f9fa;
  --menu-bg-color: #e9dcc9; /* Colore tan dallo screenshot */
  --mega-menu-bg-color: #ffffff;
  --mega-menu-separator-color: #eeeeee;
  --offer-color-pill: #280a5e;
  --merchant-color-pill: #f3e5f5;
  --limited-offer-pill-color: #6a1b9a;
  --price-discount-color: #28a745; /* Verde per i prezzi */
  --discount-pill-color: #ede7f6; /* Sfondo badge sconto */
  --discount-color: #6a1b9a; /* Testo badge sconto */

  --bs-primary-rgb: 40, 10, 94;

  --header-bg: #efe6fd;
  --header-txt: #000000;

  --ubl-orange: #ff8000;

  --bg-color: #eef0fe;

  --bg-color-beige: #E5D3BA;
  --bg-color-brown: #977246;

  --primary: #250770;
  --green: #0dbd79;
  --light-gray: #837e80;

  --section-text-color: #353333;
  --section-bg-color: #E9E6F1;
}

body {
  background-color: var(--section-bg-color) !important;
}

.bluebg, #serachDesktop, #expandableSearch {
  background-color: transparent !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
}

.navbar-container {
  background-color: var(--bg-color-beige) !important;
  padding: 0;
  width: 100% !important;
  max-width: none !important;
}

header.bg-mobile {
  background-color: var(--bg-color-beige) !important;
}

.container.bg-mobile {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

#serachDesktop::placeholder, #expandableSearch::placeholder {
  color: #6c757d !important;
}

.bi-search, .search-mobile-icon path {
  fill: #280a5e !important;
}

.bg-menu, .bg-new-primary-color {
  background-color: var(--bg-color-beige) !important;
  color: #1a1a1a !important;
}

#navbarSupportedContent {
  background-color: transparent !important;
}

.main-navbar {
  margin-top: 0 !important;
  border-bottom: none !important;
  min-height: 70px !important;
  display: flex !important;
  align-items: center !important;
  background-color: var(--bg-color-beige) !important;
}

.main-navbar .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Rimuovi margini che potrebbero staccare il dropdown */
.main-navbar .navbar-nav, .main-navbar .nav-item {
  margin: 0 !important;
}

.dropdown-menu {
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  border-radius: 8px !important;
  margin-top: 0 !important; /* Ridotto da 10px a 0 per evitare distacchi */
  top: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.main-navbar .nav-link {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: capitalize !important;
  display: flex !important;
  align-items: center !important;
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
  white-space: nowrap !important;
}

/* Puntino viola come separatore */
.main-navbar .nav-item:not(:last-child) .nav-link::after {
  content: "•";
  color: #c5b2f1; /* Viola più vicino allo screenshot */
  margin-left: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
}

/* Rimuovi freccia dropdown default se presente */
.main-navbar .dropdown-toggle::after {
  display: none !important;
}

.dropdown-item {
  color: #1a1a1a !important;
}

.dropdown-item:hover {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

.main-navbar .nav-link:hover {
  background-color: transparent !important;
  color: #977246 !important; /* Colore viola al passaggio del mouse per feedback */
}

.main-navbar .nav-link.active {
  background-color: transparent !important;
  color: #000000 !important;
}

.menu-subcategory-title {
  color: #977246 !important;
  font-weight: bold !important;
}

.menu-separator {
  border-color: #977246 !important;
}

.dropdown-menu h5 {
  color: #000000 !important;
}

.banner-item {
  background: linear-gradient(135deg, #ff8f00 0%, #ff8f00 50%, #280a5e 100%) !important;
  color: #ffffff !important;
}

.banner-item .btn-outline-light {
  background-color: #280a5e !important;
  border-color: #280a5e !important;
  color: #ffffff !important;
}

.banner-item .btn-outline-light:hover {
  background-color: #ffffff !important;
  color: #280a5e !important;
}

.card-product {
  background-color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
  padding: 1rem !important;
}

.price {
  color: var(--price-discount-color) !important;
}

.product-percentage {
  background-color: var(--discount-pill-color) !important;
  color: var(--discount-color) !important;
}

.btn-primary, .card-product .btn-primary, .btn-discover-more {
  background-color: #280a5e !important;
  border-color: #280a5e !important;
  color: #ffffff !important;
  border-radius: 4px !important;
}

.custom-indicators {
  position: relative;
  margin-top: 20px;
  margin-bottom: 0px;
}

.custom-indicators [data-bs-target] {
  background-color: var(--bg-color-brown) !important;
  opacity: 0.5;
}

.custom-indicators [data-bs-target].active {
  background-color: var(--ubl-orange) !important;
  opacity: 1;
}

/* Footer / Top Category Section */
#top-category-section, .footer-top-categories, .top-category-block-container {
  background-color: #8d6e63 !important;
  color: #000000 !important;
}

.footer-top-categories h4, .footer-top-categories h5, .footer-top-categories a,
.top-category-block-container h4, .top-category-block-container h5, .top-category-block-container a {
  color: #ffffff !important;
}

.footer-top-categories .border-bottom, .top-category-block-container .border-bottom {
  border-bottom-color: rgba(255,255,255,0.3) !important;
}

/* Sezione Brand */
.brands-section, .our-brands-section {
  background-color: #f3e5f5 !important; /* Lavanda chiaro */
  padding: 4rem 0 !important;
}

.ubl-footer-container {
  background-color: var(--bg-color-beige) !important;
  color: #000000;
  .ubl-footer-link-list {
    color: #000000 !important;
    text-decoration: none;
    font-size: 0.85rem;
  }
  .ubl-copyright {
    font-size: 0.85rem;
    color: #000000;
  }
  a {
    color: #000000 !important;
    text-decoration: none;
  }
}

.home-page-section {
  padding: 5px;
  background-color: var(--section-bg-color) !important;
}

.trending-product {
  color: var(--section-text-color);
  margin-bottom: 30px;
  margin-top: 20px;
  font-family: Manrope;
  font-weight: 800;
  font-style: ExtraBold;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
}