.product__main {
  background-color: #ffffff;
}

.product__box {
  width: 1300px;
  display: flex;
  margin: auto auto;
}

.product__container {
  margin-left: 20px;
}

.sidebar__menu {
  width: 200px;
  height: max-content;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding-left: 0;
  margin: 20px 0;
  list-style: none;
  border: 1px solid #e3e3e3;
}

.sidebar__menu li {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.sidebar__menu li input{
  margin-bottom: 5px;
  cursor: pointer;
  padding: 8px 12px;
}

.sidebar__menu li a:hover {
  color: blue;
}

.sidebar__menu label {
  cursor: pointer;
}

.searchbar {
  display: flex;
  width: 1050px;
  height: 45px;
  margin: 20px 0 auto auto;
}

.search__div {
  width: inherit;
  height: 35px;
  margin: auto auto;
}

.searchbar__box {
  width: calc(100% - 39px);
  height: 35px;
  border: 3px solid #ffc2d1;
  outline: none;
  text-indent: 8px;
}

.search__btn {
  width: 35px;
  height: 35px;
  background-color: #ffc2d1;
  color: white;
  border: 0;
  margin: auto auto;
  outline: none;
  cursor: pointer;
}

.m__filterbtn {
  display: none;
  float: right;
  margin: 10px;
  width: 120px;
  height: 35px;
  background-color: #ffc2d1;
  z-index: 2;
}

.m__filterbtn:hover {
  cursor: pointer;
}

.m__filterbtn i{
  color: white;
  margin: auto 10px auto auto;
  text-align: center;
}

.m__filterbtn a{
  color: white;
  margin: auto ;
}

.filterbar__menu {
  margin-top: 15px;
  width: 1050px;
  height: 35px;
  display: flex;
  flex-direction: row;
  padding-left: 0;
  list-style: none;
  background-color: #fff;
  border-bottom: 1px solid #dbdbdb;
}

.filterbar__menu li {
  height: 35px;
  display: flex;
  padding: 8px 12px;
  border: 1px solid #dbdbdb;
}

.filterbar__menu li:hover {
  background-color: #dbdbdb;
  cursor: pointer;
}

.filterbar__menu li a {
  margin: auto auto;
}

.filter__new.active,
.filter__chp.active,
.filter__exp.active,
.filter__may.active {
  font-weight: bold;
  opacity: 1;
  background-color: #eeeeee;
}

.filter__cus {
  background-color: #ffc2d1;
  opacity: 0.4;
}

.filter__cus.hide {
  display: none;
}

.filter__cus.active {
  font-weight: bold;
  opacity: 1;
  background-color: #ffc2d1;
}

.filter__cus.active a {
  color: white;
}

.filter__new.active:hover,
.filter__chp.active:hover,
.filter__exp.active:hover,
.filter__may.active:hover {
  background-color: #fbfbfc;
}

.filter__cus:hover,
.filter__cus.active:hover {
  background-color: #ffc2d1 !important;
  opacity: 0.8;
}

.m__filterbar{
  display: none;
}

.m__filterbar select, .m__filterbar .m__filter__cus{
  background-color: #fbfbfc;
  border: 1px solid #dbdbdb;
  font-size: 1rem;
  font-weight: bold;
  font-family: "NanumSquare", sans-serif;
  text-align-last: center;
  -ms-text-align-last: center;
  -moz-text-align-last: center;
}

.m__filterbar select:hover{
  background-color: #ffffff;
}

.m__filterbar select option{
  text-align-last: center;
}

/* 광고판 */
.bilboardbar {
  width: 1050px;
  height: 160px;
  display: flex;
  flex-direction: row;
  padding-left: 0;
  list-style: none;
  margin-top: 15px;
}

cardbar-item {
  display: flex;
  flex-direction: row;
}

.cardbarIn__container {
  display: flex;
  flex-direction: row;
  width: 1050px;
  background-color: white;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.cardbarIn__container p {
  text-align: center;
  width: 100%;
  margin: 200px;
  font-size: 20px
}

.cardbarIn__item {
  margin: 5px;
  display: flex;
  flex-direction: row;
  width: 250px;
  height: 400px;
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid #e3e3e3;
}

.cardbarIn__item:hover {
  background-color: #f2f2f2;
  cursor: pointer;
}

.cardbarIn__item img {
  width: 230px;
  height: 230px;
  object-fit: contain;
}

.cardbarIn__divImg {
  width: 230px;
  height: 230px;
  background-color: #FFFFFF;
}

.card__contents {
  padding: 8px 12px;
  height: 110px;
  width: 100%;
  line-height: 25px;
}

.c__text {
  color: gray;
  font-size: 0.9rem;
}

.b__text {
  font-weight: bold;
  font-size: 1.2rem;
}

.w__text {
  line-height: 32px;
  font-size: 1.1rem;
  color: gray;
}

@media screen and (max-width: 768px) {
  .product__box {
    width: 100%;
    display: flex;
    margin: auto auto;
  }

  .product__container {
    width: 100%;
    margin-left: 0;
  }

  .sidebar__menu {
    display: none;
  }

  .sidebar__menu.active {
    margin-top: 0;
    display: flex;
    position: absolute;
    z-index: 2;
    background-color: white;
    border-bottom: 1px solid #dbdbdb;
  }

  .searchbar {
    width: -webkit-fill-available;
    height: 35px;
    margin: 5px 10px;
  }

  .searchbar img {
    display: none;
  }

  .m__filterbtn{
    display: flex;
  }

  .m__filterbtn_black{
    display: none;
    position: absolute;
    background-color: black;
    width: 100%;
    height: 1850px;
    z-index: 2;
    background-color: rgba(0,0,0,0.5);
  }

  .m__filterbtn_black.active{
    display: block;
    z-index: 2;
  }

  .bilboardbar {
    display: none;
  }

  .filterbar__menu {
    display: none;
  }

  .m__filterbar{
    margin-top: 15px;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    padding-left: 0;
    list-style: none;
    background-color: #ffffff;
    border-bottom: 1px solid #dbdbdb;
  }

  #m__filterbar__filter{
    width: 100%;
  }

  .cardbarIn__container {
    width: 100%;
  }

  .cardbarIn__container p {
    margin: 100px auto;
    font-size: 15px;
  }

  .cardbarIn__item {
    margin: 5px;
    width: calc(50% - 10px);
    height: 350px;
  }

  .cardbarIn__item img {
    width: 100%;
    height: 180px;
  }

  .cardbarIn__divImg {
    width: 100%;
    height: 180px;
  }

  .c__text {
    font-size: 0.8rem;
  }

  .b__text {
    font-size: 0.9rem;
  }

  .w__text {
    font-size: 0.8rem;
  }

  .footer__box{
    display: none;
  }

  .m__filter__cus {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .m__filter__cus.hide {
    display: none;
  }

  .m__filter__cus.active {
    background-color: #ffc2d1;
    color: white;
    opacity: 1;
  }
}
