﻿#purchase-form {
    display: none;
}

.purchase-block980 {
    width: 1200px;
    margin: 0 auto;
}

.purchase-container {
    display: flex;
    gap: 40px;
    width: 1200px;
    margin: 40px auto;
    padding: 40px;
    font-size: 13px;
    line-height: 16px;
    background-color: #ffffff;
    border: 2px #e9ecef solid;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 3;
}

.purchase-centent {
    flex: 1;
}

.purchase-sidebar {
    width: 340px;
}

.row20 {
    margin-bottom: 20px;
}

.purchase-product-productName {
    width: 275px;
}

.purchase-product-content {
    width: 820px;
    height: 430px;
    display: flex;
}

.purchase-productName {
    display: block;
    font-size: 32px;
    color: #13547a;
    font-weight: 650;
    padding: 10px 0;
    margin: 10px 0;
}

    .purchase-productName .text-yellow {
        color: #FFD966;
    }

.purchase-productShortDES {
    font-size: 15px;
    margin: 5px 0;
    font-weight: 700;
    color: #202020;
    line-height: 1.5em;
}

.purchase-product-productPic {
    width: 275px;
}

.purchase-product-productPic, .purchase-product-productDetail, .purchase-product-productAction {
    float: left;
}

.purchase-product-picBig {
    width: 275px;
    height: 275px;
    margin-top: 20px;
    position: relative;
    text-align: center;
    z-index: 1;
    margin: 0 auto;
}

    .purchase-product-picBig img {
        width: 100%;
        height: 100%;
    }

.purchase-product-product {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.purchase-product-productDetail {
    width: 525px;
}

.purchase-listPoint {
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
    line-height: 1.5em;
}

.purchase-listPoint-title {
    font-size: 14px;
    font-weight: 600;
}

.purchase-listPoint-description {
    font-size: 14px;
    font-weight: 400;
}

.purchase-listPoint li {
    padding-left: 10px;
    margin-bottom: 5px;
}

.purchase-product-productAction {
    width: 264px;
    font-size: 12px;
}

.purchase-product-price {
    text-align: right;
}

.row10 {
    margin-bottom: 10px;
}

.productpriceLarge {
    font-size: 24px;
    padding: 0px;
    text-align: right;
    line-height: 1.8em;
    color: #545454;
}

    .productpriceLarge label, .specialprice label {
        font-size: 12px;
    }

.specialprice span {
    font-size: 15px;
    text-decoration: line-through;
    padding-left: 5px;
    color: #999;
}

.regularprice span {
    font-size: 24px;
    padding-left: 5px;
    color: #f39800;
}

.purchase-product-btnBlock {
    position: relative;
    width: 264px;
}

.purchase-btn {
    border-radius: 4px;
    background-color: #13547a;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    color: #fff;
    height: 55px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 100%;
    white-space: nowrap;
    touch-action: manipulation;
    user-select: none;
    letter-spacing: -.2px;
    text-decoration: none;
}

    .purchase-btn:hover {
        background-color: #002e52;
    }

    .purchase-btn:active {
        transform: translateY(1px);
    }

.tab-estore-title-block {
    height: 78px;
    background: #FFFFFF;
    display: block;
    border-bottom: 2px solid #DCDCDC;
    box-sizing: border-box;
}

.tab-estore-title {
    position: absolute;
    height: 52px;
    width: 800px;
    top: 26px;
    left: 10px;
    font-weight: 600;
    text-align: center;
    color: #636161;
    font-size: 15px;
    background: #FFFFFF;
    line-height: 52px;
    box-sizing: border-box;
    border: 2px solid #DCDCDC;
    border-bottom: 2px solid rgba(255, 255, 255, 1);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.tab-estore-content {
    display: block;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.purchase-4Steps {
/*    width: 1150px;*/
    margin: 30px auto;
}

.module-title {
    width: 100%;
    height: 30px;
    padding-top: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.moduleheader {
    background-color: #999;
    color: #fff;
    font-weight: 600;
    clear: left;
    padding: 6px 24px 6px 6px;
    margin: 6px 0px 6px 0px;
    cursor: pointer;
    display: flex;
    align-items: center;
}


.moduleheader .ctosCategory {
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
}


.icon-wrapper {
    margin-right: 10px; 
    display: inline-flex;
    align-items: center;
}

.icon-minus {
    display: none;
}

.moduleheader.active .icon-plus {
    display: none;
}

.moduleheader.active .icon-minus {
    display: inline;
}

.extendedmodule {
    display: none;
}

.options {
    display: none;
}

.moduleheader.active ~ .options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px 6px 0px;
}

    .module > .moduleheader.active ~ .extendedmodule {
        display: block;
    }

    .extendedmoduleheader + .options {
        display: block;
    }

    .options input[type="text"] {
        width: 40px;
        margin: 0 5px;
        border: 1px solid #ddd;
        text-align: center;
    }

.optionsprice {
    display: block;
    width: 150px;
    text-align: right;
    color: #ffab42;
}


.extendedmoduleheader {
    background-color: #dadada;
    padding-left: 26px;
}

    .extendedmoduleheader .ctosCategory {
        font-weight: bold;
        color: #999;
        cursor: pointer;
        font-size: 13px;
    }

.purchase-remindBlockPOP {
    font-size: 13px;
}

.purchase-remindBlockPOP h4 {
    font-size: 18px;
    padding: 30px 0;
    color: #636161;
    margin: 0;
}

.purchase-remindBlockPOP textarea {
    height: 150px;
    width: 100%;
    color: rgb(204, 204, 204);
}

.summary-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    font-size: 16px;
}

.summary-card-header, .summary-card-body, .summary-card-footer {
    padding: 20px;
}

.summary-card-header {
    border-bottom: 1px solid #e9ecef;
}

.summary-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    line-height: 1.5em;
}

.summary-price-stacked {
    text-align: right; 
}

.price-original {
    display: block;
    color: #888;
    font-size: 14px;
}

.price-final {
    display: block; 
    color: #f39800; 
    font-weight: bold;
    font-size: 16px;
}

.summary-price {
    font-weight: bold;
}

.summary-card-footer {
    background-color: #f1f3f5;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 8px 8px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.summary-notice {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-bottom: 20px;
    text-align: center;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background-color: #13547a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

@media screen and (max-width: 768px) {
    .purchase-container {
        width: 100%;
        box-sizing: border-box;
    }

    .purchase-container {
        flex-direction: column; /* 아이템을 수직으로 쌓음 */
        padding: 20px;
    }

    .purchase-sidebar {
        width: 100%; /* 사이드바 너비를 100%로 설정 */
    }

    .purchase-product-content {
        width: 100%; /* 콘텐츠 너비도 100%로 조정 */
        height: auto; /* 높이를 자동으로 조정 */
    }

    .tab-estore-title {
        width: calc(100% - 20px); /* 탭 제목 너비 조정 */
    }

    .purchase-product-product {
        display: block;
        width: 100%;
    }

    .purchase-product-productName {
        width: 100%;
    }

    .purchase-product-productDetail {
        width: 100%;
    }
}