/* Angadee Marketplace Component Styles: Header, Department Bar & Footer */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --primary-green: #0B5D51;
  --primary-teal: #0B5D51;
  --primary-teal-dark: #073E36;
  --accent-orange: #C25115;
  --accent-saffron: #E89B25;
  --text-dark: #182220;
  --text-light: #FAF8F5;
  --bg-light: #FAF8F5;
}

main {
  margin-top: 118px;
}

/* Header Wrapper */
.angadee-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(11, 93, 81, 0.08);
  transition: all 0.25s ease;
}

.angadee-top-strip {
  background: linear-gradient(90deg, #073E36 0%, #0B5D51 50%, #0E6E60 100%);
  color: #FAF8F5;
  font-size: 0.78rem;
  padding: 6px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.01em;
}

.angadee-top-strip .tagline-pill {
  color: #FCD34D;
  font-weight: 700;
}

.angadee-top-strip-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.angadee-top-strip-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.angadee-top-strip-links a:hover {
  color: #FCD34D;
}

/* Main Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
  gap: 1.25rem;
  position: relative;
  background: transparent;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.navbar .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar .logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.navbar .logo:hover img {
  transform: scale(1.02);
}

/* Global Search Bar in Header */
.angadee-header-search {
  flex: 1;
  min-width: 200px;
  max-width: 480px;
  display: flex;
  align-items: center;
  background: #F4F6F5;
  border: 1.5px solid #DCE4E2;
  border-radius: 999px;
  padding: 4px 6px 4px 16px;
  transition: all 0.2s ease;
}

.angadee-header-search:focus-within {
  background: #FFFFFF;
  border-color: #0B5D51;
  box-shadow: 0 0 0 3px rgba(11, 93, 81, 0.12);
}

.angadee-header-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: #182220;
  outline: none;
  padding: 6px 8px;
}

.angadee-header-search button {
  background: #0B5D51;
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.angadee-header-search button:hover {
  background: #C25115;
}

/* Branch / Location Pill */
#global-branch-selector {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: #E6F3F0;
  border: 1px solid rgba(11, 93, 81, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0B5D51;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
}

#global-branch-selector:hover {
  background: #D2EBE5;
  border-color: #0B5D51;
}

#global-branch-name {
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar nav {
  flex-shrink: 0;
}

.navbar nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar nav ul li a {
  color: #182220;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  font-size: 0.9rem;
  white-space: nowrap;
}

.navbar nav ul li a:hover {
  color: #C25115;
}

/* Department Quick Bar below main navbar */
.angadee-dept-bar {
  background: #FAF8F5;
  border-top: 1px solid #ECE8E0;
  border-bottom: 1px solid #E5E0D8;
  padding: 0 2rem;
}

.angadee-dept-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: none;
}

.angadee-dept-bar-inner::-webkit-scrollbar {
  display: none;
}

.dept-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2D3B38;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.dept-pill-link i {
  color: #0B5D51;
  font-size: 0.82rem;
}

.dept-pill-link:hover,
.dept-pill-link.active {
  background: #0B5D51;
  color: #FFFFFF;
}

.dept-pill-link:hover i,
.dept-pill-link.active i {
  color: #FCD34D;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #0B5D51;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px 10px;
}

@media (max-width: 1080px) {
  .angadee-header-search {
    display: none;
  }
}

@media (max-width: 968px) {
  main {
    margin-top: 102px;
  }
  .angadee-top-strip {
    padding: 5px 1rem;
    font-size: 0.72rem;
  }
  .angadee-top-strip-links {
    display: none;
  }
  .navbar {
    padding: 0.5rem 1rem;
  }
  .navbar .logo img {
    height: 38px;
  }
  .nav-right #header-order-btn,
  .nav-right #nav-auth-links,
  .nav-right #nav-logout-link {
    display: none !important;
  }
  .mobile-auth-link {
    display: block !important;
  }
  .menu-toggle {
    display: inline-block;
  }
  .navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #E5E0D8;
    padding: 16px;
    display: none;
  }
  .navbar.open nav {
    display: block;
  }
  .navbar nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Header Buttons */
.navbar .btn {
  display: inline-block;
  padding: 9px 18px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.navbar #header-order-btn,
.navbar #nav-login-link {
  background: linear-gradient(135deg, #0B5D51 0%, #0E7465 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(11, 93, 81, 0.25) !important;
}

.navbar #header-order-btn:hover,
.navbar #nav-login-link:hover {
  background: linear-gradient(135deg, #C25115 0%, #E89B25 100%) !important;
  transform: translateY(-1px) !important;
}

.navbar .btn-secondary,
.navbar #nav-account-link {
  background: transparent !important;
  color: #0B5D51 !important;
  border: 1.5px solid #0B5D51 !important;
  padding: 8px 16px !important;
}

.navbar #nav-logout-link {
  background: #dc2626 !important;
  color: white !important;
  border: none !important;
}

/* Footer (rk-footer) */
footer {
  background: linear-gradient(180deg, #073E36 0%, #052924 100%);
  color: #FAF8F5;
  padding: 72px 0 32px 0;
  border-top: 4px solid #E89B25;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.footer-col h4 {
  color: #E89B25;
  margin-bottom: 18px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-col p,
.footer-col a {
  color: rgba(250, 248, 245, 0.82);
  text-decoration: none;
  line-height: 1.75;
  font-size: 0.92rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #FCD34D;
}

.footer-logo {
  height: 56px;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-links a:hover {
  background: #E89B25;
  color: #182220;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}
