@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");

body {
  font-family: "Noto Sans KR", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
i,
em {
  margin: 0;
  padding: 0;
}
ul,
li,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
}

.liqu__box {
  width: 100%;
  max-width: 960px;
}
.liqu__info {
  display: block;
  gap: 20px;
  /* padding: 20px 20px 40px; */
  padding: 0;
  border-top: 1px solid #ddd;
}
.liqu__info a {
  display: flex;
  gap: 20px;
  padding: 20px 0 20px;
  width: 100%;
}
.liqu__info .thumb {
  width: 200px;
  height: auto;
  border: 1px solid #ddd;
  position: relative;
}
.liqu__info .thumb .nomihodai {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
}
.liqu__info .thumb.soldout:after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: url("/common/images/ico-soldout.svg") no-repeat 0 0 / 100%;
}
.liqu__info .thumb img {
  width: 100%;
  height: 100%;
}
.liqu__info .info_wrap {
  width: calc(100% - 220px);
}
.liqu__info .info_wrap .info {
  margin-bottom: 10px;
}
.liqu__info .info_wrap .info h3 {
  font-weight: 700;
  color: #222;
  font-size: 18px;
  margin-bottom: 5px;
  background: url("../images/arrow-right.svg") no-repeat 100% 3px / auto 15px;
  padding-right: 10px;
  line-height: 1.2;
}
.liqu__info .info_wrap .info p {
  line-height: 15px;
  color: #666;
  font-weight: 400;
  margin-bottom: 8px;
}

.liqu__info .info_wrap ul {
  margin: 0 0 10px;
}
.liqu__info .info_wrap ul li {
  display: inline-block;
  vertical-align: middle;
  margin: 2px 2px 2px 0;
  font-size: 13px;
  font-weight: 500;
  color: #8e8e8e;
  border: 1px solid #e6e6e6;
  border-radius: 50px;
  padding: 2px 10px 3px;
}

.search_form button.filter {
  display: none;
}

.liqu__box .list_graph {
  display: flex;
  margin: 0 0 10px;
}
.liqu__box .list_graph .bar {
  flex: 1;
  margin-top: 20px;
  max-width: 180px;
  margin-bottom: 10px;
}

.liqu__box .list_graph .bar:first-child {
  margin-right: 15px;
}

.liqu__box .list_graph .bar .line {
  position: relative;
  width: 100%;
  height: 3px;
  background: #e6e6e6;
  border-radius: 100px;
}

.liqu__box .list_graph .bar .line:after {
  content: "";
  display: block;
  width: 1px;
  height: 5px;
  background: #e6e6e6;
  border-radius: 10px;
  position: absolute;
  top: -1px;
  left: 50%;
}

.liqu__box .list_graph .bar .line span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid #ec463d;
  background: #ec463d;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: -2px;
  /* z-index: 1; */
}

.liqu__box .list_graph .bar .line em {
  display: none;
}

.liqu__box .list_graph .bar .line.empty {
  text-align: center;
}

.liqu__box .list_graph .bar .line.empty span {
  display: none;
}

.liqu__box .list_graph .bar .line.empty i {
  font-style: normal;
  font-size: 10px;
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: #ddd;
  color: #fff;
  padding: 2px;
  border-radius: 5px;
}

.liqu__box .list_graph .bar .bar_name {
  font-size: 11px;
  color: #6a6a6a;
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.liqu__box .list_graph .bar .bar_name p {
  font-size: 13px;
}
.liqu__box .info_wrap .price {
  width: 100%;
  height: fit-content;
}
.liqu__box .info_wrap .price p {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 7px;
  display: flex;
  gap: 5px;
  flex-direction: row-reverse;
  align-items: end;
  justify-content: flex-end;
  color: #ec463d;
}
.liqu__box .info_wrap .price p.original_price.discount {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray66);
  position: relative;
  width: fit-content;
}
.liqu__box .info_wrap .price p.original_price.discount:before {
  content: "";
  width: 120%;
  height: 1px;
  background: var(--gray66);
  position: absolute;
  bottom: 37%;
  left: -5px;
}

/* 통상가격 예약가격 */
.liqu__box .info_wrap .price dl {
  display: flex;
  gap: 10px;
  > dt {
    font-size: 15px;
    color: var(--gray44);
    line-height: 1.3;
  }
  > dd {
    text-align: right;
    > p {
      font-size: 15px;
      color: var(--gray44);
      margin-bottom: 0;
      line-height: 1.3;
      &.red_price {
        color: var(--redec);
        font-weight: bold;
      }
    }
    > span.red_price {
      color: var(--redec);
      font-weight: 500;
      font-size: 14px;
    }
  }
}
.advance_price {
  display: flex;
}
.liqu__box .info_wrap .price dl.discount_price {
  position: relative;
  width: fit-content;
}
.liqu__box .info_wrap .price dl.discount_price:before {
  content: "";
  width: 110%;
  height: 2px;
  background: var(--redec);
  position: absolute;
  top: 8px;
  left: -5px;
}
.liqu__box .info_wrap .price .card {
  color: #8e8e8e;
  font-weight: 400;
  font-size: 13px;
  display: inline-block;
  margin-top: 10px;
}

