@import '@pc/assets/themes/base/mixin.less';

.search-jewelry {
    .app-view__main {
        .app-view__container {
            background-color: transparent;
            padding: 0;
            padding-top: 20px;
        }
    }

    &__goods {
        .list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;

            &-item {
                display: flex;
                flex-direction: column;
                width: 200px;
                background-color: #fff;
                border-radius: 4px;
                overflow: hidden;
                box-shadow: 0px 4px 8px 0px rgba(102, 102, 102, 0.2);
                padding-bottom: 10px;

                &__header {
                    cursor: pointer;
                }

                &__body {
                    flex: 1;
                    cursor: pointer;
                    padding: 10px 15px;

                    .block {
                        margin-top: 6px;

                        &--price {
                            font-size: 16px;
                            font-weight: bold;
                            color: #FD565C;
                        }

                        &--title {
                            display: flex;
                            justify-content: space-between;

                            span {
                                &:first-child {
                                    font-weight: bold;
                                }
                            }
                        }

                        &--desc {
                            color: #999;

                            span {
                                .mixin-text-overflow(2)
                            }
                        }
                    }
                }

                &__footer {
                    padding: 0 15px;
                }
            }
        }
    }

    &__comparebar {
        position: sticky;
        z-index: 1;
        bottom: 35px;
        background-color: #fff;
        border: 1px solid #e4e7e9;
        border-radius: 4px;
        overflow: hidden;
        padding: 20px 0;
        margin-top: 24px;

        .list {
            display: flex;

            &-item {
                display: flex;
                align-items: center;
                border-right: 1px dashed #dbdbdb;
                padding: 0 20px;

                &__index {
                    font-size: 24px;
                    color: #b5b5b5;

                    span {
                        display: inline-block;
                        background-color: #f2f2f2;
                        padding: 6px 12px;
                    }
                }

                &__image {
                    margin: 0 10px;
                }

                &__info {
                    font-size: 12px;

                    span {
                        display: block;
                    }
                }
            }

            &-btnbar {
                margin-left: 20px;

                .btn-clear {
                    display: block;
                    color: #999;
                    text-align: center;
                    cursor: pointer;
                    margin-top: 6px;
                }
            }
        }
    }
}