.filter-common {
    border: 1px solid #aaaaaa52;
    /* padding-bottom: 10px; */
    margin-bottom: 10px;
}

.filter-common:not(:last-child) {
  border: 1px solid #aaaaaa52;
  /* padding-bottom: 10px; */
  margin-bottom: 10px;
}
.filter-common.filter-common-hidden{
  display: none;
}
.filter-common:not(.is-open) .filter-common__title:after{
 transform: rotate(180deg);
}

.filter-common__title {
  /* margin-bottom: 10px; */
  font-size: 16px;
  font-weight: 700;
  background: var(--color-main);
  padding: 5px 10px;
  position: relative;
  cursor: pointer;
  color: white;
}
.filter-common__title:after{
  content:"";
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
  height: 32px;
  mask-image: url(../images/icon-down.png);
  mask-size: 15px;
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: #9E9E9E;
  z-index: 10;
}
/*.filter-common:not(.is-open) .filter-common__ct{
  display: none;
}*/
.filter-common__ct{
  padding: 10px 0;
}
.filter-common__list {
  max-height: 150px;
  overflow: auto;
  padding: 4px 10px;
  margin: 0;
  list-style: none;
  display: grid;
  flex-wrap: wrap;
  gap: 5px 10px;
  grid-template-columns: repeat(1, 1fr);
}

.filter-common__item {
  margin: 0
}

.filter-common__option {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 5px;
  padding: 0 0 8px 0;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-common__option:hover .filter-common__checkmark {
  opacity: 1;
}

.filter-common__option:hover .filter-common__count {
  background: var(--color-main2);
  color: white;
}

.filter-common__check {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  padding: 0
}
/* input[type="checkbox"].filter-common__check ~ .filter-common__swatch{
  border-radius: 0;
} */
.filter-common__swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .08);
  display: grid;
  place-items: center;
  position: relative;
}

.filter-common__checkmark {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: opacity .15s
}

.filter-common__checkmark path {
  stroke: var(--color-main);
}

.filter-common__name {
  color: #333;
  font-weight: 400;
}

.filter-common__count {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef0f3;
  color: #666;
  min-width: 24px;
  text-align: center;
  line-height: 1.67;
}

.filter-common__count--on {
  background: #3aa064;
  color: #fff
}

.filter-common__check:checked+.filter-common__swatch .filter-common__checkmark {
  opacity: 1
}

.filter-common__check:checked~.filter-common__name {
  color: #000;
  font-weight: 700
}

.filter-common__check:checked~.filter-common__count {
  background: var(--color-main2);
  color: white;
}

.filter-common__list::-webkit-scrollbar {
  width: 2px
}

.filter-common__list::-webkit-scrollbar-thumb {
  background: #d8dbe0;
  border-radius: 99px
}

.filter-common__list::-webkit-scrollbar-track {
  background: transparent
}

.category-product {
  margin-bottom: 10px;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(37, 35, 100, 0.1);
  border: 1px solid rgba(37, 35, 100, 0.1);
}

.category-product__panel {
  padding: 7px 16px;
  background: var(--color-main);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.category-product__panel-icon {
  line-height: 1;
}

.category-product__panel-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.category-product__item {
  border-bottom: 1px solid #e8e8e8;
}

.category-product__item:last-child {
  border-bottom: none;
}


.category-product__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.category-product__header.is-active {
  /* background-color: #252364; */

}

.category-product__header.is-active .category-product__title {
  color: #f16b24;
}


.category-product__header:hover .category-product__title {
  color: #ffffff;
}

.category-product__header.is-active .category-product__icon svg,
.category-product__header:hover .category-product__icon svg {
  color: #f16b24;
}


.category-product__title {
  font-size: 15px;
  font-weight: 500;
  color: #252364;
  transition: color 0.2s ease;
}

.category-product__title--sub {
  font-weight: 400;
  padding-left: 12px;
}


.category-product__icon {
  display: inline-block;
  line-height: 1;
}

.category-product__icon svg {
  width: 17px;
  height: 17px;
  color: #252364;
  transition: transform 0.3s ease, color 0.2s ease;
}

.category-product__header.is-active .category-product__icon svg {
  transform: rotate(180deg);
}

.category-product__subitem .category-product__header.is-active,
.category-product__header:hover {
  background: transparent;
  color: var(--color-main2);
}

.category-product__subitem .category-product__header.is-active .category-product__title,
.category-product__header:hover .category-product__title {
  color: inherit;
  font-weight: 700;
}



.category-product__submenu {
  display: none;
  /* background-color: #fafafa; */
}

.category-product__submenu--expanded {
  max-height: 1000px;
}

.category-product__subitem {
  border-bottom: 1px solid #e8e8e8;
}

.category-product__submenu .category-product__item:first-child {
  border-top: 1px solid #e8e8e8;
}

.category-product__submenu .category-product__item::before {
  content: "";
  /* width: 6px; */
  /* height: 6px; */
  /* border: 1px solid currentColor; */
  border-radius: 50%;
  position: absolute;
  left: 16px;
  top: 17px;
}

.category-product__submenu .category-product__item {
  padding-left: 10px;
  position: relative;
}

.category-product__subitem:last-child {
  border-bottom: none;
}

.section-product {
  padding: 30px 0;
}

.product-sort-box {
  /* padding-bottom: 10px; */
  /* margin-bottom: 10px; */
  gap: 10px;
  flex-wrap: wrap;
}

.product-column .product-item2 {
  height: 100%;
  border-radius: 10px;
  position: relative;
  border: 1px solid #ebebeb;
}

.product-sort-select {
  border: 1px solid #0000001b;
  height: 40px;
  border-radius: 35px;
  padding: 5px 15px;
}

/* pade detail */
.box-details-tops .box-box {
  padding: 0;
}

.p-list {}

.p-list:not(:last-child) {
  margin-bottom: 30px;
}

.p-list__header {
  background: var(--color-main);
  color: #fff;
  border: 1px solid #3d3d3d;
  border-radius: 4px 4px 0 0
}

.p-list__heading {
  margin: 0;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 20px;
}

.p-item {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-top: none;
}

.p-item:first-of-type {
  border-top: 1px solid #e4e4e4
}

.p-item__band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e5e5e5;
  padding: 8px 12px;
  font-weight: 700
}