.liqu__box .info_wrap .price span {
  color: #8e8e8e;
  font-weight: 500;
  font-size: 13px;
  /* margin-left:5px; */
}
.liqu__box .info_wrap .price span.order_num {
  padding: 3px 8px;
  font-size: 11px;
  background: #0195f7;
  border-radius: 5px;
  color: #fff;
}
.liqu__box .info_wrap .liqu_ml_wrap.active {
  display: none;
}
.liqu__box:last-of-type {
  padding-bottom: 40px;
}

.alcohol_special_detail {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray8e);
  margin: 10px 0;
}

@media all and (max-width: 1360px) {
  .liqu__box {
    width: 100%;
    max-width: 1360px;
  }
}
@media all and (max-width: 768px) {
  #liquor__list {
    padding: 0 20px;
  }
  .liqu__box:last-of-type {
    padding-bottom: 40px;
  }
  .liqu__info .thumb {
    width: 120px;
    height: fit-content;
  }
  .liqu__info .thumb img {
    width: 100%;
    height: 100%;
  }
  .liqu__info .thumb.soldout:after {
    top: 3px;
    left: 3px;
    width: 30px;
    height: 30px;
  }

  .liqu__info .info_wrap {
    width: calc(100% - 120px);
  }

  .liqu__info .info_wrap .info h3 {
    font-size: 17px;
  }
  .liqu__info .info_wrap .info p {
    line-height: 1.2;
    font-size: 15px;
  }
  .liqu__info .info_wrap ul li {
    font-size: 14px;
  }

  /* 통상가격 예약가격 */
  .advance_price {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .liqu__box .info_wrap .price {
    text-align: right;
  }
  .liqu__box .info_wrap .price dl {
    justify-content: flex-end;
  }
  .advance_btnWrap {
    width: 100%;
    .advance_btn {
      width: 100%;
    }
  }
  .liqu__box .info_wrap .price dl.discount_price {
    width: 100%;
  }
  .liqu__box .info_wrap .price dl.discount_price:before {
    width: 210px;
    left: inherit;
    right: -5px;
  }
}
@media all and (max-width: 550px) {
  .liqu__box .info_wrap .price p {
    /* justify-content: flex-start; */
    /* 추천마크 때문에 하기처럼 바꿈 */
    flex-direction: row;
    justify-content: flex-end;
  }
  .alcohol_special_detail {
    text-align: left;
  }
}

