/* Header layout correction: all desktop controls must stay on one row. */
.babayishop-home__header {
    align-items: center;
    display: flex;
    gap: 26px;
}

.babayishop-home__brand { flex: 0 0 auto; position: relative; }
/* The leaf belongs beside the logo, never over the Home navigation link. */
.babayishop-home__brand i { left: calc(100% + 8px); right: auto; }
.babayishop-home__nav { flex: 0 0 auto; }
.babayishop-home__nav a { white-space: nowrap; }
.babayishop-home__search { align-items: center; background: #fff; border: 1px solid #dbe5ef; border-radius: 24px; display: flex; flex: 1 1 300px; gap: 8px; min-width: 230px; padding: 0 14px; }
.babayishop-home__search:focus-within { border-color: #258940; box-shadow: 0 0 0 3px rgba(37,137,64,.12); }
.babayishop-home__search span { color: #258940; display: inline-flex; }
.babayishop-home__search input { background: transparent; border: 0; box-shadow: none; color: #062c55; font: inherit; height: 46px; min-width: 0; outline: 0; padding: 0; width: 100%; }
.babayishop-home__tools { align-items: center; flex: 0 0 auto; gap: 12px; }
.babayishop-home__account { background: linear-gradient(135deg,#2fa64f,#197b36); border-color: #197b36 !important; box-shadow: 0 5px 12px rgba(25,123,54,.18); color: #fff !important; min-height: 46px; padding: 9px 15px; white-space: nowrap; }
.babayishop-home__account span { max-width: 165px; overflow: hidden; text-overflow: ellipsis; }
.babayishop-home__account svg { height: 20px; width: 20px; }
.babayishop-home__account:hover,.babayishop-home__account:focus { background: linear-gradient(135deg,#258f43,#12632a); box-shadow: 0 7px 15px rgba(25,123,54,.25); }
.babayishop-home__cart { align-items: center; background: #fff; border: 1px solid #d9e2ec; border-radius: 50%; box-shadow: 0 4px 10px rgba(6,44,85,.08); display: inline-flex; height: 46px; justify-content: center; width: 46px; }
.babayishop-home__cart svg { height: 23px; width: 23px; }
.babayishop-home__cart em { right: -4px; top: -5px; }

@media (max-width: 780px) {
    .babayishop-home__header { display: grid; gap: 12px; grid-template-columns: 1fr auto; }
    .babayishop-home__account { box-shadow: none; min-height: 38px; padding: 8px; }
    .babayishop-home__cart { box-shadow: none; height: 38px; width: 38px; }
}