.p-item__band-title {
  margin: 0;
  font-size: 18px;
  color: var(--color-main);
}

.p-item__top {
  color: var(--color-main2);
  text-decoration: none;
  font-weight: 700;
  display: none;
}

.p-item__top:hover {
  text-decoration: underline
}

.p-item__note {
  padding: 10px 12px;
  color: #444;
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.p-item__body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 5px 10px;
  align-items: center;
}

.p-item__body:not(:last-child) {
  border-bottom: 1px solid #f0f0f0
}

.p-item__main {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-item__title {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.p-item__title:hover {
  text-decoration: underline
}

.p-item__meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 0;
  align-items: center;
}

.p-item__sku {
  color: #666;
  font-size: 15px;
}

.p-item__prices {
  display: flex;
  gap: 6px;
}

.p-item__list {
  color: #7a7a7a;
  font-size: 13px;
}

.p-item__our {
  color: #111
}

.p-item__our strong {
  font-weight: 800;
  color: var(--color-main2);
}

.p-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-main2);
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  transition: filter .15s ease, transform .02s ease;
}


.p-item__btn>span {
  line-height: 1;
}

.p-item__btn svg {
  width: 20px;
  height: 20px;
}

.p-item__btn:hover {
  /* filter: brightness(1.05); */
  background: var(--color-main);
}

.p-item__btn:active {
  transform: translateY(1px)
}

/* tab */


.p-tabs {}

.p-tabs__nav {
  display: flex;
  background: #e9e9e9;
  overflow-x: auto;
}

.p-tabs__nav::-webkit-scrollbar {
  display: block;
  height: 2px;
}

.p-tabs__nav::-webkit-scrollbar-track {
  background: transparent;
}

.p-tabs__nav::-webkit-scrollbar-thumb {
  background: var(--color-main);
}

.p-tabs__btn {
    appearance: none;
    border: 0;
    background: #e9e9e9;
    color: #555;
    padding: 7px 21px;
    font-weight: 400;
    min-width: 14%;
    cursor: pointer;
    /* flex: 1; */
    white-space: nowrap;
    font-size: 16px;
    text-align: left;
    border-right: 1px solid #ececec;
    text-transform: uppercase;
}

.p-tabs__btn:hover {
  color: var(--color-main)
}

.p-tabs__btn:last-child {
  border-right: 0
}

.p-tabs__btn.is-active {
  background: var(--color-main2);
  color: #fff
}

.p-tabs__panels {
  padding: 22px 0 0;
}

.p-tabs__panel {
  display: none
}

.p-tabs__panel.is-active {
  display: block;
}

.p-tabs__title {
  margin: .2rem 0 1rem;
  font-size: 1.8rem
}

.p-tabs__panel h3 {
  margin: 1.4rem 0 .5rem
}

.p-tabs__panel ul {
  margin: .4rem 0 1rem 1.25rem
}

