body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

main {
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background-image: url(../images/index/shop_bg.png);
    background-size: 2%;
}
.contents {
    max-width: 1054px;
    width: 90%;
    margin: 0 auto !important;
    display: flex;
    justify-content: space-between;
    align-items: flex-start !important;
}

.slider {
    width: 40%;
}

.txt_wrap {
    width: 55%;
}

h2 {
    font-weight: 500;
    font-size: clamp(18px,2vw,26px);
}

.category {
    color: #9e9e9f;
    font-size: clamp(15px,1.6vw,19px);
    margin-top: 5px;
}

.detail_container {
    border-top: 0.5px solid #595757;
    padding-top: 20px;
    margin-top: 10px;
}

.detail_container figure {
    font-size: clamp(14px,1.5vw,16px);
}

.detail_container table {
    width: 100%;
    margin-bottom: 30px;
}

.detail_container tr td {
    padding: 5px 0;
}

.detail_container tr td:nth-child(1) {
    width: 6em;
}

.detail_container p {
    line-height: 1.8;
    font-size: clamp(14px,1.5vw,16px);
}


.back_btn {
    max-width: 280px;
    width: 80%;
    margin: 50px auto 0;
    position: relative;
    text-decoration: none;
    text-align: center;
    background: transparent;
    border-radius: 25px;
    outline: none;
    transition: all 0.4s ease;
    padding: 0;
    cursor: pointer;
}

.back_btn a {
    display: block;
    width: 100%;
}

.back_btn a span {
    display: block;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
    color: #5b3e30;
    background-color: #fff;
    border: 2px solid #c47b76;
    border-radius: 30px;
    padding: 13px 10px 15px;
    font-size: 18px;
    font-weight: bold;
}

.back_btn a span::after {
    position: absolute;
    translate: 0 -50%;
    top: 50%;
    right: 8%;
    content: '\0232A';
    color: #c47b76;
}

.back_btn a:before {
    content:"";
    position: absolute;
    top:4px;
    left:0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background-color: #c47b76;
}

.back_btn a span.active {
    display: block;
}

.back_btn a:hover {
    opacity: 1;
}

.back_btn a:hover span {
    transform: translateY(4px);
}

@media screen and (max-width:730px) {

    main {
        padding: 40px 0 50px;
    }

    .contents {
        flex-direction: column;
        gap: 10px 0;
    }

    .slider {
        width: 100%;
    }

    .txt_wrap {
        width: 100%;
    }

    .back_btn {
        margin-top: 40px;
    }
}

