.container {
    width: 100%;
    max-width: 1240px;
    padding: 0 2rem;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}



/* input */
#main input[type="text"] {
    width: 100%;
    height: 5.5rem;
    padding: 0 1.5rem;
    border: 1px solid #dbdbdb;
    border-radius: .5rem;
}



/* radio */
#main input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    z-index: -1;
}
#main input[type="radio"] + label {
    display: block;
    width: 100%;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#main input[type="radio"]:checked + label {
    background-color: #2281b4 !important;
    color: #FFFFFF;
    font-weight: 600;
}



/* button */
#main .btn {
    width: 21.5rem;
    height: 5.5rem;
    font-size: 1.8rem;
    font-weight: 500;
    border-radius: .5rem;
}



/* section */
#main section {
    margin: 12rem 0;
}

#main section:first-of-type {
    margin-top: 0;
}

#main section:last-of-type {
    margin-bottom: 0;
    overflow: hidden;
}



/* main */
#main {
    padding: 9.6rem 0 19rem;
}



/* guide */
#main #guide {

}
#main #guide h2 {
    font-size: 4.4rem;
    font-weight: 700;
}
#main #guide p {
    margin-top: 1.5em;
    font-size: 1.8rem;
    line-height: 1.6;
}
#main #guide p > b {
    font-weight: 700;
}



/* category search */
#search {

}

#search .category-search-wrap {
    
}
#search .category-search-wrap table {
    border: 1px solid #dbdbdb;
    border-top: 3px solid #156c9e;
}
#search .category-search-wrap thead th {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1rem 0;
    border-bottom: 1px solid #dbdbdb;
}





#search .category-search-wrap {
    display: flex;
    flex-wrap: wrap; 
    border: 1px solid #dbdbdb;
}

#search .category-search-wrap .manufacturer-box {
    width: 25%;
}

#search .category-search-wrap .classification-box {
    width: 25%;
}

#search .category-search-wrap .model-box {
    width: 50%;
}

#search .category-search-wrap header.th {
    padding: 1rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #dbdbdb;
    border-top: 3px solid #156c9e;
}

#search .category-search-wrap .option-list-box {
    height: 24rem;
    overflow-y: scroll;
}

#search .category-search-wrap .option-item {
    width: 100%;
}
#search .category-search-wrap .option-item input[type="radio"] + label {
    padding: 1rem;
    background-color: #f6f6f6;
    font-size: 1.7rem;
    text-align: center;
}
#search .category-search-wrap .option-item ~ .option-item input[type="radio"] + label {
    border-top: 1px solid #dbdbdb;
}

@media screen and (max-width: 1024px) {
    #search .category-search-wrap .manufacturer-box {
        width: 50%;
    }
    
    #search .category-search-wrap .classification-box {
        width: 50%;
    }
    
    #search .category-search-wrap .model-box {
        width: 100%;
    }
}

@media screen and (max-width: 540px) {
    #search .category-search-wrap .manufacturer-box {
        width: 100%;
    }
    
    #search .category-search-wrap .classification-box {
        width: 100%;
    }
}

#search .number-search-wrap {
    display: flex;
    align-items: center;   
    gap: 1rem 2.5rem;
    margin-top: 3rem;
}

#search .number-search-wrap .input-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem 2rem;
}

#search .number-search-wrap label {
    flex-shrink: 0;
    font-size: 1.8rem;
}

#search .number-search-wrap .btn-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#search .number-search-wrap .btn-wrap button.reset-btn {
    background-color: #484d54;
    color: #FFFFFF;
}

#search .number-search-wrap .btn-wrap button.submit-btn {
    background-color: var(--main-color);
    color: #FFFFFF;
}

@media screen and (max-width: 1024px) {
    #search .number-search-wrap {
        flex-wrap: wrap;
    }

    #search .number-search-wrap .btn-wrap {
        width: 100%;
    }

    #search .number-search-wrap .btn-wrap button {
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    #search .number-search-wrap .input-wrap {
        flex-wrap: wrap;
    }
}



/* product */
#product {
    
}

#product .product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding: .5rem 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid #444444;
}
#product .product-header .product-total {
    flex-shrink: 0;
    font-size: 1.8rem;
}
#product .product-header .product-total span.count {
    font-weight: 700;
    color: #2281b4;
}

#product .product-header .product-info {
    position: relative;
}
#product .product-header .product-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 1px;
    height: 100%;
    background-color: #fff;
    z-index: 1;
}
#product .product-header .product-info dl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: -2.3rem;
}
#product .product-header .product-info dl > div {
    position: relative;
    padding: 0 2.3rem;
}
#product .product-header .product-info dl > div ~ div::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    width: 1px;
    height: 60%;
    background-color: #000;
}
#product .product-header .product-info dl dt {
    display: inline;
    font-size: 2rem;
}
#product .product-header .product-info dl dd {
    display: inline-block;
    font-size: 2rem;
    border: 0.5rem solid #bbe7ff;
    padding: 0 0.5rem;
}

@media screen and (max-width: 768px) {
    #product .product-header { display: block; }
    #product .product-header .product-info dl > div ~ div::before { content: none; }
}



#product .product-body {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

