/* =========================================================
   product-detail-v1-override.css
   V2 Aurora 위에 V1 UI 스타일 적용
   ========================================================= */


/* =========================================
   기본 레이아웃
   ========================================= */

.product-detail{
  width:1400px;
	/*max-width:1400px;*/
  /*margin:0 auto;*/
  margin-top:20px !important;
  padding-top:0 !important;
}

/* =========================================
   이미지 + 상품정보 영역
   ========================================= */

.product-detail .product-info{
  gap:0; /* V2 gap:56px 제거 */
  align-items:flex-start;
}

/* =========================================
   이미지 영역
   ========================================= */
/* V1 기준 */

.product-detail .thumb-item__main-img{
  border:1px solid var(--gray200);
  width:695px;
  height:695px;
  overflow:hidden;
}

.product-detail .thumb-item__main-img img{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
}

/* =========================================
   서브 썸네일
   ========================================= */

.product-detail .thumb-item__sub{
  margin-top:12px;
}

.product-detail .thumb-item__sub .thumb-item__sub-img{
  width:70px;
  height:70px;
  border:1px solid var(--gray200);
  cursor:pointer;
}

/* =========================================
   상품 요약 영역
   ========================================= */

.product-summary__brand-name{
  font-size:14px;
  color:#666;
}

.product-summary__title h2{
  font-size:20px;
  font-weight:700;
  line-height:1.4;
}

/* =========================================
   가격 영역
   ========================================= */

/*.product-summary__price{*/
/*  font-size:22px;*/
/*  font-weight:700;*/
/*  color:#000;*/
/*}*/

/*.product-summary__original-price{*/
/*  font-size:14px;*/
/*  color:#999;*/
/*  margin-left:10px;*/
/*}*/

.product-summary__off-percent{
  color:#e60023;
  font-weight:700;
  margin-right:10px;
}


/* =========================================
   상품 정보 테이블
   ========================================= */

.product-summary__info dl{
  display:flex;
  /*padding:10px 0;*/
  /*border-bottom:1px solid var(--gray200);*/
}

.product-summary__info dt{
  width:100px;
  font-weight:700;
  color:#333;
}

.product-summary__info dd{
  flex:1;
  color:#333;
}


/* =========================================
   옵션 영역
   ========================================= */

.product-summary__purchase-option{
  margin-top:20px;
}

.product-summary__options-box{
  margin-top:10px;
}

.product-summary select{
  width:100%;
  height:42px;
  border:1px solid #ccc;
  padding:0 10px;
  font-size:14px;
}


/* =========================================
   선택 옵션 영역
   ========================================= */

.quantity-box{
  border-bottom:1px solid var(--gray200);
  padding:12px 0;
}

.quantity__label{
  font-size:14px;
}

.counter__btn{
  width:30px;
  height:30px;
  border:1px solid #ccc;
  background:#fff;
}


/* =========================================
   총 금액 영역
   ========================================= */

.purchase__total{
  margin-top:20px;
  font-size:18px;
}

.purchase__total span{
  font-size:24px;
  font-weight:700;
}


/* =========================================
   구매 버튼
   ========================================= */

.product-purchase__btns{
  margin-top:20px;
  display:flex;
  gap:10px;
}

.product-purchase__btns button{
  height:50px;
  font-size:16px;
  font-weight:600;
}

.product-purchase__btns .btn--fill-dark{
  background:#000;
  color:#fff;
}

.product-purchase__btns .btn--outline-dark{
  border:1px solid #000;
}

/* 추가 */

/* =========================
   버튼 공통
   ========================= */
.product-detail .purchase__btns .btn{
  height:52px;
  font-size:16px;
  font-weight:600;
}


/* =========================
   장바구니
   ========================= */
.product-detail .btn--fill-dark{
  background:#fff;
  border:1px solid #ccc;
  color:#000;
}


/* =========================
   구매하기
   ========================= */
.product-detail .btn--fill-point{
  background:#000;
  color:#fff;
  border:1px solid #000;
}

/* =========================
   할인율
   ========================= */
.product-summary__off-percent{
  color:#000 !important;
  /*font-weight:700;*/
  /*font-size:20px;*/
}

