/* ── Section ── */
.cc-browse-categories {
  /* background: #f2f4f7; */
  padding: 80px 0;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
}

.cc-see-more-categories-btn {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  align-self: flex-start;
  min-width: unset !important;
  align-items: center;
  /* justify-content: center; */
  gap: 8px;
  /* margin: 16px 0 0 0; */
  text-align: left;
  padding: 0;
  border: none !important;
  border-radius: 6px;
  background: transparent !important;
  color: #0284c7;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
}

/* Overriding astra theme's inline css */
body .cc-browse-categories .cc-see-more-categories-btn:focus,
body .cc-browse-categories .cc-see-more-categories-btn:focus-visible,
body .cc-browse-categories .cc-see-more-categories-btn:hover {
  color: #0284c7 !important;
}

/* .cc-see-more-categories-btn:hover {
  background: #0284c7;
  color: #ffffff;
} */

/* ── Title ── */
.cc-browse-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.72px;
  color: #101828;
  text-align: left;
  align-self: flex-start;
  margin: 0;
}

/* ── Content Area ── */
.cc-browse-content {
  max-width: 1104px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── Tab Bar ── */
.cc-tab-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cc-tab {
  padding: 8px 24px;
  border: 1px solid #d0d5dd;
  border-radius: 100px;
  background: #f2f4f7;
  color: #344054;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cc-tab-active {
  background: #0284c7 !important;
  border-color: #0284c7;
  color: #ffffff;
}

.cc-tab:hover,
.cc-tab:focus {
  background: #0284c7 !important;
  color: #fff;
}

/* ── Divider ── */
.cc-tab-divider {
  height: 1px;
  background: #d0d5dd;
  width: 100%;
}

/* ── Categories List ── */
.cc-category-template {
  display: none;
}

.cc-categories-list {
  columns: 4;
  column-gap: 40px;
  width: 100%;
}

.cc-category-item.cc-category-template {
  display: none;
}

.cc-category-item {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #0c4a6e;
  margin-bottom: 16px;
  break-inside: avoid;
  cursor: pointer;
}

.cc-category-item:hover {
  text-decoration: underline;
}

/* ── Browse Button ── */
.cc-browse-all-btn {
  display: inline-flex;
  margin: 0 auto;
  min-width: 190px;
  height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border: 1.5px solid #0284c7;
  border-radius: 6px;
  background: transparent;
  color: #0284c7;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.cc-browse-all-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.cc-chevron-right {
  font-size: 18px;
  line-height: 1;
}

/* ── Responsive ── */
@media (max-width: 1140px) {
  .cc-browse-categories {
    padding: 60px 20px;
  }

  .cc-categories-list {
    columns: 3;
  }

  .cc-browse-title {
    font-size: 28px;
    line-height: 36px;
  }
}

@media (max-width: 767px) {
  .cc-browse-categories {
    padding: 40px 16px;
    gap: 28px;
  }

  .cc-categories-list {
    columns: 2;
  }

  .cc-browse-title {
    font-size: 24px;
    line-height: 32px;
  }

  .cc-tab-bar {
    gap: 8px;
  }

  .cc-tab {
    padding: 6px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .cc-categories-list {
    columns: 1;
  }
}
