/* 
	Theme Name: Moka
	Theme URL: http://www.mobantu.com
	Description: WordPress极简自动发卡主题，需安装erphpdown插件
	Author: 模板兔
	Author URI: http://www.mobantu.com
	Version: 2.0
*/
@charset "UTF-8";

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

html {
    font-size: 75.0%;
}

html, body {
    min-height: 100%;
}

body {
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    color: #333;
}

/* 链接样式 */
a {
    color: #4285F4;
    text-decoration: none;
}

a:hover {
    color: #3367d6;
    text-decoration: none;
}

a:focus, a:visited, a:active {
    text-decoration: none;
    outline: 0;
}

/* 按钮基础样式 */
.btn:active, .btn:focus {
    outline: 0;
}

/* 表单元素 */
input, button, textarea, select {
    font-size: 100%;
    font-family: inherit;
}

/* 列表样式 */
ol, ul {
    list-style: none;
}

/* 表格样式 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 上下标 */
sup, sub {
    font-size: 100%;
    vertical-align: baseline;
}

/* 文本装饰 */
ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

/* 引用样式 */
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none;
}

/* 图片样式 */
img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    border: 0;
}

/* 清除浮动 */
.clearfix:after {
    content: "";
    height: 0;
    clear: both;
    display: block;
    visibility: hidden;
}

.clearfix {}

/* 链接状态 */
:link, :visited {
    text-decoration: none;
}

:focus {
    outline: 0;
}

/* 主体样式 */
body {
    font-size: 14px;
    margin: 98px 0 0;
    color: #333;
    background: #f8f9fa;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: #2c2c2c;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.header .logo {
    float: left;
    height: 68px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.2;
}

.header .nav {
    list-style: none;
    height: 68px;
    float: right;
    margin-right: 20px;
}

.header .nav > li {
    list-style: none;
    float: left;
    margin: 0 20px;
}

