@charset "UTF-8";

:root {
    --phone-conver-image-height: 560;
    --phone-conver-image-width: 376;
    --pc-conver-image-height: 991;
    --pc-conver-image-width: 370
}

@media screen and (max-width:768px) {
    .category-image-box .body .product-box a h1 > img, .category-image-box .title a {
        width: 1.25rem;
        height: 1.25rem
    }

    .category-box-product .title-box .title, .category-box-product .title-box a, .category-image-box .title {
        font-family: "Noto Sans SC", "SF Pro Text", "Myriad Set Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Icons", "Apple Legacy Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
        font-size: 1.5rem;
        font-weight: 400;
        letter-spacing: normal;
        color: #fff
    }

    .category-image-box {
        margin-top: 1.125rem;
        margin-left: .5rem;
        margin-right: .5rem
    }

        .category-image-box .title {
            line-height: 2rem;
            height: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center
        }

            .category-image-box .title a {
                display: block;
                background-image: url(../images/more-icon.png);
                background-size: 1.25rem 1.25rem;
                background-position: center center;
                background-repeat: no-repeat
            }

        .category-image-box .body {
            background-color: #000;
            border-bottom-left-radius: .5rem;
            border-bottom-right-radius: .5rem;
            padding-bottom: .5rem;
            position: relative
        }

            .category-image-box .body .image-box {
                background-color: #000;
                height: 18.75rem;
                border-bottom-left-radius: 1.25rem;
                border-bottom-right-radius: 1.25rem;
                margin-top: .5rem
            }

                .category-image-box .body .image-box img {
                    width: 100%;
                    aspect-ratio: 412/300
                }

                .category-image-box .body .image-box div {
                    display: none;
                    width: 100%;
                    aspect-ratio: 412/300
                }

                .category-image-box .body .image-box .active {
                    display: block
                }

            .category-image-box .body .product-box {
                display: flex;
                gap: .5rem;
                flex-direction: row;
                justify-content: center;
                align-items: center
            }

                .category-image-box .body .product-box a {
                    display: block;
                    width: calc(50vw - 1rem);
                    aspect-ratio: 1/1;
                    position: relative
                }

                    .category-image-box .body .product-box a > img {
                        width: calc(50vw - 1rem);
                        aspect-ratio: 1/1;
                        position: absolute
                    }

                    .category-image-box .body .product-box a h1 {
                        display: flex;
                        justify-content: start;
                        align-items: center;
                        background-color: rgba(0,0,0,.6);
                        height: 3.125rem;
                        line-height: .3125rem;
                        color: #fff;
                        position: absolute;
                        left: 0;
                        bottom: 0;
                        right: 0;
                        padding-left: 1.25rem;
                        padding-right: 1.25rem;
                        gap: .625rem
                    }

                        .category-image-box .body .product-box a h1 title {
                            flex: 1;
                            display: block;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            line-height: 2rem;
                            max-width: 9.375rem
                        }

    .category-box-product {
        margin: .5rem .5rem 0
    }

        .category-box-product .title-box {
            height: 4rem;
            display: flex;
            align-items: center
        }

            .category-box-product .title-box .title {
                flex: 1
            }

        .category-box-product .list-box {
            display: flex;
            gap: .75rem;
            flex-direction: column
        }

            .category-box-product .list-box .left, .category-box-product .list-box .left .big-card {
                width: 100%;
                height: auto
            }

                .category-box-product .list-box .left .big-card .title {
                    display: none
                }

                .category-box-product .list-box .left .big-card .image-box {
                    width: 100%
                }

                    .category-box-product .list-box .left .big-card .image-box a {
                        display: none;
                        width: 100%;
                        height: 100%
                    }

                        .category-box-product .list-box .left .big-card .image-box a img {
                            display: block;
                            width: 100%;
                            height: 100%
                        }

                        .category-box-product .list-box .left .big-card .image-box a.active {
                            display: block
                        }

            .category-box-product .list-box .right {
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: .9375rem
            }

                .category-box-product .list-box .right .item {
                    width: 100%;
                    height: auto;
                    aspect-ratio: 412/495
                }

                    .category-box-product .list-box .right .item .info {
                        grid-template-areas: "product-no" "product-name-box" "price" "product-rating" "des" "buttons"
                    }

                    .category-box-product .list-box .right .item:nth-child(n+3), .category-box-product .list-box .right .item:nth-child(n+6) {
                        display: none
                    }

        .category-box-product a.go-to-detail {
            display: block;
            width: 66.666%;
            padding: .625rem 0;
            font-size: .875rem;
            color: #fff;
            background-color: #444;
            border-radius: 624.9375rem;
            text-decoration: none;
            border: .0625rem solid #666;
            text-align: center;
            transition: background-color .2s,transform .1s;
            margin: 1.25rem auto
        }

            .category-box-product a.go-to-detail:focus, .category-box-product a.go-to-detail:hover {
                background-color: #666
            }

            .category-box-product a.go-to-detail:active {
                transform: scale(.95)
            }

    .container .search-container {
        height: 2.5rem;
        border-radius: .625rem;
        background: linear-gradient(180deg,rgba(255,255,255,.2) 0,rgba(255,255,255,0) 114%);
        position: relative;
        margin: 1.75rem .5rem auto
    }

        .container .search-container form {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center
        }

            .container .search-container form .search-input {
                flex: 1;
                padding: .625rem;
                border: none;
                outline: 0;
                font-size: 1rem;
                color: #fff;
                margin-left: .6875rem
            }

                .container .search-container form .search-input::placeholder {
                    color: rgba(255,255,255,.5)
                }

            .container .search-container form .search-button {
                background-color: transparent;
                border: none;
                width: 1.5rem;
                height: 1.5rem;
                margin: auto .75rem auto auto
            }

                .container .search-container form .search-button img {
                    width: 1.5rem;
                    height: 1.5rem
                }
}

