:root {
    --view-opt-input-height: 37px;
    --view-add-opt-font-size: 16px;
}
@media all and (max-width: 1024px) {
    :root {
        --view-add-opt-font-size: 15px;
    }
}
@media all and (max-width: 768px) {
    :root {
        --view-add-opt-font-size: 13px;
    }
}
@media all and (max-width: 480px) {
    :root {
        --view-add-opt-font-size: 12px;
    }
}

/* 상단 좌측 썸네일 ------------------------------------ */

.item-info-thumbnail {
  padding: 0;
}
.item-info-thumbnail .prd_tag {
  font-size: 0;
  top: 42px;
  left: 47px;
  margin: 0;
  padding: 0;
  right: auto;
}
.item-info-thumbnail .prd_tag .tag {
  font-family: var(--font-family-en);
  font-weight: var(--font-weight-normal);
  font-size: 18px;
  height: 37px;
  line-height: 35px;
  padding: 0 17px;
  border: 1px solid #000;
  box-sizing: border-box;
  color: #fff;
}
.item-info-thumbnail .prd_tag .tag.t_reco {
  background: #fff;
  color: #000;
}
.item-info-thumbnail .prd_tag .tag.t_new {
  background: #000;
}
.item-info-thumbnail .prd_tag .tag.t_soldOut {
  background: #707070;
  border-color: #707070;
}
.item-info-thumbnail .thumb {
  height: 0;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 100%;
  position: relative;
  width: 100%;
}

.item-info-thumbnail .thumb_slide_container {
  overflow: hidden;
}
.item-info-thumbnail .thumb_slide,
.item-info-thumbnail .thumb_slide img {
  overflow: hidden;
  width: 100% !important;
}
.item-info .item-info-thumbnail .progressbar {
  background-color: #c8c8c8;
  top: auto;
  bottom: 65px;
  height: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 56.875%;
  z-index: 5;
}
.item-info .thumb.fixed .progressbar {
  position: fixed;
}
.item-info-thumbnail
  .swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  background-color: #000;
}
@media (max-width: 1024px) {
  .item-info .item-info-thumbnail .progressbar {
    height: 2px;
    bottom: 27px;
    width: 72.94%;
  }
  .item-info .item-info-thumbnail
    .swiper-pagination-progressbar
    .swiper-pagination-progressbar-fill {
    background-color: #000;
  }
}
@media (max-width: 768px) {
  .item-info-thumbnail {
    margin-bottom: 34px;
  }
  .item-info-thumbnail .prd_tag {
    z-index: 5;
    top: 16px;
    left: 15px;
  }
  .item-info-thumbnail .prd_tag .tag {
    height: 25px;
    font-size: 12px;
    line-height: 23px;
    padding: 0 12px;
  }
}


/* 상단 우측 기본 info ------------------------------------ */
.item-benefits {
  margin-bottom: 18px;
  padding: 6px 0;
}
.item-benefits li {
  display: flex;
  margin-bottom: 6px;
}
.item-benefits li:last-child {
  margin-bottom: 0;
}
.item-benefits p {
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  line-height: 2;
  margin: 0;
}
.item-benefits .index {
  color: #9d9d9d;
  flex: 0 0 98px;
}
.item-benefits .text {
  color: #000;
  flex: 1 1 auto;
  font-weight: var(--font-weight-normal);
  word-break: keep-all;
}
@media (max-width: 768px) {
  .item-benefits {
    padding: 3px 0;
  }
  .item-benefits p {
    font-size: 12px;
  }
  .item-benefits li {
    margin-bottom: 10px;
  }
  .item-benefits .index {
    flex: 0 0 55px;
  }
}

/* 필수 옵션 선택하기 - 버튼, 리스트 영역 ------------------------------------ */
.option-bar {
  margin: 0 0 8px;
  position: relative;
  z-index: 10;
}
.option-bar .valueBox {
  position: relative;
  width: 100%;
  height: 50px;
  margin-bottom: 0;
  padding: 9px 33px;
  border: 1px solid #e0e0e0;
  outline: none;
  text-align: left;
  background: #fff;
}
.option-bar .valueBox:after {
  transform: rotate(180deg);
  position: absolute;
  right: 32px;
  top: 50%;
  margin-top: -12px;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23505051' d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
}
.option-bar.open .valueBox:after {
  transform: rotate(0);
}
.option-bar .valueBox .count,
.option-bar .valueBox .val {
align-self: center;
  font-weight: var(--font-weight-semibold);
  font-size: var(--view-add-opt-font-size);
  color: #000;
}
.option-bar .valueBox .count {
  position: absolute;
  right: 68px;
  top: 50%;
  height: var(--view-add-opt-font-size);
  margin-top: calc( -1 * (var(--view-add-opt-font-size)/2));
}