@media all and (max-width: 480px) {
  .liqu__info {
    display: block;
  }
  .liqu__info a {
    display: block !important;
  }
  .liqu__info .thumb {
    width: 100%;
    height: auto;
    border: 0;
    text-align: center;
    margin-bottom: 20px;
  }
  .liqu__info .thumb img {
    width: auto;
    height: 190px;
  }
  .liqu__info .thumb.soldout:after {
    top: 20px;
    left: calc(50% - 105px);
    width: 45px;
    height: 45px;
  }
  .liqu__info .info_wrap {
    width: 100%;
  }

  .liqu__box .list_graph {
    gap: 10px;
  }
  .liqu__box .list_graph .bar {
    max-width: 100%;
  }

  .search_form button.filter {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 3px;
  }
  .search_form button.filter.photo {
    background: url(../images/ico-thumb.svg) center no-repeat;
    background-size: 60%;
  }
  .search_form button.filter.list {
    background: url(../images/ico-list.svg) center no-repeat;
    background-size: 60%;
  }
  .liqu__info .thumb .nomihodai {
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
  }

  .liqu__info .thumb .nomihodai img {
    width: 100%;
    height: 100%;
  }

  /* 통상가격 예약가격 */
  .advance_price {
    flex-direction: column;
    align-items: flex-end;
  }
  .liqu__box .info_wrap .price {
    flex: 2;
  }
  .liqu__box .info_wrap .price dl {
    display: flex;
    gap: 10px;
    > dt {
      font-size: 14px;
      > dd {
        > p {
          font-size: 14px;
        }
        > span.red_price {
          font-size: 13px;
        }
      }
    }

    .liqu__box .info_wrap .price dl.discount_price {
      width: 100%;
    }
    .liqu__box .info_wrap .price dl.discount_price:before {
      width: 210px;
      left: inherit;
      right: -5px;
    }
    .advance_btnWrap {
      width: fit-content;
    }

    /* list일때 */
    .liqu__info.list {
      display: flex;
      gap: 10px;
      padding: 20px 20px 40px;
      border-top: 1px solid #ddd;
    }
    .liqu__info.list .thumb {
      width: 90px;
      height: auto;
      border: 1px solid #ddd;
    }
    .liqu__info.list .thumb img {
      width: 100%;
      height: 100%;
    }
    .liqu__info.list .info_wrap {
      width: calc(100% - 90px);
    }
    .liqu__info.list .info_wrap .info {
      margin-bottom: 10px;
    }
    .liqu__info.list .info_wrap .info h3 {
      font-weight: 700;
      color: #222;
      font-size: 16px;
      margin-bottom: 5px;
      background: url("../images/arrow-right.svg") no-repeat 100% 3px / auto
        15px;
      padding-right: 10px;
      line-height: 1.3;
    }
    .liqu__info.list .info_wrap .info p {
      line-height: 15px;
      color: #666;
      font-weight: 300;
      margin-bottom: 8px;
    }

    .liqu__info.list .info_wrap ul {
      margin: 0 0 10px;
    }
    .liqu__info.list .info_wrap ul li {
      display: inline-block;
      vertical-align: middle;
      margin: 2px 5px 2px 0;
      font-size: 13px;
      font-weight: 500;
      color: #8e8e8e;
      border: 1px solid #e6e6e6;
      border-radius: 50px;
      padding: 2px 10px 3px;
    }

    .liqu__info.list .list_graph {
      display: flex;
      margin: 0 0 10px;
    }
    .liqu__info.list .list_graph .bar {
      flex: 1;
      margin-top: 20px;
      max-width: 180px;
      margin-bottom: 10px;
    }

    .liqu__info.list .list_graph .bar:first-child {
      margin-right: 15px;
    }

    .liqu__info.list .list_graph .bar .line {
      position: relative;
      width: 100%;
      height: 3px;
      background: #e6e6e6;
      border-radius: 100px;
    }

    .liqu__info.list .list_graph .bar .line:after {
      content: "";
      display: block;
      width: 1px;
      height: 5px;
      background: #e6e6e6;
      border-radius: 10px;
      position: absolute;
      top: -1px;
      left: 50%;
    }

    .liqu__info.list .list_graph .bar .line span {
      display: block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      border: 1px solid #ec463d;
      background: #ec463d;
      box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
      position: absolute;
      top: -2px;
      z-index: 1;
    }

    .liqu__info.list .list_graph .bar .line em {
      display: none;
    }

    .liqu__info.list .list_graph .bar .line.empty {
      text-align: center;
    }

    .liqu__info.list .list_graph .bar .line.empty span {
      display: none;
    }

    .liqu__info.list .list_graph .bar .line.empty i {
      font-style: normal;
      font-size: 10px;
      position: absolute;
      top: -7px;
      left: 50%;
      transform: translateX(-50%);
      background: #ddd;
      color: #fff;
      padding: 2px;
      border-radius: 5px;
    }

    .liqu__info.list .list_graph .bar .bar_name {
      font-size: 11px;
      color: #6a6a6a;
      display: flex;
      justify-content: space-between;
      margin-top: 5px;
    }
    .liqu__info.list .list_graph .bar .bar_name p {
      font-size: 13px;
    }
    .liqu__info.list .info_wrap .price {
      width: 100%;
    }
    .liqu__info.list .info_wrap .price p {
      font-size: 17px;
      font-weight: bold;
      margin-bottom: 7px;
      display: flex;
      gap: 10px;
      flex-direction: row-reverse;
      align-items: end;
      justify-content: flex-start;
      color: #ec463d;
    }
    .liqu__info.list .info_wrap .price span {
      color: #8e8e8e;
      font-weight: 500;
      font-size: 13px;
      /* margin-left:5px; */
    }
    .liqu__info.list .info_wrap .liqu_ml_wrap.active {
      display: none;
    }
    .liqu__info.list:last-of-type {
      padding-bottom: 40px;
    }
  }
}

@media (max-width: 390px) {
  .liqu__box .info_wrap .price p {
    font-size: 16px;
    flex-wrap: wrap;
  }
  .advance_btnWrap {
    .advance_btn {
      font-size: 13px;
    }
  }
}
@media (max-width: 380px) {
  /* 통상가격 예약가격 */
  .advance_price {
    flex-direction: column;
  }
  .liqu__box .info_wrap .price {
    flex: 2;
  }
  .liqu__box .info_wrap .price dl {
    display: flex;
    gap: 10px;
    > dt {
      font-size: 14px;
      > dd {
        > p {
          font-size: 14px;
        }
        > span.red_price {
          font-size: 13px;
        }
      }
    }
  }
  .advance_btnWrap {
    flex: 1;
    .advance_btn {
      width: 100%;
    }
  }
}
@media (max-width: 300px) {
  .liqu__box .info_wrap .price p {
    font-size: 15px;
    display: block;
  }
}
