/* ===== HEADER HOME ===== */
.header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  gap:16px;
}

/* logo */
.brand{ flex-shrink:0; font-weight:800; letter-spacing:.3px; }

.brand-logo{
  display:flex;
  align-items:center;
}

.brand-logo img{
  height:36px;
  max-width:140px;
  object-fit:contain;
}

/* busca no meio */
.search{
  flex:1;
  display:flex;
  justify-content:center;
  padding:0 16px;
}

.search input{
  width:min(680px,100%);
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:999px;
  outline:none;
}

/* carrinho SEMPRE no canto direito */
.cart-pill{
  flex-shrink:0;
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
}

.cart-pill .badge{
  min-width:20px;
  height:20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--orange);
  color:#fff;
  font-weight:800;
  font-size:12px;
}

.cart-pill .total{
  font-weight:800;
  color:var(--green);
}

/* banner */
.banner-top{
  background:linear-gradient(90deg,var(--orange),var(--orange2));
  color:#111;
  padding:10px 0;
}

.banner-top .inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-weight:700;
  font-size:13px;
}

.open-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
}

.open-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--green);
}

/* mobile header */
@media (max-width: 820px){
  .search{ display:none; }
  .cart-pill{ padding:6px 10px; }
  .cart-pill .total{ font-size:14px; }
}
