.ep-home-paths a::before,
.ep-home-product-list .ep-home-product-row::before {
    display: none !important;
    content: none !important;
}

.ep-home-paths a {
    padding-left: 20px !important;
}

.ep-home-product-list .ep-home-product-row {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 86px !important;
    grid-template-areas: "body action" !important;
    align-items: start !important;
    gap: 0 18px !important;
    min-height: 142px !important;
    padding: 20px 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid rgba(205, 226, 238, .82) !important;
    border-radius: 0 !important;
    transform: none !important;
}

.ep-home-product-list .ep-home-product-row:first-child {
    border-top-color: transparent !important;
}

.ep-home-product-list .ep-home-product-logo {
    grid-area: body !important;
    align-self: start !important;
    justify-self: start !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 5px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 24px rgba(10, 42, 61, .08) !important;
    z-index: 2 !important;
}

.ep-home-product-list .ep-home-product-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.ep-home-product-list .ep-home-product-body {
    grid-area: body !important;
    align-self: start !important;
    display: grid !important;
    gap: 8px !important;
    min-width: 0 !important;
    padding: 0 4px 0 54px !important;
}

.ep-home-product-list .ep-home-product-body h3 {
    display: flex !important;
    align-items: center !important;
    min-height: 42px !important;
    margin: 0 0 2px 0 !important;
    max-width: 100% !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
}

.ep-home-product-list .ep-home-product-body h3 a {
    display: -webkit-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.ep-home-product-list .ep-home-product-body p {
    display: -webkit-box !important;
    overflow: hidden !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    color: #6b7d94 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    text-overflow: ellipsis !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.ep-home-product-list .ep-home-product-specs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 2px !important;
}

.ep-home-product-list .ep-home-product-specs span {
    min-width: 0 !important;
    height: auto !important;
    min-height: 50px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
}

.ep-home-product-list .ep-home-product-specs b {
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.ep-home-product-list .ep-home-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-height: 24px !important;
    margin-top: 0 !important;
}

.ep-home-product-list .ep-home-row-link {
    grid-area: action !important;
    position: static !important;
    align-self: center !important;
    justify-self: end !important;
    width: 78px !important;
    min-width: 78px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    z-index: 1 !important;
}

.ep-show-card .neirong img,
.ep-product-shell .neirong img,
.ep-page-card .neirong img,
.ep-product-content img,
.neirong img {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 1280px) {
    .ep-home-product-list .ep-home-product-row {
        grid-template-columns: minmax(0, 1fr) 78px !important;
        gap: 0 14px !important;
    }

    .ep-home-product-list .ep-home-product-body h3 {
        font-size: 17px !important;
    }
}

@media (max-width: 980px) {
    .ep-home-product-list .ep-home-product-row {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "body"
            "action" !important;
        gap: 8px !important;
        min-height: 0 !important;
        padding: 16px 0 !important;
    }

    .ep-home-product-list .ep-home-row-link {
        align-self: start !important;
        justify-self: start !important;
        width: auto !important;
        min-width: 68px !important;
        height: 34px !important;
        min-height: 34px !important;
    }
}

@media (max-width: 620px) {
    .ep-home-paths a {
        padding-left: 14px !important;
    }

    .ep-home-product-list .ep-home-product-logo {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 4px !important;
        border-radius: 10px !important;
    }

    .ep-home-product-list .ep-home-product-body {
        gap: 5px !important;
        padding-left: 46px !important;
    }

    .ep-home-product-list .ep-home-product-body h3 {
        min-height: 36px !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    .ep-home-product-list .ep-home-product-body p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        -webkit-line-clamp: 2 !important;
    }

    .ep-home-product-list .ep-home-product-specs {
        display: none !important;
    }

    .ep-home-product-list .ep-home-tags {
        gap: 5px !important;
    }

    .ep-home-product-list .ep-home-tags span {
        max-width: 86px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }
}

.ep-tag-hero .ep-cat-copy p {
    max-width: 760px;
}

.ep-tag-card .el-card__body {
    padding: 18px 20px 22px;
}

.ep-tag-featured,
.ep-tag-cloud {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ep-tag-featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.ep-tag-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(207, 224, 235, .82);
}

.ep-tag-section-title strong {
    color: #061b35;
    font-size: 17px;
    font-weight: 900;
}

.ep-tag-section-title span {
    color: #75879c;
    font-size: 13px;
}

.ep-tag-featured a,
.ep-tag-cloud a,
.ep-tag-related a,
.ep-tag-side-links a {
    display: flex;
    min-width: 0;
    border: 1px solid rgba(178, 213, 230, .86);
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,251,253,.92));
    color: #09233f;
    text-decoration: none;
    transition: border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.ep-tag-featured a,
.ep-tag-cloud a {
    min-height: 74px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 13px 15px;
    border-radius: 16px;
}

.ep-tag-featured a {
    min-height: 54px;
    align-items: center;
    padding: 0 13px;
    border-color: rgba(83, 193, 202, .46);
    background: linear-gradient(180deg, rgba(235, 252, 252, .96), rgba(250, 254, 255, .96));
    color: #067783;
    font-size: 14px;
    font-weight: 900;
}

.ep-tag-cloud a strong {
    display: block;
    overflow: hidden;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ep-tag-cloud a span {
    display: block;
    overflow: hidden;
    color: #6f8198;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ep-tag-featured a:hover,
.ep-tag-featured a:focus-visible,
.ep-tag-cloud a:hover,
.ep-tag-cloud a:focus-visible,
.ep-tag-related a:hover,
.ep-tag-related a:focus-visible,
.ep-tag-side-links a:hover,
.ep-tag-side-links a:focus-visible,
.ep-tag-related a.is-active {
    border-color: rgba(14, 143, 158, .55);
    color: #057682;
    box-shadow: 0 14px 30px rgba(12, 63, 88, .08);
    transform: translateY(-1px);
}

.ep-tag-related {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ep-tag-related a {
    align-items: center;
    min-height: 34px;
    max-width: 180px;
    padding: 0 12px;
    border-radius: 999px;
    color: #526981;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ep-tag-intro {
    margin-top: 14px;
}

.ep-tag-result {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    min-height: 112px !important;
}

.ep-tag-result .ep-thumb {
    width: 58px !important;
    height: 58px !important;
    border-radius: 14px !important;
}

.ep-tag-result .ep-list-action {
    margin-top: 10px;
}

.ep-tag-side-links {
    display: grid;
    gap: 8px;
}

.ep-tag-side-links a {
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    color: #36506a;
    font-size: 13px;
    font-weight: 800;
}

.ep-tag-side-links a::after {
    content: "→";
    color: #0b8d99;
}

.ep-tag-pages {
    margin-top: 18px;
}

@media (max-width: 980px) {
    .ep-tag-featured,
    .ep-tag-cloud {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ep-tag-result {
        grid-template-columns: 58px minmax(0, 1fr) !important;
    }
}

@media (max-width: 620px) {
    .ep-tag-card .el-card__body {
        padding: 12px;
    }

    .ep-tag-featured,
    .ep-tag-cloud {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ep-tag-featured a,
    .ep-tag-cloud a {
        min-height: 56px;
        padding: 10px 12px;
        border-radius: 13px;
    }

    .ep-tag-cloud a strong {
        font-size: 14px;
    }

    .ep-tag-section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .ep-tag-related {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .ep-tag-related a {
        flex: 0 0 auto;
    }

    .ep-tag-result {
        grid-template-columns: 42px minmax(0, 1fr) !important;
        gap: 10px !important;
        min-height: 0 !important;
    }

    .ep-tag-result .ep-thumb {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }
}
