/* ========================================
 곧통
======================================== */

.product-detail-page .underline {
    text-decoration: underline;
}



/* ========================================
     상품 상세 1 
======================================== */

.product-detail-area .inner {
    display: grid;
    grid-template-columns: 600px 1fr;
    column-gap: 60px;
}


/* 상품 이미지  */

.product-gallery {
    width: 600px;
}

.gallery-main {
    position: relative;
    width: 600px;
    height: 600px;
    overflow: hidden;
    border: 1px solid #eee;

}

.gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;

}


/* 썸네일 */

.thumbnail-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}


.thumbnail-window {
    width: 432px;
    overflow: hidden;
}


.thumbnail-track {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}



.thumbnail {
    flex: 0 0 80px;
    aspect-ratio: 1 / 1;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}


.thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}


.thumbnail.is-active {
    border: 1px solid #505050;

}



/* 좌우 버튼 */

.thumbnail-prev,
.thumbnail-next {
    position: relative;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
}

.thumbnail-prev {
    margin-right: 24px;
}

.thumbnail-next {
    margin-left: 24px;
}


.thumbnail-prev::before,
.thumbnail-next::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 14px;
    height: 14px;

    border-top: 1px solid #111;
    border-right: 1px solid #111;

    transform: translate(-50%, -50%);
}


/* 이전 ← */

.thumbnail-prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}


/* 다음 → */

.thumbnail-next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}




/* ========================================
   Product Info
======================================== */



.product-info__top {
    display: flex;
    justify-content: space-between;
    gap: 24px;

}

.product-info__txt {
    width: 560px;

}

.product-info__utils {
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-info__utils .qr_add {
    width: 150px;
    top: 0;
    right: 44px;
}
.product-info__utils .layer_social {
    top: 10px;
    right: 0px;
}

.product-info__utils a {
    height: 36px;
}

.product-info__utils > a > img {
    width: 36px;
    border: 1px solid #eee;
}


.product-info__id {
    color: #999;
    font-size: var(--fs-14);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;

}

.product-info__id .num {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.product-info__title {
    font-weight: 500;
    line-height: 1.3;
}




/* ========================================
  자동연장 + 조기종료 + 프리미엄 입찰상품
======================================== */

.product-info__meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;

}

.product-info__badge {
    display: inline-flex;
    align-items: center;

    height: 22px;
    padding: 0 6px;

    color: #999;
    background: #F2F5F8;
    font-size: var(--fs-12);
    font-weight: 500;

    cursor: default;

}


.product-info__badge--tooltip {
    position: relative;
}



.product-info__badge--tooltip::after {
    content: attr(data-tooltip);
    position: absolute;

    z-index: 50;

    left: 50%;
    bottom: calc(100% + 8px);

    width: max-content;
    max-width: 328px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #505050;
    font-size: var(--fs-13);


    white-space: normal;
    text-align: left;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, 4px);

    transition:
        opacity 0.15s ease,
        transform 0.15s ease,
        visibility 0.15s ease;

    pointer-events: none;
}


.product-info__badge--tooltip::before {
    content: "";

    position: absolute;

    z-index: 51;

    left: 50%;
    bottom: calc(100% + 3px);

    width: 10px;
    height: 10px;

    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    background: #fff;

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%) rotate(45deg);

    transition:
        opacity 0.15s ease,
        visibility 0.15s ease;

    pointer-events: none;
}


.product-info__badge--tooltip:hover::after,
.product-info__badge--tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

.product-info__badge--tooltip:hover::after {
    transform:
        translate(-50%, 0);
}




.product-info__meta .premium {
    color: var(--color-primary);
    background: #F3EEFE;

}

.product-info__help {
    width: 18px;
    height: 18px;

    border: 1px solid #bbb;
    border-radius: 50%;

    color: #888;
    background: #fff;

    font-size: var(--fs-11);
    cursor: pointer;
}





/* ========================================
  상품 정보 리스트 공통
======================================== */

.product-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: var(--fs-14);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-list.mercari .product-list__label {
    flex: 0 0 100px;
}

.product-list__row {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;

}

.product-list__label {
    flex: 0 0 80px;
    color: #767676;

}

.product-list__row em {
    font-style: normal;
    margin-left: 4px;
    color: #999;
    font-weight: 500;

}


/* 현재가 + 즉시구매가 */
.product-price__content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price__content .num {
    color: #111;
    font-weight: 500;
    font-size: var(--fs-24);
}

