﻿.section-title h3.title::after {
    content: '';
    position: absolute;
    width: 105%;
    height: 100%;
    background: #fffa9a;
    top: 0;
    left: -5px;
    z-index: -1;
}

.section-title h3.title::before {
    content: '';
    position: absolute;
    width: 105%;
    height: 100%;
    background: #2bb7f1;
    top: 5px;
    left: 5px;
    z-index: -2;
}

.marketing-wrap {
    background: url(../img/map-bgimg.png) no-repeat center 100px;
}

.quality-wrap {
    background: url(../img/row-bgimage-2.jpg) no-repeat right center;
    background-size: cover;
    position: relative;
}

.quality-wrap .section-title h3 {
    color: #fff;
}

.quality-wrap::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(43, 182, 241, 0.904);
    top: 0;
    left: 0;
    z-index: 1;
}

.quality-card {
    padding: 50px 75px 36px;
    position: relative;
    overflow: hidden;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    text-align: center;
    margin: 20px 0;
}

.quality-wrap .container {
    z-index: 2;
    position: relative;
}

.quality-card .quality-icon {
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.quality-card .quality-icon i {
    font-size: 60px;
    color: #fff;
    line-height: 0.5;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.quality-card .quality-text h2 {
    font-size: 22px;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.service-card .service-img img {
    max-height: 220px;
}

.section-title.style2 h2 {
    color: #000;
}

.portfolio-wrap {
    background: url(../img/footer-bg-one.jpg) no-repeat center center;
    background-size: cover;
}

.portfolio-wrap img.logo {
    width: 200px;
}

.portfolio-wrap-content {
    border-top: 1px solid #e5eef7;
    border-bottom: 1px solid #e5eef7;
}

.portfolio-wrap-item {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-wrap-item:not(:last-child):before {
    position: absolute;
    content: '';
    height: 60%;
    right: 0;
    background-color: #e5eef7;
    width: 1px;
    top: 20%;
}

@media only screen and (max-width: 991px) {
    .portfolio-wrap-item:not(:last-child):before {
        width: 0px;
    }
}

/* 页脚社交图标：footer.html 用的是内联 <svg>，不是原主题的 <i> 图标字体，
   inline-block 下 SVG 按基线对齐会偏上/偏左，原来的 padding-top:3px hack 不成立。
   改用 flex 居中，对 <svg> 和 <i> 都成立。 */
.footer-wrap .footer-widget .social-profile li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #485157;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: unset;
    padding: 0;
}

.footer-wrap .footer-widget .social-profile li a i,
.footer-wrap .footer-widget .social-profile li a svg {
    color: #fff;
    fill: currentColor;
    display: block;
}

.about-wrap .about-title-h2 {
    display: inline-block;
    line-height: 121px;
    min-width: 310px;
    background: url(../img/title-bg.png) no-repeat center;
    color: #097dad;
}

.about-wrap .about-title-h4 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 1px;
    margin-bottom: 22px;
    margin-top: 15px;
    color: #00a0d0;
}

.blog-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title img {
    max-height: 36px;
}

/****************************************/

.product-details-img {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.product-details-img-thumb {
    background-color: rgba(247, 247, 247, 0.5);
    padding: 15px;
    position: absolute;
    bottom: 0;
}

@media (max-width: 767px) {
    .shop-thumb-tab {
        float: none;
        width: 100%;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .shop-thumb-tab ul {
        margin: 0 -5px;
    }
}

.shop-thumb-tab ul li {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .shop-thumb-tab ul li {
        width: 33.33%;
        float: left;
        padding: 0 5px;
    }
}

.shop-thumb-tab ul li a {
    padding: 0;
}

@media (max-width: 767px) {
    .product-details-img {
        margin-left: 0;
    }
}

.product-details-title p {
    color: #6a667b;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-details-title h1 {
    font-size: 40px;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .product-details-title h1 {
        font-size: 36px;
    }
}

.details-price span {
    color: #0e54ae;
    font-size: 20px;
    font-weight: 400;
    margin-left: 0;
    margin-right: 10px;
}

.details-price {
    border-bottom: 2px solid #eaedff;
}

.product-cat span {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: #100d1c;
}

.product-cat a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

.product-cat a:hover {
    color: #8fb569;
}

.product-social a {
    margin-right: 10px;
    background: #f5f5ff;
    height: 50px;
    width: 50px;
    line-height: 48px;
    border-radius: 30px;
    color: #6f7172;
    display: inline-block;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 767px) {
    .product-social a {
        margin-bottom: 10px;
    }
}

.product-social a:hover {
    background: #8fb569;
    color: #ffffff;
}

.plus-minus {
    display: inline-block;
}

@media (max-width: 767px) {
    .plus-minus {
        display: block;
        margin-bottom: 15px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .plus-minus {
        display: inline-block;
        margin-bottom: 0;
    }
}

.action-btn {
    background: #8fb569;
    padding: 20px 25px;
    border: none;
    margin-left: 15px;
    color: #ffffff;
    display: inline-block;
}

.action-btn:hover {
    background: #0e54ae;
    color: #ffffff;
}

.product-action-list {
    overflow: hidden;
}

.product-action-list a {
    float: left;
}

@media (max-width: 767px) {
    .product-action-list a.btn {
        padding: 23px 30px;
        margin-bottom: 7px;
    }
}

@media (max-width: 767px) {
    .product-action-list a.action-btn {
        margin-left: 5px;
        margin-bottom: 7px;
    }
}

.product-large-img {
    display: inline-block;
    position: relative;
}

.product-large-img img {
    display: block;
}

.product-large-img img::selection {
    background-color: transparent;
}

.offcanvas.offcanvas-end {
    width: 100% !important;
}

.logo-light {
    max-width: 220px;
}

.blog-card.style2 .blog-img {
    max-height: 180px;
}

.blog-card .blog-info,
.blog-card.style2 {
    border-radius: 0;
}
h6.alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8888888;
    opacity: 0;
    text-align: center;
    user-select: none;
    pointer-events: none;
    background: none !important;
}

h6.alert > b {
    display: inline-block;
    color: #fff;
    max-width: 320px;
    background: rgb(255, 98, 76);
    text-align: left;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    padding: 8px 22px;
    font-size: 16px;
    font-weight: normal;
}

h6.alert.red > b {
    background: rgb(255, 98, 76);
}

h6.alert.green > b {
    background: rgb(29, 213, 111);
}

h6.alert.brown > b {
    background: #a5692d;
}

h6.alert.yellow > b {
    background: #ffd700;
}

h6.alert.blue > b {
    background: rgb(56, 129, 245);
}

h6.alert.gold > b {
    background: linear-gradient(to right bottom, #ffd700, #edc86c);
}
/* 注：.post-both 的早期定义已删除（被本文件下方「上下篇导航」区块整体取代），
   其中 dl.prev/dl.next 的 width:40% 比后面的 .post-both dl 选择器更具体，
   留着会干扰 flex-basis 计算。 */
.download-info {
    display: flex;
    justify-content: space-between;
}
.download-info .button {
    background-color: #fffa9a;
    display: inline-block;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.download-info .button:hover {
    background-color: #2bb7f1;
    color: #fff;
}
.product-details table {
    width: 100%;
}
.product-details table tr td {
    width: unset;
    text-align: center;
    padding: 5px 0;
}
.product-details table tr td p {
    margin: unset !important;
}
.product-details ul {
    padding: 0 20px !important;
}
.owl-dots {
    position: absolute;
    bottom: 20px;
    width: 200px;
    left: 50%;
    margin-left: -100px;
    text-align: center;
}

/* ── 移动端：头部认证图标在 lg 以下隐藏（避免挤压 logo + 汉堡菜单区域） ── */
@media (max-width: 991px) {
    .header-wrap .navbar .iso-icon {
        display: none !important;
    }
}

/* ── 分页（所有列表模板共用） ── */
.pagination-wrap {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}
.pagination-wrap .pagination,
.pagination-wrap ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.pagination-wrap .page-item .page-link,
.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.85rem;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    color: #555;
    font-size: 0.9rem;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s;
}
.pagination-wrap .page-item.active .page-link,
.pagination-wrap .page-item.active span,
.pagination-wrap .active a,
.pagination-wrap .active span,
.pagination-wrap .current {
    background: var(--themeColor, #3498db);
    border-color: var(--themeColor, #3498db);
    color: #fff;
}
.pagination-wrap a:hover,
.pagination-wrap .page-item .page-link:hover {
    border-color: var(--themeColor, #3498db);
    color: var(--themeColor, #3498db);
}
.pagination-wrap .disabled .page-link,
.pagination-wrap .disabled span {
    color: #ccc;
    cursor: not-allowed;
}

/* ── 上下篇导航（detail / view_product 共用） ── */
.post-both {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
    /* 不画容器上下边框：每个 dl 本身已是带边框的卡片，容器再加边框会出现
       「卡片上下各多一条通栏横线」的重影 */
    padding: 0;
    margin: 2rem 0;
}
.post-both dl {
    flex: 0 1 calc(50% - 0.75rem);
    min-width: 200px;
    max-width: calc(50% - 0.75rem);
    margin: 0;
    padding: 0.85rem 1.1rem;
    border: 1px solid #e6ecf2;
    border-radius: 6px;
    background: #fff;
    transition: box-shadow 0.2s;
}
.post-both dl:hover { box-shadow: 0 2px 12px rgba(52,152,219,0.10); border-color: #b3d4f0; }
/* 只有单边时拉伸满宽 */
.post-both dl:only-child { flex: 1 1 100%; max-width: 100%; }
.post-both .next { text-align: right; margin-left: auto; }
.post-both dt {
    color: var(--themeColor, #3498db);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    font-weight: 700;
}
.post-both dd { margin: 0; }
.post-both dd a {
    color: #222;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.2s;
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.post-both dd a:hover { color: var(--themeColor, #3498db); }

/* ── Contact Page: 4 info cards ── */
.contact-cards-wrap { background: #f8fafc; }
.contact-info-card {
    padding: 36px 24px;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    background: #fff;
    height: 100%;
    transition: box-shadow 0.25s, border-color 0.25s;
}
.contact-info-card:hover {
    box-shadow: 0 6px 24px rgba(52,152,219,0.12);
    border-color: var(--themeColor, #3498db);
}
.cic-icon {
    width: 68px;
    height: 68px;
    border: 2px solid var(--themeColor, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    background: #f0f8ff;
    transition: background 0.25s;
}
.contact-info-card:hover .cic-icon { background: var(--themeColor, #3498db); }
.cic-icon i {
    font-size: 1.6rem;
    color: var(--themeColor, #3498db);
    transition: color 0.25s;
}
.contact-info-card:hover .cic-icon i { color: #fff; }
.contact-info-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #222;
}
.contact-info-card p,
.contact-info-card a {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    text-decoration: none;
}
.contact-info-card a:hover { color: var(--themeColor, #3498db); }

/* ── Contact Page: form + map row ── */
.contact-form-map-wrap .contact-form {
    padding: 40px 36px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.contact-form-map-wrap .contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #222;
}
.contact-form-map-wrap .form-group { margin-bottom: 1.2rem; }
.contact-form-map-wrap .form-group input,
.contact-form-map-wrap .form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #dde3ed;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #333;
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.contact-form-map-wrap .form-group input:focus,
.contact-form-map-wrap .form-group textarea:focus {
    border-color: var(--themeColor, #3498db);
    box-shadow: 0 0 0 3px rgba(52,152,219,0.10);
    background: #fff;
}
.contact-form-map-wrap .form-group textarea { resize: vertical; }
.contact-map { border-radius: 10px; overflow: hidden; border: 1px solid #e0e6ed; }
.contact-map iframe { display: block; }
