.header {
  background: var(--vino2);
  color: white;
  padding: 14px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  color: white;
  min-width: 0;
  transform: translateY(4px);
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--dorado);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  flex-shrink: 0;
}

.brand h1 {
  font-size: 24px;
  margin: 0;
}

.brand p {
  margin: 3px 0 0;
  color: #e7d7a0;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: white;
  font-weight: 700;
}

.nav a:hover {
  color: var(--dorado);
}

.btn-nav {
  background: var(--dorado);
  color: var(--vino2) !important;
  padding: 9px 15px;
  border-radius: 9px;
}

.cart-badge {
  background: var(--dorado);
  color: var(--vino2);
  font-size: 12px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 50%;
  margin-left: 5px;
}
.cart-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-icon-wrap {
  position: relative;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--dorado);
  color: var(--vino2);
  font-size: 11px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.menu-toggle {
  display: none;
  background: var(--dorado);
  color: var(--vino2);
  border: none;
  width: 48px;
  height: 48x;
  border-radius: 12px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;
}

/* MOBILE */
@media (max-width: 768px) {
  .header {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 48px;
    align-items: center;
    column-gap: 12px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    transform: translateY(6px);
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand h1 {
    font-size: 20px;
    margin: 0;
    line-height: 1.1;
  }

  .brand p {
    font-size: 11px;
    margin: 2px 0 0;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    transform: translateY(6px);
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 18px;
    background: #3a0d22;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: white;
  }

  .nav a:hover {
    background: rgba(212,175,55,.12);
    color: var(--dorado);
  }

  .btn-nav {
    border-radius: 0;
    text-align: center;
  }
}