.option-bar .options {
  display: none;
  margin-bottom: 0;
  padding: 0 23px;
  border: 1px solid #e0e0e0;
  margin-top: -1px;
  background-color: #fff;
}
.option-bar.open .options {
  display: block;
}
.option-bar .options::-webkit-scrollbar {
  width: 5px;
}
.option-bar .options::-webkit-scrollbar-thumb {
  background: #787c7f;
  border-radius: 10px;
  cursor: pointer;
  height: 30%;
  opacity: 0.8;
}
.option-bar .options::-webkit-scrollbar-track {
  background: hsla(206, 3%, 48%, 0.2);
}
.option-bar .options li {
  display: flex;
  width: 100%;
  padding: 17px 10px;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
}
.option-bar .options li:hover {
  background: #f9f9f9;
}
.option-bar .options li:last-of-type {
  border: 0;
}

.option-bar .options li a {
  display: flex;
  width: 100%;
}

.option-bar .options .item {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  color: #000;
  font-size: var(--view-add-opt-font-size);
  font-weight: var(--font-weight-semibold);
  margin-right: auto;
}
.option-bar .options .soldout .item {
    color: #BCBCBC;
}
.option-bar .options .item label {
  color: #757575;
  font-size: 18px;
  margin: 0 0 0 10px;
}
.option-bar .options .price-box {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}
.option-bar .options .price-box .retailPrice {
  color: #b8b8b8;
  font-size: 18px;
  font-weight: var(--font-weight-normal);
  margin-bottom: 4px;
  margin-right: 10px;
  text-decoration: line-through;
}
.option-bar .options .price {
  font-weight: var(--font-weight-normal);
  font-size: var(--view-add-opt-font-size);
  margin-left: auto;
  padding: 0;
  text-align: right;
  color: #000;
}
.option-bar .options .soldout .price {
    color: #BCBCBC;
}
.option-bar .options .price strong {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  margin-right: 1px;
}
.option-bar .options .price-box .price {
  margin: 0 0 0 5px;
}
.option-bar .options .price-box .retailPrice {
  font-size: 15px;
  line-height: 30px;
  margin: 0;
  position: relative;
  top: 1px;
}
.option-bar .options .sale-percent {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--accentColor);
  margin: 0 0 0 5px;
}

/* modify-amount */
.modify-amount > span {
  color: #000;
  font-size: 24px;
  line-height: 1;
  margin: 0 4px;
}
.modify-amount > .bt {
  display: block;
  height: 24px;
  margin: 0;
  overflow: hidden;
  text-indent: -10000em;
  width: 24px;
}
.modify-amount > .btn-decrease {
  position: relative;
}
.modify-amount > .btn-decrease:before {
  background: #333;
  content: " ";
  height: 1px;
  left: 50%;
  margin: -1px 0 0 -7px;
  position: absolute;
  top: 50%;
  width: 14px;
}
.modify-amount > .btn-decrease:hover:before {
  background: #000;
}
.modify-amount > .btn-increase {
  position: relative;
}
.modify-amount > .btn-increase:before {
  background: #333;
  content: " ";
  height: 1px;
  left: 50%;
  margin: -1px 0 0 -7px;
  position: absolute;
  top: 50%;
  width: 14px;
}
.modify-amount > .btn-increase:after {
  background: #333;
  content: " ";
  height: 14px;
  left: 50%;
  margin: -7px 0 0 -1px;
  position: absolute;
  top: 50%;
  width: 1px;
}
.modify-amount > .btn-increase:hover:before,
.selected-item .modify-amount > .btn-increase:hover:after {
  background: #000;
}
.selected-item.disabled .modify-amount > .btn-decrease:before, 
.selected-item.disabled .modify-amount > .btn-increase:after, 
.selected-item.disabled .modify-amount > .btn-increase:before {
  background: #e0e0e0 !important;
}

