/* header1.css */
.main-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--nav-h);
  gap: 16px;
}

.logo img {
  height: 40px;
}

.desktop-menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-menu a {
  padding: 6px 10px;
  color: var(--c-text2);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--t);
  border-radius: var(--r);
}

.desktop-menu a:hover {
  color: var(--c-text);
  background: var(--c-surface2);
}

.cart {
  position: relative;
  color: var(--c-text2);
  font-size: 18px;
  transition: color var(--t);
  padding: 6px;
}

.cart:hover {
  color: var(--c-accent);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--c-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero — barra de búsqueda centrada prominente */
.hero-search {
  padding: 48px 20px 52px;
  background: var(--c-bg);
  position: relative;
}

.hero-search::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 69, 0, .06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-label {
  display: inline-block;
  background: rgba(255, 69, 0, .1);
  color: var(--c-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 69, 0, .2);
}

.hero-search h1 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero-search h1 span {
  color: var(--c-accent);
}

.search-box {
  display: flex;
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px transparent;
  transition: border-color var(--t), box-shadow var(--t);
}

.search-box:focus-within {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(255, 69, 0, .12);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--c-text);
  min-width: 0;
}

.search-box input::placeholder {
  color: var(--c-text3);
}

.search-box button {
  background: var(--c-accent);
  border: none;
  padding: 0 24px;
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
}

.search-box button:hover {
  background: var(--c-accent2);
}

.btn-text {}

.btn-icon {
  display: none;
}

/* Stats bajo el buscador */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
}

.hero-stat-label {
  font-size: 11px;
  color: var(--c-text3);
  margin-top: 2px;
}

/* Legacy */
.subtitle-link {
  display: none;
}

.search-label {
  display: none;
}

.footer-desc {
  display: none;
}

@media (max-width:768px) {
  .top-bar {
    padding: 0 14px;
  }

  .desktop-menu {
    display: none;
  }

  .hero-search {
    padding: 32px 14px 36px;
  }

  .btn-text {
    display: none;
  }

  .btn-icon {
    display: block;
    font-size: 16px;
  }

  .search-box button {
    padding: 0 14px;
  }

  .hero-stats {
    gap: 20px;
  }
}