section.products {
    padding: 5rem 0;
    height: 100%;
}

section.products .grid-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
}

section.products .brief {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

section.products .brief .arrow-icon {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.25);
}

section.products .brief span.home a {
    color: rgba(0, 0, 0, 0.4);
}

section.products .brief span a {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.7);
}

section.products h1.product-name {
    margin-bottom: 1.25rem;
}

section.products .img-wrap {
    position: relative;
}

section.products .img-wrap .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
}

section.products .img-wrap:hover>.overlay {
    background-color: rgba(0, 0, 0, 0.05);
}

section.products .img-wrap img {
    width: 100%;
}

section.products .card {
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%);
    cursor: pointer;
}

section.products .product-title {
    padding: 1rem 1.25rem;
    box-sizing: border-box;
}

section.products .card .line {
    background-color: rgb(0 0 0 / 5%);
    height: 1px;
    width: 100%;
}

section.products .bottom-wrap {
    padding: 1rem 1.25rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

section.products .bottom-wrap .btn-cart {
    background-color: #000;
    padding: 0.625rem 1rem;
    color: #fff;
    font-size: .875em;
    white-space: nowrap;
}


/* section.product-detail */

section.product-detail {
    padding: 7.5rem 0 5rem;
}


/* section.product-detail .container {
  box-sizing: border-box;
} */

section.product-detail .brief {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.9375rem;
}

section.product-detail .brief .arrow-icon {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.25);
}

section.product-detail .brief span.home a {
    color: rgba(0, 0, 0, 0.4);
}

section.product-detail .brief span a {
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.875rem;
}

section.product-detail .brief span a.active {
    color: rgba(0, 0, 0, 0.7);
    cursor: text;
}