@media all and (max-width: 1024px) {
  .option-bar {
    margin: 0;
    position: relative;
  }
  .option-bar .valueBox {
    height: 40px;
    padding: 8px 24px;
    margin-bottom: 0;
  }
  .option-bar .valueBox:after {
    right: 24px;
    margin-top: -10px;
    width: 20px;
    height: 20px;
  }
  .option-bar .valueBox .count {
    right: 34px;
  }
  .option-bar .options {
    padding: 0 24px;
  }
  .option-bar .options li {
    padding: 12px 8px;
  }
}
@media all and (max-width: 768px) {
  .option-bar .valueBox {
        padding: 8px 16.5px;
  }
  .option-bar .valueBox:after {
        right: 16.5px;
  }
  .option-bar .options {
        padding: 0 16.5px;
  }
  .option-bar .options li {
        padding: 9px 0;
  }
}


/* 부가 옵션 선택하기 - 버튼, 리스트 영역 ------------------------------------ */

/* 선택옵션영역 */
/* 1. 상단 옵션버튼 */
.selected-item .btn_add_extra_opt {
    position: relative;
    width: 100%;
    height: 50px;
    margin-bottom: 0;
    padding: 9px 33px;
    border: 1px solid #e0e0e0;
    font-weight: var(--font-weight-semibold);
    font-size: var(--view-add-opt-font-size);
    text-align: left;
    color: #000;
    background: #fff;
}
.selected-item .btn_add_extra_opt:after {
    transform: rotate(180deg);
    position: absolute;
    right: 32px;
    top: 50%;
    margin-top: -12px;
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23505051' d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
}
.selected-item .btn_add_extra_opt.active:after {
    transform: rotate(0);
}
.selected-item .btn_add_extra_opt:disabled {
    color: #797979;
}
.selected-item .btn_add_extra_opt:disabled:after {
    display: none;
}
.selected-item .set-extra-opt {
    display: none;
    margin-bottom: 0;
    padding: 0 23px;
    border: 1px solid #e0e0e0;
    margin-top: -1px;
    background-color: #fff;
}
.selected-item .set-extra-opt.active {
    display: block;
}
.selected-item .select-opt {
    display: flex;
    width: 100%;
    padding: 17px 10px;
    gap: 20px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
}
.selected-item .select-opt:last-of-type {
    border: 0;
}
.selected-item .select-opt .opt-thumb {
    position: relative;
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}
.selected-item .select-opt .opt-info {
    flex: 1;
    display: inline-flex;
    width: 100%;
    align-self: center;
}
.selected-item .select-opt .opt-info p {
    font-size: var(--view-add-opt-font-size);
    line-height: 2;
    color: #000;
}
.selected-item .select-opt .opt-info .opt-name {
    font-weight: var(--font-weight-semibold);
}
.selected-item .select-opt .opt-info .opt-price {
    margin-left: auto;
}
.selected-item .select-opt.x-subs {
    cursor: not-allowed;
}
.selected-item .select-opt.x-subs .opt-thumb:after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}
.selected-item .select-opt.x-subs .opt-name {
    color: #979797;
}
/* 하단 선택 html */
.option-html .selected-opt-box {
    position: relative;
    margin-top: 10px;
    padding: 20px 33px;
    background-color: #f5f5f5;
}
.option-html .selected-opt-box.item-static .sum {
    display: none;
}
.option-html .selected-opt-box .opt-name {
    padding-right: 24px;
    font-size: var(--view-add-opt-font-size);
    font-weight: var(--font-weight-semibold);
    line-height: 2;
    color: #000;
}
.option-html .selected-opt-box .sub-opt-name {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 2;
    color: #9D9D9D;
}
.selected-opt-box.opt-required .opt-name {
    margin-bottom: 4px;
}
.selected-itemWrap .selected-item .selected-opt-box .modify-amount {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
}
.option-html .selected-opt-box .modify-amount {
    position: relative;
    align-items: center;
    display: flex;
    justify-content: flex-start;
    width: 172px;
    height: var(--view-opt-input-height);
    margin-top: 11px;
}
.option-html .selected-opt-box.opt-required .modify-amount {
    margin-top: 20px;
}
.option-html .selected-opt-box .modify-amount > .bt {
    width: var(--view-opt-input-height);
    height: var(--view-opt-input-height);
    border: 1px solid #e0e0e0;
    mix-blend-mode: multiply;
}
.option-html .selected-opt-box .modify-amount > .bt:disabled {
    background: #ededed;
}
.option-html .selected-opt-box .modify-amount > .btn-increase:before {
    width: 9px;
    margin: -0.5px 0 0 -4.5px;
    background: #505051;
}
.option-html .selected-opt-box .modify-amount > .btn-increase:after {
    height: 9px;
    margin: -4.5px 0 0 -0.5px;
    background: #505051;
}
.option-html .selected-opt-box .modify-amount > .btn-decrease:before {
    width: 9px;
    margin: -0.5px 0 0 -4.5px;
    background: #505051;
}
.option-html .selected-opt-box .modify-amount .btn-increase:disabled:before,
.option-html .selected-opt-box .modify-amount .btn-increase:disabled:after,
.option-html .selected-opt-box .modify-amount > .btn-decrease:disabled:before {
    background: #bebebe;
}
.option-html .selected-opt-box .input_item_amount,
.option-html .selected-opt-box .input_item_sub_amount,
.option-html .selected-opt-box .input_item_brandopt_amount,
.option-html .selected-opt-box .input_extra_amount {
    border: solid #e0e0e0;
    border-width: 1px 0;
    flex: 0 0 calc(100% - (var(--view-opt-input-height) * 2));
    width: calc(100% - (var(--view-opt-input-height) * 2));
    padding: 10px;
    text-align: center;
    height: var(--view-opt-input-height);
    font-size: var(--view-add-opt-font-size);
    font-weight: var(--font-weight-semibold);
}
.option-html .selected-opt-box .opt-price {
    position: absolute;
    right: 33px;
    bottom: 20px;
    width: auto;
    width: fit-content;
    margin: 0;
    font-size: var(--view-add-opt-font-size);
    line-height: 2;
    color: #000;
    line-height: var(--view-opt-input-height);
}
.option-html .selected-opt-box .btn-delete-opt {
    position: absolute;
    top: 24px;
    right: 33px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 24px 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23505051' stroke-linecap='square' stroke-linejoin='round' d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

@media all and (max-width: 1024px) {
    /* 옵션창 리스트 열기 버튼 */
    .selected-item .btn_add_extra_opt {
        height: 40px;
        padding: 8px 24px;
        margin-bottom: 0;
    }
    .selected-item .btn_add_extra_opt:after {
        right: 24px;
        margin-top: -10px;
        width: 20px;
        height: 20px;
    }

    /* 포장, 쇼핑백 옵션창 리스트 */
    .selected-item .set-extra-opt {
        padding: 0 24px;
    }
    .selected-item .select-opt {
        padding: 12px 8px;
        gap: 16px;
    }
    .selected-item .select-opt .opt-thumb {
        width: 56px;
        height: 56px;
    }

    /* 하단 선택 html */
    .option-html .selected-opt-box {
        margin-top: 10px;
        padding: 16px 24px;
    }
    .option-html .selected-opt-box .sub-opt-name {
        font-size: 12px;
    }
    .option-html .selected-opt-box .opt-price {
        right: 24px;
    }
    .option-html .selected-opt-box .btn-delete-opt {
        top: 16px;
        right: 22px;
        background-size: 20px 20px;
    }
}
@media all and (max-width: 768px) {
    /* 옵션창 리스트 열기 버튼 */
    .selected-item .btn_add_extra_opt {
        padding: 8px 16.5px;
    }
    .selected-item .btn_add_extra_opt:after {
        right: 16.5px;
    }

    /* 포장, 쇼핑백 옵션창 리스트 */
    .selected-item .set-extra-opt {
        padding: 0 16.5px;
    }
    .selected-item .select-opt {
        padding: 9px 0;
        gap: 10px;
    }
    .selected-item .select-opt .opt-thumb {
        width: 42.5px;
        height: 42.5px;
    }

    /* 하단 선택 html */
    .option-html .selected-opt-box {
        margin-top: 8px;
        padding: 10px 16.5px;
    }
    .option-html .selected-opt-box .sub-opt-name {
        font-size: 11px;
    }
    .option-html .selected-opt-box .modify-amount {
        margin-top: 13.5px;
    }
    .option-html .selected-opt-box .opt-price {
        right: 16.5px;
        bottom: 10px;
        line-height: 2;
    }
    .option-html .selected-opt-box .btn-delete-opt {
        top: 10px;
        right: 14.5px;
        background-size: 20px 20px;
    }
}
@media all and (max-width: 480px) {
    .option-html .selected-opt-box .sub-opt-name {
        font-size: 10px;
    }
}

/* fix ------------------------------------ */
.item-benefits {
    margin-bottom: 34px;
}
.item-info .func {
    padding-bottom: 0;
}
.item-info .price-info {
    position: relative;
    padding: 2px 0;
}
.item-info .review-tag {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    text-align: left;
}

@media all and (max-width: 1024px) {
    .item-info .func {
        padding-bottom: 16px;
    }
}
@media all and (max-width: 768px) {
    .item-benefits .index {
        flex: 0 0 65px;
    }
    .price-info .price-tag .discount {
        margin-right: 6px;
    }
}

/* cpn download ------------------------------------ */
.item-info .coupon-tag {
    bottom: 0;
    font-size: 0;
    position: absolute;
    right: 0;
}
.item-info .coupon-tag .btn_open_cpn {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 10px;
    border-radius: 3px;
    background-color: #000;
    color: #fff;
}
.item-info .btn_open_cpn span {
    position: relative;
    margin-right: 4px;
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    letter-spacing: -0.05em;
    color: #fff;
}
.item-info .btn_open_cpn:after {
    content: "";
    display: block;
    width: 21px;
    height: 21px;
    background-position: 0 0;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url(/kr/ko/static/v2/images/item/icon_download.png);
}
@media all and (max-width: 768px) {
    .item-info .coupon-tag {
        bottom: -2px;
    }
    .item-info .coupon-tag .btn_open_cpn {
        height: 27px;
        padding: 0 8.5px;
        border-radius: 2px;
    }
    .item-info .btn_open_cpn span {
        height: 12px;
        margin-right: 3px;
        font-size: 11.9px;
    }
    .item-info .btn_open_cpn:after {
        width: 18px;
        height: 18px;
    }
}

/* 사은품 옵션 영역 ------------------------------------ */
.item-info .benefit-text {
    flex: 0 1 auto;
}
.benefit-text * {
    cursor: pointer;
}
.benefit-text strong {
    font-weight: inherit;
    line-height: 2;
}
.benefit-text .benefit-text-num {
    position: relative;
    padding-right: 18px;
}
.benefit-text .benefit-text-num b {
    color: #1d5443;
    font-weight: var(--font-weight-bold);
}
.benefit-text .benefit-text-num:after {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -7.5px;
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' viewBox='0 0 15 15'%3E%3Cpath stroke='%23222' d='m5.625 3.75 3.75 3.75-3.75 3.75'/%3E%3C/svg%3E");
}
.benefit-text .benefit-text-noti {
    font-size: 13px;
    color: #7c7c7c;
}

.item-info .benefits-list {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.item-info .benefits-list .benefit-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    background-color: var(--bgColor);
    overflow: hidden;
}
.item-info .benefits-list .benefit-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-info .benefits-list .benefit-item.disabled:after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}
.item-info .benefits-list .benefit-item:last-of-type {
    background-image: url(/kr/ko/static/v2/images/item/icon_plus.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 24px 24px;
}
@media all and (max-width: 768px) {
    .benefit-text .benefit-text-noti {
        font-size: 11px;
    }
    .item-info .benefits-list {
        gap: 5px;
        margin-top: 8.5px;
    }
    .item-info .benefits-list .benefit-item {
        width: 68px;
        height: 68px;
        border-radius: 3.4px;
    }
    .item-info .benefits-list .benefit-item:last-of-type {
        background-image: url(/kr/ko/static/v2/images/item/icon_plus_m.svg);
        background-size: 20px 20px;
    }
}
@media all and (max-width: 380px) {
    .item-info .benefits-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    .item-info .benefits-list .benefit-item {
        width: auto;
        height: auto;
        aspect-ratio: 1/1;
    }
}

/* 하단 패널 */
.fixed-wrapper .bottom-fnc-wrapper {
    border: 0;
}
.fixed-wrapper.full-size-wrapper .btn-closeBuyPanel {
    height: 33px;
    border: 0;
    text-indent: 0;
    background-size: 40px auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='5' fill='none' viewBox='0 0 80 5'%3E%3Crect width='80' height='5' fill='%233c3c43' fill-opacity='.18' rx='2.5'/%3E%3C/svg%3E");
}
.bottom-fixed-item-info .m-buying-panel {
    margin: 0 13px;
    padding: 0 2px 5px;
    border: 0;

    max-height: min(530px, calc(90vh - 33px - 137px));
    max-height: min(530px, calc(90dvh - 33px - 137px));
}
.bottom-fixed-item-info .m-buying-panel::-webkit-scrollbar {
    width: 4px;
}
.bottom-fixed-item-info .m-buying-panel::-webkit-scrollbar-track {
    border-radius: 4px;
    background: #e8e8e8;
    border: 0;
}
.bottom-fixed-item-info .m-buying-panel::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #bbbbbb;
    border: 0;
}