/*  */
.pupup-lienhe {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.pupup-lienhe.active {
  display: block;
  overflow: visible;
}

.pupup-lienhe-bg {
  background-color: #0000005c;
}

.pupup-lienhe-content {
  background-color: white;
  padding: 15px;
  text-align: center;
  border-radius: 6px;
}

.pupup-lienhe-content input {
  border: 1px solid #222;
  background: #fff;
  flex: 1;
  min-width: 40px;
  border-radius: 3px;
  min-height: 38px;
  margin-bottom: 8px;
  font-size: 16px;
  color: #333;
  background-color: Transparent;
  padding: 7px 10px;
  height: auto;
  overflow: hidden;
  height: 48px;
  border: solid 1px #ddd;
  background-color: #fff;
  margin-bottom: 12px;
  display: block;
  width: 100%;
}

.pupup-lienhe-content button {
  border-radius: 3px;
  padding: 0;
  border-color: #1d1f5e;
  display: block;
  background-color: #1d1f5e;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  font-size: 18px;
  position: relative;
  line-height: 50px;
  text-align: center;
  width: 100%;
}

.pupup-lienhe-content h2 {
  color: black;
  font-weight: 600;
}

.pupup-lienhe-content span {
  margin-bottom: 10px;
  color: black;
  font-size: 14px;
  display: block;
}

.pupup-lienhe-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pupup-lienhe-close {
  position: absolute;
  right: 10px;
  top: 10px;
}

.pupup-lienhe-close svg {
  height: 18px;
  width: 21px;
  fill: #000;
}

/*  */
.product-slider {}

.product-nav {
  margin-top: 10px;
}

.details-heading {
  padding: 20px 0;
}

.details-heading_row {
  gap: 10px 0;
}

.product-slider {
  max-width: 500px;
  margin: 0 auto;
}

.details-heading__ttl {
  font-size: 26px;
  color:#333;
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.product-for__type {
  color: var(--color-main);

}

.product-sort-box label {
  font-size: 15px;
}
.filter-close {
    padding: 0;
    width: 30px;
    height: 30px;
    margin-left: auto;
    margin-right: -7px;
    margin-bottom: 8px;
    display: flex;
    background: lightgrey;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.filter-close svg{
 	width: 15px;
    height: 15px; 
}
.filter-action{
  gap: 6px;
  font-size: 15px;
  height: 40px;
  padding: 5px 10px;
  border: 1px solid #0000001b;
  border-radius: 10px;
   cursor: pointer;
}

.filter-action svg{
 width: 24px;
 height: 24px; 
  
}

.filter-action .icon{
 line-height: 0;
}
.product_inin_link {
    padding: 3px 10px;
    border-bottom: 3px solid #ccc;
    display: block;
    font-size: 14px;
    border-radius: 0;
    font-weight: 600;
}
.product_inin_link:hover{
    /* background: var(--color-main2); */
    border-bottom-color: var(--color-main2);
    /* color: white; */
}
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.quantity-selector__qtybtn{
    background: #f0f0f0;
    border: none;
    padding: 1px 12px;
    cursor: pointer;
    font-size: 18px;
}
.quantity-selector__input {
    width: 50px;
    text-align: center;
    border: none;
}
.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-for__type .product-item2__price{
  font-size: 24px;
  justify-content: start;
  text-align: left;
}
.product-for__type .product-item2__sale{
 	font-size: 16px 
}
.product-description{
 	margin-bottom: 20px; 
}
.product-description .noi_dung_in{
      max-height: 165px;
    overflow: hidden;
}
.product-description.content-full .noi_dung_in{
  max-height: auto;
}
.links{
 	margin-top: 20px; 
}
.product_inin {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-color: #cbcbcb #0000001f;
    scrollbar-width: thin;
}


.product_inin::-webkit-scrollbar{
      height: 4px;
   

}

.product_inin::-webkit-scrollbar-thumb {
    background: none;
    border-radius: 8px;
}
.p-list__heading a{
  color: inherit;
}
.contact-btn-2 {
    border: 1px solid lightgray;
    padding: 4px 15px;
    border-radius: 35px;
}
.contact-btn-2:hover{
 	background: var(--color-main2);
   color: white;
}
@media (min-width:992px) {
  .product-sort-bar{
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    align-items: end;
  }
  .product_inin {
    margin-bottom: -3px;
    max-width: 50%;
  }
}
@media (max-width:992px) {
  .product-sort-box{
    padding-bottom: 10px; 
   margin-bottom: 10px;
  }
  
  .section-product__sidebar {
    transform: translateX(-100%);
        opacity: 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
    width: 270px;
    background: white;
    overflow-y: auto;
    height: 100%;
    padding: 5px 15px 15px;
    transition: all .5s;
  }
  .section-product__sidebar.is-open{
  	transform: translateX(0);
        opacity: 1;
  }

  .p-item__body {
    flex-direction: column;
    align-items: stretch
  }

  .p-item__btn {
    align-self: center;
  }

  .p-tabs__btn {
    padding: 7px 25px;
    flex: 1; 
            min-width: auto;
  }

  .p-list__heading {
    font-size: 18px;
  }

  .details-heading__ttl {
    font-size: 24px;
    margin-bottom: 0;
  }
  
  .section-product{
    padding: 20px 0;
  }

  .product-slider{
    margin-bottom: 10px;
  }
 
}
@media (max-width: 420px) {
  .product-sort-box label {
      font-size: 13px;
  }
  .product-sort-select{
    padding: 5px 8px;
  }
  .filter-action{
    padding: 5px 7px;
  }
}