/* BASIC css start */




#stickyPurchaseBar {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fcfcfc;
    border-bottom: 1px solid #cdcdcd;
    z-index: 3;
    border-top: 1px solid #cdcdcd;
    display: none; 
}

.purchase-bar-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 4px 20px;
    position: relative;
}

/* 썸네일과 뱃지 */
.prd-thumb-box {
    position: relative;
    width: 84px;
    height: 84px;
    margin-right: 8px;
    flex-shrink: 0;
    border: 1px solid #ececec;
}
.prd-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prd-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 75, 75, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    padding: 3px;
    line-height: 1.2;
    white-space: nowrap;
}
 
.prd-info-box {
    flex: 1;
    min-width: 0; 
}
.prd-name {
    font-size: 17px;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px; 
}
.sale-price {
    font-size: 17px;
    font-weight: 500;
    color: #000;
}
.origin-price {
    font-size: 15px;
    color: #acacac;
    text-decoration: line-through;
    margin: 0 3px;
}
.discount-rate {
    font-size: 17px;
    font-weight: 600;
    color: #ed4747;
} 
.btn-purchase-direct {
    background: #ed4747;
    color: #fff;
    border: none;
    width: 200px;
    height: 40px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-purchase-direct:hover {
    background: #e63e3e;
}
#stickyOptionLayer {
    display: none;  
    background: #fff;
    padding: ;
    position: relative;
    width: 1200px;
    margin: 14px auto 18px;
    border: 1px solid #ebebeb;
}

.opt-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 15px 12px 15px 20px;
    position: relative;
    justify-content: space-between;
}
 
.opt-left {width: 522px;} 
.opt-right {width: 482px;}

/* 이동해온 요소들의 스타일 초기화 */
.opt-left .table-opt, .opt-right .prd-btns { width: 100% !important; margin: 0 !important; }

.btn-close-opt {
    position: absolute;
    top: 20px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    padding: 0;
    display: none;
}
.btn-close-opt:hover { opacity: 0.6; }
#productDetail .thumb-info .info #stickyOptionLayer .table-opt tr:first-child,
#productDetail .thumb-info .info #stickyOptionLayer .table-opt tr.tr_border {
    display: none !important;
}
#productDetail .thumb-info .info .table-opt .totalPriceTR td,
#productDetail .thumb-info .info>.table-opt>table>tbody>tr.totalPriceTR>td {
    padding: 0 !important;
}
#productDetail .thumb-info .info .table-opt .totalPriceTR .totalPrice,
#productDetail .thumb-info .info>.table-opt>table>tbody>tr.totalPriceTR .totalPrice {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid #ececec;
    padding-top: 13px;
}

#productDetail .thumb-info .info .table-opt .totalPriceTR .totalPrice .left,
#productDetail .thumb-info .info>.table-opt>table>tbody>tr.totalPriceTR .totalPrice .left {
    color: #000000;
    font-size: 17px;
    font-weight: 600;
}

#productDetail .thumb-info .info .table-opt .totalPriceTR .totalPrice .right,
#productDetail .thumb-info .info>.table-opt>table>tbody>tr.totalPriceTR .totalPrice .right {
    font-size: 22px;
    color: #ed4747;
    font-weight: 800;
    margin-left: 8px;
} 


#productDetail .thumb-info .info #stickyOptionLayer  .prd-btns .btn_wrap {
    gap: 7px;
}

#productDetail .thumb-info .info #stickyOptionLayer .prd-btns .btn_wrap a {
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: 600;
}

#productDetail .thumb-info .info #stickyOptionLayer .prd-btns #MS_btn_wish::after {
    font-family: "Pretendard Variable", sans-serif;
    font-weight: 300;
    font-size: 24px;
}

#productDetail .thumb-info .info #stickyOptionLayer .prd-btns #checkoutContainer .__checkout_buy_container, 
#productDetail .thumb-info .info #stickyOptionLayer .prd-btns #checkoutContainer.__checkout_buy_container {
    width: 240px !important;
}

#productDetail .thumb-info .info #stickyOptionLayer .prd-btns .npay_type_B_2 {
    width: 237px !important;
}
/* BASIC css end */