/* 모바일 옵션 영역 */
.option-html-mo .selected-itemWrap {
    margin-bottom: 0;
}
.option-html-mo .selected-item .selected-item-set {
    margin-top: 8px;
}

/* 모바일 하단 정기배송 영역 */
.bottom-fixed-item-info .payment-standing {
    margin: 0;
    padding: 2px 15px 5px;
    line-height: 0;
}
@media all and (max-width: 768px) {
    .bottom-fixed-item-info .payment-standing .btn_pop_info_standing {
        height: 19px;
        padding: 4px 0;
        font-size: 10px;
    }
    .bottom-fixed-item-info .payment-standing .view_standing_label {
        padding-top: 0;
        height: 19px;
        line-height: 19px;
    }
    .bottom-fixed-item-info .payment-standing .view_standing_label:after {
        top: 5px;
    }
}

/* 모바일 패널 하단 가격영역 */
.m-price-sum {
    align-items: center;
    padding: 10px 15px 5px;
    margin: 0;
}
.m-price-sum p {
    font-weight: var(--font-weight-semibold);
    font-size: 15px;
}
.m-price-sum .sum-total {
    font-weight: var(--font-weight-bold);
    font-size: 20px;
}
.m-price-sum .sum-total strong {
    font-weight: inherit;
    vertical-align: text-bottom;
}
/* 모바일 패널 하단 버튼영역 */
.fixed-wrapper.full-size-wrapper .bottom-fnc-wrapper .paymentWrapper {
    padding: 10px 15px;
    margin: 0;
}
@media all and (max-width: 1024px) {
  .payment-panel .flexible a.btn-present {
    margin-right: 0;
    border-color: #9D9D9D;
  }
}

