html, body {
  margin: 0;
  padding: 0;
}

main {
  flex: 1 0 auto;
}

.rishi-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: #111111;
  border-bottom: 1px solid rgba(247, 207, 4, 0.28);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  font-family: "Inter", Arial, sans-serif;
}

.row-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-col {
  flex: 0 0 auto;
}

.logo-col .branding img {
  width: auto;
  height: 36px;
  display: block;
}

.nav-col {
  flex: 1;
  min-width: 0;
}

.site-nav {
  width: 100%;
}

.menu-close {
  display: none;
}

.main-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.main-categories::-webkit-scrollbar {
  height: 4px;
}

.main-categories::-webkit-scrollbar-thumb {
  background: rgba(247, 207, 4, 0.4);
  border-radius: 999px;
}

.category-item {
  margin: 0;
  flex: 0 0 auto;
}

.category-item a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-item a:hover {
  color: #111111;
  background: #f7cf04;
  border-color: #f7cf04;
}

.buttons-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.search-col {
  position: relative;
}

.search-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-btn .icon {
  fill: #ffffff;
}

.search-btn:hover {
  border-color: #f7cf04;
  background: #f7cf04;
}

.search-btn:hover .icon {
  fill: #111111;
}

.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
  padding: 8px 14px;
}

.search-modal.active {
  display: flex;
  align-items: center;
}

.search-form {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.search-form label {
  flex: 1;
}

.b-search-input {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  padding: 0 12px;
  font-size: 14px;
  color: #111111;
}

.b-search-input:focus {
  outline: none;
  border-color: #f7cf04;
  box-shadow: 0 0 0 3px rgba(247, 207, 4, 0.2);
}

.search-submit {
  height: 40px;
  border: 1px solid #111111;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-submit:hover {
  border-color: #f7cf04;
  color: #111111;
  background: #f7cf04;
}

.close-btn {
  height: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
}

.close-btn:hover {
  border-color: #f7cf04;
  background: #fffbea;
}

.search-suggestions {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.09);
  max-height: 230px;
  overflow-y: auto;
  z-index: 1300;
}

.search-suggestions ul {
  list-style: none;
  margin: 0;
  padding: 4px;
}

.search-suggestions li {
  padding: 9px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.search-suggestions li:hover {
  background: #fffbea;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
}

@media (max-width: 1024px) {
  .row-wrapper {
    padding: 10px 14px;
  }

  .category-item a {
    font-size: 12px;
    padding: 0 10px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-col {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #111111;
    border-bottom: 1px solid rgba(247, 207, 4, 0.25);
    z-index: 1250;
    padding: 50px 14px 12px;
  }

  .nav-col.active {
    display: block;
  }

  .menu-close {
    position: absolute;
    top: 10px;
    right: 14px;
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .main-categories {
    display: grid;
    gap: 8px;
  }

  .category-item a {
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .logo-col .branding img {
    height: 32px;
  }

  .search-modal {
    padding: 8px;
  }

  .search-form {
    gap: 6px;
  }

  .search-submit,
  .close-btn {
    padding: 0 10px;
    font-size: 12px;
  }
}
