.top-header {
  background: #0d3d20;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-header__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.phone-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.phone-form__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
}

.phone-form input {
  padding: 5px 12px;
  border: 1.5px solid #d1d5db;
  background: #ffffff;
  color: #444;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
  min-width: 160px;
}

.phone-form input::placeholder {
  color: #9ca3af;
}

.phone-form input:focus {
  border-color: #6b7280;
  box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.15);
}

.phone-form button {
  padding: 5px 16px;
  background: #47c818;
  color: #fff;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.phone-form button:hover {
  background: #31930e;
}

/* ── Header Shell ────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease;
}

header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* ── Nav Container ───────────────────────────────────────────── */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Logo ────────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  width: 100%;
  height: 46px;
  object-fit: cover;
}

/* ── Desktop Navigation ──────────────────────────────────────── */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.desktop-menu a {
  position: relative;
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5a5550;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.desktop-menu a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #22a355;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.desktop-menu a:hover,
.desktop-menu a.active-link {
  color: #145c30;
  background: #f0fdf6;
}

.desktop-menu a:hover::after,
.desktop-menu a.active-link::after {
  transform: scaleX(1);
}

/* ── Hamburger ───────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ================================================================
   MOBILE SIDE MENU
   ================================================================ */

/* ── Drawer Shell ────────────────────────────────────────────── */
.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid #e5f0e0;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  z-index: 1100;
  transition: right var(0.4s ease, 0.3s ease);
}

.side-menu.open {
  right: 0;
}

/* ── Drawer Header ───────────────────────────────────────────── */
.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #f4faf0;
  border-bottom: 1px solid #d4e9c8;
}

.side-menu-brand {
  font-family: var(--font-display, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #1a5c0a;
  letter-spacing: -0.01em;
}

.close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #b8d9a5;
  border-radius: var(--radius-sm, 6px);
  color: #2e7d1c;
  font-size: 1rem;
  cursor: pointer;
  background: transparent;
  transition: all var(0.15s ease, 0.15s ease);
}

.close-btn:hover {
  background: #e8f5e1;
  color: #1a5c0a;
  border-color: #7ec860;
}

/* ── Mobile Nav Links ────────────────────────────────────────── */
.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 12px 0 0;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2a6e14;
  border-bottom: 1px solid #edf6e8;
  text-decoration: none;
  transition: all var(0.15s ease, 0.15s ease);
}

.mobile-menu a .material-icons {
  font-size: 1rem;
  color: #4ca82d;
  opacity: 0.75;
}

.mobile-menu a:hover {
  background: #f0faeb;
  color: #1a5c0a;
  padding-left: 30px;
}

.mobile-menu a:hover .material-icons {
  opacity: 1;
}

/* ── Mobile Categories ───────────────────────────────────────── */
.mobile-categories {
  margin-top: 4px;
  border-top: 1px solid #d4e9c8;
}

.mobile-categories__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6aac4c;
}

.mobile-categories__heading .material-icons {
  font-size: 0.95rem;
  color: #6aac4c;
}

/* Main category row */
.mobile-main-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e6b0d;
  border-bottom: 1px solid #edf6e8;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
  transition:
    background var(0.15s ease, 0.15s ease),
    color var(0.15s ease, 0.15s ease);
}

.mobile-main-cat:hover {
  background: #f0faeb;
  color: #144d08;
}

.mobile-main-cat__arrow {
  font-size: 1.1rem;
  color: #7ec860;
  line-height: 1;
  transition:
    transform var(0.25s ease, 0.2s ease),
    color var(0.25s ease, 0.2s ease);
}

.mobile-main-cat.open .mobile-main-cat__arrow {
  transform: rotate(90deg);
  color: #2e7d1c;
}

/* Sub-category list */
.mobile-sub-list {
  display: none;
  flex-direction: column;
  background: #f9fdf7;
  border-bottom: 1px solid #edf6e8;
}

.mobile-sub-list.show {
  display: flex;
}

.mobile-sub-item {
  display: block;
  position: relative;
  padding: 10px 24px 10px 38px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #3a8020;
  text-decoration: none;
  border-bottom: 1px solid #edf6e8;
  transition:
    background var(0.15s ease, 0.15s ease),
    color var(0.15s ease, 0.15s ease),
    padding-left var(0.15s ease, 0.15s ease);
}

.mobile-sub-item::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a8d48e;
}

.mobile-sub-item:hover {
  background: #e8f5e1;
  color: #1a5c0a;
  padding-left: 44px;
}

.mobile-sub-item:last-child {
  border-bottom: none;
}

/* ── Overlay ─────────────────────────────────────────────────── */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1090;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.menu-overlay.active {
  display: block;
  animation: overlayFadeIn 0.2s ease;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .desktop-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-container {
    padding: 10px 16px;
  }
  .logo img {
    width: 100%;
    height: 30px;
    object-fit: contain;
  }
  .phone-form__label {
    display: none;
  }
  .phone-form input {
    min-width: 120px;
  }
}