/* modal_coupon ------------------------------------ */
.modal.modal_cpn .modal_title {
    text-align: center;
}
.modal.modal_cpn .modal_cont {
    position: relative;
    max-height: 470px;
    /* 화면높이 - 배경패딩*2 - 모달패딩*2 - 모달헤더 - 모달푸터 */
    max-height: min(470px, calc(100vh - 40px - 70px - 52px - 78px));
    max-height: min(470px, calc(100dvh - 40px - 70px - 52px - 78px));
}
.modal_cpn .has_scroll .view_coupon_list {
    padding-right: 14px;
}
.modal_cpn .coupon_item {
    position: relative;
    padding-right: 80px;
    margin-top: 10px;
    min-height: 150px;
    border: 1px solid #d6d6d6;
}
.modal_cpn .coupon_item * {
    user-select: none;
}
.modal_cpn .coupon_item:first-of-type {
    margin-top: 0;
}
.modal_cpn .cpn_meta {
    display: flex;
    margin-left: -8px;
}
.modal_cpn .cpn_meta span {
    position: relative;
    padding: 0 9px 0 8px;
    font-weight: var(--font-weight-semibold);
    font-size: 12px;
    color: #979797;
    line-height: 1.416;
}
.modal_cpn .cpn_meta span:after {
    position: absolute;
    right: 0;
    top: 50%;
    content: "";
    display: block;
    width: 1px;
    height: 10px;
    margin-top: -5px;
    background: #d6d6d6;
}
.modal_cpn .cpn_meta span:last-child:after {
    display: none;
}
.modal_cpn .cpn_value {
    margin: 10px 0;
    font-weight: var(--font-weight-bold);
    font-size: 26px;
    color: var(--accentColor);
    line-height: 1.19;
}
.modal_cpn .cpn_info {
    padding: 21px 8px 21px 20px;
}
.modal_cpn .cpn_desc {
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    line-height: 1.2;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.modal_cpn .cpn_condition {
    color: #979797;
}
.modal_cpn .min_amount,
.modal_cpn .max_discount {
    font-size: 12px;
    color: #979797;
    line-height: 1.416;
}
.modal_cpn .cpn_download {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background-color: #f5f5f5;
}
.modal_cpn .cpn_download .btn_cpn_single {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(/kr/ko/static/v2/images/item/icon_download_cpn.svg) no-repeat 50% 50% / 23px 23px;
}
.modal_cpn .cpn_download .btn_cpn_single:disabled {
    background: none;
}
.modal_cpn .cpn_download .btn_cpn_single:disabled span {
    font-size: 14px;
    color: #9f9f9f;
}
.modal.modal_cpn .modal_btn {
    display: none;
    cursor: pointer;
}
.modal.modal_cpn .modal_btn.active {
    display: block;
}
.modal_cpn .link_mypage {
    display: block;
    line-height: 50px;
}
@media all and (max-width: 480px) {
    .modal.modal_cpn .modal_cont {
        max-height: 470px;
        max-height: min(470px, calc(100vh - 40px - 40px - 48px - 80px));
        max-height: min(470px, calc(100dvh - 40px - 40px - 48px - 80px));
    }
    .modal_cpn .cpn_download .btn_cpn_single:disabled span {
        font-size: 13px;
    }
}

/* modal_benefit ------------------------------------ */
.modal_benefit .modal_cont {
    max-height: 347px;
    overflow-y: auto;
    max-height: min(347px, calc(100vh - 40px - 70px - 80px));
    max-height: min(347px, calc(100dvh - 40px - 70px - 80px));
}
.modal_benefit .view_benefits_list {
    padding-right: 10px;
}
.modal_benefit .benefit_item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.modal_benefit .benefit_item:last-of-type {
    margin-bottom: 0;
}
.modal_benefit .benefit_thumb {
    position: relative;
    flex-shrink: 0;
    width: 75.5px;
    height: 75.5px;
    border-radius: 2px;
    overflow: hidden;
    background: var(--bgColor);
}
.modal_benefit .benefit_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100% - 75.5px - 15px);
}
.modal_benefit .benefit_name {
    margin-bottom: 5px;
    font-weight: var(--font-weight-semibold);
    font-size: 12px;
    line-height: 1.166;
}
.modal_benefit .benefit_num {
    font-size: 12px;
    line-height: 1.166;
    color: #979797;
}
.modal_benefit .disabled .benefit_thumb:after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}
.modal_benefit .disabled .benefit_name {
    color: #979797;
}

@media all and (max-width: 600px) {
    .modal.modal_benefit {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        padding: 15px 15px 20px;
        border-radius: 0;
    }
    .modal.modal_benefit .btn_close_modal.btn_x {
        top: -4px;
        right: -8px;
        width: 32px;
        height: 32px;
        background-size: 18px 18px;
    }
    .modal.modal_benefit .modal_header {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .modal.modal_benefit .modal_title {
        font-size: 16px;
        line-height: 1.59;
    }
    .modal.modal_benefit .modal_title_sub {
        margin-top: 4px;
        font-size: 13px;
        color: #7c7c7c;
    }
    .modal_benefit .modal_cont {
        max-height: 347px;
        overflow-y: auto;
        max-height: min(347px, calc(100vh - 40px - 35px - 76px));
        max-height: min(347px, calc(100dvh - 40px - 35px - 76px));
    }
    .modal_benefit .benefit_name {
        font-size: 14px;
    }
}
