﻿:root {
  --xp-bg: #f3f5fa;
  --xp-surface: #ffffff;
  --xp-border: #dfe5f1;
  --xp-text: #1d2534;
  --xp-text-soft: #647188;
  --xp-primary: #ff412e;
  --xp-primary-strong: #de2f1e;
  --xp-topbar-active: #ff1654;
  --xp-btn-gradient: linear-gradient(135deg, #ff2e79 0%, #ff1654 100%);
  --xp-radius-sm: 10px;
  --xp-radius-md: 14px;
  --xp-radius-lg: 20px;
  --xp-shadow-sm: 0 5px 18px rgba(16, 24, 40, 0.08);
  --xp-shadow-md: 0 18px 34px rgba(10, 18, 31, 0.16);
  --xp-contact-gradient: linear-gradient(135deg, #ff2e79 0%, #ff1654 100%);
}

html,
body {
  background: var(--xp-bg);
  color: var(--xp-text);
}

.container {
  max-width: 1360px;
}

.header.header--pro .container {
  border-radius: 0 0 var(--xp-radius-md) var(--xp-radius-md);
  box-shadow: var(--xp-shadow-sm);
}

.header--pro .header__main {
  min-height: 82px;
  padding: 12px 22px;
}

.header--pro .header__brand__logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.header--pro .header__menu ul {
  justify-content: center;
  gap: 28px;
}

.header--pro .header__menu ul li a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #263145;
  position: relative;
  padding: 8px 0;
}

.header--pro .header__menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  background: var(--xp-topbar-active);
}

.header--pro .header__menu ul li:hover > a::after,
.header--pro .header__menu ul li.activ > a::after,
.header--pro .header__menu ul li.active > a::after {
  transform: scaleX(1);
}

.header--pro .header__menu ul li.activ > a,
.header--pro .header__menu ul li.active > a,
.header--pro .header__menu ul li a:hover {
  color: var(--xp-topbar-active);
}

.header--pro .header__right__pill {
  background: var(--xp-contact-gradient);
  border-radius: 14px;
  padding: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.header--pro .header__pill__btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.header--pro .header__pill__btn:hover {
  transform: translateY(-1px);
}

.header--pro .header__pill__badge {
  border: 2px solid #ff412e;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
}

.hero {
  margin-bottom: 22px;
}

.hero__item--home {
  min-height: min(70vh, 660px);
  border-radius: 0;
  overflow: hidden;
}

.hero__home__overlay {
  background: var(--xp-hero-overlay-grad, linear-gradient(112deg, rgba(246, 45, 125, 0.48) 0%, rgba(28, 43, 84, 0.72) 100%));
}

.hero.hero--home .hero__item.hero__item--home::before {
  background: var(--xp-hero-overlay-grad-strong, linear-gradient(100deg, rgba(225, 25, 116, 0.62) 0%, rgba(27, 25, 113, 0.82) 100%));
}

.menuqr__empty {
  padding: 40px 0;
  color: #888;
}

.menuqr__empty-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}

.menuqr__empty-icon {
  font-size: 44px;
  margin-bottom: 14px;
  display: block;
  color: #8a94a6;
}

.hero__text.hero__text--home {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 20px;
}

.hero__text.hero__text--home h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero__text.hero__text--home p {
  font-size: clamp(15px, 1.35vw, 21px);
  line-height: 1.4;
  max-width: 820px;
  margin: 0 auto 18px;
}

.hero__home__search {
  width: min(740px, calc(100% - 18px));
  height: 60px;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--xp-shadow-md);
  justify-content: flex-start;
}

.hero__home__search__icon {
  left: 20px;
  font-size: 18px;
}

.hero__home__search input {
  font-size: 20px;
  padding-left: 52px;
  padding-right: 170px;
}

.hero__home__search button {
  width: 160px;
  min-width: 160px;
  font-size: 24px;
  font-weight: 800;
  border-radius: 999px;
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.section-title h2,
.section-title.section-title--left h2 {
  color: var(--xp-text);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.categories .categories__item {
  border-radius: var(--xp-radius-md);
  overflow: hidden;
  box-shadow: var(--xp-shadow-sm);
  border: 1px solid rgba(225, 232, 245, 0.9);
}

.categories .categories__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 33, 56, 0) 36%, rgba(20, 33, 56, 0.54) 100%);
  pointer-events: none;
}

.categories .categories__item h5 {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
}

.categories .categories__item h5 a {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #1d2435;
  font-weight: 700;
}

