/* CSS Variables - Import from main style.css */
:root {
  --red-dark: #8B0000;
  --red: #C8102E;
  --black: #000000;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray: #666666;
  --gray-dark: #333333;
  --border: #E0E0E0;
  --text-color: #333;
  --text-light: #666;
  --success: #27ae60;
}

/* Promotional Banner */
.promo-banner {
  background: #711325;
  color: var(--white);
  padding: 18px 0;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
}

.promo-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.promo-banner a {
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
}

.promo-banner a:hover {
  opacity: 0.9;
}

/* Header */
.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 20px 20px 20px;
  max-width: 100%;
  margin: 0;
  gap: 40px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo img {
  height: 30px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  flex: 1;
  justify-content: flex-start;
  margin: 0;
}

.nav-link {
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  padding: 5px 0;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.saldos {
  color: var(--red);
  font-weight: 400;
}

.nav-link.saldos::after {
  background: var(--red);
}

.nav-link.saldos:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.nav-link.turbo {
  color: #27ae60;
  font-weight: 400;
}

.nav-link.turbo::after {
  background: #27ae60;
}

.nav-link.turbo:hover {
  color: #229954;
  transform: translateY(-2px);
}

.nav-link.turbo:hover::after {
  background: #229954;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.3s;
  white-space: nowrap;
}

.header-action:hover {
  color: var(--red);
}

.header-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

/* Responsive Header */
@media (max-width: 968px) {
  .header-content {
    padding: 15px 20px;
    gap: 20px;
    position: relative;
  }

  .header-nav {
    gap: 25px;
    font-size: 13px;
  }

  .header-actions {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .promo-banner {
    font-size: 11px;
    padding: 8px 12px;
  }

  .promo-banner-content {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }

  .promo-banner-content span,
  .promo-banner-content a {
    font-size: 10px;
  }

  .header-content {
    padding: 12px 15px;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .header-logo {
    flex-shrink: 0;
  }

  .header-logo img {
    height: 28px;
  }

  /* Ocultar navegação completamente no mobile */
  .header-nav {
    display: none !important;
  }

  .header-actions {
    margin-left: 0;
    gap: 20px;
    flex-shrink: 0;
  }

  .header-action {
    gap: 0;
  }

  .header-action span {
    display: none;
  }

  .header-icon {
    width: 24px;
    height: 24px;
  }

  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 11px;
    top: -8px;
    right: -8px;
  }
}

@media (max-width: 480px) {
  .promo-banner {
    font-size: 9px;
    padding: 6px 10px;
  }

  .promo-banner-content {
    gap: 4px;
  }

  .promo-banner-content span,
  .promo-banner-content a {
    font-size: 9px;
  }

  .header-content {
    padding: 10px 12px;
    gap: 15px;
  }

  .header-logo img {
    height: 24px;
  }

  /* Navegação continua oculta */
  .header-nav {
    display: none !important;
  }

  .header-actions {
    gap: 18px;
  }

  .header-icon {
    width: 22px;
    height: 22px;
  }

  .cart-count {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
}