#product .product-body .product-list-wrap {
    display: flex;
    flex-direction: column;
    width: 28.5rem;
    border: 1px solid #c1c1c1;
}
#product .product-body .product-list-wrap .product-list-header h3 {
    background-color: var(--main-color);
    padding: 2.8rem 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
}

#product .product-body .product-list-wrap .product-list-box {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 66rem;
    overflow: auto;
}
#product .product-body .product-list-wrap .product-list-box .product-item ~ .product-item {
    border-top: 1px solid #c1c1c1;
}

#product .product-body .product-list-wrap .product-list-box .product-item input[type="radio"] + label {
    padding: 2.4rem 1rem;
    font-size: 1.7rem;
    text-align: center;
}

#product .product-body .product-list-wrap .product-list-box .product-item.empty {
    padding: 20rem 1rem;
    font-size: 1.7rem;
    text-align: center;
}

#product .product-body .product-list-wrap .product-top-btn {

}
#product .product-body .product-list-wrap .product-top-btn button.product-list-scroll-top {
    width: 100%;
    height: 5.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #FFFFFF;
    background-color: var(--main-color);
}
#product .product-body .product-list-wrap .product-top-btn button.product-list-scroll-top img {
    display: inline-block;
    vertical-align: middle;
    font-size: inherit;
    margin-right: .3em;
}



#product .product-body .product-img-wrap {
    width: calc(100% - 28.5rem);
}
#product .product-body .product-img-wrap .product-description {
    margin: 0 0 3.5rem;
    border-bottom: 1px solid #dbdbdb; 
    padding:0 0 1rem;
}
#product .product-body .product-img-wrap .product-description > div {
    display: inline-block;
    font-weight: 700;
    color: #222222;
    font-size: 2rem;
    margin: 2.8rem 1.5rem 1.5rem 0;
}
#product .product-body .product-img-wrap .product-description p {
    color: #222222;
    font-size: 2rem;
    line-height: 3rem;
    display: inline-block;
    border: 0.5rem solid #bbe7ff;
    padding: 0 0.5rem;
}
#product .product-body .product-img-wrap .product-option {
    margin: 3.5rem 0;
}
#product .product-body .product-img-wrap .product-option li {
    margin: 1rem 0;
}
#product .product-body .product-img-wrap .product-option li div {
    display: inline-block;
    font-weight: 600;
    color: #222222;
    font-size: 1.9rem;
    margin: 0 1.5rem 0 0;
}
#product .product-body .product-img-wrap .product-option li p {
    color: #222222;
    font-size: 1.9rem;
    line-height: 3rem;
    display: inline-block;
    border: 0.5rem solid #bbe7ff;
    padding: 0 0.5rem;
}

#product .product-body .product-img-wrap ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem 0;
    margin-left: -2rem;
}
#product .product-body .product-img-wrap ul > li {
    width: calc(100% / 3 - 2rem);
    margin-left: 2rem;
}
#product .product-body .product-img-wrap ul > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    background-color: #f6f6f6;
    cursor: default;
}
#product .product-body .product-img-wrap ul > li > a:has(img) {
    background-color: transparent;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #product .product-body .product-img-wrap ul > li {
        width: calc(100% / 2 - 2rem);
    }
}

@media screen and (max-width: 540px) {
    #product .product-body .product-img-wrap {
        max-height: 80rem;
        overflow: auto;
    }
    #product .product-body .product-img-wrap ul > li {
        width: 100%;
    }
}



#product .qty-input-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8.5rem;
    gap: 1rem;
}

#product .qty-input-wrap .input-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 1rem 2rem;
}
#product .qty-input-wrap .input-wrap input[type="text"] {
    width: auto;
    text-align: right;
}

#product .qty-input-wrap label {
    flex-shrink: 0;
    font-size: 1.8rem;
}

#product .qty-input-wrap .btn-wrap {
    display: flex;
    gap: 1rem;
}
#product .qty-input-wrap .btn-wrap button.submit-btn {
    color: #FFFFFF;
    background-color: #484d54;
}
#product .qty-input-wrap .btn-wrap a {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5.5rem;
    color: #FFFFFF;
    background-color: var(--main-color);
}
#product .qty-input-wrap .btn-wrap a img {
    width: 70%;
}

@media screen and (max-width: 540px) {
    #product .qty-input-wrap {
        flex-wrap: wrap;
    }

    #product .qty-input-wrap .input-wrap input[type="text"] {
        width: 100%;
    }

    #product .qty-input-wrap .btn-wrap {
        width: 100%;
    }

    #product .qty-input-wrap .btn-wrap button {
        width: 100%;
    }
}



/* cart */
#cart {

}

#cart h2.section-title {
    padding: 1rem 0;
    margin-bottom: 2rem;
    background-color: var(--main-color);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

#cart table thead th {
    padding: 1rem;
    border: 1px solid #4e4e4e;
    background-color: #5d5d5d;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
}

#cart table tbody td {
    padding: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid #dbdbdb;
}

#cart table tbody td.cart-empty {
    padding: 8rem 2rem;
    border: 1px solid #dbdbdb;
}

#cart .btn-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 2rem;
}

#cart .btn-wrap button.submit-btn {
    background-color: var(--main-color);
    color: #FFFFFF;
}