/* 🔥 Desktop view (NO full width) */
.ca-tabs-nav {
  display: flex;
  gap: 25px;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
  background: #fff;
  z-index: 100;
}

.ca-tabs-wrapper .container{
  margin: 0;
  width: min(100% - 0px, var(--ca-container));
}

/* 🔥 Sticky */
.sticky-tabs {
  position: sticky;
  top: 78px;
}

/* 🔥 Tab button */
.ca-tab-btn {
  background: none;
  border: none;
  padding: 15px 20px 10px 10px;
  font-family: "montserratbold", sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #222328;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  white-space: nowrap; /* desktop single line */
}

/* 🔥 Hover */
.ca-tab-btn:hover {
  color: #FF0068;
}

/* 🔥 Active */
.ca-tab-btn.active {
  color: #ff2d7a;
  border-bottom: 2px solid #ff2d7a;
}

/* 🔥 Tab content */
.ca-tab-panel {
  display: none;
}

.ca-tab-panel.active {
  display: block;
}

/* ============================= */
/* 🔥 Tablet */
/* ============================= */
@media (max-width: 1024px) {
  .ca-tabs-nav {
    gap: 15px;
  }

  .ca-tab-btn {
    font-size: 14px;
  }
}

/* ============================= */
/* 🔥 Mobile → equal width tabs */
/* ============================= */
@media (max-width: 768px) {

  .ca-tabs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 👈 only mobile */
    gap: 0;
  }

  .ca-tab-btn {
    font-size: 14px;
    padding: 10px 5px;
    line-height: 16px;
    white-space: normal;

    /* 🔥 2 line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #000;
  }
}

/* ============================= */
/* 🔥 Small mobile */
/* ============================= */
@media (max-width: 480px) {
  .ca-tab-btn {
    font-size: 13px;
    padding: 12px 4px;
  }
}