.container {
}


.left {
	width: 50%;
    display: inline-block;
}
.right {
    width: calc(50% - 64px);
    margin-left: 60px;
    display: inline-block;
    vertical-align: top;
    position: sticky;
    top: 130px;
}
.sub-thumbnails{
    padding-bottom: 65.6%;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}
.sub-thumbnails img{
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}
/*
.main-image {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
}
*/
.thumbnails {
	display: flex;
    flex-wrap: wrap;
	gap: 5px;
	margin-top: 10px;
}
.thumbnail {
	width: 80px;
	height: 80px;
	object-fit: cover;
	cursor: pointer;
    border-radius: 0;
}
.thumbnail.active{
    border: 2px solid #000;
}

.purchase-info {
	margin-top: 20px;
}
.purchase-info.order-quantity-box{
    margin: 40px 0;
    border-top: 2px solid #000;
    padding: 30px 0;
    border-bottom: 2px solid #000;
}
.purchase-info.order-quantity-box label{
    margin-bottom: 10px;
}
.product-name {
	font-size: 24px;
	font-weight: bold;
}
.product-description {
	margin-top: 20px;
	font-size: 16px;
	color: #555;
    padding: 20px;
    word-break: keep-all;
}
.option {
	margin-top: 30px;
}
.button-group{
    margin: 0 -5px;
}
.color-option .selected_values {
	background: #fff;
    border: 2px solid #ddd;
    width: calc(100% / 4 - 10px);
    margin: 0 5px;
    padding: 10px;
}
.color-option .selected_values.active {
    border: 2px solid #2bb3a5;
    color: #2bb3a5;
}

.option select {
	padding: 10px;
	width: 100%;
    border: 1px solid #ddd;
}
.purchase-line ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.purchase-line .purchase-name {
  font-weight: 700;
}

.purchase-line .scrollable-text {
  overflow-x: auto;
  white-space: nowrap;
}

.purchase-line .scrollable-text::-webkit-scrollbar {
  height: 4px;
}
.purchase-line .scrollable-text::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 2px;
}
.purchase-line .remove{
    position: absolute;
    top: 15px;
    right: 15px;
}
.purchase-line .remove button {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0px solid #ccc;
  cursor: pointer;
  font-weight: bold;
  color: #999;
  transform: scaleY(0.9);
}
.order-quantity-bg{
    background: #f7f7f7;
    padding: 30px 20px;
    border-radius: 10px;
    position: relative;
}
.order-quantity-bg + .order-quantity-bg{
    margin-top: 20px;
}
.order-quantity-bg .qty input {
  width: 50px;
  height: 34px;
  text-align: center;
}
.order-quantity-bg .qty input::-webkit-outer-spin-button,
.order-quantity-bg .qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.order-quantity-list{
    margin-top: 10px;
    overflow: hidden;
}
.order-quantity-list .qty{
    float: right;
}
.order-quantity-list .price{
    float: left;
    margin-top: 5px;
}
.order-quantity-list .item-quantity{
    width: 34px;
    height: 34px;
    background: #000;
    color: #fff;
    border: 0;
}
.purchase-info.final-order-amount{
    margin: 30px 0;
    padding: 30px 0 0;
    border-top: 2px solid #2bb3a5;
}
.final-order-amount .final-order-amount-title{
    display: inline-block;
    width: 160px;
    vertical-align: middle;
}
.final-order-amount .final-order-amount-txt{
    display: inline-block;
    width: calc(100% - 184px);
    margin-left: 20px;
    vertical-align: middle;
    text-align: right;
}
.store-footer-buttons > button{
    height: 60px;
    border: 0;
    border-radius: 0;
    vertical-align: middle;
}
.store-footer-buttons .sfb-1{
    width: 60px;
    background: #fff;
    border:1px solid #2bb3a5;
}
.store-footer-buttons .sfb-2{
    background: #2bb3a5;
    border:1px solid #2bb3a5;
    color: #fff;
}
.store-footer-buttons .sfb-3{
    background: #000;
    border:1px solid #000;
    color: #fff;
}
.store-footer-buttons .sfb-4{
    background: #fff;
    border:1px solid #2bb3a5;
    color: #2bb3a5;
}
.store-footer-buttons .sfb-1 img{
    max-width: 30px;
}
.store-footer-buttons button:nth-child(n+2){
    width: calc((100% - 72px) / 3);
}
.pd_content_con .pd_content_tab{
    vertical-align: top;
    position: sticky;
    top: 90px;
    background: #fff;
    width: 100%;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
    z-index: 2;
}
.pd_content_tab .tab{
    opacity: 0.3;
    width: calc(100% / 5 - 4px);
    text-align: center;
    display: inline-block;
    position: relative;
    padding: 20px 0;
}
.pd_content_tab .tab.active{
    opacity: 1;
}
.pd_content_tab .tab.active:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 3px; 
    background: #000;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
}
.pd_content_con{
    width: 50%;
    /*margin-top: -60px;*/
}
.pd_content_con .h-screen + .h-screen{
    margin-top: 60px;
}
.pd_content_con .h-screen .h-screen-title{
    margin: 20px 0 30px;
    padding-left: 15px;
    position: relative;
}
.pd_content_con .h-screen .h-screen-title:before{
    content: "";
    position: absolute;
    top: calc(50% - 8px);
    left: 0;
    transform: translateX(-50%);
    width: 4px; 
    height: 16px;
    background: #000;
}
.vertical-scroll-box{
    height: 700px;
    overflow-x: hidden;
    overflow-y: auto;
}
.goods-review + .goods-review{
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px dashed #ddd;
}
.goods-review{
    position: relative;
}
.goods-review .date{
    position: absolute;
    top: 0;
    right: 0;
}
.goods-review .state-btn{
    position: absolute;
    top: 30px;
    right: 0;
}
.goods-review .state-btn > button{
    background: #fff;
    border: 1px solid #999;
    color: #999;
    padding: 4px 10px;
    border-radius: 5px;
}
.goods-review + .goods-review .date{
    top: 40px;
}
.goods-review + .goods-review .delete-btn{
    top: 70px;
}
.goods-review .review-summary{
    margin-top: 20px;
}
.goods-review .photo-review{
    margin: 0 -10px;
}
.goods-review .photo-review > div{
    width: calc(100% / 3 - 24px);
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}
.personal-id{display: inline-block; vertical-align: middle;}
.sts-score-box{display: inline-block; vertical-align: middle; overflow: hidden; margin-left: 10px;}
.sts-score-box .sts-score{float: left;}
.sts-score-box .sts-score-txt{float: right; margin-left: 5px; margin-top: 3px;}
.sts-score {
	transform-origin:center center;
}
.sts-score > * + * {padding-left:4px !important; }
.sts-score .ico-icon {
	position:relative;
	background-position:0 0;
	background-size:18px;
	background-image:url('../../images/content/star.svg');
	width:18px;
	height:18px;
    display: inline-block;
}
.sts-score .ico-icon:after {
	display:block;
	content:"";
	width:100%;
	height:100%;
	background-repeat:no-repeat;
	background-position:0 0;
	background-size:18px;
	background-image:url('../../images/content/star-full.svg');
	background-color:#fff;
	position:absolute;
	left:0;
	top:0;
	opacity:0;
}

