@charset "UTF-8";

@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-image-box {
        margin-top: 1.125rem;
        margin-left: .5rem;
        margin-right: .5rem
    }

        .category-image-box .title {
            color: #fff;
            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;
            line-height: 2rem;
            letter-spacing: normal;
            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
            }

    .carousel .round button, .carousel .strip button {
        width: 1rem;
        border-radius: .15625rem;
        background: linear-gradient(0deg,#d8d8d8,#d8d8d8),rgba(255,255,255,.5)
    }

    .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
                    }

    .breadcrumb {
        display: none
    }

    .carousel {
        margin: .8125rem .5rem auto;
        position: relative
    }

        .carousel > .carousel-inner {
            width: 100%;
            border-radius: .625rem;
            overflow: hidden;
            background-color: #000
        }

            .carousel > .carousel-inner > .carousel-item {
                display: none;
                width: 100%;
                aspect-ratio: 412/200
            }

                .carousel > .carousel-inner > .carousel-item a {
                    display: flex;
                    width: 100%;
                    height: 100%;
                    justify-content: center;
                    align-items: center
                }

                    .carousel > .carousel-inner > .carousel-item a img {
                        max-width: 100%;
                        max-height: 100%
                    }

                .carousel > .carousel-inner > .carousel-item.active {
                    display: block
                }

        .carousel > .carousel-control {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: .8125rem;
            gap: .1875rem
        }

        .carousel .strip button {
            height: .3125rem
        }

            .carousel .strip button.active {
                background: #023cb9;
                width: 1.5rem;
                height: .3125rem
            }

        .carousel .round button {
            height: .3125rem
        }

            .carousel .round button.active {
                background: #023cb9
            }

    .category-box-product {
        margin: .5rem .5rem 0;
        display: flex;
        flex-direction: column;
        gap: .9375rem
    }

        .category-box-product .item {
            width: auto;
            height: auto;
            aspect-ratio: 412/495
        }

            .category-box-product .item .info {
                grid-template-areas: "product-no" "product-name-box" "price" "product-rating" "des" "buttons"
            }

    .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
    }

        .search-container form {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center
        }

            .search-container form .search-input {
                flex: 1;
                padding: .625rem;
                border: none;
                outline: 0;
                font-size: 1rem;
                color: #fff;
                margin-left: .6875rem
            }

                .search-container form .search-input::placeholder {
                    color: rgba(255,255,255,.5)
                }

            .search-container form .search-button {
                background-color: transparent;
                border: none;
                width: 1.5rem;
                height: 1.5rem;
                margin: auto .75rem auto auto
            }

                .search-container form .search-button img {
                    width: 1.5rem;
                    height: 1.5rem
                }
}

@media screen and (min-width:768px) and (min-width:1525px) {
    .category-box-product {
        width: 92.8125rem
    }
}

@media screen and (min-width:768px) and (max-width:1524px) {
    .category-box-product {
        width: 69.375rem
    }
}

@media screen and (min-width:768px) and (max-width:1149px) {
    .category-box-product {
        width: 45.9375rem
    }
}

@media screen and (min-width:768px) and (max-width:774px) {
    .category-box-product {
        width: 22.5rem
    }
}

@media screen and (min-width:768px) {
    .container {
        background-color: #000;
        position: relative;
        min-height: 80vh;
        padding: .625rem 0 1.25rem
    }

    .breadcrumb, .category-box {
        margin: 0 2.1875rem
    }

    .carousel {
        position: relative;
        overflow: hidden;
        scroll-behavior: smooth;
        background-color: rgba(200,182,182,.6);
        margin-top: .9375rem
    }

        .carousel .carousel-inner {
            position: relative;
            z-index: 3
        }

            .carousel .carousel-inner .carousel-item {
                display: none
            }

                .carousel .carousel-inner .carousel-item a {
                    display: block;
                    width: 100%
                }

                    .carousel .carousel-inner .carousel-item a img {
                        display: block;
                        width: 100%;
                        height: 100%
                    }

            .carousel .carousel-inner .active {
                display: block
            }

        .carousel .carousel-control {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 3;
            pointer-events: none
        }

            .carousel .carousel-control button {
                pointer-events: all;
                isolation: isolate;
                width: 3rem;
                height: 3rem;
                border-radius: 1.5rem;
                background-color: rgba(255,255,255,.1);
                position: relative;
                z-index: 10;
                margin: 2rem
            }

                .carousel .carousel-control button:nth-child(1)::after {
                    content: "<";
                    color: #fff
                }

                .carousel .carousel-control button:nth-child(2)::after {
                    content: ">";
                    color: #fff
                }

    .category-box-product {
        margin: .75rem auto 0;
        display: grid;
        grid-template-columns: repeat(auto-fit,22.5rem);
        column-gap: .9375rem;
        row-gap: .9375rem
    }

        .category-box-product .item .info .price del, .search-container {
            display: none
        }

        .category-box-product .item {
            position: relative
        }

            .category-box-product .item .image-box {
                width: 21.875rem;
                height: 21.875rem;
                display: flex;
                justify-content: center;
                align-items: center
            }

                .category-box-product .item .image-box img {
                    max-width: 100%;
                    max-height: 100%
                }

            .category-box-product .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 .item .info .productNo {
                    grid-area: product-no
                }

                .category-box-product .item .info .price {
                    color: #fff;
                    display: flex;
                    justify-content: start;
                    align-items: center
                }

                .category-box-product .item .info .buttons {
                    justify-content: end
                }

                    .category-box-product .item .info .buttons button:last-child {
                        position: absolute;
                        top: 0;
                        right: 0;
                        background: transparent
                    }

                .category-box-product .item .info .des {
                    height: 4rem
                }
}
