/* 예시파일 */

:root {
  --layout-color: #fff;
}

@charset 'utf-8';
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap'); */

:root {
  --whole-color: #fff;
  /*--background-color: #f5f6f8;*/
  /* --point-color: #f92626  */
  /*--point-color: #257cff !important;*/
  /*--point-color-secondary: #2869f7;*/
  --black-color: #111;
  --dark-gray-color: #262626;

  --empty-color: #f5f6f8;
  --default-color: #ddd;
  --blue-gray-color: #3f434c;
  --gray-color: #999;
  --gray-font-color: #828282;
  --tooltip-bg-color: #f7f7f7;

  --default-font-color: #181818;

  /* custom color */
  /*--main-color: #257cff;*/
  /*--main-disabled-color: #257cff50;*/
  --sub-color: #515151;
  --line-color: #d2d0ce;
  --font-color: #2b2b2b;
  --error-color: #fe5757;
}

* {
  font-family: 'Pretendard', sans-serif;
  color: var(--font-color);
}

/* =================== input ====================== */
.text-field {
  border: none;
}

.text-field > input {
  background-color: rgba(0, 0, 0, 0.03);
}

input:not([type='radio']):not([type='checkbox']) {
  box-sizing: border-box;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 10px;
  outline: none;
}

.purchase__option input:not([type='radio']):not([type='checkbox']) {
  border: 0;
}

.purchase__option input[type='number'] {
  padding: 0;
  text-align: center;
}

input[type='radio'],
input[type='checkbox'] {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

input:not([type='radio']):not([type='checkbox']):not([readonly]):focus {
  border-color: var(--font-color);
  background-color: white;
}

input:not([type='radio']):not([type='checkbox']):disabled {
  /* border-color: var(--font-color); */
  background-color: white;
  cursor: not-allowed;
}

input:not([type='radio']):not([type='checkbox']):read-only {
  /* background-color: white; */
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid var(—line-color);
  cursor: not-allowed;
}

/* ================================================ */
.offcanvas.is-active {
  z-index: 6;
}

.product-content__content {
  margin-bottom: 20px;
}

.product-content__content .product-content__more-btn {
  background-color: white;
  padding: 0 20px;
}

.product-content__more-btn button {
  border: 1px solid var(--line-color);
  height: 40px;
}

.page__content {
  min-width: 344px;
}

.sign-up-menu__link-open-id,
.sign-in-open-id {
  margin-top: 0;
}

/* .text-field, */
.phone-number-input .select-box,
.order-sheet .select-box,
.sign-up-form__input-wrap .birthday-input .select-box {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.input-with-unit .text-field > input,
.input-with-unit .text-field {
  background-color: transparent;
  border: none;
}

.order-sheet__promotion-input .input-with-unit {
  background-color: rgba(0, 0, 0, 0.03);
}

/* ================= 모달 =================== */
.modal {
  border-radius: 10px;
  min-width: 335px;
}

.modal.full-modal .title-modal__title {
  font-size: 16px;
  font-weight: 700;
}

.modal__text {
  font-size: 14px;
  opacity: 0.7;
}

.modal__btns {
  border-top: none;
  padding: 18px 20px 25px 20px;
  gap: 8px;
}

.modal__content {
  padding-top: 30px;
  min-height: 0;
}

.modal__box--alert,
.modal__box--confirm {
  min-height: 0;
}

.btn.btn--default {
  border-radius: 0;
  white-space: nowrap;
}

.btn.btn--default:disabled {
  background-color: var(--main-disabled-color);
  cursor: not-allowed;
}

.modal__btns .btn.btn--default {
  background-color: var(--main-color);
  color: white;
  height: 45px;
}

.modal__btns button[data-testid='cancel-btn'].btn.btn--default {
  background-color: white;
  color: var(--font-color);
  border: 1px solid var(--line-color);
}

.modal__btns .btn.btn--default:hover,
.modal__btns .btn.btn--default:focus-visible,
.modal__btns .btn.btn--default:active {
  background-color: var(--main-color);
}

.modal.full-modal {
  border-radius: 0;
}

.title-modal__header {
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.1);
  justify-content: start;
  padding-left: 20px;
}

.find-id-result {
  padding: 0 20px;
}

.find-id-result__tit {
  font-size: 14px;
}

.find-id-result__id-text {
  background-color: rgba(0, 0, 0, 0.03);
  height: 54px;
  align-content: center;
  font-weight: 700;
}

.find-password-form {
  margin-top: 30px;
}

.find-id-result__link-wrap,
.find-password-form__btn-wrap {
  margin-top: 30px;
  gap: 10px;
}

.find-id-result__link {
  width: auto;
  height: auto;
  flex: 1;
}

.find-id-result__link.find-id-result__link--password,
.find-password-form__btn-wrap > a {
  border: 1px solid var(--line-color);
  font-weight: 700;
  flex: 1;
}

.find-id-result__link.find-id-result__link--password:hover,
.find-id-result__link.find-id-result__link--password:focus-visible,
.find-id-result__link.find-id-result__link--password:active,
.find-password-form__btn-wrap > a:hover,
.find-password-form__btn-wrap > a:focus-visible,
.find-password-form__btn-wrap > a:active {
  background-color: rgba(0, 0, 0, 0.05);
}

.find-id-result__link.find-id-result__link--login,
.btn.btn--default {
  background-color: var(--main-color);
  color: white;
  flex: 1;
  border: none;
  font-weight: 700;
}

.find-id-result__link.find-id-result__link--login:hover,
.find-id-result__link.find-id-result__link--login:focus-visible,
.find-id-result__link.find-id-result__link--login:active {
  background-color: #1d69e0;
}
/* ========================================= */

.btn {
  border-radius: 0;
}

.btn--dark {
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--line-color);
  color: var(--sub-color);
  font-weight: 700;
  line-height: 140%;
}