.sts-score.score5 > *:nth-child(-n + 5) .ico-icon:after {opacity:1; }
.sts-score.score4 > *:nth-child(-n + 4) .ico-icon:after {opacity:1; }
.sts-score.score3 > *:nth-child(-n + 3) .ico-icon:after {opacity:1; }
.sts-score.score2 > *:nth-child(-n + 2) .ico-icon:after {opacity:1; }
.sts-score.score1 > *:nth-child(-n + 1) .ico-icon:after {opacity:1; }

.sts-score.score1.half > *:nth-child(2) .ico-icon:after,
.sts-score.score2.half > *:nth-child(3) .ico-icon:after,
.sts-score.score3.half > *:nth-child(4) .ico-icon:after,
.sts-score.score4.half > *:nth-child(5) .ico-icon:after {
	width:calc(50% + 1px);
	opacity:1;
}
.sts-score .score-value {
	font-weight:500;
	color:#000;
	opacity:.4;
	padding-left:8px !important;
	font-size:14px;
	padding-top:2px;
}
.sts-score > button {
	border:0;
	background:transparent;
	padding-left:0;
	padding-right:0;
}
/* 공통 갤러리 부분 */
.gallery-comm-box .swiper-button-next,
.gallery-comm-box .swiper-button-prev {
    padding: 10px;
    width: 50px; 
    height: 50px;
    background-color: rgba(0, 0, 0, 0.8); 
    border-radius: 50%;
    background-image: url(../../images/content/gallery-swiper-button.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 21px;
}

.gallery-comm-box .swiper-button-prev {
  left: 10px;
  transform: scaleX(-1);
}
.gallery-comm-box .swiper-button-next {
  right: 10px;
}
.gallery-comm-box .swiper-button-next:after, .gallery-comm-box .swiper-button-prev:after{
    content: none;
}
@media screen and (max-width: 1200px) {
    .right{
        position: relative;
        top: 0;
    }
    .pd_content_con{
        margin-top: 0;
    }
    .pd_content_con .pd_content_tab{
        top: 64px;    
    }
}
.vertical-scroll-box::-webkit-scrollbar { width: 10px;}
.vertical-scroll-box::-webkit-scrollbar-thumb { background-color: #2f3542; border-radius: 10px; }
.vertical-scroll-box::-webkit-scrollbar-track {
    background-color: #D7D7D7;
    border-radius: 10px;
}
.gallery-comm-box .veiw-modal{
    cursor: pointer;
}
.gallery-comm-box .veiw-modal-2{
    cursor: pointer;
}
.gallery-comm-box .swiper-slide{
    border: 1px solid rgb(238, 238, 238);
    padding-bottom: 31.6%;
    position: relative;
    overflow: hidden;
    margin-right: 20px;
}
.gallery-comm-box .swiper-slide img{
    display: block;
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.guide-modal-box .guide-modal-btn{
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
}

@media screen and (max-width: 992px) {
    .vertical-scroll-box::-webkit-scrollbar { width: 6px;}
    .thumbnail{
        width: calc(100% / 5 - 4px);
        height: 50px;
        margin: 0;
    }
    .right {
        width: 100%;
        margin-left: 0px;
        margin-top: 20px;
    }
    .left {
        width: 100%;
        display: block;
    }
    .color-option .selected_values {
        width: calc(100% / 3 - 10px);
        margin: 5px;
    }
    .store-footer-buttons{
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        z-index: 3;
        padding: 0px 10px 50px;
        background: #fff;
    }
    .store-footer-buttons .sfb-1 img{
        max-width: 20px;
    }
    .pd_content_con{
        width: 100%;
    }
    .vertical-scroll-box{
        height: 422px;
    }
    .goods-review .photo-review > div{
        width: calc(100% / 3 - 14px);
        margin: 5px;
    }
    .gallery-comm-box .swiper-slide{
        padding-bottom: 44.6%;
    }
    .gallery-comm-box .swiper-button-next,
    .gallery-comm-box .swiper-button-prev {
        width: 40px;
        height: 40px;
        background-size: 6px 10px;
    }
    .pd_content_con .h-screen .h-screen-title:before{
        top: calc(50% - 6px);
        width: 3px;
        height: 12px;
    }

}