/* =========================
   옵션
   ========================= */
.product-summary select{
  height:48px;
  border:1px solid #ccc;
  font-size:14px;
}

/* 장바구니 / 구매하기 버튼 높이 통일 */
.product-detail .purchase__btns .btn{
  height:66px;
  line-height:66px;
  padding:0 30px;
  font-size:16px;
  font-weight:600;
}

/* 좋아요 버튼 */
.product-detail .like-btn-wrap button{
  height:66px;
  width:66px;
}

/* 옵션 영역 */
.product-summary__purchase-option{
  margin-bottom:10px;
}

.product-summary__options-box{
  margin-bottom:10px;
}

.product-summary select{
  height:48px;
  line-height:48px;
}

/* 옵션 영역 container */
.product-purchase__option{
  padding-bottom:10px;
}

/* 추가로 추천 (V1과 더 동일) */
.product-summary select{
  width:100%;
  height:48px;
  border:1px solid #ccc;
  padding:0 12px;
  font-size:14px;
}


/* 아래는 세로썸네일 + 상세 메인 이미지 크게 S (2026/03/11일) */

.ssaka-product-gallery{
  display:flex;
  gap:15px;
  align-items:flex-start;
  width:780px;
}

.product-sub-slider{
  width:70px;
  min-width:70px;
}

.product-sub-slider .swiper-wrapper{
  display:flex;
  flex-direction:column !important;
  gap:10px;
}

.thumb-item__sub-img{
  width:70px;
  height:70px;
}

.thumb-item__sub-img img{
  width:70px;
  height:70px;
  object-fit:cover;
}

.thumb-item__main{
  width:695px;
}

.product-image-slider{
  width:695px !important;
}

.thumb-item__main-img img{
  width:695px;
  height:695px;
  object-fit:contain;
}

/* ================================
   싸카 V2 상세 이미지/요약 레이아웃 고정
   ================================ */

/* 상위 전체 */
.product-detail .product-info{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:48px;
}

.product-detail .product-info{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:60px;
}

/* 좌측 이미지 */
.product-detail .product-info > .ssaka-product-gallery{
  flex:0 0 780px;
  width:780px;
  min-width:780px;
  max-width:780px;
}

/* 우측 summary */
.product-detail .product-info > .product-summary{
  flex:1;
  min-width:520px;
  max-width:560px;
  margin-left:0;
}

/* 기존 thumb-item 폭 충돌 제거 */
.product-detail .product-info .ssaka-product-gallery.thumb-item{
  width:779px;
}

/* 좌측 썸네일 swiper */
.product-detail .product-info .ssaka-product-gallery .product-sub-slider{
  flex:0 0 70px;
  width:70px;
  min-width:70px;
  max-width:70px;
}

/* 썸네일 wrapper */
.product-detail .product-info .ssaka-product-gallery .product-sub-slider .swiper-wrapper{
  display:flex !important;
  flex-direction:column !important;
  gap:10px;
  transform:none !important;
}

/* 썸네일 slide */
.product-detail .product-info .ssaka-product-gallery .product-sub-slider .swiper-slide{
  width:70px !important;
  height:70px !important;
}

/* 썸네일 박스 */
.product-detail .product-info .ssaka-product-gallery .thumb-item__sub{
  margin-top:0;
}

.product-detail .product-info .ssaka-product-gallery .thumb-item__sub-img{
  width:70px !important;
  height:70px !important;
  border:1px solid var(--gray200);
  overflow:hidden;
  box-sizing:border-box;
}

.product-detail .product-info .ssaka-product-gallery .thumb-item__sub-img img{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  display:block;
}

/* 우측 메인 이미지 영역 */
.product-detail .product-info .ssaka-product-gallery .thumb-item__main{
  flex:0 0 695px;
  width:695px;
  min-width:695px;
  max-width:695px;
  display:block;
}

/* 메인 swiper */
.product-detail .product-info .ssaka-product-gallery .product-image-slider{
  width:695px !important;
  min-width:695px;
  max-width:695px;
}

/* 메인 이미지 박스 */
.product-detail .product-info .ssaka-product-gallery .thumb-item__main-img{
  width:695px;
  height:695px;
  min-height:695px;
  border:1px solid var(--gray200);
  overflow:hidden;
  box-sizing:border-box;
}

