/**
 * AsereChama - correcciones de marca y banner (cargar despues de style.css)
 * Version: 20260603
 */

/* Ocultar texto superpuesto del hero cuando hay banner con imagen propia */
.hero__item.banner-custom .hero__text,
.hero__item[data-asere-banner-bg="hero_principal"] .hero__text {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

.hero__item.banner-custom,
.hero__item[data-asere-banner-bg="hero_principal"] {
  padding-left: 0 !important;
  justify-content: center !important;
  background-position: center center !important;
  background-size: cover !important;
}

/* Paleta AsereChama (teal + violeta, sin azul Dataplus) */
:root {
  --asere-teal: #00b5c4;
  --asere-teal-dark: #0891a3;
  --asere-violet: #7d2ae8;
  --asere-violet-dark: #6b21c8;
  --asere-accent: #f59e0b;
  --asere-gradient: linear-gradient(135deg, #00b5c4 0%, #7d2ae8 100%);
}

/* Marca: una sola palabra, dos colores */
.brand-aserechama,
.brand-aserechama .brand-asere,
.brand-aserechama .brand-chama {
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-aserechama .brand-asere {
  color: var(--asere-teal);
}

.brand-aserechama .brand-chama {
  color: var(--asere-violet);
}

.primary-btn,
.site-btn,
.hero__categories__all,
.hero__search__form form button,
.section-title h2:after,
.product__discount__slider.owl-carousel .owl-dots button.active,
.featured__controls ul li:after,
.categories__slider .owl-dots button.active,
.latest-product__slider.owl-carousel .owl-dots button.active {
  background: var(--asere-gradient) !important;
  border-color: var(--asere-teal) !important;
}

.header__menu ul li.active a,
.header__menu ul li:hover > a,
.header__menu ul li .header__menu__dropdown li:hover > a,
.hero__text span,
.hero__search__phone__icon,
.footer__widget a:hover,
.blog__sidebar__item ul li a:hover {
  color: #7d2ae8 !important;
}

.header__cart ul li a span,
.featured__item__pic__hover li:hover a,
.product__item__pic__hover li:hover a {
  background: var(--asere-violet) !important;
}

.hero__categories__all {
  background: var(--asere-gradient) !important;
}

.section-title h2:after {
  background: var(--asere-gradient) !important;
}

.hero__text span,
.hero__search__phone__icon {
  color: var(--asere-violet) !important;
}

/* Hero inicio: busqueda ancho completo + banners lado a lado */
.hero-home .hero__search,
.hero-home .hero__search--full {
  overflow: visible !important;
  margin-bottom: 24px;
}

.hero-home .hero__search__form,
.hero-home .hero__search__form--with-cat,
.hero-home .hero__search__form--with-cat form {
  overflow: visible !important;
}

.hero-home .hero__search__form--with-cat {
  width: calc(100% - 270px);
  max-width: 100%;
}

.hero-home .hero__search__form--with-cat form {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 50px;
  height: auto;
}

.hero-cat-dropdown {
  position: relative;
  width: 34%;
  min-width: 220px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-cat-dropdown__toggle {
  width: 100%;
  height: 50px;
  border: 0;
  background: var(--asere-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  padding: 0 36px 0 14px;
  cursor: pointer;
  position: relative;
}

.hero-cat-dropdown__toggle i.fa-bars {
  margin-right: 8px;
}

.hero-cat-dropdown__toggle .arrow_carrot-down {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-cat-dropdown__menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 2px);
  width: 100%;
  min-width: 280px;
  max-height: 380px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  z-index: 1200;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.hero-cat-dropdown.is-open .hero-cat-dropdown__menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-cat-dropdown.is-open {
  z-index: 1201;
}

.hero-cat-dropdown__menu > li > a {
  display: block;
  padding: 10px 16px;
  color: #1c1c1c;
  font-weight: 700;
  font-size: 15px;
}

.hero-cat-dropdown__menu > li > a:hover {
  color: #7d2ae8;
  background: #f8fafc;
}

.hero-cat-dropdown__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}

.hero-cat-dropdown__sub a {
  display: block;
  padding: 6px 16px 6px 28px;
  color: #6f6f6f;
  font-size: 14px;
}

.hero-cat-dropdown__sub a:hover {
  color: #7d2ae8;
}

.hero-home .hero__search__form--with-cat form input {
  width: auto;
  flex: 1;
  min-width: 0;
}

.hero-home .hero__search__form--with-cat form button.site-btn {
  position: static;
  flex-shrink: 0;
  height: 50px;
  padding: 0 22px;
}

.hero-banners-row {
  align-items: stretch;
}

.hero-home .hero__item {
  height: 380px;
  width: 100%;
}

.hero__side-banner {
  display: block;
  height: 380px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 991px) {
  .hero-home .hero__search__form--with-cat {
    width: 100%;
    float: none;
    margin-bottom: 16px;
  }

  .hero-home .hero__search__phone {
    float: none;
  }

  .hero-home .hero__item,
  .hero__side-banner {
    height: 260px;
    margin-bottom: 16px;
  }

  .hero-cat-dropdown {
    min-width: 180px;
  }
}