/* ================= 라디오 =================== */
.check-radio {
  cursor: pointer;
}

.check-radio [type='radio']:checked {
  border: 4px solid var(--main-color);
}

.check-radio [type='radio']:checked::before {
  background-color: white;
  width: 10px;
  height: 10px;
}

.check-radio [type='radio'] {
  background-color: rgba(0, 0, 0, 0.03);
}
/* ========================================= */

/* ================= Tabs =================== */

.find-password .tabs__item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--sub-color);
}

.find-password .tabs__item > button {
  opacity: 0.5;
}

.find-password .tabs__item.on {
  border: 1px solid var(--sub-color);
  border-bottom: none;
}

.find-password .tabs__item.on > button {
  font-weight: 700;
  opacity: 1;
}
/* ========================================= */

.search-field__input .text-field > input {
  background-color: white;
}

/* search 예외처리 */
.search-input input:not([type='radio']):not([type='checkbox']) {
  border: none;
}

/* InputWithUnit 처리 */
.input-with-unit .text-field > input,
.input-with-unit .text-field > input:not([type='radio']):not([type='checkbox']):read-only {
  background-color: transparent;
}

.order-sheet__promotion-input .input-with-unit {
  background-color: transparent;
}

.text-field > input::placeholder {
  opacity: 0.8;
}

.select-box {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background-color: rgba(0, 0, 0, 0.03);
}

.sign-up-form__input-wrap > .select-box,
.phone-number-input + .btn.btn--default {
  margin-top: 10px;
}

.select-box select option[disabled] {
  color: rgba(0, 0, 0, 0.8);
}

.description {
  margin-block: 10px;
  color: var(--main-color);
}

.section__title-wrap {
  padding: 30px 20px 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
}

.section__more {
  display: flex;
  align-items: center;
  font-size: 10.5px;
}

.main-color {
  color: var(--main-color);
}

.thumb-item__media {
  background-image: none;
}

/* =================== 상품 리스트 ========================  */

.review-info {
  display: flex;
  align-items: center;
  gap: 3px;
}

.review-rating-text {
  font-size: 11px;
}

.review-slash {
  font-size: 12px;
}

.review-count-text {
  font-size: 11px;
}

.review-count {
  font-size: 11px;
}

.thumb-item__info {
  padding-left: 0;
}