.product-price__content .yen {
    font-size: var(--fs-16);
    margin-left: 2px;

}


.product-price__content .Buy-Price {
    color: #F50000;
}

.product-price__preview {
	flex-shrink: 0;
	height: 32px;
	padding: 0 12px;
	border: 1px solid #ddd;
	background: #fff;
	color: #111;
	font-size: var(--fs-13);
	font-weight: 500;
	line-height: 30px;
    /* margin-left: 10px; */
}



.product-price__tax {
    color: #767676;
    font-size: var(--fs-13);
}



.product-list__time {
    color: var(--color-primary);
    font-weight: 500;
    line-height: normal;
}


/* 출품자 관심등록 */

.seller-follow {
    position: absolute;
    right: 0;
    top: 0;

    display: flex;
    align-items: center;
    gap: 2px;

    color: #505050;
    font-size: var(--fs-12);
    font-weight: 500;
    cursor: pointer;
}



.seller-follow__heart {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
}



.seller-follow__heart img {
    position: absolute;

    top: 50%;
    left: 50%;

    display: block;
    object-fit: contain;

    transform: translate(-50%, -50%);

    transition: opacity 0.2s ease;
}



.seller-follow__heart .heart-off {
    /* opacity: 1; */
}

.seller-follow__heart .heart-on {
    /* opacity: 0; */
}


.seller-follow.is-active .heart-off {
    /* opacity: 0; */
}

.seller-follow.is-active .heart-on {
    /* opacity: 1; */
}




/* ========================================
  주의사항
======================================== */


.product-notice {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 6px;

    margin-top: 20px;
    padding: 18px 0;
    background: #f8f8f8;
}

.product-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    border: 1px solid #dbdbdb;
    border-radius: 50%;

    color: #505050;
    font-weight: 600;
    font-size: var(--fs-11);
}

.product-notice p {
    font-size: 13px;
   

}




/* ========================================
  옵션 선택
======================================== */

.product-option {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.product-select {
    position: relative;
    width: 100%;
}

.product-option #option_ajax select,
.product-option #select_boxchoose select {
    width: 100%;
    height: 42px !important;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff !important;
    box-sizing: border-box;
    font-size: var(--fs-13);
    font-weight: 400;
    color: #111;
    opacity: 1 !important;
    appearance: menulist;
    -webkit-appearance: menulist;
    outline: none;
}

.product-option #select_boxchoose select:focus {
    outline: none;
    border: 1px solid #767676;
}

.product-option #select_boxchoose label {
    display: none !important;
}

.product-select__hint {
    color: #767676;
    font-size: var(--fs-13);
}

.product-select__button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: 42px;

    padding: 0 14px;

    border: 1px solid #ddd;
    background: #fff;
    color: #505050;
    font-size: var(--fs-13);

    cursor: pointer;
}

.product-select.is-open .product-select__button {
    border-color: #767676;
}

.product-select__arrow {
    position: relative;

    width: 8px;
    height: 8px;

    border-right: 1px solid #505050;
    border-bottom: 1px solid #505050;

    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.product-select.is-open .product-select__arrow {
    transform: rotate(225deg);
}

.product-select__dropdown {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 0;
	display: none;
	width: 100%;
	max-height: 230px;
	padding: 5px 0;
	overflow-y: auto;
	border: 1px solid #767676;
	border-top: none;
	background: #fff;
}

.product-select.is-open .product-select__dropdown {
    display: block;
}

.product-select__option {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    padding: 0 14px;
    border: 0;

    background: #fff;
    color: #767676;
    font-size: var(--fs-13);
    text-align: left;
    cursor: pointer;
}

.product-select__option:hover {
    background: #f6f6f6;
    color: #111;
}


/* ========================================
    구매 버튼
======================================== */

.product-action {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 24px;
    position: relative;
}

.product-action:has(> .product-action__heart) {
    grid-template-columns: 56px repeat(auto-fit, minmax(0, 1fr));
}



.product-action button {
    width: 100%;
    height: 56px;
    border: 1px solid #ddd;
    font-size: 15px;
    font-weight: 500;

}

.product-action a.product-action__cart,
.product-action a.product-action__bid {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 56px;
	border: 1px solid #ddd;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	box-sizing: border-box;
}

.product-action__heart {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}




/* 하트 */

.product-action__heart {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.heart-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
}


.heart-icon img {
    position: absolute;
    top: 50%;
    left: 50%;

    display: block;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}



.heart-icon .heart-off {
    /* opacity: 1; */
}

.heart-icon .heart-on {
    /* opacity: 0; */
}



.product-action__heart.is-active .heart-off {
    /* opacity: 0; */
}

.product-action__heart.is-active .heart-on {
    /* opacity: 1; */
}




/* 장바구니 */

.product-action__cart {
    background: #fff;
    color: #111;

}


/* 입찰하기 */

.product-action__bid {
    border-color: #222 !important;
    background: #222;
    color: #fff;
}


/* 즉시 구매하기 */

.product-action__buy {
    border-color: #ED5F50 !important;
    background: #ED5F50;
    color: #fff;
}





/* ========================================
   꼭 알아두세요
======================================== */

.product-guide-area .inner {
    margin-top: 48px;
    border: 1px solid #DDCFFD;
    background: #F9F7FF;
    position: relative;
    padding: 32px 40px;
}

.product-guide-area h6 {
    color: var(--color-primary);
    margin-bottom: 12px;
}


.product-guide-area li {
    position: relative;
    padding-left: 10px;
    margin-bottom: 8px;
    color: #111;
    font-size: var(--fs-14);

}

.product-guide-area li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;

}