section.product-detail .product-wrap {
    margin: -0.625rem;
    display: grid;
    grid-template-columns: 66.6% 33.3%;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

section.product-detail .product-wrap .detail-wrap {
    padding: 0.625rem;
    width: 100%;
    box-sizing: border-box;
}

section.product-detail .product-wrap .detail-wrap .img-wrap img {
    display: block;
    margin: 0 auto;
    width: 450px;
}

section.product-detail .product-wrap .info-wrap {
    padding: 0.625rem 0;
}

section.product-detail .product-wrap .info-wrap .detail-title {
    font-size: 32px;
    padding: 0.625rem 0;
}

section.product-detail .product-wrap .info-wrap .line {
    width: 100%;
    height: 1px;
    background-color: #D0D3D4;
    margin: 1em 0;
}

section.product-detail .product-wrap .info-wrap .detail-content {
    white-space: pre-line;
}

section.product-detail .product-wrap .info-wrap .detail-content p {
    font-size: 16px;
    color: #111111;
}

section.product-detail .product-wrap .info-wrap .detail-content p a {
  word-break: break-all;
}

section.product-detail .product-wrap .info-wrap .detail-content p.bold {
    font-weight: 700;
}

section.product-detail .product-wrap .info-wrap .detail-content p.detail-content--text {
    white-space: pre-line;
}

section.product-detail .product-wrap .info-wrap .detail-content p.detail-content--text .link-text {
    color: #3C97EF;
}

section.product-detail .product-wrap .form-wrap .enter-price {
    font-size: 14px;
    color: #666666;
    margin: 0 0 0.5rem;
}

section.product-detail .product-wrap .form-wrap {
    padding: 0.625rem;
    width: 100%;
    box-sizing: border-box;
}

section.product-detail .product-wrap .form-wrap form {
    display: block;
    width: 100%;
    padding-bottom: 20px;
}

section.product-detail .product-wrap .form-wrap form input,
section.product-detail .product-wrap .form-wrap form button {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

section.product-detail .product-wrap .form-wrap .form-row {
    position: relative;
    margin-bottom: 1.25rem;
}

section.product-detail .product-wrap .form-wrap .form-row .dollor {
    font-weight: 700;
    position: absolute;
    left: 0.75rem;
    padding: 20px 0;
    top: 0;
    font-size: 18px;
}

section.product-detail .product-wrap .form-wrap form input,
section.product-detail .product-wrap .form-wrap form select {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.25rem 0.9375rem!important;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 0 0 1px #D0D3D4 inset!important;
    border: none;
    width: 100%;
}

section.product-detail .product-wrap .form-wrap form select {
    font-weight: 400;
    text-align: center;
    font-size: 14px;
    border-radius: 0;
    /* 아이폰 사파리 보더 없애기 */
    -webkit-appearance: none;
    /* 화살표 없애기 for chrome*/
    -moz-appearance: none;
    /* 화살표 없애기 for firefox*/
    appearance: none;
    /* 화살표 없애기 공통*/
    color: black;
}

section.product-detail .product-wrap .form-wrap form select::-ms-expand {
    display: none/* 화살표 없애기 for IE10, 11*/
}

section.product-detail .product-wrap .form-wrap form input::placeholder {
    color: #D0D3D4;
    font-weight: 500;
}

section.product-detail .product-wrap .form-wrap form input:focus,
section.product-detail .product-wrap .form-wrap form select:focus {
    outline: 2px;
}

section.product-detail .product-wrap .form-wrap form button {
    font-size: 16px;
    color: #fff;
    background-color: #111111;
    padding: 20px 0;
    border: none;
    cursor: pointer;
}

section.product-detail .product-wrap .form-wrap .starting-price {
    font-size: 14px;
    text-align: center;
    margin-bottom: 6px;
    color: #666666;
}

section.product-detail .product-wrap .form-wrap h4.price {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

section.product-detail .product-wrap .form-wrap .line {
    width: 100%;
    height: 1px;
    background-color: #D0D3D4;
    opacity: .6;
}

section.product-detail .product-wrap .form-wrap .shipping {
    font-size: 14px;
    color: #111111;
    text-align: center;
    padding: 20px 0;
    opacity: .7;
}

.detail-footer {
    position: initial;
}


/* checkout.html */

section.checkout {
    padding: 2.5rem 0 6.25rem;
}

section.checkout .checkout-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section.checkout .checkout-top .btn-home {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    display: block;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px var(--title-color);
    color: #111111;
    opacity: .8;
    border: 1px solid #111111;
}

section.checkout .checkout-top .btn-home:hover {
    opacity: 1;
}

section.checkout .checkout-top .checkout-title {
    font-size: 34px;
    color: #111111;
}

section.checkout .checkout-wrap {
    display: grid;
    grid-template-columns: 70% 30%;
    box-sizing: border-box;
}

section.checkout .checkout-wrap .cart-table .table-head,
section.checkout .checkout-wrap .cart-table .table-body .table-row {
    display: grid;
    grid-template-columns: 1fr 16.66666% 16.66666%;
}

section.checkout .checkout-wrap .cart-table .table-head {
    padding-bottom: 18px;
}

section.checkout .checkout-wrap .cart-table .table-body .table-row input {
    width: 2.375rem;
    padding: 0.3125rem!important;
    font-size: .75rem;
    box-sizing: border-box;
}


/* 검색 결과 */

.search-title {
    font-size: 34px;
    font-weight: normal;
    padding-top: 40px;
    margin-bottom: 40px;
}

.search-guide span {
    font-size: 24px;
}

@media all and (max-width: 768px) {
    section.products .grid-wrap {
        grid-template-columns: auto;
    }
    section.products .card {
        max-width: 380px;
        margin: 0 auto;
    }
    section.products .brief {
        display: none;
    }
    section.product-detail .product-wrap {
        grid-template-columns: auto;
    }
    section.product-detail .product-wrap .detail-wrap .img-wrap img {
        width: 100%;
    }

    section.product-detail .brief {
      gap: 0;
    }
}