.la-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.la-nav-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 420px) auto auto;
  align-items: center;
  gap: 16px;
  min-height: 84px;
}

.la-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.la-brand img,
.la-brand .custom-logo,
.la-brand-logo {
  display: block;
  max-width: 170px;
  width: auto;
  height: auto;
}

.la-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  flex-wrap: wrap;
}

.la-nav-link {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.la-drawer-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  min-width: 0;
}

.la-drawer-search .la-input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
}

.la-nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.la-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: fit-content;
}

.la-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  padding: 0;
  flex: 0 0 42px;
}

.la-burger-btn {
  cursor: pointer;
}

.la-cart-btn {
  overflow: visible;
}

.la-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}

.la-search-btn-mobile,
.la-burger-btn {
  display: none;
}

.la-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  z-index: 1090;
}

.la-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 380px);
  height: 100vh;
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}

.la-mobile-drawer.is-open {
  transform: translateX(0);
}

.la-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.la-drawer-logo img,
.la-drawer-logo .custom-logo,
.la-drawer-logo .la-brand-logo {
  max-width: 150px;
}

.la-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 20px 24px;
  overflow-y: auto;
}

.la-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.la-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.la-drawer-link:hover {
  background: rgba(15, 23, 42, 0.05);
}

.la-divider {
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin: 10px 0;
}

.la-drawer-auth {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.la-drawer-auth .la-btn {
  width: 100%;
  justify-content: center;
}

body.la-drawer-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .la-nav-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .la-nav-search {
    display: none;
  }

  .la-search-btn-mobile {
    display: inline-flex;
  }
}

@media (max-width: 992px) {
  .la-nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    min-height: 74px;
  }

  .la-nav-links,
  .la-nav-auth-desktop {
    display: none;
  }

  .la-search-btn-mobile,
  .la-burger-btn {
    display: inline-flex;
  }

  .la-brand img,
  .la-brand .custom-logo,
  .la-brand-logo {
    max-width: 138px;
  }
}

@media (max-width: 640px) {
  .la-nav-inner {
    gap: 10px;
    min-height: 68px;
  }

  .la-nav-actions {
    gap: 8px;
  }

  .la-icon-btn {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .la-mobile-drawer {
    width: 100vw;
  }

  .la-drawer-content {
    padding: 16px;
  }
}