@media screen and (min-width:768px) and (min-width:1907px) {
    .category-box-product {
        width: 116.6875rem
    }
}

@media screen and (min-width:768px) and (max-width:1906px) {
    .category-box-product {
        width: 93.25rem
    }
}

@media screen and (min-width:768px) and (max-width:1531px) {
    .category-box-product {
        width: 69.8125rem
    }
}

@media screen and (min-width:768px) and (max-width:1156px) {
    .category-box-product {
        width: 46.375rem
    }
}

@media screen and (min-width:768px) {
    .container {
        background-color: #000;
        position: relative;
        padding: .0625rem 0 1.25rem
    }

        .container .search-container {
            display: none
        }

    .category-box {
        margin: 0 2.1875rem
    }

    .category-box-product {
        margin: .0625rem auto 0
    }

        .category-box-product .title-box .title, .category-box-product .title-box a {
            font-family: "Noto Sans SC", "SF Pro Text", "Myriad Set Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Icons", "Apple Legacy Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
            font-size: 1.5rem;
            font-weight: 400;
            letter-spacing: normal;
            color: #fff
        }

        .category-box-product .title-box {
            height: 1.875rem;
            display: flex;
            align-items: center
        }

            .category-box-product .title-box .title {
                flex: 1;
                visibility: hidden
            }

        .category-box-product .list-box {
            display: flex;
            gap: .75rem
        }

            .category-box-product .list-box .left {
                background-color: #2c2c2c;
                width: 23.125rem;
                border-radius: .625rem;
                overflow: hidden
            }

                .category-box-product .list-box .left .big-card {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center
                }

                    .category-box-product .list-box .left .big-card .title {
                        color: #fff;
                        /*background-color: #2c2c2c;*/
                        width: 100%;
                        height: 6.25rem;
                        overflow: hidden;
                        display: flex;
                        font-size: 1.25rem;
                        font-weight: bolder;
                        cursor: pointer;
                        justify-content: center;
                        align-items: center
                    }

                    .category-box-product .list-box .left .big-card .image-box {
                        width: 100%;
                        aspect-ratio: var(--pc-conver-image-width)/var(--pc-conver-image-height);
                        cursor: pointer
                    }

                        .category-box-product .list-box .left .big-card .image-box a {
                            display: none;
                            width: 100%;
                            height: 100%
                        }

                            .category-box-product .list-box .left .big-card .image-box a img {
                                width: 100%;
                                height: 100%
                            }

                            .category-box-product .list-box .left .big-card .image-box a.active {
                                display: block
                            }

            .category-box-product .go-to-detail, .category-box-product .list-box .right .item .info .price del {
                display: none
            }

            .category-box-product .list-box .right {
                flex: 1;
                display: grid;
                grid-template-columns: repeat(auto-fit,22.5rem);
                grid-template-rows: repeat(2,33.625rem);
                max-width: 116.6875rem;
                column-gap: .9375rem;
                row-gap: .9375rem;
                overflow: hidden;
                height: 68.1875rem
            }

                .category-box-product .list-box .right .item {
                    position: relative
                }

                    .category-box-product .list-box .right .item .image-box {
                        height: 20.875rem;
                        aspect-ratio: unset
                    }

                        .category-box-product .list-box .right .item .image-box img {
                            width: 21.875rem;
                            height: 21.875rem
                        }

                    .category-box-product .list-box .right .item .info {
                        grid-template-columns: 6.25rem 1fr 7.5rem;
                        grid-template-areas: "product-no product-no product-no" "product-name-box product-name-box product-name-box" "des des des" "price product-rating buttons"
                    }

                        .category-box-product .list-box .right .item .info .price {
                            color: #fff;
                            display: flex;
                            justify-content: start;
                            align-items: center
                        }

                        .category-box-product .list-box .right .item .info .buttons {
                            justify-content: end
                        }

                            .category-box-product .list-box .right .item .info .buttons button:last-child {
                                position: absolute;
                                top: 0;
                                right: 0;
                                background: transparent
                            }

                        .category-box-product .list-box .right .item .info .des {
                            height: 4rem
                        }
}