.product-guide__link {
    position: absolute;
    right: 40px;
    top: 66px;
    padding-right: 8px;
    color: #505050;
    font-weight: 500;
    font-size: var(--fs-12);
    border-bottom: 1px solid #999;
}

.product-guide__link::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0px;
    width: 6px;
    height: 6px;
    border-top: 1px solid #505050;
    border-right: 1px solid #505050;
    transform: translateY(-50%) rotate(45deg);
}





/* ========================================
   상품 상세 하단
======================================== */

.product-detail-sections {
    margin-top: 80px;
}



/* 상세 탭 */

.detail-section {
    scroll-margin-top: 20px;
}

.detail-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    height: 56px;
    background: #fff;
    border-bottom: 1px solid #111;

}


.detail-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;

    border: 0;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;

    background: #fff;
    color: #999;

    font-size: var(--fs-16);
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.detail-tab:first-child {
    border-left: 1px solid #eee;

}

.detail-tab:not(.is-active) {
    border-bottom-color: #111;
}



.detail-tab.is-active {
    z-index: 2;

    border-top-color: #111;
    border-left: 1px solid #111;
    border-right: 1px solid #111;
    border-bottom-color: #fff;

    color: #111;



}

.detail-tab.is-active+.detail-tab {
    border-left: 0;
}



/* ========================================
   상세 섹션
======================================== */

.detail-section:not(:last-child) {
    padding: 0 0 100px;

}


.detail-section__content {
    width: 100%;
    padding-top: 24px;
}



.detail-section__tit {
    margin-bottom: 20px;
}

.detail-section__tit h3{
    font-weight: 500;
}



.detail-section__tit p {
    font-size: 15px;
    margin-top: 4px;

}





/* ========================================
   상품 상세 안내
======================================== */

.detail-notice {
    padding: 40px 32px;
    border: 1px solid #ddd;
    background: #F8F8FA;
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.detail-notice h6 {
    font-weight: 500;
}


.detail-notice>div h6 {
    margin-bottom: 4px;
}


.detail-notice p {
    font-size: var(--fs-14);
    font-weight: 400;
}




/* ========================================
   상세 이미지
======================================== */

.detail-images {
    width: 100%;
    margin-top: 20px;
   
}




/* ========================================
   판매자 질문/답변
======================================== */


.question-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}


.question-info__text {
    color: #505050;
    font-size: var(--fs-14);

}


.question-info__buttons {
    display: flex;
    gap: 8px;

}

.question-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 30px;
    font-size: var(--fs-13);
    font-weight: 500;

}


.question-button--primary {
    border: 1px solid #111;
    background: #111;
    color: #fff;
}


.question-button--refresh {
    border: 1px solid #ddd;
    background: #fff;
    color: #767676;
}



.empty-cont {
    padding-top: 40px;
    color: #999;
    font-size: var(--fs-14);
    text-align: center;
}

.empty-cont li {
    display: flex;  
    align-items: center;
    gap: 10px;
}
.empty-cont li span {
    text-align: left;
}
.empty-cont .de_in_menu {
    width: 20%;
}
.empty-cont .de_in_text {
    flex: 1;
}