.header .nav > li > a {
    line-height: 68px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.header .nav > li.current-menu-item a {
    color: #fff;
    font-weight: 500;
}

.header .nav > li.current-menu-item a:after {
    content: "";
    background: #fff;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
}

.header .nav > li > a:hover {
    color: #fff;
}

.header .nav .sub-menu {
    display: none;
}

/* 移动端菜单按钮 */
.header .menu-button {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: 58px;
    height: 58px;
    text-align: center;
    cursor: pointer;
}

.header .nav-bar {
    text-align: center;
    position: absolute;
    z-index: 1000;
    padding: 19.5px 20px;
}

.header .nav-bar span {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 18px;
    height: 1px;
    margin-bottom: 6px;
    position: relative;
    background: #fff;
    border-radius: 2px;
    z-index: 1;
    transform-origin: 20px;
    transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.header .nav-bar-active span {
    opacity: 1;
    transform: rotate(41deg);
}

.header .nav-bar-active span:nth-last-child(2) {
    opacity: 0;
}

.header .nav-bar-active span:nth-last-child(3) {
    opacity: 1;
    transform: rotate(-41deg);
}


/* 主要内容区域 */
.main-content {
    padding: 40px 0;
}

/* 产品列表区域 */
.products-section {
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #4285F4;
    margin: 10px auto 0;
    border-radius: 2px;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.product-item {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 20px;
    transition: box-shadow 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex-shrink: 0;
    width: 300px;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #4285F4;
}

.product-details {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.product-price-stock {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-price,
.product-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.price-label,
.stock-label {
    color: #666;
    font-weight: normal;
}

.price-value {
    color: #e74c3c;
    font-weight: 600;
    font-size: 16px;
}

.stock-value {
    color: #666;
    font-weight: normal;
}

.buy-button {
    display: inline-block;
    padding: 10px 25px;
    background: #FFB800;
    color: white;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.buy-button:hover {
    background: #e6a600;
}

/* 步骤说明区域 */
.steps-section {
    margin-bottom: 60px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.steps-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: nowrap;
}

.step-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #4285F4;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 文章教程区域 */
.articles-section {
    margin-bottom: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.articles-column {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.articles-column-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4285F4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.articles-more-link {
    font-size: 14px;
    font-weight: normal;
    color: #4285F4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.articles-more-link:hover {
    color: #3367d6;
    text-decoration: underline;
}

.article-item {
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: #4285F4;
}

.article-date {
    font-size: 14px;
    color: #999;
    display: block;
}

.pagination{margin:0 0 30px;padding:0 10px;text-align:center;font-size:14px !important;display:block;border-radius:0}
.pagination ul{display:inline-block !important;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;padding:0}
.pagination ul > li{display:inline}
.pagination ul > li > a,.pagination ul > li > span{margin:0 5px !important;float:left;padding:9px 13px !important;background-color:#fff;color:#666;border-radius:3px !important;opacity:.88}
.pagination ul > li > a:hover,.pagination ul > li > a:focus{opacity:1}
.pagination ul > .active > a,.pagination ul > .active > span{background-color:#249ffd !important;color:#fff}
.pagination ul > .active > a,.pagination ul > .active > span{cursor:default}
.pagination ul > li > span,.pagination ul > .disabled > span,.pagination ul > .disabled > a,.pagination ul > .disabled > a:hover,.pagination ul > .disabled > a:focus{color:#999;background-color:transparent;cursor:default}

.moka-error{text-align: center;margin-bottom: 20px;color: #ff0000;font-size: 16px;}

.content-title{text-align: center;font-size: 2em;margin: .67em 0;}
.content-subtitle{text-align: center;margin-bottom: 30px;letter-spacing: .0625rem;text-shadow: 0.0625rem 0.0625rem 0.0625rem hsla(0, 0%, 50.2%, .2);color: #249ffd;font-size: 16px;}

.content-side{float: right;width: 300px;background: #fff;padding:25px;border-radius: 8px;box-shadow: 0.5rem 0.875rem 2.375rem rgba(39, 44, 49, .06), 0.0625rem 0.1875rem 0.5rem rgba(39, 44, 49, .03);margin-left: 20px;position: relative;}
.content-side .h2-title{position: absolute;left: 25px;top: -18px;background: #393d49;color: #fff;padding: 10px 20px; font-weight: 700;border-radius: 8px;display: inline-block;font-size: 17px;}
.content-side ul li{line-height:40px;height:40px;padding-left:15px;align-items:center;position:relative;list-style:none;counter-increment:mycounter;font-size:15px;overflow: hidden;-o-text-overflow: ellipsis;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical; word-break: break-all;}
.content-side ul li:before{content: "";position: absolute;left: 0;top: 18px;width: 5px;height: 5px;border-radius: 50%;background: #249ffd}
.content-post-con{float: left;width: calc(100% - 320px);}

.content-post{margin:0 auto 40px;position: relative;background: #fff;border-radius: 8px;padding:50px 25px 40px;box-shadow: 0.5rem 0.875rem 2.375rem rgba(39, 44, 49, .06), 0.0625rem 0.1875rem 0.5rem rgba(39, 44, 49, .03);}
.content-post-single{padding:50px 25px 30px 320px;}
.content-post-single .content-post-thumbnail{position: absolute;left: 25px;top: 50px;width: 270px;height: 270px;object-fit: contain;}
.content-post h1{text-align: center;font-size: 24px;font-weight: normal;margin:0 0 40px;}
.content-post .description{font-size:16px;line-height:1.7;word-wrap:break-word;overflow:hidden;}
.content-post .description p,.content-post .description h1,.content-post .description h2,.content-post .description h3,.content-post .description h4,.content-post .description h5,.content-post .description h6,.content-post .description p,.content-post .description ul,.content-post .description ol,.content-post .description table,.content-post .description pre,.content-post .description blockquote,.content-post .description .wp-caption{margin:0 0 20px}
.content-post .description a{color:#2962ff;}
.content-post .description img{max-width:100%;height:auto}
.content-post .description h2{border-left: 5px solid #a41437;padding-left: 15px;font-size: 19px;line-height: 1;}
.content-post .description h3{border-left: 5px solid #249ffd;padding-left: 15px;font-size: 17px;line-height: 1;}
.content-post .description .aligncenter{margin:0 auto;text-align:center;display:block}
.content-post .description .aligncenter img{margin:0 auto;display:block}
.content-post .description .erphpdown{display: none;}

.content-post .item{font-size: 16px;margin-bottom: 20px;}
.content-post .item .pri{color: #ff5f33;font-size: 24px;}
.content-post .item .payment{margin-top: 15px;display: inline-block;}
.content-post .item .payment .erphpdown-jump3{margin-right: 11px;background: #f8f8f8;border: 2px solid #f6f6f6;line-height: 35px;width: 120px;text-align: center;border-radius: 4px;display: inline-block;position: relative;cursor: pointer;color: #070707;}
.content-post .item .payment .erphpdown-jump3.active{border-color: #249ffd;color: #249ffd;}
.content-post .item .payment .erphpdown-jump3.active .yes{position: absolute;right: -2px;bottom: -1px;border-radius: 0 0 4px 0;}
.content-post .item2{border-top: 1px dashed #eaeaea;padding-top: 15px;}
.content-post .item #erphp_faka_email{border: 2px solid #f0f0f0;padding: 10px 15px;border-radius: 4px;max-width: 400px;width: 100%;}
.content-post .item .erphp-faka-buy{float: right;background: #28d26e;color: #fff;padding: 0 25px;height: 36px;line-height: 36px;font-size: 16px;border-radius: 4px;}
.content-post .item .erphp-faka-buy.disabled{background: #ccc;}
.content-post .item .erphp-faka-buy:hover{opacity: .8;}
.content-post .item .erphp-faka-num{color: #aaa;font-size: 12px;display: inline-block;}
.content-post .item .erphp-faka-num a{display: inline-block;height: 36px;line-height: 34px;width: 30px;text-align: center;font-size: 18px;border: 1px solid #bbb;float: left;color: #333;}
.content-post .item .erphp-faka-num a.erphp-faka-minus{border-right: none;border-radius: 3px 0 0 3px;}
.content-post .item .erphp-faka-num a.erphp-faka-plus{border-left: none;border-radius: 0 3px 3px 0;}
.content-post .item .erphp-faka-num input{border: 1px solid #bbb;width: 80px;padding: 5px;height: 36px;float: left;text-align: center;font-size: 16px;}
.content-post .item .erphp-faka-num input::-webkit-inner-spin-button,.buy-box .erphp-faka-num input::-webkit-outer-spin-button{-webkit-appearance: none;margin: 0;}
.content-post .item .erphp-faka-total{display: inline-block;line-height: 36px;margin-left: 20px;}
.content-post .h2-title{position: absolute;left: 25px;top: -18px;background: #393d49;color: #fff;padding: 10px 20px; font-weight: 700;border-radius: 8px;display: inline-block;font-size: 17px;}
.content-post .erphp-left{padding: 10px 20px;background: linear-gradient(to right, #e83efd, #59a5ec);border: none;border-radius: 22px 0 0 22px;position: absolute;right: 0;top: 20px;color: #fff;font-size: 15px;}

.content-post .erphp-faka-query-wrap{overflow: hidden;}
.content-post .erphp-faka-query-wrap #erphp_faka_order{border: 2px solid #f0f0f0;padding: 10px 15px;border-radius: 4px;max-width: 400px;width: 100%;height: 43px;float: left;}
.content-post .erphp-faka-query-wrap .erphp-faka-query{height: 43px;line-height: 43px;border-radius: 4px;width: 80px;background: #28d26e;color: #fff;display: inline-block;float: left;font-size: 16px;text-align: center;margin-left: 5px;}
.content-post .results{margin-top: 20px;}
.content-post .results h3{border-left: 5px solid #249ffd;padding-left: 15px;font-size: 20px;line-height: 1;margin-bottom: 20px;}
.content-post .results .result{margin-bottom: 15px;}
.content-post .results .result a{color:#249ffd;}

.buy-box{overflow: hidden;}
.buy-box .erphp-faka-num{float: left;color: #aaa;font-size: 12px;float: left;}
.buy-box .erphp-faka-num a{display: inline-block;height: 36px;line-height: 34px;width: 30px;text-align: center;font-size: 18px;border: 1px solid #bbb;float: left;color: #333;}
.buy-box .erphp-faka-num a.erphp-faka-minus{border-right: none;border-radius: 3px 0 0 3px;}
.buy-box .erphp-faka-num a.erphp-faka-plus{border-left: none;border-radius: 0 3px 3px 0;}
.buy-box .erphp-faka-num input{border: 1px solid #bbb;width: 80px;padding: 5px;height: 36px;float: left;text-align: center;font-size: 16px;}
.buy-box .erphp-faka-num input::-webkit-inner-spin-button,.buy-box .erphp-faka-num input::-webkit-outer-spin-button{-webkit-appearance: none;margin: 0;}
.buy-box .erphp-faka-total{float: left;line-height: 36px;margin-left: 20px;}
.buy-box .erphp-faka-buy{float: right;background: #249ffd;color: #fff;padding: 0 25px;height: 36px;line-height: 36px;font-size: 16px;border-radius: 22px;}
.buy-box .erphp-faka-buy.disabled{background: #ccc;}
.buy-box .erphp-faka-buy:hover{opacity: .8;}

/* 提示框样式 */
.notice-box {
    margin: 15px 0;
}

.notice-content {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.notice-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notice-text {
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    flex: 1;
}

.notice-text strong {
    color: #212529;
    font-weight: 600;
    display: block;
    margin-bottom: 1px;
}

.notice-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.notice-link:hover {
    color: #0056b3;
}

/* 页脚样式 */
.footer {
    text-align: center;
    margin-top: 15px;
    padding: 30px 0;
    background: #333;
    color: #999;
    border-top: 1px solid #444;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

/* 分页样式 */
.pagination {
    margin: 0 0 30px;
    padding: 0 10px;
    text-align: center;
    font-size: 14px !important;
    display: block;
    border-radius: 0;
}

.pagination ul {
    display: inline-block !important;
    *display: inline;
    *zoom: 1;
    margin-left: 0;
    margin-bottom: 0;
    padding: 0;
}

.pagination ul > li {
    display: inline;
}

.pagination ul > li > a,
.pagination ul > li > span {
    margin: 0 5px !important;
    float: left;
    padding: 9px 13px !important;
    background-color: #fff;
    color: #666;
    border-radius: 3px !important;
    opacity: 0.88;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.pagination ul > li > a:hover,
.pagination ul > li > a:focus {
    opacity: 1;
    background-color: #4285F4;
    color: white;
    border-color: #4285F4;
}

.pagination ul > .active > a,
.pagination ul > .active > span {
    background-color: #4285F4 !important;
    color: #fff;
    border-color: #4285F4;
}

.pagination ul > .active > a,
.pagination ul > .active > span {
    cursor: default;
}

.pagination ul > li > span,
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover,
.pagination ul > .disabled > a:focus {
    color: #999;
    background-color: transparent;
    cursor: default;
}

/* 错误信息样式 */
.moka-error {
    text-align: center;
    margin-bottom: 20px;
    color: #ff0000;
    font-size: 16px;
}

/* 内容标题样式 */
.content-title {
    text-align: center;
    font-size: 2em;
    margin: .67em 0;
}

.content-subtitle {
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: .0625rem;
    text-shadow: 0.0625rem 0.0625rem 0.0625rem hsla(0, 0%, 50.2%, .2);
    color: #4285F4;
    font-size: 16px;
}

/* 侧边栏样式 */
.content-side {
    float: right;
    width: 300px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0.5rem 0.875rem 2.375rem rgba(39, 44, 49, .06), 0.0625rem 0.1875rem 0.5rem rgba(39, 44, 49, .03);
    margin-left: 20px;
    position: relative;
}

.content-side .h2-title {
    position: absolute;
    left: 25px;
    top: -18px;
    background: #393d49;
    color: #fff;
    padding: 8px 16px;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    font-size: 15px;
}

.content-side ul li {
    line-height: 40px;
    height: 40px;
    padding-left: 15px;
    align-items: center;
    position: relative;
    list-style: none;
    counter-increment: mycounter;
    font-size: 15px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.content-side ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4285F4;
}

/* 相关文章卡片样式 */
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.related-article-item {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 12px;
}

.related-article-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.related-article-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 12px;
}

.related-article-image {
    width: 100px;
    height: 100px;
    min-width: 100px;
    flex-shrink: 0;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-article-placeholder {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 10px;
}

.related-article-info {
    padding: 0;
    flex: 1;
    min-width: 0;
}

.related-article-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #999;
}

.related-article-date {
    color: #999;
}

/* 文章列表样式 */
.content {
    margin-bottom: 40px;
}

.blog-post-item {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 15px;
    margin-bottom: 15px;
}

.blog-post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.blog-post-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.blog-post-image {
    width: 120px;
    height: 120px;
    min-width: 120px;
    flex-shrink: 0;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-post-placeholder {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 10px;
}

.blog-post-info {
    padding: 0;
    flex: 1;
    min-width: 0;
}

.blog-post-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.blog-post-link:hover .blog-post-title {
    color: #4285F4;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-post-date {
    color: #999;
    font-size: 13px;
}

.content-post-con {
    float: left;
    width: calc(100% - 320px);
}

/* 内容文章样式 */
.content-post {
    margin: 0 auto 40px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 50px 25px 40px;
    box-shadow: 0.5rem 0.875rem 2.375rem rgba(39, 44, 49, .06), 0.0625rem 0.1875rem 0.5rem rgba(39, 44, 49, .03);
}

.content-post-single {
    padding: 50px 25px 30px 320px;
}

.content-post-single .content-post-thumbnail {
    position: absolute;
    left: 25px;
    top: 50px;
    width: 270px;
    height: 270px;
    object-fit: contain;
}

.content-post h1 {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    margin: 0 0 40px;
}

.content-post .description {
    font-size: 16px;
    line-height: 1.7;
    word-wrap: break-word;
    overflow: hidden;
}

.content-post .description p,
.content-post .description h1,
.content-post .description h2,
.content-post .description h3,
.content-post .description h4,
.content-post .description h5,
.content-post .description h6,
.content-post .description p,
.content-post .description ul,
.content-post .description ol,
.content-post .description table,
.content-post .description pre,
.content-post .description blockquote,
.content-post .description .wp-caption {
    margin: 0 0 20px;
}

.content-post .description a {
    color: #4285F4;
}

.content-post .description img {
    max-width: 100%;
    height: auto;
}

.content-post .description h2 {
    border-left: 5px solid #4285F4;
    padding-left: 15px;
    font-size: 19px;
    line-height: 1;
}

.content-post .description h3 {
    border-left: 5px solid #4285F4;
    padding-left: 15px;
    font-size: 17px;
    line-height: 1;
}

.content-post .description .aligncenter {
    margin: 0 auto;
    text-align: center;
    display: block;
}

.content-post .description .aligncenter img {
    margin: 0 auto;
    display: block;
}

.content-post .description .erphpdown {
    display: none;
}

/* 购买相关样式 */
.content-post .item {
    font-size: 16px;
    margin-bottom: 20px;
}

.content-post .item .pri {
    color: #e74c3c;
    font-size: 24px;
}

.content-post .item .payment {
    margin-top: 15px;
    display: inline-block;
}

.content-post .item .payment .erphpdown-jump3 {
    margin-right: 11px;
    background: #f8f8f8;
    border: 2px solid #f6f6f6;
    line-height: 35px;
    width: 120px;
    text-align: center;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    color: #070707;
}

.content-post .item .payment .erphpdown-jump3.active {
    border-color: #4285F4;
    color: #4285F4;
}

.content-post .item .payment .erphpdown-jump3.active .yes {
    position: absolute;
    right: -2px;
    bottom: -1px;
    border-radius: 0 0 4px 0;
}

.content-post .item2 {
    border-top: 1px dashed #eaeaea;
    padding-top: 15px;
}

.content-post .item #erphp_faka_email {
    border: 2px solid #f0f0f0;
    padding: 10px 15px;
    border-radius: 4px;
    max-width: 400px;
    width: 100%;
}

.content-post .item .erphp-faka-buy {
    float: right;
    background: #27ae60;
    color: #fff;
    padding: 0 25px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    border-radius: 4px;
}

.content-post .item .erphp-faka-buy.disabled {
    background: #ccc;
}

.content-post .item .erphp-faka-buy:hover {
    opacity: .8;
}

.content-post .item .erphp-faka-num {
    color: #aaa;
    font-size: 12px;
    display: inline-block;
}

.content-post .item .erphp-faka-num a {
    display: inline-block;
    height: 36px;
    line-height: 34px;
    width: 30px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #bbb;
    float: left;
    color: #333;
}

.content-post .item .erphp-faka-num a.erphp-faka-minus {
    border-right: none;
    border-radius: 3px 0 0 3px;
}

.content-post .item .erphp-faka-num a.erphp-faka-plus {
    border-left: none;
    border-radius: 0 3px 3px 0;
}

.content-post .item .erphp-faka-num input {
    border: 1px solid #bbb;
    width: 80px;
    padding: 5px;
    height: 36px;
    float: left;
    text-align: center;
    font-size: 16px;
}

.content-post .item .erphp-faka-num input::-webkit-inner-spin-button,
.buy-box .erphp-faka-num input::-webkit-inner-spin-button,
.content-post .item .erphp-faka-num input::-webkit-outer-spin-button,
.buy-box .erphp-faka-num input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.content-post .item .erphp-faka-total {
    display: inline-block;
    line-height: 36px;
    margin-left: 20px;
}

.content-post .h2-title {
    position: absolute;
    left: 25px;
    top: -18px;
    background: #393d49;
    color: #fff;
    padding: 8px 16px;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    font-size: 15px;
}

.content-post .erphp-left {
    padding: 10px 20px;
    background: linear-gradient(to right, #e83efd, #59a5ec);
    border: none;
    border-radius: 22px 0 0 22px;
    position: absolute;
    right: 0;
    top: 20px;
    color: #fff;
    font-size: 15px;
}

.content-post .erphp-faka-query-wrap {
    overflow: hidden;
}

.content-post .erphp-faka-query-wrap #erphp_faka_order {
    border: 2px solid #f0f0f0;
    padding: 10px 15px;
    border-radius: 4px;
    max-width: 400px;
    width: 100%;
    height: 43px;
    float: left;
}

.content-post .erphp-faka-query-wrap .erphp-faka-query {
    height: 43px;
    line-height: 43px;
    border-radius: 4px;
    width: 80px;
    background: #27ae60;
    color: #fff;
    display: inline-block;
    float: left;
    font-size: 16px;
    text-align: center;
    margin-left: 5px;
}

.content-post .results {
    margin-top: 20px;
}

.content-post .results h3 {
    border-left: 5px solid #4285F4;
    padding-left: 15px;
    font-size: 20px;
    line-height: 1;
    margin-bottom: 20px;
}

.content-post .results .result {
    margin-bottom: 15px;
}

.content-post .results .result a {
    color: #4285F4;
}

/* 购买框样式 */
.buy-box {
    overflow: hidden;
}

.buy-box .erphp-faka-num {
    float: left;
    color: #aaa;
    font-size: 12px;
    float: left;
}

.buy-box .erphp-faka-num a {
    display: inline-block;
    height: 36px;
    line-height: 34px;
    width: 30px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #bbb;
    float: left;
    color: #333;
}

.buy-box .erphp-faka-num a.erphp-faka-minus {
    border-right: none;
    border-radius: 3px 0 0 3px;
}

.buy-box .erphp-faka-num a.erphp-faka-plus {
    border-left: none;
    border-radius: 0 3px 3px 0;
}

.buy-box .erphp-faka-num input {
    border: 1px solid #bbb;
    width: 80px;
    padding: 5px;
    height: 36px;
    float: left;
    text-align: center;
    font-size: 16px;
}

.buy-box .erphp-faka-num input::-webkit-inner-spin-button,
.buy-box .erphp-faka-num input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.buy-box .erphp-faka-total {
    float: left;
    line-height: 36px;
    margin-left: 20px;
}

.buy-box .erphp-faka-buy {
    float: right;
    background: #4285F4;
    color: #fff;
    padding: 0 25px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    border-radius: 22px;
}

.buy-box .erphp-faka-buy.disabled {
    background: #ccc;
}

.buy-box .erphp-faka-buy:hover {
    opacity: .8;
}

/* 响应式设计 */
@media(max-width: 1200px) {
    .container {
        padding: 0 15px;
    }

    .products-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .steps-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media(max-width: 1024px) {
    .content-side {
        width: 100%;
    }

    .content-post-con {
        width: 100%;
    }

    .related-articles-list {
        gap: 12px;
    }

    .related-article-image {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    .related-article-link {
        gap: 10px;
    }

    .related-article-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .related-article-date {
        font-size: 12px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media(max-width: 768px) {
    body {
        margin: 78px 0 0;
    }

    .header .logo {
        height: 58px;
        padding: 10px 0;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 12px;
    }

    .header .nav {
        height: auto;
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        margin-left: 0;
        background: #4285F4;
        border-top: 1px solid #5c8ff7;
        padding-bottom: 10px;
        display: none;
    }

    body.m-nav-show .header .nav {
        display: block;
    }

    .header .nav > li {
        margin: 0 15px;
        float: none;
    }

    .header .nav > li > a {
        font-size: 16px;
        line-height: 48px;
    }

    .header .menu-button {
        display: block;
    }


    .main-content {
        padding: 20px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .products-list {
        gap: 12px;
    }

    .product-item {
        flex-direction: row;
        padding: 12px;
        gap: 12px;
        overflow: hidden;
        border-radius: 8px;
    }

    .product-image {
        width: 80px;
        height: 80px;
        min-width: 80px;
        flex-shrink: 0;
        border-radius: 6px;
        background: #f0f0f0;
    }

    .product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
        padding: 0;
        flex: 1;
    }

    .product-title {
        min-width: auto;
        width: 100%;
        margin-bottom: 0;
        font-size: 15px;
    }

    .product-details {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .product-price,
    .product-stock {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
        font-size: 13px;
    }

    .product-price-stock {
        display: flex;
        align-items: center;
        gap: 10px;
    }


    .buy-button {
        width: auto;
        padding: 8px 20px;
        text-align: center;
        flex-shrink: 0;
        background: #FFB800;
        color: white;
        border-radius: 6px;
        font-size: 14px;
        align-self: flex-start;
    }

    .products-section {
        padding: 20px;
    }

    .steps-section {
        padding: 20px;
    }

    .steps-list {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .step-item {
        min-width: auto;
        max-width: none;
        width: 100%;
        max-width: 300px;
    }

    .articles-section {
        margin-bottom: 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .articles-column {
        padding: 15px;
    }

    body.single-post .content-title,
    body.single-post .content-subtitle {
        display: none;
    }

    .content-subtitle {
        margin-bottom: 15px;
    }

    .content {
        margin-bottom: 20px;
    }

    .blog-post-item {
        padding: 12px;
        margin-bottom: 12px;
    }

    .blog-post-link {
        gap: 12px;
    }

    .blog-post-image {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }

    .blog-post-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .blog-post-date {
        font-size: 12px;
    }

    .content .post {
        padding: 10px 15px;
    }

    .content .post h3 {
        width: calc(75% - 50px) !important;
    }

    .content .post .left {
        display: none;
    }

    .content .post .price {
        width: 25%;
        float: right;
    }

    .content .post .btn {
        display: none;
    }

    .content-post {
        padding: 40px 15px 10px;
    }

    .content-post-single {
        padding: 40px 15px 10px;
    }

    .content-post-single .content-post-thumbnail {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .content-post .erphp-left {
        top: 10px;
    }

    .content-post .h2-title {
        left: 15px;
        padding: 10px 15px;
        font-size: 16px;
    }

    .content-post .item {
        margin-bottom: 10px;
    }

    .content-post .item2 {
        text-align: left;
    }

    .content-post .item #erphp_faka_email {
        margin-top: 10px;
    }

    .notice-content {
        padding: 10px 12px;
        flex-direction: column;
        gap: 8px;
    }

    .notice-icon {
        align-self: flex-start;
    }

    .content-post .item .payment .erphpdown-jump3 {
        margin-bottom: 10px;
        font-size: 14px;
        width: 95px;
        margin-right: 5px;
    }

    .buy-box .erphp-faka-num {
        float: none !important;
    }

    .buy-box .erphp-faka-num input {
        width: 50px !important;
    }

    .buy-box .erphp-faka-num a {
        width: 25px !important;
    }

    .buy-box .erphp-faka-total {
        margin-left: 5px !important;
        float: none !important;
        position: relative;
        top: -12.5px;
    }

    .buy-box .erphp-faka-buy {
        font-size: 15px;
        padding: 0 !important;
        display: block;
        float: none !important;
        margin-top: 5px;
        text-align: center;
        height: 40px !important;
        line-height: 40px !important;
    }

    .content-post .erphp-faka-query-wrap #erphp_faka_order {
        max-width: 230px;
        padding: 10px;
    }

    .footer {
        margin-top: 10px;
        padding: 20px 0;
    }
}

@media(max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .blog-post-item {
        padding: 10px;
        margin-bottom: 10px;
    }

    .blog-post-link {
        gap: 10px;
    }

    .blog-post-image {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    .blog-post-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .blog-post-date {
        font-size: 11px;
    }

    .section-title {
        font-size: 20px;
    }

    .products-list {
        gap: 10px;
    }

    .product-item {
        border-radius: 6px;
        padding: 10px;
        gap: 10px;
    }

    .product-image {
        width: 60px;
        height: 60px;
        min-width: 60px;
        flex-shrink: 0;
        border-radius: 4px;
    }

    .product-info {
        padding: 0;
        flex: 1;
        gap: 4px;
    }

    .product-title {
        font-size: 14px;
        font-weight: 600;
    }

    .product-details {
        gap: 8px;
    }

    .product-price-stock {
        gap: 8px;
    }

    .product-price,
    .product-stock {
        font-size: 13px;
    }

    .buy-button {
        padding: 6px 16px;
        font-size: 13px;
        width: auto;
        min-width: 80px;
        align-self: flex-start;
    }

    .products-section {
        padding: 15px;
    }

    .steps-section {
        padding: 15px;
    }

    .step-item {
        padding: 15px;
        width: 100%;
    }

    .articles-column {
        padding: 12px;
    }
}