/* DIYCSS
   ========================================================================== */
/**
 * 1. 如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 * 2. 如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 *    如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 */

:root {
    --mall-bg: #f3f6fb;
    --mall-surface: #ffffff;
    --mall-surface-2: #f8fafc;
    --mall-text: #132238;
    --mall-muted: #5f6f86;
    --mall-line: #dbe4ef;
    --mall-accent: #ff8a1f;
    --mall-accent-2: #ffb14a;
    --mall-accent-dark: #cf6a11;
    --mall-navy: #19324d;
    --mall-shadow: 0 18px 50px rgba(17, 38, 68, 0.08);
    --mall-radius: 22px;
}

body {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f6fb 18%, #eef3f8 100%);
    color: var(--mall-text);
    font-family: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.site-content {
    padding-bottom: 32px;
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(219, 228, 239, 0.8);
    box-shadow: 0 10px 35px rgba(14, 30, 56, 0.05);
}

.navbar {
    min-height: 82px;
    flex-wrap: nowrap;
    gap: 12px;
}

.navbar .sep,
.site-header .search-open,
.site-header .search-close {
    display: none;
}

.navbar .main-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.navbar .nav-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.navbar .logo.regular,
.navbar .logo.tap-logo {
    max-height: 42px;
}

.navbar .nav-list > .menu-item {
    margin: 0 2px;
    flex: 0 0 auto;
}

.navbar .nav-list > .menu-item > a {
    border-radius: 999px;
    padding: 10px 12px;
    color: var(--mall-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.24s ease;
}

.navbar .actions {
    flex-grow: 0;
    flex: 0 0 auto;
}

.navbar .nav-list > .menu-item:hover > a,
.navbar .nav-list > .current-menu-item > a,
.navbar .nav-list > .current-menu-parent > a,
.navbar .nav-list > .current_page_item > a {
    background: rgba(25, 50, 77, 0.08);
    color: var(--mall-navy);
}

.main-search .search-form.inline {
    border: 1px solid var(--mall-line);
    border-radius: 999px;
    background: var(--mall-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.main-search .search-field.inline-field {
    color: var(--mall-text);
}

.home-filter--content {
    position: relative;
    margin: 24px auto 14px;
    padding: 34px 0 20px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--mall-shadow);
    background: linear-gradient(135deg, #eef4fb 0%, #ffffff 46%, #fff4df 100%) !important;
}

.home-filter--content:before {
    background:
        radial-gradient(circle at top left, rgba(255, 177, 74, 0.32), transparent 32%),
        radial-gradient(circle at bottom right, rgba(25, 50, 77, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.92));
    opacity: 1;
}

.home-filter--content .focusbox-title {
    color: var(--mall-navy);
    font-size: 42px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    padding-top: 46px;
}

.home-filter--content .focusbox-desc {
    color: var(--mall-muted);
    font-size: 17px;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto 6px;
}

.home-filter--content .form-box {
    margin: 28px auto 72px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(219, 228, 239, 0.92);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 36px rgba(25, 50, 77, 0.08);
}

.home-filter--content .form-box input[type="text"],
.home-filter--content .form-box input[type="search"],
.home-filter--content .form-box .form-control {
    height: 54px;
    border: 1px solid var(--mall-line);
    border-radius: 16px;
    color: var(--mall-text);
    font-size: 15px;
    background: var(--mall-surface);
}

.home-filter--content .btn.btn--block {
    height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mall-accent), var(--mall-accent-2));
    box-shadow: 0 14px 28px rgba(255, 138, 31, 0.28);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-filter--content .btn.btn--block:hover {
    background: linear-gradient(135deg, var(--mall-accent-dark), var(--mall-accent));
    transform: translateY(-1px);
}

.section-title {
    margin-bottom: 26px;
}

.modular-title-2 .section-title:before {
    width: 100%;
    height: 1px;
    top: 53%;
    background: linear-gradient(90deg, transparent 0%, rgba(25, 50, 77, 0.14) 18%, rgba(25, 50, 77, 0.14) 82%, transparent 100%);
}

.modular-title-2 .section-title span {
    padding: 0 22px;
    border-radius: 999px;
    background: var(--mall-bg);
    color: var(--mall-navy);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.post-grid {
    overflow: hidden;
    border: 1px solid rgba(219, 228, 239, 0.95);
    border-radius: var(--mall-radius);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 16px 34px rgba(17, 38, 68, 0.05);
}

.post-grid:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(17, 38, 68, 0.12);
    border-color: rgba(255, 177, 74, 0.38);
}

.post-grid .entry-media,
.post-grid .entry-media .placeholder {
    border-radius: 0;
}

.post-grid .entry-media {
    background: linear-gradient(180deg, #f6f8fb 0%, #edf2f7 100%);
}

.post-grid .entry-media img {
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.post-grid:hover .entry-media img {
    transform: scale(1.045);
}

.post-grid .entry-wrapper {
    padding: 16px 16px 18px;
}

.post-grid .entry-meta {
    margin-bottom: 10px;
}

.post-grid .meta-category a {
    display: inline-flex;
    align-items: center;
    margin: 0 8px 8px 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef4fb;
    color: #35506f;
    font-size: 12px;
    font-weight: 700;
}

.post-grid .meta-category .dot {
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--mall-accent);
}

.post-grid .entry-header .entry-title {
    height: 52px;
    color: var(--mall-text);
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
}

.entry-footer .post-meta-box {
    margin: 16px -16px -18px;
    padding: 14px 16px;
    border-top: 1px solid rgba(219, 228, 239, 0.9);
    background: #fbfcfe;
    color: var(--mall-muted);
}

.entry-footer .post-meta-box .meta-date {
    font-weight: 600;
    color: #47627e;
}

.entry-footer .post-meta-box .meta-views {
    color: #6c7c91;
}

.entry-footer .post-meta-box .meta-price {
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mall-accent), var(--mall-accent-2));
    box-shadow: 0 10px 18px rgba(255, 138, 31, 0.22);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.breadcrumbs {
    margin-bottom: 22px;
    padding: 14px 18px;
    border: 1px solid var(--mall-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--mall-muted);
    box-shadow: 0 10px 24px rgba(17, 38, 68, 0.04);
}

.article-box .content-box {
    padding: 28px;
    border: 1px solid var(--mall-line);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: var(--mall-shadow);
    overflow: hidden;
}

.article-info {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.article-info .thumb,
.article-info .meta {
    width: auto;
    min-width: 0;
}

.article-info .thumb {
    position: relative;
    flex: 0 0 300px;
    width: 300px;
    padding: 12px;
    border: 1px solid var(--mall-line);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 28px rgba(17, 38, 68, 0.06);
    overflow: hidden;
}

.article-info .thumb .iop {
    aspect-ratio: 838 / 746;
    min-height: 0;
    height: auto;
    border-radius: 14px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f7f9fc;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.article-info .meta {
    display: grid;
    flex: 1 1 auto;
    align-content: start;
    gap: 16px;
    padding: 10px 4px 0 0;
    position: relative;
    z-index: 1;
}

.article-info .meta .tagcc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    order: 2;
}

.article-info .meta .tagcc li {
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf3f8;
    color: var(--mall-navy);
    font-size: 12px;
    font-weight: 700;
}

.article-info .works-top {
    margin-bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8dee8;
}

.article-info .works-top h2 {
    color: var(--mall-navy);
    flex: 1 1 auto;
    font-size: clamp(26px, 1.9vw, 30px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    max-width: none;
}

.article-info .works-top .right {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.article-info .works-top .hot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    color: #71839a;
}

.article-info .works-top .hot .num {
    color: #4d6785;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

.article-info .des {
    margin-bottom: 0;
    order: 3;
}

.article-info .des .buy,
.article-info .des .service-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1.65;
    color: #4f6279;
    font-size: 14px;
    font-weight: 600;
}

.article-info .des .buy font,
.article-info .des .service-note font {
    color: var(--mall-accent-dark);
    font-size: 34px;
    font-weight: 900;
}

.article-info .des .buy c,
.article-info .des .service-note c {
    color: var(--mall-accent-dark);
    font-size: 18px;
    font-weight: 700;
}

.article-info .des .buy u,
.article-info .des .service-note u {
    text-decoration: none;
    color: var(--mall-muted);
    font-weight: 700;
}

.article-info .des .Tips {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--mall-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.downinfo.pay-box,
.downinfo.consult-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2px;
    align-items: center;
    order: 4;
}

.downinfo.pay-box .btn,
.downinfo.consult-box .btn {
    min-width: 150px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--mall-line);
    line-height: 38px;
    text-align: center;
    font-weight: 700;
    box-shadow: none;
}

.downinfo.pay-box .btn-buy,
.downinfo.consult-box .btn-consult {
    border: 0;
    background: #67c23a;
    color: #fff;
    box-shadow: none;
}

.downinfo.pay-box .btn-demo,
.downinfo.consult-box .btn-demo {
    background: #fff;
    color: #5a6c82;
}

.downinfo.pay-box .btn:hover,
.downinfo.consult-box .btn:hover {
    transform: translateY(-1px);
}

.article-info .serv {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    order: 5;
    color: #7a8798;
    font-size: 13px;
}

.article-info .serv span {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.article-info .serv li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.article-info .serv i {
    color: #5d86d6;
}

.shengming {
    margin-top: 0;
    display: block;
    order: 6;
}

.shengming p {
    margin: 0;
    padding: 10px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9aa6b5;
    line-height: 1.7;
    font-size: 12px;
}

.article-content,
.related-posts-grid,
.sidebar-column .widget-area > *,
.content-column .content-area > * {
    border-radius: 24px;
}

.content-column .content-area > .article-content {
    padding: 24px;
    border: 1px solid var(--mall-line);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: var(--mall-shadow);
}

.content-column .content-area > .article-content > .entry-wrapper {
    width: 100%;
    max-width: none;
}

.tabtst {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid var(--mall-line);
    border-radius: 16px;
    background: var(--mall-surface);
}

.tabtst ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tabtst li {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4fb;
    color: var(--mall-navy);
    font-weight: 700;
}

.entry-tags {
    margin-top: 12px;
}

.article-content .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px 0;
    border-radius: 18px;
}

.entry-tags a {
    display: inline-flex;
    align-items: center;
    margin: 0 8px 8px 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4fb;
    color: #45627f;
    font-size: 13px;
    font-weight: 700;
}

.article-copyright {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid var(--mall-line);
    border-radius: 20px;
    background: #f7faff;
    color: var(--mall-muted);
    line-height: 1.9;
}

.article-footer .author-box {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid var(--mall-line);
    border-radius: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-box .author-image {
    width: 56px;
    height: 56px;
    border: 0;
    flex: 0 0 56px;
    background: linear-gradient(135deg, #edf3f8, #ffffff);
    box-shadow: inset 0 0 0 1px rgba(219, 228, 239, 0.9);
}

.author-box .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, #edf3f8, #ffffff);
}

.author-box .author-info {
    margin-left: 0;
}

.author-box .author-name {
    margin-bottom: 0;
}

.author-box .author-name a {
    color: var(--mall-navy);
    font-weight: 800;
}

.related-posts-grid {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--mall-line);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: var(--mall-shadow);
}

.related-posts-grid .u-border-title,
.related-posts-grid h4 {
    color: var(--mall-navy);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
}

.term-bar {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #edf4fb 0%, #ffffff 55%, #fff4df 100%);
    box-shadow: var(--mall-shadow);
}

.term-bar:before {
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
}

.term-bar .term-title {
    color: var(--mall-navy);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.filter--content,
.article-content,
.widget--content,
.site-footer .site-info {
    color: var(--mall-muted);
}

.site-footer {
    border-top: 1px solid var(--mall-line);
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.site-footer .site-info {
    border-top: 1px solid rgba(219, 228, 239, 0.9);
}

@media (max-width: 991px) {
    .home-filter--content {
        margin: 16px 0 6px;
        border-radius: 22px;
    }

    .home-filter--content .focusbox-title {
        font-size: 32px;
        padding-top: 30px;
    }

    .home-filter--content .focusbox-desc {
        font-size: 15px;
        padding: 0 18px;
    }

    .home-filter--content .form-box {
        margin-left: 16px;
        margin-right: 16px;
        margin-bottom: 36px;
    }

    .article-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-info .thumb {
        flex: none;
        width: auto;
    }

    .article-info .meta {
        padding-left: 0;
    }

    .article-info .thumb .iop {
        aspect-ratio: 16 / 10;
        min-height: 260px;
    }

    .article-info .works-top h2 {
        font-size: 28px;
        max-width: none;
    }

    .article-info .works-top {
        display: grid;
        justify-content: stretch;
    }

    .article-info .works-top .right {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .site-header {
        backdrop-filter: none;
    }

    .home-filter--content .focusbox-title {
        font-size: 28px;
    }

    .modular-title-2 .section-title span {
        font-size: 18px;
    }

    .post-grid {
        border-radius: 18px;
    }

    .post-grid .entry-wrapper {
        padding: 14px 14px 16px;
    }

    .entry-footer .post-meta-box {
        margin-left: -14px;
        margin-right: -14px;
        margin-bottom: -16px;
    }

    .article-box .content-box,
    .related-posts-grid {
        padding: 16px;
        border-radius: 20px;
    }

    .article-info .works-top h2 {
        font-size: 24px;
    }

    .downinfo.pay-box .btn,
    .downinfo.consult-box .btn {
        width: 100%;
    }

    .article-info .serv {
        gap: 10px;
    }

    .article-info .serv span {
        display: grid;
        gap: 8px;
    }

    .content-column .content-area > .article-content {
        padding: 18px;
    }
}

/* Mall-style sidebar, related cards, and stronger product badges */
.posts-wrapper .post-grid,
.related-posts-grid .post {
    position: relative;
}

.posts-wrapper .post-grid .entry-wrapper {
    position: relative;
    padding-top: 18px;
}

.posts-wrapper .post-grid .entry-footer .post-meta-box {
    position: relative;
    padding-right: 94px;
}

.posts-wrapper .post-grid .entry-footer .meta-price {
    position: absolute;
    top: -194px;
    right: 2px;
    z-index: 4;
    min-width: 76px;
    padding: 10px 12px;
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(255, 138, 31, 0.28);
}

.posts-wrapper .post-grid .entry-footer .meta-price i {
    opacity: 0.9;
}

.posts-wrapper .post-grid .entry-media .placeholder:after {
    content: "源码展示";
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(19, 34, 56, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.posts-wrapper .post-grid .entry-media .placeholder {
    position: relative;
}

.related-posts-grid {
    overflow: hidden;
}

.related-posts-grid .row {
    margin-left: -10px;
    margin-right: -10px;
}

.related-posts-grid [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.related-posts-grid .post {
    height: 100%;
    border: 1px solid rgba(219, 228, 239, 0.95);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 14px 28px rgba(17, 38, 68, 0.05);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.related-posts-grid .post:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(17, 38, 68, 0.1);
    border-color: rgba(255, 177, 74, 0.42);
}

.related-posts-grid .entry-media,
.related-posts-grid .entry-media .placeholder {
    border-radius: 0;
}

.related-posts-grid .entry-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-posts-grid .entry-media .placeholder {
    position: relative;
    background: linear-gradient(180deg, #f6f8fb 0%, #edf2f7 100%);
}

.related-posts-grid .entry-media .placeholder:after {
    content: "相关推荐";
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--mall-navy);
    font-size: 11px;
    font-weight: 800;
}

.related-posts-grid .entry-wrapper {
    padding: 14px 14px 18px;
}

.related-posts-grid .entry-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 48px;
    color: var(--mall-text);
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
}

.related-posts-grid .entry-title a {
    color: inherit;
}

.sidebar-column .widget-area {
    display: grid;
    gap: 18px;
}

.sidebar-column .widget-area .widget {
    padding: 20px 20px 18px;
    border: 1px solid rgba(219, 228, 239, 0.95);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 14px 30px rgba(17, 38, 68, 0.05);
}

.sidebar-column .widget-area .widget-title {
    margin-bottom: 14px;
    color: var(--mall-navy);
    font-size: 18px;
    font-weight: 800;
}

.sidebar-column .widget_search {
    padding: 16px;
    background: linear-gradient(135deg, #edf4fb 0%, #ffffff 100%);
}

.sidebar-column .widget_search .search-form.inline {
    border: 1px solid var(--mall-line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.sidebar-column .widget_search .search-field {
    height: 50px;
    padding-left: 16px;
    color: var(--mall-text);
}

.sidebar-column .widget_search .search-submit {
    width: 56px;
    color: #fff;
    background: linear-gradient(135deg, var(--mall-accent), var(--mall-accent-2));
}

.sidebar-column .widget_recent_entries ul,
.sidebar-column .widget_categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-column .widget_recent_entries li,
.sidebar-column .widget_categories li {
    margin: 0;
    border-top: 1px dashed rgba(219, 228, 239, 0.95);
}

.sidebar-column .widget_recent_entries li:first-child,
.sidebar-column .widget_categories li:first-child {
    border-top: 0;
}

.sidebar-column .widget_recent_entries li a,
.sidebar-column .widget_categories li a {
    display: block;
    padding: 12px 0;
    color: #46617d;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar-column .widget_recent_entries li a:hover,
.sidebar-column .widget_categories li a:hover {
    color: var(--mall-accent-dark);
    transform: translateX(4px);
}

.sidebar-column .widget_categories li {
    display: flex;
    align-items: center;
}

.sidebar-column .widget_categories li:before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mall-accent), var(--mall-accent-2));
}

@media (max-width: 991px) {
    .posts-wrapper .post-grid .entry-footer .meta-price {
        top: -174px;
    }

    .sidebar-column .widget-area {
        margin-top: 18px;
    }
}

@media (max-width: 575px) {
    .posts-wrapper .post-grid .entry-footer .post-meta-box {
        padding-right: 82px;
    }

    .posts-wrapper .post-grid .entry-footer .meta-price {
        top: -158px;
        min-width: 68px;
        padding: 8px 10px;
        border-radius: 14px;
        font-size: 12px;
    }

    .posts-wrapper .post-grid .entry-media .placeholder:after,
    .related-posts-grid .entry-media .placeholder:after {
        left: 10px;
        top: 10px;
        font-size: 10px;
    }

    .sidebar-column .widget-area .widget,
    .related-posts-grid .post {
        border-radius: 18px;
    }
}

/* yyl-logo-readability:start */
.site-header .logo-wrapper a {
    display: flex;
    align-items: center;
}

.navbar .logo.regular,
.navbar .logo.tap-logo {
    max-width: 190px;
    max-height: 52px;
}

.off-canvas .logo.regular {
    max-width: 180px;
    max-height: 52px;
}

.footer--logo .tap-logo {
    max-width: 260px;
    height: auto;
}

@media (max-width: 575px) {
    .navbar {
        min-height: 72px;
    }

    .navbar .logo.regular,
    .navbar .logo.tap-logo {
        max-width: 148px;
        max-height: 44px;
    }

    .off-canvas .logo.regular {
        max-width: 150px;
        max-height: 44px;
    }
}
/* yyl-logo-readability:end */

/* yyl-product-price:start */
.post-meta-box .yyl-card-price span {
    color: #e6531f;
    font-weight: 800;
    letter-spacing: 0;
}

.post-meta-box .yyl-card-price .fa,
.yyl-related-price .fa {
    margin-right: 3px;
}

.yyl-detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 12px 0 14px;
    padding: 12px 16px;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    background: #fff7ed;
    color: #9a3412;
}

.yyl-detail-price .label {
    font-size: 13px;
    font-weight: 700;
}

.yyl-detail-price .amount {
    color: #e6531f;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.yyl-detail-price .note {
    color: #8a5a44;
    font-size: 12px;
}

.yyl-related-price {
    margin-top: 7px;
    color: #e6531f;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 575px) {
    .yyl-detail-price {
        flex-wrap: wrap;
        gap: 6px 10px;
        padding: 10px 12px;
    }

    .yyl-detail-price .amount {
        font-size: 24px;
    }
}
/* yyl-product-price:end */

/* yyl-consult:start */
.rollbar .tap-qq {
    display: none;
}

.yyl-consult-float {
    position: fixed;
    right: 72px;
    bottom: 96px;
    z-index: 999;
    width: 128px;
    overflow: hidden;
    border: 1px solid rgba(20, 50, 70, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

.yyl-consult-float-title {
    padding: 9px 10px;
    background: #143246;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.yyl-consult-float a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 10px;
    border-bottom: 1px solid #eef2f7;
    color: #253447;
    font-size: 13px;
    line-height: 1.2;
}

.yyl-consult-float a:last-child {
    border-bottom: 0;
}

.yyl-consult-float a:hover {
    background: #f7fbff;
    color: #e6531f;
}

.yyl-consult-float .fa {
    width: 15px;
    color: #0e9488;
    text-align: center;
}

.yyl-detail-consult-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 14px;
}

.yyl-detail-consult-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    font-weight: 800;
}

.yyl-detail-consult-actions .yyl-consult-primary {
    background: #e6531f;
    border-color: #e6531f;
    color: #ffffff;
}

.yyl-detail-consult-actions .yyl-consult-secondary {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #143246;
}

.yyl-consult-examples {
    margin: 18px 0 22px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
}

.yyl-consult-examples-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.yyl-consult-examples-head h3 {
    margin: 0;
    color: #143246;
    font-size: 18px;
    font-weight: 900;
}

.yyl-consult-examples-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.yyl-consult-examples-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.yyl-consult-examples article {
    min-height: 132px;
    padding: 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #f8fafc;
}

.yyl-consult-examples article span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e6fffb;
    color: #0e9488;
    font-size: 12px;
    font-weight: 800;
}

.yyl-consult-examples article strong {
    display: block;
    margin-bottom: 7px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.45;
}

.yyl-consult-examples article p {
    margin: 0;
    color: #5b6676;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .yyl-consult-examples-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .yyl-consult-float {
        right: 12px;
        bottom: 78px;
        width: 112px;
    }

    .yyl-consult-float-title {
        display: none;
    }

    .yyl-consult-float a {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 12px;
    }

    .yyl-detail-consult-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .yyl-consult-examples {
        padding: 14px;
    }

    .yyl-consult-examples-head {
        display: block;
    }

    .yyl-consult-examples-head p {
        margin-top: 6px;
    }

    .yyl-consult-examples-grid {
        grid-template-columns: 1fr;
    }
}
/* yyl-consult:end */
