.menus_name::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #c8a96e;
    border-radius: 999px;

    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.active_menu {
    color: #c8a96e;
}

.active_menu::after {
    transform: translateX(-50%) scaleX(1);
}
.active_category{
  border: 1.5px solid #c8a96e;
  font-size: medium;
  color: #c8a96e;
}



.hide-scrollbar::-webkit-scrollbar {
    display: none;             
  }

  .header-light {
  position: fixed;
  top: -32px;
  width: 100%;
  height: 100px;
  pointer-events: none;
}

/* نور */
.header-light::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);

  width: 270px;
  height: 300px;

  background: radial-gradient(
    ellipse at top,
    rgba(255, 245, 200, 0.85),
    rgba(255, 245, 200, 0.3) 35%,
    rgba(0, 0, 0, 0) 70%
  );

  filter: blur(30px);
  z-index: 1;
}

/* متن‌ها بالای نور */
.title {
  position: fixed;
  width: 100%;
  text-align: center;
  font-family: english;
  font-weight: bold;
  color: #fbeec7;
  z-index: 2;
}

.main-title {
  top: 60px;
  font-size: 1.5rem;
}

.sub-title {
  top: 90px;
  font-size: 1.25rem;
  letter-spacing: 0.3em;
}

/* swiper setting */

.swiper{
  margin-top: 70px;
  width: 95%;
  height: 160px;
}

.swiper-wrapper{
  width: 100% !important;
  height: inherit;
}

.swiper-slide{
  width: 100% !important;
  height: inherit;
}

.swiper-button-next , .swiper-button-prev  {
  width: 25px !important;
  height: 40px !important;
  color: gray !important;
  border: 1px solid gray;
  padding: 7px !important;
  border-radius: 99px;
  backdrop-filter: blur(15px);
  background-color: rgba(0, 0, 0, 0.3);
  
  
}


/* modal animate */
/* modal container */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

/* backdrop */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}

/* drawer */
.modal-drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 90%;
  max-width: 420px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(0.16,1,0.3,1);
}

/* OPEN STATE */
.modal.open {
  pointer-events: auto;
}

.modal.open .modal-backdrop {
  opacity: 1;
}

.modal.open .modal-drawer {
  transform: translateX(0);
}

.categoryTxt {
  position: relative;
}
.category_underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.category_underline.active::after {
  width: 60%;
}

#categoryContainer,
#productContainer {
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#categoryContainer.fade-out,
#productContainer.fade-out {
  opacity: 0;
  transform: translateY(6px);
}

#categoryContainer.fade-in,
#productContainer.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.selected_category_title {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 26px;

  
}
