.filter-cate-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 90%;
  margin: 0 auto;
  padding: 0 20px; 
  margin-top: 60px; /* used to make the upper margin */
}
.filter-cate-header {
  font-size: clamp(16px, 2vw, 38px);
  font-family: "Poppins Black";
  white-space: nowrap;
  display: inline-block; /* Allows element to grow with text */
}
.filter-cate-subheader {
  display: flex;
  gap: 20px;
}
.filter-cate-button {
  background-color: white;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  text-align: center;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Changed from center to space-between */
  /* width: 110px; */
    /* width: 90px; */
    width: auto;
  height: 32px;
  padding: 0 12px; /* Add horizontal padding */
  box-sizing: border-box;
  gap: 8px; /* Space between text and icon */
}
.filter-cate-button-cate {
  background-color: white;
  border: 1.8px solid black;
  text-align: center;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Changed from center to space-between */
  /* width: 110px; */
    width: 100px;
    /* width: auto; */
  height: 32px;
  padding: 0 12px; /* Add horizontal padding */
  box-sizing: border-box;
  gap: 8px; /* Space between text and icon */
}
.filter-cate-button-other {
  background-color: white;
  border: 1.8px solid black;
  color: black;
  text-align: center;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Changed from center to space-between */
  /* width: 110px; */
    width: 90px;
  height: 32px;
  padding: 0 12px; /* Add horizontal padding */
  box-sizing: border-box;
  gap: 8px; /* Space between text and icon */
}
.filter-cate-radio-button {
  background-color: white;
  border: 1px solid gray;
  color: black;
  text-align: center;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Changed from center to space-between */
  width: 110px;
  height: 32px;
  padding: 0 12px; /* Add horizontal padding */
  box-sizing: border-box;
  gap: 8px; /* Space between text and icon */
}
.custom-radio {
  width: 45px;
  height: 20px;
  border: 1px solid gray;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* Add this to contain the absolute positioned dot */
  transition: background-color 0.3s ease; /* Smooth background transition */
}

.radio-dot {
  width: 14px;
  height: 14px;
  background-color: black;
  border-radius: 50%;
  transition: transform 0.3s ease;
  position: absolute;
  left: 3px; /* Initial position */
}

.filter-cate-radio-button.active .radio-dot {
  transform: translateX(25px); /* Move to the right when active */
}

.filter-cate-text {
  flex: 1; 
  text-align: center; 
  font-family: "Acumin Pro Condensed Light";
   font-size: clamp(0.9375rem, 0.8vw, 1.125rem);
 color:rgba(0, 0, 0, 0.6);
  padding-top: 3px;
}
.filter-cate-text-other {
  flex: 1; 
  text-align: center; 
  font-family: "Acumin Pro Condensed Light";
   font-size: clamp(0.9375rem, 0.8vw, 1.125rem);

  padding-top: 3px;
}
.filter-cate-radio-text {
  font-family: "Acumin Pro Condensed Light";
  font-size: 13px;
  padding-top: 2px;
}
.filter-cate-button-blue {
  background-color: #499dd6;
  border: 1px solid #499dd6;
  color: white;
  text-align: center;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto; /* 77pt ≈ 103px */
  height: 32px; /* 24pt ≈ 32px */
  padding: 0 12px; /* Remove padding to respect exact dimensions */
  box-sizing: border-box; /* Include border in width/height */
}
.filter-cate-text-blue {
  text-align: center;
  padding-top: 3px;
  font-family: "Acumin Pro Condensed Light";
  font-size: clamp(0.9375rem, 0.8vw, 1.125rem);

}
.filter-cate-button-red {
  background-color: #ed3c3c;
  border: 1px solid #ed3c3c;
  color: white;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto; /* 77pt ≈ 103px */
  height: 32px; /* 24pt ≈ 32px */
  padding: 0  12px; /* Remove padding to respect exact dimensions */
  box-sizing: border-box; /* Include border in width/height */
}
.filter-cate-text-red {
  text-align: center;
  padding-top: 3px;
  font-family: "Acumin Pro Condensed semiBold";
font-size: clamp(0.9375rem, 0.8vw, 1.125rem);
}
.filter-cate-button:hover,
.filter-cate-button.active {
  background-color: #499dd6; /* Button color when active/hover */
  color: white; /* Text becomes white when background is #499dd6 */
}
.filter-cate-button-red:hover,
.filter-cate-button-red.active {
  background-color: #ed3c3c; /* Button color when active/hover */
  color: white; /* Text becomes white when background is #499dd6 */
}

/* .filter-cate-text {
    text-align: center;
    padding-top: 2px;
    font-family: "Acumin Pro Condensed Light";
    font-size: 13px;
  } */