#content-productos .featured__item,
.featured__filter .featured__item,
.product__item {
  background: var(--xp-surface);
  border: 1px solid #e2e8f3;
  border-radius: var(--xp-radius-md);
  box-shadow: var(--xp-shadow-sm);
  padding: 10px;
  height: 100%;
}

#content-productos .featured__item__pic,
.featured__filter .featured__item__pic,
.product__item__pic {
  border-radius: 12px;
  overflow: hidden;
}

#content-productos .featured__item__text,
.featured__filter .featured__item__text,
.product__item__text {
  padding: 10px 6px 6px;
}

#content-productos .featured__item__text h6,
.featured__filter .featured__item__text h6,
.product__item__text h6 {
  min-height: 42px;
  margin-bottom: 8px;
}

#content-productos .featured__item__text h6 a,
.featured__filter .featured__item__text h6 a,
.product__item__text h6 a {
  color: #222e43;
  font-weight: 700;
}

#content-productos .featured__item__text h5,
.featured__filter .featured__item__text h5,
.product__item__text h5 {
  color: var(--xp-primary);
  font-weight: 800;
}

.featured__item__pic__hover li a,
.product__item__pic__hover li a {
  box-shadow: 0 10px 18px rgba(17, 29, 53, 0.2);
}

.site-btn,
.primary-btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Botones principales tienda web */
.site-btn,
.primary-btn,
.hero__home__search button,
.pf-search__btn {
  background: var(--xp-btn-gradient) !important;
  color: #fff !important;
  border: 0 !important;
}

.site-btn:hover,
.primary-btn:hover,
.hero__home__search button:hover,
.pf-search__btn:hover {
  filter: brightness(0.96);
}

/* CTA "Ver todos los productos" */
.featured__bottom-btn {
  background: var(--xp-btn-gradient) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 22px rgba(255, 22, 84, 0.28) !important;
}

.featured__bottom-btn:hover {
  color: #fff !important;
  filter: brightness(0.96);
  box-shadow: 0 12px 26px rgba(255, 22, 84, 0.34) !important;
}

/* Controles de filtros: sin gradiente */
.pf-sortline__btn,
.pf-sortline__opt {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
}

.modal-content {
  border: 1px solid #dfe5f1;
  border-radius: var(--xp-radius-md);
  box-shadow: var(--xp-shadow-md);
}

.modal-header,
.modal-footer {
  background: #f9fbff;
  border-color: #e6edf9;
}

@media (max-width: 1199.98px) {
  .hero__text.hero__text--home h2 {
    font-size: clamp(28px, 4.4vw, 44px);
  }

  .hero__text.hero__text--home p {
    font-size: clamp(14px, 1.65vw, 18px);
  }

  .hero__home__search {
    height: 56px;
  }

  .hero__home__search input {
    font-size: 18px;
  }

  .hero__home__search button {
    width: 150px;
    font-size: 20px;
  }
}

@media (max-width: 991.98px) {
  .header--pro .header__main {
    min-height: 72px;
    padding: 10px 14px;
  }

  .hero__item--home {
    min-height: min(66vh, 620px);
  }

  .hero__text.hero__text--home {
    padding: 20px 16px;
  }

  .hero__text.hero__text--home h2 {
    font-size: clamp(24px, 5.8vw, 36px);
  }

  .hero__text.hero__text--home p {
    font-size: clamp(13px, 2.1vw, 16px);
    margin-bottom: 18px;
  }

  .hero__home__search {
    height: 52px;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__home__search input {
    font-size: 16px;
    padding-left: 44px;
    padding-right: 130px;
  }

  .hero__home__search button {
    width: 120px;
    min-width: 120px;
    font-size: 16px;
    margin-left: auto;
  }

  .hero__home__search__icon {
    font-size: 16px;
    left: 16px;
  }
}

@media (max-width: 767.98px) {
  .hero__home__search {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 14px;
    padding: 8px;
  }

  .hero__home__search__icon {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero__item--home {
    min-height: min(54vh, 420px);
  }

  .hero__text.hero__text--home h2 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .hero__text.hero__text--home p {
    font-size: clamp(12px, 3.9vw, 14px);
  }

  .hero__home__search input {
    width: 100%;
    height: 44px;
    font-size: 14px;
    border-radius: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero__home__search button {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
    border-radius: 10px;
  }

  .footer.footer--pro .container {
    border-radius: 16px 16px 0 0;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .hero__home__search input {
    width: 100%;
    height: 46px;
    font-size: 14px;
    border-radius: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero__home__search button {
    width: 100%;
    min-height: 44px;
    font-size: 15px;
    border-radius: 10px;
  }

}
