/********************************************
 * VARIABILI COLORE – usate in tutto il file
 ********************************************/
:root {
  --eic-coral:      #e3685c;
  --eic-green:      #4caf6e;
  --eic-green-dark: #3d9a5c;
  --eic-dark:       #2b2b2b;
  --eic-gray-text:  #6b7280;
}


/********************************************
 * 1) LOGO – altezza fissa, non cambia mai
 ********************************************/
.eic-logo {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
}


/********************************************
 * 2) HEADER – nascondi riga superiore
 *    e ricerca (lente eliminata)
 ********************************************/
.header-top {
  display: none !important;
}

#ps_searchbar,
#_desktop_ps_searchbar,
.ps-searchbar,
.ps-searchbar--mobile,
.ps-searchbar--desktop,
.js-search-widget {
  display: none !important;
}


/********************************************
 * 2b) NASCONDI output visivo di displayTop
 *     Il JS resta attivo, solo il visuale è nascosto
 ********************************************/

/* Desktop sign-in e cart da displayTop: nascosti visivamente */
#_desktop_ps_customersignin,
#_desktop_ps_shoppingcart {
  display: none !important;
}

/* Menu desktop da displayTop: nascosto (appare via displayNavFullWidth) */
.ps-mainmenu--desktop {
  display: none !important;
}


/********************************************
 * 3) ACCEDI e CARRELLO – sempre a destra
 ********************************************/
#_mobile_ps_customersignin,
#_mobile_ps_shoppingcart {
  display: flex !important;
  align-items: center;
}

#_mobile_ps_customersignin {
  margin-left: auto !important;
}


#_mobile_ps_customersignin {
  margin-left: auto !important;
}

.header-block__action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
  text-decoration: none;
}

.header-block__icon {
  font-size: 1.8rem;
}

span.header-block__badge,
span.eic-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 50px;
  background-color: #2f9d55;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  position: static;
}



/********************************************
 * 4) BARRA DI RICERCA CUSTOM (riga 2)
 ********************************************/
.eic-searchbar {
  background-color: #f5f5f5;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 10px 0;
}

.eic-searchbar__form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.eic-searchbar__input {
  flex: 1;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--eic-dark);
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.eic-searchbar__input:focus {
  border-color: var(--eic-coral);
}

.eic-searchbar__input::placeholder {
  color: #aaa;
}

.eic-searchbar__btn {
  height: 42px;
  padding: 0 24px;
  background-color: var(--eic-coral);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.eic-searchbar__btn:hover {
  background-color: #c9534a;
}


/********************************************
 * 5) MENU – colore link e spaziature
 ********************************************/
header .ps-mainmenu__tree-link {
  color: var(--eic-coral);
  font-weight: 900;
  text-shadow:
    0.2px 0 0 currentColor,
    -0.2px 0 0 currentColor,
    0 0.2px 0 currentColor,
    0 -0.2px 0 currentColor;
}

header .ps-mainmenu__tree-item {
  padding: 0 20px;
}


/********************************************
 * 6) MENU – background header
 ********************************************/
#header,
#header .header-nav,
#header .ps-mainmenu,
#header #top-menu {
  background-color: #ffffff !important;
}

#header .header-top,
#header .ps-mainmenu {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}


/********************************************
 * 7.1) HOME – HERO
 ********************************************/
.eic-hero {
  padding: 60px 0 0;
  background-image: url('/themes/child-ivana-business-tema/assets/img/sfondo-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.eic-hero__title {
  font-size: 2.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--eic-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.eic-hero__subtitle {
  color: var(--eic-coral);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0;
}

.eic-hero__photo-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.eic-hero__photo {
  display: block;
  width: 100%;
  height: auto;
}


/********************************************
 * 7.2) HOME – CHI SIAMO / SONO
 ********************************************/
.eic-about {
  padding: 80px 0;
}

.eic-about__title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--eic-dark);
  margin-bottom: 1rem;
}

.eic-about__text {
  color: var(--eic-gray-text);
  margin-bottom: 1.25rem;
}

.eic-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: #374151;
  font-size: 0.95rem;
}

.eic-about__check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--eic-coral);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}


/********************************************
 * 7.3) HOME – BOTTONE PILLOLA VERDE
 ********************************************/
.eic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  background-color: var(--eic-green);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.eic-btn--green:hover {
  background-color: var(--eic-green-dark);
  color: #fff !important;
  transform: translateY(-2px);
}


/********************************************
 * 7.4) HOME – CATEGORIE POPOLARI
 ********************************************/
.eic-categories {
  padding-bottom: 80px;
}

.eic-categories__kicker {
  color: var(--eic-coral);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.eic-categories__title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--eic-dark);
}

.eic-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eic-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.eic-cat-card__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eic-cat-card__icon svg {
  width: 24px;
  height: 24px;
}

.eic-cat-card__text {
  display: flex;
  flex-direction: column;
}

.eic-cat-card__text strong {
  color: var(--eic-dark);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.eic-cat-card__text small {
  color: var(--eic-gray-text);
  font-size: 0.8rem;
}

.eic-cat-card--green                     { background-color: #e6f4ea; }
.eic-cat-card--green .eic-cat-card__icon  { background-color: #2f9e52; color: #fff; }

.eic-cat-card--gray                      { background-color: #e9eaf0; }
.eic-cat-card--gray .eic-cat-card__icon   { background-color: #5b6070; color: #fff; }

.eic-cat-card--orange                    { background-color: #fbe9d2; }
.eic-cat-card--orange .eic-cat-card__icon { background-color: #e8954c; color: #fff; }

.eic-cat-card--red                       { background-color: #fbe0e0; }
.eic-cat-card--red .eic-cat-card__icon   { background-color: #e2574f; color: #fff; }


/********************************************
 * 8) RESPONSIVE
 ********************************************/
@media (max-width: 991.98px) {
  .eic-hero__title {
    font-size: 2rem;
    text-align: center;
  }
  .eic-hero__subtitle {
    text-align: center;
  }
  .eic-about {
    padding: 50px 0;
  }
}

@media (max-width: 575.98px) {
  .eic-searchbar__btn {
    padding: 0 14px;
    font-size: 0.8rem;
  }
}