/* 메인 이미지 */
.product-detail .product-info .ssaka-product-gallery .thumb-item__main-img img{
  width:695px !important;
  height:695px !important;
  object-fit:contain;
  display:block;
}

/* 아래는 세로썸네일 + 상세 메인 이미지 크게 E (2026/03/11일) */

/* 상품 상세 텍스트 스타일 (V1 디자인 유지) */
.product-summary dl span,
.product-summary dl dd,
.product-summary dl dt,
.product-summary__info dl dt,
.product-summary__info dl dd,
.purchase__total span{
    font-size:14px;
}


/* 사이즈 가이드 S (2026/03/16) */

/* 상세페이지 S */
.option-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
		margin-bottom: 10px;

    /* 기존 dt 폭 제한 해제 */
    width: 100% !important;
}

.option-title-wrap .option-title-text {
    white-space: nowrap;
}

.size-guide-btn {
    font-size: 13px;
    color: #757575;
    cursor: pointer;
    font-weight: normal;
    white-space: nowrap;
}

.size-guide-btn:hover {
    text-decoration: underline;
}

.size-guide-btn,
.size-guide-btn:hover,
.size-guide-btn:active,
.size-guide-btn:focus {
  text-decoration: none !important;
}
/* 상세페이지 E */

/* 사이즈 가이드 팝업 S */
.size-guide-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20000;
}

/* dim */
.size-guide-dim {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}