.thumb-LIST .thumb-item__info {
  padding: 0;
  margin-top: 0;
  margin-left: 15px;
}

.product-thumb-title {
  margin-top: 7px;
  margin-bottom: 6px;
  height: 36px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: unset;
}

.product-thumb-item .thumb-item__media {
  width: 65px;
  height: 77px;
}

.order-detail .product-thumb-title,
.order-sheet .product-thumb-title,
.claim__product .product-thumb-title,
.order-confirm .product-thumb-title {
  margin-top: 0;
  height: 42px;
}

.best-review-product-thumb-title {
  margin-top: 7px;
  margin-bottom: 6px;
  height: 17px;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: unset;
}

.editor.product-thumb-title-product-name {
  font-size: 12px;
  font-weight: 300;
  line-height: 140%;
  white-space: unset;
}

.product-thumb-discount-rate {
  color: var(--error-color);
  font-size: 12px;
  font-weight: 500;
  margin-right: 3px;
}

.product-thumb-origin-price-info > .product-thumb-price,
.product-thumb-origin-price-info > .product-thumb-unit {
  color: var(--line-color);
  font-size: 12px;
  font-weight: 500;
  text-decoration: line-through;
}

.product-thumb-price-info > .product-thumb-price {
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

.best-review-product-thumb-price {
  text-decoration: none;
  color: var(--font-color);
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}

.product-thumb-brand-name {
  font-size: 12px;
  font-weight: 300;
  line-height: 140%;
}

.thumb-fab.thumb-fab--like.list--like {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 26px;
  height: 26px;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
}

.thumb-GALLERY {
  gap: 10px;
}

/* gallery 일때만 적용 */
.thumb-GALLERY .thumb-item__media {
  aspect-ratio: 160/190;
}

.l-panel {
  box-shadow: none;
  border: none;
}

.total-sort {
  top: 68px;
  border-bottom: none;
  margin-bottom: 0;
  padding: 20px 20px 16px 20px;
  height: 56px;
}

/* =================== 탭 ======================== */

.custom-tabs {
  display: flex;
  margin-bottom: 40px;
}

.custom-tabs .custom-tabs__tab {
  flex: 1;
  text-align: center;
  font-weight: 500;
  color: #2b2b2b80;
}

.custom-tabs .custom-tabs__tab.active {
  opacity: 1;
  font-weight: 700;
  color: var(--sub-color);
}

.custom-tabs button {
  margin-top: 0;
  height: 46px;
  border: none;
  border-bottom: 1px solid var(--sub-color);
}

.custom-tabs button.active {
  border: 1px solid var(--sub-color);
  border-bottom: none;
}

.more-btn {
  border: 1px solid var(--line-color);
  width: calc(100% - 40px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 20px 40px 20px;
  padding: 12px 16px;
}

.header__cart-btn {
  display: flex;
}

.fab-top-down--detail {
  bottom: 7.5rem;
}

.fab-top-down--default {
  bottom: 4.5rem;
}

/* =================== 아이콘 ======================== */

.ico--x-black.ico {
  background-image: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/icon--x-black..png?4f809c5765483dde886f);
  background-position: 0px 0px;
  width: 32px;
  height: 32px;
}

/* =================================================== */

.rank-badge-wrapper {
  position: relative;
  margin-top: 15px;
}

.thumb-GALLERY.MOBILE_WEB.thumb-size--gallery {
  gap: 10px;
}

.rank-badge {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  background-color: var(--font-color);
  color: white;
  font-weight: 900;
  z-index: 1;
  font-weight: 500;
  top: 1px;
}

.rank-badge-wrapper .thumb-fab.thumb-fab--like.list--like {
  left: 94px;
  z-index: 1;
}

.product-thumb__sticker-label {
  margin-top: 7px;
  margin-right: 3px;
}

:where(.thumb-LIST) .thumb-item__media {
  height: 142px;
}

/* ====================== 체크박스 ====================== */

.check-radio__ico {
  width: 23px;
  height: 23px;
  border-radius: 2px;
  border: none;
}
.ico.ico--check-white {
  background: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/checkbox..svg?91b733a437c6c6e12c94) no-repeat center center / contain !important;
  width: 23px;
  height: 23px;
  background-position: 0;
}
.check-radio input:checked + .check-radio__ico .ico.ico--check-white {
  background: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/checkbox-active..svg?d5212044d8f3965f43e5) no-repeat center / contain !important;
}