.list-cat-wrapper {
  display: flex;
  gap: 16px; /* Equal space between items */
  align-items: center; /* Vertically center items */
  margin-left: 6px;
}

.list-cat-item,
.list-cat-item-other {
  display: flex;
  gap: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.list-cat-item img,
.list-cat-item-other img {
  margin-bottom: 4px; /* Space between image and text */
  object-fit: contain; /* Ensure images maintain aspect ratio */
  max-height: 40px; /* Limit image height */
}
.list-cat-item-other img {
  margin-bottom: 4px; /* Space between image and text */
  object-fit: contain; /* Ensure images maintain aspect ratio */
  max-height: 40px; /* Limit image height */
}
.remove-category-icon{
  margin-bottom: 0px!important; /* Space between image and text */
}

.list-cat-item p {
  margin: 0; /* Remove default margins */
  font-size: 18px;
  text-align: center;
  width: 100%; /* Ensure text takes full width */
  font-family: "Acumin Pro Semi Bold";
  margin-top: 8px;
}
.list-cat-item-other p {
  margin: 0;
  margin-top: 5px;
  font-size: 18px;
  text-align: center;
  font-family: "Acumin Pro Semi Bold";
  width: 100%; /* Ensure text takes full width */
}
.cate-cards-wrapper {
  display: flex;
  width: 100%;
  max-width: 670px; /* Set your desired maximum width */
  margin: 0 auto;
  /* padding: 0 20px;  */
  margin-top: 10px;
  position: relative;
}
.cate-card-info {
  display: flex;
  gap: 4px;
}
.cate-card-info span {
  font-family: "Acumin Pro Regular";
  font-size: 8px;
}
.cate-event-card {
  width: 171px; /* 202pt ≈ 269px */
  font-family: "Acumin Pro", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 8px; /* Space between image and text */
}

.cate-card-container {
  position: relative;
  border: 1px solid #e0e0e0;
  height: 282px;
}

.cate-corner-badge {
  position: absolute;
  top: -7px;
  right: 130px;
  z-index: 1;
  padding: 5px;
}

.cate-card-image {
  width: 100%;
  object-fit: cover;
  display: block;
}

.cate-card-content {
  padding: 5px 4px;
}
.cate-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cate-card-title {
  font-size: 14px; /* 10.52pt ≈ 14px */
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #000000;
  line-height: 1.3;
  font-family: "Acumin Pro Condensed Bold";
}

.cate-card-description {
  font-size: 9px; /* 6.52pt ≈ 9px */
  margin: 0;
  color: #000000;
  line-height: 1.4;
  font-family: "Poppins Medium";
}

.cate-quick-overview {
  font-size: 9px;
  font-family: "Acumin Pro Condensed SemiBold";
}

.cate-date-badge {
  background-color: red;
  color: white;
  width: 37px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 0 1px white, 0 0 0 2px rgba(255, 255, 255, 0.7),
    0 0 0 3px rgba(255, 255, 255, 0.4);
  position: absolute;
  right: -3.5%;
  height: 37px;
  top: -3px;
  z-index: 1;
}

.cate-date-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Acumin Variable Concept", "Arial Narrow", sans-serif;
  line-height: 0.8;
  margin: -2px 0;
}

.cate-date-day {
  font-size: 17px;
  font-weight: 400;
  font-stretch: extra-condensed;
  font-variation-settings: "wght" 900, "wdth" 60;
}

.cate-date-month {
  font-size: 17px;
  font-weight: 400;
  font-stretch: extra-condensed;
  text-transform: lowercase;
  font-variation-settings: "wght" 900, "wdth" 60;
}
.cate-absolute-button {
  background-color: #e91b22; /* Red color */
  border: none;
  color: white;
  text-align: center;
  border-radius: 20px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 51px; /* 25pt ≈ 33.33px, but adjusted for better visibility */
  height: 20px; /* 15pt ≈ 20px */
  padding: 0;
  box-sizing: border-box;
  position: absolute;
  bottom: 10px; /* Adjust as needed */
  left: 46%;
  transform: translateX(-50%);
  font-family: "Acumin Pro Condensed Bold";
  text-transform: uppercase;
  z-index: 2;
}

.cate-absolute-button:hover {
  background-color: #c81017; /* Slightly darker red on hover */
}


@media (min-width: 2000px) {

  .filter-cate-wrapper{
    width: 70%;
        max-width: 1447.59px;
  }
  .filter-cate-button {

    width: 5vw;
}
}
@media  (min-width: 1780px) and (max-width: 2000px)  {
  .filter-cate-wrapper{
        max-width: 1600px;
  }
  
}
@media (max-width: 993px) {
.filter-cate-subheader{
  flex-wrap: wrap;
}
}

