/* 产品展示 */
.ggh-product-products .container .row .col {
    padding: 0;
}

.ggh-product-products .container .row .col-directory {
    width: 230px;
}

.ggh-product-products .container .row .col-directory .left-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
}

.ggh-product-products .container .row .col-directory .left-wrap .directory {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e3e3e3;
    /* border-bottom: none; */
}

.ggh-product-products .container .row .col-directory .left-wrap .directory .top-title {
    width: 100%;
    height: 48px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.ggh-product-products .container .row .col-directory .left-wrap .directory .directory-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dropdown-item.active {
    background-color: var(--main-color);
}

.ggh-product-products .container .row .col-directory .left-wrap .directory .directory-item:hover {
    color: var(--main-color);
}

.ggh-product-products .container .row .col-directory .left-wrap .directory .directory-item .item-content {
    flex: 1;
    margin: 0 20px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e3e3e3;
}

.ggh-product-products .container .row .col-directory .left-wrap .directory .directory-item .item-content.active {
    color: var(--main-color);
}

.ggh-product-products .container .row .col-directory .left-wrap .directory .directory-item .item-content .iconfont {
    font-size: 14px;
}

.ggh-product-products .container .row .col-directory .left-wrap .contacts {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e3e3e3;
    margin-top: 20px;
}

.ggh-product-products .container .row .col-directory .left-wrap .contacts .top-title {
    width: 100%;
    height: 44px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.ggh-product-products .container .row .col-directory .left-wrap .contacts .content-wrap {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggh-product-products .container .row .col-directory .left-wrap .contacts .content-wrap .contacts-content {
    flex: 1;
    margin: 0 20px;
    padding: 10px 0;
}

.ggh-product-products .container .row .col-directory .left-wrap .contacts .image-wrap {
    width: 100%;
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
}

.ggh-product-products .container .row .col-directory .left-wrap .contacts .image-wrap .image {
    flex: 1;
    margin: 10px 10px;
}


.ggh-product-products .container .row .col-content .container .row .top-title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    height: 48px;

}

.ggh-product-products .container .row .col-content {
    flex: 1;
    margin-left: 15px;
}

#ggh-products-content-wrap {
    display: flex;
    flex-wrap: wrap;
}

#product-content-item {
    cursor: pointer;
    display: flex;
    justify-content: center;
}

#product-content-item .image-wrap {
    display: flex;
    width: auto;
    justify-content: center;
    position: relative;
}

#product-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 666;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

#product-content-item:hover #product-name {
    background-color: var(--main-color);
    color: white;
}

/* 调节container的尺寸 */

@media screen and (max-width: 576px) {
    #product-content-item .image-wrap img {
        width: 100%;
        height: auto;
    }

    #product-name {
        height: 40px;
    }

    .ggh-product-products .container .row .col-content {
        flex: 1;
        margin-left: 0px;
    }

    #product-content-item .image-wrap {
        width: 100%;
    }
}

@media screen and (min-width: 576px) {
    #product-content-item .image-wrap img {
        width: 100%;
        height: auto;
    }

    #product-name {
        height: 40px;
    }

    .ggh-product-products .container .row .col-content {
        flex: 1;
        margin-left: 0px;
    }

    #product-content-item .image-wrap {
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    #product-content-item .image-wrap img {
        width: 340px;
        height: 227px;
    }

    #product-name {
        height: 40px;
    }

    .ggh-product-products .container .row .col-content {
        flex: 1;
        margin-left: 0px;
    }

    #product-content-item .image-wrap {
        width: 340px;
        height: 227px;
    }
}

@media screen and (min-width: 992px) {
    #product-content-item .image-wrap img {
        width: 230px;
        height: 153px;
    }

    #product-name {
        height: 40px;
    }

    .ggh-product-products .container .row .col-content {
        flex: 1;
        margin-left: 15px;
    }

    #product-content-item .image-wrap {
        width: 230px;
        height: 153px;
    }
}


@media screen and (min-width: 1200px) {
    #product-content-item .image-wrap img {
        width: 296px;
        height: 197px;
    }

    #product-name {
        height: 44px;
    }

    .ggh-product-products .container .row .col-content {
        flex: 1;
        margin-left: 15px;
    }

    #product-content-item .image-wrap {
        width: 296px;
        height: 197px;
    }

}


/* 产品-model框 */
.modal.show .modal-dialog {
    display: flex;
    justify-content: center;
}

.ggh-productinfo-model .modal-dialog .modal-content {
    width: 750px;
    height: 330px;
    border-radius: 0px;
    border: none;
}

.ggh-productinfo-model-body {
    width: 560px;
    height: 230px;
    padding: 3px 3px;
}

.ggh-productinfo-model-body .content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.ggh-productinfo-model-body .content .product-image {
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ggh-productinfo-model-body .content .product-image img {
    width: 300px;
    height: 100%;
}

.ggh-productinfo-model-body .content .product-desc {
    /* overflow: scroll; */
    flex: 1;
    height: 100%;
    overflow-y: scroll;
}

.ggh-productinfo-model-body .content .product-desc p {
    word-break: break-all;
    margin-left: 15px;
    margin-top: 10px;
    margin-right: 10px;
    text-indent: 2em;
}

.ggh-productinfo-model-body .content .iconfont.website_base_product_details_close {
    position: absolute;
    top: -30px;
    right: -20px;
    color: white;
    font-size: 20px !important;
    z-index: 99;
    cursor: pointer;
}

@media screen and (max-width: 576px) {
    .ggh-productinfo-model .modal-dialog .modal-content {
        width: 300px;
        height: 110px;

    }

    .ggh-productinfo-model-body {
        width: 300px;
        height: 110px;
    }

    .ggh-productinfo-model-body .content .product-image img {
        width: 170px;
    }
}

@media screen and (min-width: 576px) {
    .ggh-productinfo-model .modal-dialog .modal-content {
        width: 450px;
        height: 160px;

    }

    .ggh-productinfo-model-body {
        width: 450px;
        height: 160px;
    }

    .ggh-productinfo-model-body .content .product-image img {
        width: 300px;
    }
}

@media screen and (min-width: 768px) {
    #product-name {
        font-size: 12px;
    }

    .ggh-productinfo-model .modal-dialog .modal-content {
        width: 600px;
        height: 230px;

    }

    .ggh-productinfo-model-body {
        width: 600px;
        height: 230px;
    }

    .ggh-productinfo-model-body .content .product-image img {
        width: 350px;
    }
}

@media screen and (min-width: 992px) {
    .ggh-productinfo-model .modal-dialog .modal-content {
        width: 750px;
        height: 330px;

    }

    .ggh-productinfo-model-body {
        width: 750px;
        height: 330px;
    }

    .ggh-productinfo-model-body .content .product-image img {
        width: 450px;
    }
}


.about-contact-phones span {
    word-break: break-all;
}