﻿.TO-SEARCH:hover {
    color: var(--c-accent) !important;
    font-weight:bold !important;
}
.CATE-CLOSE:hover {
    color: hotpink !important;
    font-weight: bold !important;
}

/* Layui 弹层正文本 */
.layui-layer-page .layui-layer-content {
    padding: 10px;
}

/* 模板顶部 */
.rj-container {
    width: var(--container-width);
}

.rj-top-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
    height: var(--header-height);
    display: block;
}
    .rj-top-header .rj-tool-bar {
        width: 100%;
        height: 40px;
        background-color: whitesmoke;
        border-bottom: 1px solid var(--c-border);
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

        .rj-top-header .rj-tool-bar .rj-content {
            width: 100%;
            max-width: var(--container-width);
            display: flex;
            gap: 20px;
            justify-content: space-between;
        }

    .rj-top-header .rj-link-search {
        width: 400px;
    }

    .rj-top-header .rj-menu-bar {
        width: 100%;
        height: calc(100% - 40px);
        background-color: white;
        border-bottom: 1px solid silver;
        display: flex;
        gap: 20px;
        position: relative;
        justify-content: center;
        align-items: center;
    }

        .rj-top-header .rj-menu-bar .rj-content .rj-menu {
            display: flex;
            overflow-wrap: break-word;
            flex-wrap: wrap;
            gap: 20px;
            row-gap: 0px;
            justify-content: left;
            align-items: center;
        }

    .rj-top-header .rj-menu-sub {
        width: 100%;
        background-color: darkslategray;
        color: white;
        border-bottom: 1px solid darkgray;
        display: flex;
        flex-direction: column;
        position: absolute;
        justify-content: start;
        align-items: center;
    }

        .rj-top-header .rj-menu-sub .sub-cate {
            max-height: 70vh;
            overflow-y: auto;
        }

.rj-content {
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    gap: 20px;
    justify-content: left;
    align-items: center;
}

.c2menu {
    display:flex;
    align-items:start;
}

    .c2menu .c2menu-span {
        border-top: 1px solid transparent;
    }

        .c2menu .c2menu-span:hover {
            color: cyan;
            border-top: none;
            cursor: pointer;
            border-bottom: 1px solid cyan;
        }

.c3menu-span {
    border-top: 1px solid transparent;
}

    .c3menu-span:hover {
        color: cyan;
        border-top: none;
        cursor: pointer;
        border-bottom: 1px solid cyan;
    }

/* 模板腰部 */
.rj-body {
    display: block;
    max-width: var(--container-width);
    margin: 0px auto;
    padding: 0px;
    position: relative;
    justify-content: center;
}

/* 模板底部 */
.rj-footer {
    background: var(--c-black);
    color: white;
    padding: 20px 0 0;
    margin-top: 60px;
    font-size: 13px;
    line-height: 1.6;
}

    .rj-footer .rj-footer-container {
        max-width: var(--container-width);
        margin: 0 auto;
    }

    .rj-footer .rj-footer-content {
        max-width: var(--container-width);
        margin: 0 auto;
        padding: 20px 10px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 40px;
    }

    .rj-footer .rj-footer-col {
        flex: 1;
        min-width: 200px;
    }

        .rj-footer .rj-footer-col h3 {
            font-size: 13px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 20px;
            opacity: 0.8;
        }

    .rj-footer .footer-tel {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
    }

    .rj-footer .footer-desc {
        color: whitesmoke;
        line-height: 1.6;
    }

    .rj-footer .footer-links {
        line-height: 2;
    }

        .rj-footer .footer-links a:hover {
            color: #fff;
            text-decoration: underline;
        }

    .rj-footer .rj-footer-bottom {
        border-top: 1px solid dimgray;
        padding: 24px 20px;
        text-align: center;
        font-size: 12px;
        color: silver;
        line-height: 1.6;
        background: var(--c-black);
    }

/* 产品清单 */
.rj-product-container {
    width: 100%;
    display: block;
    text-align: center;
}

    .rj-product-container .rj-title {
        display: block;
        font-weight: bold;
        text-align: left;
        width: 100%;
        max-width: var(--container-width);
        font-size: 20px;
        padding: 10px 0px 20px 10px;
    }

    .rj-product-container .rj-product-list {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: start;
    }

    .rj-product-container .rj-product-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
        cursor: pointer;
        transition: transform 0.3s;
        text-decoration: none;
        color: inherit;
        width: 300px;
        background-color: white;
        border-radius: 15px;
        border: 1px solid whitesmoke;
        padding: 10px;
        box-shadow: 2px 2px 10px rgb(0 0 0 / 5%);
    }

.rj-link-menu::after {
    content: "";
    position: absolute;
    left: 0px;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var( --c-accent);
    transition: width 0.3s;
}

.rj-product-container .rj-product-card:hover {
    transform: translateY(-6px);
}

.rj-product-container .rj-product-card::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 10px;
    width: 0;
    height: 2px;
    background: var( --c-accent);
    transition: width 0.3s;
}

.rj-product-container .rj-product-card:hover::after {
    width: calc(100% - 30px);
}

.rj-product-card .p-thumb {
    background: #f4f4f5;
    aspect-ratio: 1;
    width: 100%;
    overflow: auto;
    position: relative;
}

    .rj-product-card .p-thumb img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
    }

.rj-product-card  .p-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

/* 颜色小清单 */
.rj-product-card .p-colors {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

    .rj-product-card .p-colors .p-color-chip {
        width: 10px;
        height: 10px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

.rj-product-card .p-info {
    padding-top:5px;
    border-top:1px solid whitesmoke;
}

.rj-product-card .p-title {
    padding-left: 15px;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    color: var(--c-text);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    display:flex;
    justify-content:space-between;
}

.rj-product-card .p-price-row {
    display: flex;
    padding: 5px 10px;
    justify-content: space-between;
    align-items: center;
}

.rj-product-card .p-price {
    padding-left: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-price);
}

.rj-product-card .p-meta {
    font-size: 14px;
    color: #999;
}

/* 自适应 手机界面 调整样式 */
.rj-mobile-menu, .rj-mobile-menu-mask, .rj-mobile-menu-content {
    display: none;
}

@media (max-width: 800px) {

    /* rj-header */
    .rj-link-search {
        display: none;
    }
    .rj-link-search2 {
        display:flex;
        flex:1;
        margin-right:30px;
    }

    /* 右侧菜单 */
    .rj-mobile-menu {
        display: block;
        visibility: visible;
        z-index: 99999997;
        position: fixed;
        top: 5px;
        right: 5px;
    }

    .rj-mobile-menu-mask {
        display: none;
        z-index: 99999998;
        position: fixed;
        top: 0px;
        right: 0px;
        width: 100%;
        height: 100%;
        background-color: var(--c-black);
        opacity: 0.5;
    }

    .rj-mobile-menu-content {
        display: none;
        z-index: 99999999;
        position: fixed;
        width: 50%;
        height: 100%;
        background-color: white;
        box-shadow: -2px 0px #ccc;
        opacity: 1;
        top: 0px;
        right: 0px;
    }

    .rj-link-menu.mobile-menu {
        display: none;
    }

    .rj-menu-bar .rj-menu {
        display: none !important;
    }
}

.-error-msg- {
    color: red;
    background-color: lightyellow;
    border-bottom: 1px solid var(--c-border);
    font-weight: bold;
    padding: 10px;
    text-align: center;
}