input {
    margin: 0;
    padding: 0;
    border: none;
}

.product-wrap {
    padding: 80px 128px 50px;
    display: flex;
    justify-content: space-between;
}

.product-wrap .image {
    width: 485px;
    height: 320px;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    box-sizing: border-box;
}

.product-wrap .image img {
    vertical-align: middle;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-wrap .text {
    width: 495px;
    padding-left: 18px;
    padding-top: 20px;
}

.product-wrap .text small {
    padding-left: 18px;
    font-size: 20px;
}

.product-wrap .text h3 {
    margin-top: 8px;
    padding-left: 18px;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-wrap .text em {
    padding-left: 18px;
    font-style: normal;
    font-size: 22px;
    font-weight: 600;
}

.product-wrap .text .ship {
    margin-top: 28px;
    background: #F4F4F4;
    padding: 9px 18px;
}

.product-wrap .text .ship p {
    font-size: 14px;
    font-weight: 400;
}

.product-wrap .text .ship p span {
    font-weight: 600;
}

.product-wrap .text .total-info {
    padding-left: 18px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-wrap .text .total-info strong {}

.product-wrap .text .total-info .quantity-box {
    display: flex;
    width: 158px;
    height: 28px;
}

.product-wrap .text .total-info input {
    margin: 0;
    padding: 0;
    outline: none;
    background: #fff;
    border: 1px solid #D6D6D6;
    text-align: center;
    font-size: 25px;
}

.product-wrap .text .total-info input[type=text] {
    width: 60%;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
}

.product-wrap .text .total-info input[type=button] {
    width: 20%;
    font-size: 20px;
    color: #DF3232;
}


.product-wrap .text .total-price {
    margin-top: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.product-wrap .text .total-price div {
    font-size: 18px;
}

.product-wrap .text .total-price div.price {
    font-size: 30px;
}

.order-button {

    display: flex;
    justify-content: center;
    align-items: center;
}

.order-button .jjim {
    width: 60px;
    height: 60px;
    border: #eeeeee 3px solid;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-button .jjim img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.order-button a {
    font-size: 18px;
    width: 250px;
    height: 65px;
    color: white;
    background: #DF3232;
    text-align: center;
    line-height: 65px;
}

.order-button a:nth-of-type(1) {
    background: #003D91;
    margin: 0 10px;
}

/*---- 관련상품 ----*/


.relative {
    padding-top: 50px;
}

.relative .relative-wrap {
    padding: 50px;
    border-top: #3D3D3D 3px dotted;
    border-bottom: #3D3D3D 3px dotted;
    position: relative;
}

.relative .relative-wrap h2 {
    text-align: center;
}

.relative .relative-wrap .relativeSliderCon {
    position: relative;
}

.relative .relative-wrap ul {
    /*border: 1px solid #142fdc;*/

}

.relative .relative-wrap ul li {
    text-align: center;
    width: 170px;
    border: 1px solid #d3d3d3;
    padding: 10px 0;
    margin: 15px;
    overflow: hidden;
}

.relative .relative-wrap ul li div {

    width: 150px;
    /*border: 1px solid #142fdc;*/
    margin: 0 auto;
    overflow: hidden;
}

.relative .relative-wrap ul li div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

.relative .relative-wrap ul li em {
    display: block;
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.relative .relative-wrap ul li span {
}

.relative .relative-wrap .relativeSliderCon .btn {

}

.relative .relative-wrap .btn div {
    position: absolute;
    top: 0;
    text-align: center;
    line-height: 250px;
    /*top:50%;*/
    /*transform: translateY(-50%);*/
    background: white;
    font-size: 60px;
    width: 90px;
    height: 250px;
    color: #D8D8D8;

}

.relative .relative-wrap .btn div.left {
    left: 0;
}

.relative .relative-wrap .btn div.right {
    left: 100%;
    transform: translateX(-100%);
}

.relative .relative-wrap .btn div.right i {
    transform: translateX(-30px);
}

.detail-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    /*border: 1px solid blue;*/
}

.detail-menu a {
    font-size: 18px;
    text-align: center;
    padding: 15px 0;
    width: 200px;
    box-sizing: border-box;
    display: inline-block;

}

.review .detail-menu a:first-child,
.goods-detail .detail-menu a:nth-child(2),
.delivery .detail-menu a:last-child {
    font-weight: 600;
    color: #DF3232;
    border-bottom: #DF3232 5px solid;
}


/*---------리뷰---------*/


.review {
    height: 400px;
    border-bottom: #3D3D3D 3px dotted;
}

.review .review-table {
    width: 80%;
    margin: 20px auto;
}

thead {
    display: none;
}

tr, td {
    padding: 10px;
    border: 1px solid #eee;
}

td.star {
    text-align: center;
}

td.title {
    font-weight: 600;
}

tr.review-contents {
    transition: 0.5s;
    height: 120px;
    visibility: hidden;
    display: none;
    opacity: 0;
}

tr.review-contents.show {
    visibility: visible;
    display: contents;
    opacity: 1;
}

tr.review-contents td {
    padding: 30px;
}


/*---------디테일----------*/
.detail-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1280px;
}

.detail-image img {

}

.delivery {
    padding: 10px;
    border-top: #3D3D3D 3px dotted;
}


@media (max-width: 768px) {
    /*  모바일  */
    section.inner {
        width: 100%;
        padding: 0;
    }

    .inner {
        padding: 0;
    }

    .product-wrap {
        padding: 0;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .product-wrap .image {
        width: 100%;
        height: 200px;
        border-radius: 0;
    }

    .product-wrap .text {
        margin-top: 15px;
        width: 90%;
        padding: 0 18px;

    }

    .product-wrap .text small {
        font-size: 18px;
    }
    .product-wrap .text h3 {
        font-size: 22px;
    }
    .product-wrap .text .ship {
        padding: 9px 15px;
        margin-top: 15px;
    }
    .product-wrap .text .ship p {
        font-size: 12px;
        font-weight: 400;
    }
    .product-wrap .text .total-info {

    }
    .product-wrap .text .total-info .quantity-box {
        width: 100px;
    }
    .order-button {
        padding: 0 15px;
        margin-top: 15px;
    }

    .order-button a {
        height: 60px;
    }


    /*---- 관련상품 ----*/
    .relative .relative-wrap {
        padding: 40px;
    }


    .relative .relative-wrap .btn div {
        width: 70px;
        background: none;
    }

    /*---------리뷰---------*/
    .review .review-table {
        width: 90%;
        margin: 20px auto;
    }
    tr, td {
        /*padding: 10px;*/
    }
    tr td:nth-child(3) {
        padding: 0 15px;
        white-space: nowrap;
    }

    td.star{
       display: none;
    }
    td.title {
        font-size: 18px;
    }
    tr.review-contents {
        transition: 0.5s;
        height: 100px;
        visibility: hidden;
        display: none;
        opacity: 0;
    }


    /*---------디테일----------*/
    .detail-image {
        width: 100%;
    }

    .detail-image img {
        width: 100%;
    }
}