.check-radio input:checked ~ :where(.check-radio__ico) .ico {
  width: 23px;
  height: 23px;
}

.board-form__note-text::before {
  color: var(--font-color);
  font-size: 28px;
  left: -2px;
}

/* =============================================== */

.select-box::after {
  width: 36px;
  height: 36px;
  background-position: 0;
  background: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/arrow-bottom..svg?66687a03fe0dd1e22dbe) no-repeat center / contain;
}

.portal {
  z-index: 12;
}

.address-form__zip-code .btn.btn--default {
  background-color: white;
  color: var(--font-color);
  border: 1px solid var(--line-color);
  border-radius: 0;
}

.address-form__zip-code > span {
  flex: 2;
}

/* 약관 보기 버튼 스타일링 */
.member-modification-form__checkbox--check-single .btn.btn--default,
.open-id-agreement-form__checkbox--check-single .btn.btn--default,
.sign-up-form__checkbox--partial .btn.btn--default,
.order-sheet__term-checker .btn.btn--default,
.gift-terms__checkbox .btn.btn--default {
  background-color: transparent;
  color: var(--font-color);
  font-weight: 400;
  font-size: 12px;
  text-align: right;
}

.accordion__title {
  cursor: pointer;
}

.accordion__title,
.order-sheet__promotion-title,
.order-sheet__pay-method-title,
.order-confirm__product-table-tit,
.order-detail-info__item-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  border-bottom: none;
  background-color: white;
}

.text-area {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background-color: rgba(0, 0, 0, 0.03);
}

.accordion__items {
  padding-top: 0;
}

.order-detail__section-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  border-bottom: 0;
}

.order-detail__section-content {
  padding-top: 0;
}

/* ====================== 클레임 ========================= */
.top-right-white-btn-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 20px 20px 0 0;
  background-color: white;
}

.top-right-white-btn.btn.btn--default {
  background-color: white;
  color: var(--font-color);
  border: 1px solid var(--line-color);
  padding: 7px 14px;
  white-space: nowrap;
  width: fit-content;
  flex: none;
  line-height: 140%;
  font-size: 14px;
  font-weight: 400;
}

.member-modification-form .required,
.required {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  display: flex;
  align-self: baseline;
  background-color: var(--caution-color);
}

/* ======================  quantity-changer =============================== */

.quantity-changer {
  border: 0.8px solid var(--line-color);
  margin-top: 10px;
}

.quantity-changer__decrease-btn,
.quantity-changer__increase-btn {
  font-size: 13px;
  width: 30px;
  margin-top: -1px;
}

.quantity-changer__increase-btn {
  border-left: 0.8px solid var(--line-color);
}

.quantity-changer__decrease-btn {
  border-right: 0.8px solid var(--line-color);
}

.quantity-changer__input {
  font-size: 13px;
  width: 30px;
  margin-top: 1px;
}

.quantity-changer .text-field {
  border: none;
}

.quantity-changer .text-field > input {
  background-color: white;
  border-top: 0.8px solid var(--line-color);
  border-bottom: 0.8px solid var(--line-color);
  padding: 5px 7px;
  margin-top: -1px;
}

.product-content__content .product-content__more-btn::before {
  bottom: 40px;
}
/* ====================== 폰트 ========================= */
@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/e45abc28d4828e92dd10.otf) format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/c1677723ce338097648f.otf) format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/65372b5df865e8aa758a.otf) format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/57ca7a4b20797e3b9625.otf) format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/902a118c9bf50b588451.otf) format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/4b3283bc0e29a9c97c11.otf) format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/4e72d46e664b88a6b5c8.otf) format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/fa944c3a241cdef4584a.otf) format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-3460/react0101/ed4fa19a4df95cb6740b.otf) format('opentype');
  font-weight: 900;
  font-style: normal;
}

