@charset "UTF-8";
.products-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 15px;
}

.collapse-category-button {
  margin-top: 15px;
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid;
  display: flex;
  justify-content: space-between;
}

.collapse-category-button[aria-expanded=true] .arrow svg {
  transform: rotate(180deg);
}

.collapse-categories {
  padding-left: 0px;
  list-style: none;
  margin-top: 10px;
  max-height: 200px;
  overflow-y: scroll;
}
.collapse-categories li {
  padding: 8px;
}

.color-filter-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 2fr));
  margin-top: 15px;
  padding: 10px 0;
  max-height: 350px;
  overflow-y: scroll;
}

.color-filter-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  padding: 2px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  gap: 0.5rem;
}
.color-filter-item:hover {
  border-color: #e9ecef;
}
.color-filter-item.active {
  border-color: #000;
}

.color-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 8px;
  position: relative;
}
.color-circle::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid #CDCDCD;
  transition: border-color 0.3s ease;
}
.color-circle .color-name-cat {
  color: #000;
}
.color-filter-item.active .color-circle::after {
  border-color: #000;
}
.color-filter-item .color-circle:hover::after {
  border-color: #000;
}
.color-circle:hover .color-name-cat {
  color: #f15928;
}

.color-name-cat {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  color: #333;
  line-height: 1.2;
}

.size-filter-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 8px;
  margin-top: 15px;
  padding: 10px 0;
}

.size-filter-item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 10px 8px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.3s ease;
  background-color: #fff;
  min-height: 40px;
}
.size-filter-item:hover {
  border-color: #999;
  background-color: #f8f9fa;
}
.size-filter-item.active {
  border-color: #000;
  background-color: #000;
  color: #fff;
}
.size-filter-item.active .size-label {
  color: #fff;
}

.size-label {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #333;
  line-height: 1;
  transition: color 0.3s ease;
}

.price-filter-container {
  margin-top: 15px;
  padding: 10px 0;
}

.price-filter-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.price-filter-item:hover {
  background-color: #f8f9fa;
}
.price-filter-item.active {
  background-color: #f0f0f0;
}
.price-filter-item.active .price-checkbox {
  background-color: #000;
  border-color: #000;
}
.price-filter-item.active .price-checkbox::after {
  opacity: 1;
}

.price-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-radius: 2px;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
}
.price-checkbox::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 1px;
  color: white;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.price-label {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.arrow svg {
  transform: rotate(360deg);
  transition: 0.3s;
}

.section_below_title_for_mobile {
  display: none;
}

.btn_buy_now_mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .products-wrap {
    grid-template-columns: 1fr 1fr;
  }
  .all_content_prd_cate .flex_section .is_mobile {
    display: none;
  }
  .color-filter-container {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 10px;
  }
  .color-filter-item {
    padding: 6px;
  }
  .color-circle {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
  }
  .color-name {
    font-size: 10px;
  }
  .size-filter-container {
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 6px;
    margin-top: 10px;
  }
  .size-filter-item {
    padding: 8px 6px;
    min-height: 35px;
  }
  .size-label {
    font-size: 12px;
  }
  .main_content_prd {
    margin-top: 32px;
  }
  .main_content_prd .title {
    text-align: center;
    padding: 8px 0 32px 0;
  }
  .section_below_title_for_mobile {
    display: block;
  }
  .section_below_title_for_mobile .prd_cate_list {
    text-wrap: nowrap;
    margin-bottom: 0;
    padding: 0 0 16px 0;
    list-style: none;
    display: flex;
    gap: 12px;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .section_below_title_for_mobile .prd_cate_list::-webkit-scrollbar {
    display: none;
  }
  .section_below_title_for_mobile .prd_cate_list .prd_cate_item {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
  .section_below_title_for_mobile .prd_cate_list .prd_cate_item a {
    padding: 10px 16px;
    text-decoration: none;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    text-align: center;
    display: block;
    background-color: rgb(245, 245, 245);
  }
  .section_below_title_for_mobile .filter_btn_odering_select_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid rgb(235, 235, 235);
  }
  .section_below_title_for_mobile .filter_btn_odering_select_row .btn_popup_fiter {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .section_below_title_for_mobile .filter_btn_odering_select_row .btn_popup_fiter p {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
  }
  .section_below_title_for_mobile .filter_btn_odering_select_row .btn_popup_fiter img {
    width: 16px;
    height: 16px;
  }
  .section_below_title_for_mobile .filter_btn_odering_select_row .odering_select {
    border: 1px solid rgb(222, 222, 222);
    width: 40%;
    border-radius: 4px;
  }
  .section_below_title_for_mobile .filter_btn_odering_select_row .odering_select select {
    border: none;
    width: 100%;
    padding: 10px;
    background-color: white;
    cursor: pointer;
  }
  .section_below_title_for_mobile .filter_btn_odering_select_row .odering_select select option {
    font-size: 15px;
    font-weight: 300;
    line-height: 15px;
    text-align: left;
    padding: 8px;
  }
  .btn_buy_now_mobile {
    display: block;
    text-align: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.06);
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    text-align: center;
    text-transform: uppercase;
    padding: 12px 0;
  }
  .product-item {
    display: flex;
    gap: 8px;
    flex-direction: column;
  }
  .product-item .thumbnail-image {
    width: 100%;
    aspect-ratio: 1;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .product-item .product-info .product-name {
    margin-top: 0;
  }
  .product-item .product-info p {
    margin-bottom: 0;
  }
  .product-item .product-info .color {
    font-size: 12px;
    color: #666;
  }
}
.filter_btn_odering_select_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.filter_btn_odering_select_row .order-select {
  border: 1px solid #dedede;
}
.filter_btn_odering_select_row .btn_popup_fiter .total-filter {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