/* 팝업 박스 */
.size-guide-box {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 720px;
    max-width: calc(100% - 40px);
    max-height: 80vh;

    background: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

/* 헤더 (고정) */
.size-guide-header {
    padding: 30px 30px 15px;
    border-bottom: 1px solid #eee;
}

/* 본문 (스크롤 영역) */
.size-guide-body {
    padding: 20px 30px 30px;
    overflow-y: auto;
    flex: 1;
}

/* 닫기 버튼 */
.size-guide-close {
    position: absolute;
    right: 15px;
    top: 12px;
    font-size: 24px;
    background: none;
    border: 0;
    cursor: pointer;
}
/* 사이즈 가이드 팝업 E */


/* 사이즈 가이드 테이블 스타일 */
.size-guide-body table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.size-guide-body th,
.size-guide-body td {
    padding: 10px 8px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    white-space: nowrap;
}

.size-guide-body th {
    background: #f7f7f7;
    font-weight: 600;
}

.size-guide-body tr:last-child td {
    border-bottom: 0;
}

/* 사이즈 가이드 E (2026/03/16) */

/* 추가상품 CSS S (2026/03/20) */

.extra-product-summary {
  position: relative;
  width: 100%;
  display: flex;
  gap: 20px;
  padding: 12px;
  border: 1px solid var(--gray300);
  margin-top: 10px;
}
.extra-product-summary__info {
  width: 100%;
}
.extra-product-summary__image, .extra-product-summary__image img {
  width: 85px;
  height: 100%;
  /*min-height: 150px;*/
  /*min-height: 132px;*/
  min-height: 85px;
  object-fit: contain;
  border: 1px solid var(--gray200);
  aspect-ratio: 1/1;
}
.extra-product-summary__title {
  /*font-weight: 700;*/
  font-weight: 500;
  /*font-size: 18px;*/
  font-size: 15px;
  color: var(--gray600);
}
.extra-product-summary__price-detail {
  margin-top: 16px;
}
.extra-product-summary__original-price {
  position: relative;
  margin-left: 11px;
  color: var(--gray700);
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  text-decoration: line-through;
  vertical-align: bottom;
}
.extra-product-summary dl {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px 0;
  color: var(--gray600);
  border-bottom: solid 1px var(--gray200);
  font-size: 16px;
  font-weight: 500;
  line-height: 33px;
}
.extra-product-summary dl dt {
  width: 100%;
}
.extra-product-summary dl dd {
  width: calc(100% - 140px);
  color: var(--gray600);
  font-size: 16px;
  font-weight: 700;
}
.extra-product-summary__purchase-option:has(div.quantity-box) {
  border-top: 1px solid var(--gray200);
  margin-top: 10px;
}
.extra-product-summary__purchase-option-input-wrap {
  overflow-y: auto;
  max-height: 370px;
}
.extra-product-summary__purchase-option .select-box {
  margin-top: 5px;
  width: 100%;
  font-size: 16px;
  line-height: 24px;
  padding: 0 10px;
}
.extra-product-summary__purchase-option .select-box select {
  width: 100%;
  padding: 6px 40px 6px 10px;
}
.extra-product-summary__purchase-option .quantity-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  margin-top: 12px;
  width: 588px;
  min-height: 56px;
  padding: 10px 25px;
  align-items: center;
  gap: 10px;
  background: var(--gray100);
}
.extra-product-summary__purchase-option .quantity-box .quantity__content {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 40px;
  margin: 0;
  margin-right: 20px;
}
.extra-product-summary__purchase-option .quantity-box .quantity__content .counter {
  width: 150px;
  height: 35px;
}
.extra-product-summary__purchase-option .quantity-box .quantity__content .counter .counter__btn {
  width: 35px;
  height: 35px;
}
.extra-product-summary__purchase-option .quantity-box .quantity__content .quantity__del {
  top: 16px;
  right: 15px;
}
.extra-product-summary__purchase-option .quantity-box .quantity__label {
  max-width: 265px;
}
.extra-product-summary__purchase-option .quantity-box .quantity__product-name {
  color: var(--color-secondary);
}
.extra-product-summary__purchase-option .quantity-box .quantity__product-name + .quantity__label {
  color: var(--gray400);
}
.extra-product-summary__purchase-option .character-counter__limit-count {
  color: var(--gray500);
  font-weight: 400;
}
.extra-product-summary__purchase-option .character-counter.by-quantity {
  display: none;
}
.extra-product-summary__purchase-option .by-quantity-toggle-btn {
  margin-top: 10px;
  text-align: right;
}
.extra-product-summary__purchase-option .by-quantity-toggle-btn span {
  cursor: pointer;
  border-bottom: solid 1px;
}
.extra-product-summary__purchase-option .open-by-quantity .character-counter.by-quantity {
  display: block;
}
.extra-product-summary__options-box, .extra-product-summary__options-box__container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*.extra-product-summary {*/
/*    position: relative;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    gap: 20px;*/
/*    padding: 12px;*/
/*    border: 1px solid var(--gray300);*/
/*    margin-top: 10px;*/
/*}*/

/*.extra-product-summary__image, .extra-product-summary__image img {*/
/*    width: 150px;*/
/*    height: 100%;*/
/*    min-height: 150px;*/
/*    object-fit: contain;*/
/*    border: 1px solid var(--gray200);*/
/*    aspect-ratio: 1 / 1;*/
/*}*/

/*.extra-product-summary__info {*/
/*    width: 100%;*/
/*}*/

/*.extra-product-summary__title {*/
/*    font-weight: 700;*/
/*    font-size: 18px;*/
/*    color: var(--gray600);*/
/*}*/

/*.extra-product-summary__price-detail {*/
/*    margin-top: 16px;*/
/*}*/

/*.extra-product-summary__title {*/
/*    font-weight: 700;*/
/*    font-size: 18px;*/
/*    color: var(--gray600);*/
/*}*/

/*.extra-product-summary__purchase-option:has(div.quantity-box) {*/
/*    border-top: 1px solid var(--gray200);*/
/*    margin-top: 10px;*/
/*}*/

/*.extra-product-summary__purchase-option .quantity-box {*/
/*    position: relative;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    flex-direction: row;*/
/*    margin-top: 12px;*/
/*    width: 588px;*/
/*    min-height: 56px;*/
/*    padding: 10px 25px;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    background: var(--gray100);*/
/*}*/

.extra-product-summary__purchase-option .quantity-box {
    width: 100%;
}

.product-summary__purchase-option .quantity-box .quantity__product-name + .quantity__label {
    color: var(--gray400);
}

.product-summary__purchase-option .quantity-box .quantity__label {
    max-width: 265px;
}

.quantity__label {
    display: block !important;
    padding-right: 0.75rem !important;
    color: var(--color-secondary) !important;
}

/* 추가상품 CSS E (2026/03/20) */