/* 연관상품 */

.similar-slider {
    position: relative;

}

.similar-viewport {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}


.similar-track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: block;
    box-sizing: border-box;
    overflow: hidden;

}

.similar-track .similar_procudt_box {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}


.similar-track li {
    width: 156px !important;
}

.similar-track .sipb_img {
    height: 156px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #eee;
    box-sizing: border-box;
}

.similar-track .sipb_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

}


.similar-track .sipb_text {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--fs-13);
}

.similar-track .sipb_tit {
    height: 38px;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    padding-right: 8px;
}


.similar-track .num {
    font-size: var(--fs-16);
    font-weight: 600;
    padding-right: 2px;
}

.similar-track .yen {
    font-size: var(--fs-14);
}



/* 좌우 버튼 */

.similar-prev,
.similar-next {
    position: absolute;
    z-index: 2;
    top: -56px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

}


.similar-prev {
    right: 32px;
}


.similar-prev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 1px solid #111;
    border-right: 1px solid #111;
    transform: translate(-35%, -50%) rotate(-135deg);
}


.similar-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 1px solid #111;
    border-right: 1px solid #111;
    transform: translate(-65%, -50%) rotate(45deg);
}






/* ========================================
   테이블
======================================== */

.info-table__tit {
    margin-top: 40px;
    margin-bottom: 14px;
}

.info-table__tit p {
    margin-top: 6px;
    font-size: var(--fs-14);
    color: #767676;
}


/* 테이블 */

.info-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 1px solid #111;

}


.info-table th,
.info-table td {
    padding: 12px 0 12px 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    text-align: left;
    color: #333;
    font-size: var(--fs-14);

}


.info-table th {
    background: #F8F8FA;
    border-right: 1px solid #ddd;
    font-weight: 500;
}

.info-table td p:not(:last-child) {
    margin-bottom: 4px;

}



.info-table .dotted {
    position: relative;
    left: 10px;
}

.info-table .dotted::before {
    position: absolute;
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #111;
    top: 8px;
    left: -10px;
}



.info-table .example {
    font-size: var(--fs-14);
    color: #767676;

}

.info-table .volume-weight {
    border-left: 1px solid #ddd;

}

.add-txt {
    padding-left: 0 !important;

}

.add-txt p {
    font-size: 13.5px;
}



/* 상품고시 */

.mandatory {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mandatory li {
    display: flex;
    gap: 12px;
    font-size: var(--fs-14);

}

.mandatory li p {
    width: 200px;
    font-weight: 500;
    color: #111;
}

.mandatory li span {
    color: #505050;
}

.detail-sections table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #ddd;
    border-top: 0;
    font-size: var(--fs-13);

}

.detail-sections th,
.detail-sections td {
    padding: 18px 0 18px 40px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    text-align: left;
    color: #6b6a6a;
    font-weight: 700;

}

.detail-sections th {
    background: #f5f6f8;
    border-right: 1px solid #ddd;


}


.detail-sections table b {
    font-weight: 600;
    color: #111;
}

.empty-cont{
/*  margin-top: 56px;	*/
}
.empty-cont .tit{
    text-align: center;
    font-size: 13px;
    color:#9b9a9a;
}
.empty-cont .tit .black{
    font-size: 18px;
    font-weight: 800;
    color:#464646;
}
.empty-cont ul{
    border:1px solid #e6e6e6;
    margin: 0px 0 0px 0;
    padding: 12px 0;
}
.empty-cont ul li{
    border-bottom:1px solid #e6e6e6;
    padding: 20px 0;
    margin: 0 55px;
    font-size: 13px;
    color:#5e5e5e;
    display: flex;
    align-items: flex-start;
}
.empty-cont ul li:last-child{
    border-bottom: none;
}
.empty-cont ul li img{
    margin-right: 5px;
    vertical-align: middle;
}
.empty-cont ul li .black{
    color:#000;
    margin-right: 14px;
}
.empty-cont ul.no_border{
    border:none;
    border-top:1px solid #e6e6e6;
    margin: 60px 0 70px 0;
    padding: 12px 0;
}
.empty-cont ul.no_border li{
    margin: 0;
    align-items: center;
    padding-right: 35px;
}
.empty-cont ul.no_border li:last-child{
    border-bottom:1px solid #e6e6e6;
}