/* =========================================================
   GEOXY Product Detail Page
   产品详情页专属样式
   ========================================================= */

/* =========================================================
   1. 页面基础容器
   ========================================================= */

.product-detail-page .post-main {
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(24, 54, 78, 0.07);
}

/* =========================================================
   2. 顶部产品详情区 —— 重新设计
   ========================================================= */

.product-header-section {
    position: relative;
    padding: 56px 60px 34px;
    background:
        radial-gradient(circle at 5% 15%, rgba(42, 92, 139, 0.055), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border-bottom: 1px solid #e7edf2;
}

/* 顶部细线 */
.product-header-section::before {
    content: "";
    position: absolute;
    left: 60px;
    top: 0;
    width: 76px;
    height: 4px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
}

/* 左图 + 右信息 */
.product-header-main {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 64px;
    align-items: center;
    margin: 0;
}

/* =========================================================
   3. 左侧产品图片
   ========================================================= */

.product-image-section {
    width: 100%;
    min-width: 0;
    position: relative;
}

/* 图片外框 */
.product-main-image {
    position: relative;
    width: 100%;
    height: 540px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at center, #ffffff 0%, #ffffff 48%, #f5f8fa 100%);
    border: 1px solid #e1e8ee;
    border-radius: 12px;
    overflow: hidden;

    box-shadow:
        0 12px 32px rgba(30, 61, 84, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);

    cursor: pointer;
}

/* 图片外围装饰 */
.product-main-image::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-left: 2px solid rgba(42, 92, 139, 0.25);
    border-top: 2px solid rgba(42, 92, 139, 0.25);
    pointer-events: none;
}

.product-main-image::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 34px;
    height: 34px;
    border-right: 2px solid rgba(42, 92, 139, 0.25);
    border-bottom: 2px solid rgba(42, 92, 139, 0.25);
    pointer-events: none;
}

.product-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 32px;
    box-sizing: border-box;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.product-main-image:hover img {
    transform: scale(1.035);
}

/* 图片放大按钮 */
.image-zoom-icon {
    position: absolute;
    right: 20px;
    top: 20px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.94);
    color: var(--primary);
    border: 1px solid #dce5eb;
    border-radius: 50%;

    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.25s ease;

    pointer-events: none;
    z-index: 10;
    font-size: 17px;

    box-shadow: 0 4px 14px rgba(20, 50, 70, 0.12);
}

.product-main-image:hover .image-zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   4. 图片弹窗
   ========================================================= */

.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background: rgba(10, 22, 32, 0.82);

    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.image-modal.show {
    display: flex;
}

.modal-content {
    max-width: 92%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.45);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;

    color: #fff;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
    z-index: 10001;
    transition: opacity 0.2s ease;
}

.close-modal:hover {
    opacity: 0.7;
}

/* =========================================================
   5. 右侧产品信息
   ========================================================= */

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;

    min-width: 0;
    padding: 4px 0;
}

/* 产品名称 */
.product-name {
    margin: 0;
    max-width: 680px;

    color: var(--primary);
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.8px;
}

/* 产品短描述 */
.product-short-desc {
    position: relative;

    padding: 18px 20px 18px 22px;

    background: #f7f9fb;
    border: 1px solid #e1e8ed;
    border-radius: 8px;

    color: #4c5b67;
    font-size: 16px;
    line-height: 1.85;
}

.product-short-desc::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;

    background: var(--primary);
    border-radius: 0 3px 3px 0;
}

.product-short-desc p {
    margin: 0;
}

/* =========================================================
   6. 产品特点 —— 从“标签”改成信息卡
   ========================================================= */

.product-features-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 2px;
}

.feature-tag {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 52px;
    padding: 11px 14px;

    box-sizing: border-box;

    background: #fff;
    border: 1px solid #e1e7ec;
    border-radius: 7px;

    color: #354854;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-tag::after {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: transparent;
    border-radius: 2px;
    transition: background-color 0.25s ease;
}

.feature-tag i {
    flex: 0 0 22px;

    width: 22px;
    margin-right: 9px;

    color: var(--primary);
    font-size: 15px;
    text-align: center;
}

.feature-tag:hover {
    border-color: rgba(42, 92, 139, 0.35);
    background: #f8fbfd;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(30, 65, 90, 0.07);
}

.feature-tag:hover::after {
    background: var(--primary);
}

/* =========================================================
   7. CTA —— 更突出项目询盘
   ========================================================= */

.product-cta-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 12px;

    margin-top: 4px;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 50px;
    padding: 12px 20px;

    box-sizing: border-box;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;
    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.cta-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);

    box-shadow: 0 5px 15px rgba(42, 92, 139, 0.18);
}

.cta-primary:hover {
    background: #214d76;
    color: #fff;
    border-color: #214d76;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 92, 139, 0.23);
}

.cta-secondary {
    background: #fff;
    color: var(--primary);
    border: 1px solid #b8c8d5;
}

.cta-secondary:hover {
    background: #f5f8fa;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* =========================================================
   8. 产品标签
   ========================================================= */

.product-header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 26px;
    padding-top: 22px;

    border-top: 1px solid #e8edf1;
}

.product-category {
    display: inline-flex;
    align-items: center;

    margin-left: 0;
    padding: 6px 12px;

    background: #f5f8fa;
    color: #526575;

    border: 1px solid #e1e8ed;
    border-radius: 5px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.product-category:not(:first-child) {
    margin-top: 0;
}

.tag-link {
    color: #526575;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tag-link:hover {
    color: var(--primary);
}

/* =========================================================
   9. 下半部分：保持原有结构和视觉逻辑
   ========================================================= */

.product-content-section {
    padding: 3rem;
}

.product-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 1.5rem;
    background-color: transparent;
    border: none;
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-button:hover {
    color: var(--primary);
}

.tab-button.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-description {
    max-width: 1680px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--dark);
}

.product-description h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-description h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.product-description p {
    margin-bottom: 1.2rem;
}

.product-description table p {
    margin-bottom: 0.2rem;
    text-align: left;
}

.product-description ul,
.product-description ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.product-description li {
    margin-bottom: 0.8rem;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 产品表格 */
.product-description table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.5rem 0;
    background: linear-gradient(135deg,#ffffff 0%,#fafbfc 100%);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.product-description table thead {
    background: linear-gradient(135deg,var(--primary) 0%,#0f1419 40%,#1a2332 70%,#2c5aa0 100%);
    color: white;
    position: relative;
    box-shadow: inset 0 3px 6px rgba(255,255,255,0.15),inset 0 -2px 4px rgba(0,0,0,0.2),0 6px 12px rgba(0,0,0,0.25);
}

.product-description table thead::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:6px;
    background:linear-gradient(90deg,var(--secondary),#ff4500,#ff6b35,var(--secondary));
    border-radius:16px 16px 0 0;
    box-shadow:0 2px 4px rgba(255,170,53,0.4);
}

.product-description table thead::after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:2px;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,0.4),transparent);
}

.product-description table thead th,
.product-description table tr:first-child td,
.product-description table tr:first-child th {
    padding:0.2rem 0.4rem;
    font-weight:600;
    font-size:1rem;
    text-align:left;
    background-color:var(--primary);
    color:white;
    border-bottom:2px solid rgba(255,255,255,0.5);
}

.product-description table tr:first-child p {
    color:#fff;
}

.product-description table thead th:first-child {
    border-left:none;
}

.product-description table thead th:not(:last-child)::after {
    content:'';
    position:absolute;
    right:0;
    top:25%;
    height:50%;
    width:1px;
    background:rgba(255,255,255,0.3);
}

.product-description table tbody tr,
.product-description table tbody th,
.product-description table tbody td {
    transition:all 0.3s ease;
    border-bottom:1px solid rgba(0,0,0,0.06);
}

.product-description table tbody tr:last-child {
    border-bottom:none;
}

.product-description table tbody tr:hover {
    background-color:rgba(230,126,34,0.02);
    box-shadow:0 2px 8px rgba(230,126,34,0.1);
}

.product-description table td,
.product-description table th {
    padding:0.6rem 1rem;
    font-size:1rem;
    line-height:1.3;
    color:var(--dark);
    border-right:1px solid rgba(0,0,0,0.06);
}

.product-description table td:last-child,
.product-description table th:last-child {
    border-right:none;
}

.product-description table td:first-child,
.product-description table th:first-child {
    font-weight:600;
    color:var(--primary);
    background:linear-gradient(90deg,rgba(230,126,34,0.03) 0%,transparent 100%);
    padding-left:0.6rem;
}

.product-description table tbody tr:nth-child(even) {
    background-color:rgba(0,0,0,0.01);
}

.product-description table tbody tr:nth-child(even):hover {
    background-color:rgba(230,126,34,0.03);
}

.specs-table {
    width:100%;
    border-collapse:collapse;
    margin:2rem 0;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
    border-radius:12px;
    overflow:hidden;
}

.specs-table tr {
    border-bottom:1px solid #e0e0e0;
}

.specs-table tr:last-child {
    border-bottom:none;
}

.specs-table th {
    background-color:var(--primary);
    color:var(--white);
    padding:1.2rem 1.5rem;
    text-align:left;
    font-weight:600;
    font-size:1.1rem;
}

.specs-table td {
    padding:1.2rem 1.5rem;
}

.specs-table td:first-child {
    background-color:#f8f9fa;
    font-weight:600;
    color:var(--primary);
    width:30%;
}

.specs-table td:last-child {
    color:var(--dark);
}

.specs-table tr:nth-child(even) td:last-child {
    background-color:#fafbfc;
}

.applications-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
    margin-top:2rem;
}

.application-card {
    background-color:#fff;
    border-radius:12px;
    padding:2rem;
    text-align:center;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
    border:2px solid #f0f0f0;
    transition:all 0.3s ease;
}

.application-card:hover {
    border-color:var(--secondary);
    transform:translateY(-5px);
    box-shadow:0 6px 20px rgba(0,0,0,0.12);
}

.application-icon {
    width:80px;
    height:80px;
    margin:0 auto 1.5rem;
    background:linear-gradient(135deg,var(--secondary),#d35400);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2.5rem;
    color:var(--white);
}

.application-card h4 {
    color:var(--primary);
    font-size:1.2rem;
    font-weight:700;
    margin-bottom:0.8rem;
}

.application-card p {
    color:var(--gray);
    font-size:0.95rem;
    line-height:1.6;
    margin:0;
}

.certificates-section {
    margin-top:2rem;
}

.certificates-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1.5rem;
}

.certificate-item {
    background-color:#fff;
    border-radius:8px;
    padding:1rem;
    text-align:center;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    border:1px solid #e0e0e0;
    transition:all 0.3s ease;
}

.certificate-item:hover {
    transform:translateY(-5px);
    box-shadow:0 4px 15px rgba(0,0,0,0.12);
}

.certificate-item img {
    max-width:100%;
    height:auto;
    margin-bottom:0.5rem;
}

.certificate-item p {
    color:var(--primary);
    font-size:0.9rem;
    font-weight:600;
    margin:0;
}


/* =========================================================
   10. 响应式
   ========================================================= */

@media (max-width: 1100px) {

    .product-header-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .product-header-section::before {
        left: 40px;
    }

    .product-header-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 38px;
    }

    .product-main-image {
        height: 480px;
    }

    .product-name {
        font-size: 34px;
    }
}

@media (max-width: 900px) {

    .product-header-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-main-image {
        height: 500px;
    }

    .product-info-section {
        max-width: none;
    }

    .product-name {
        max-width: none;
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .product-detail-page .post-main {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .product-header-section {
        padding: 36px 22px 26px;
    }

    .product-header-section::before {
        left: 22px;
    }

    .product-header-main {
        gap: 26px;
        margin-bottom: 0;
    }

    .product-main-image {
        height: 400px;
    }

    .product-main-image img {
        padding: 24px;
    }

    .product-name {
        font-size: 29px;
        line-height: 1.25;
    }

    .product-short-desc {
        font-size: 15px;
        line-height: 1.75;
        padding: 16px 17px 16px 19px;
    }

    .product-features-tags {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .feature-tag {
        min-height: 48px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .feature-tag i {
        flex-basis: 19px;
        width: 19px;
        margin-right: 6px;
    }

    .product-cta-section {
        grid-template-columns: 1fr 1fr;
    }

    .cta-button {
        min-height: 48px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .product-header-tags {
        margin-top: 22px;
        padding-top: 18px;
    }

    .product-content-section {
        padding: 2rem 1.5rem;
    }

    .product-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-table td:first-child {
        width: 40%;
    }

    .product-description table {
        font-size: 0.9rem;
        margin: 2rem 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        white-space: nowrap;
    }

    .product-description table thead,
    .product-description table tbody,
    .product-description table tr,
    .product-description table th,
    .product-description table td {
        display: inline-block;
        white-space: normal;
        vertical-align: top;
    }

    .product-description table thead {
        display: block;
    }

    .product-description table tbody {
        display: block;
    }

    .product-description table tr {
        display: table-row;
    }

    .product-description table th,
    .product-description table td {
        display: table-cell;
        min-width: 120px;
        max-width: 200px;
    }

    .product-description table thead th,
    .product-description table td {
        padding: 0.5rem 0.4rem;
    }

    .product-description table thead th {
        font-size: 1rem;
    }

    .product-description table tbody tr:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 576px) {

    .product-header-section {
        padding: 26px 15px 22px;
    }

    .product-header-section::before {
        left: 15px;
        width: 58px;
    }

    .product-main-image {
        height: 300px;
        border-radius: 9px;
    }

    .product-main-image img {
        padding: 16px;
    }

    .image-zoom-icon {
        right: 12px;
        top: 12px;
        width: 38px;
        height: 38px;
        opacity: 1;
        transform: none;
    }

    .product-name {
        font-size: 25px;
    }

    .product-info-section {
        gap: 16px;
    }

    .product-short-desc {
        font-size: 14px;
        padding: 14px 15px 14px 17px;
    }

    .product-features-tags {
        grid-template-columns: 1fr;
    }

    .feature-tag {
        min-height: 46px;
    }

    .product-cta-section {
        grid-template-columns: 1fr;
    }

    .cta-button {
        width: 100%;
    }

    .product-header-tags {
        margin-top: 18px;
        padding-top: 15px;
    }

    .product-content-section {
        padding: 1.5rem 1rem;
    }

    .product-tabs {
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .inquiry-form-section {
        padding: 1.5rem;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .product-description table {
        font-size: 0.85rem;
    }

    .product-description table thead th,
    .product-description table td {
        padding: 0.4rem 0.3rem;
    }

    .product-description table thead th {
        font-size: 0.95rem;
    }
}
/* =========================================================
   产品图片轮播
   ========================================================= */

.product-gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    width: 100%;
    overflow-x: auto;
    padding: 2px 2px 6px;
    box-sizing: border-box;
    scrollbar-width: thin;
}

.product-gallery-thumbnail {
    flex: 0 0 82px;
    width: 82px;
    height: 68px;
    padding: 0;
    margin: 0;
    border: 2px solid #e3e9ee;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.product-gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    box-sizing: border-box;
    background: #fff;
    transition: transform 0.25s ease;
}

.product-gallery-thumbnail:hover {
    border-color: #9db8c9;
    transform: translateY(-2px);
}

.product-gallery-thumbnail:hover img {
    transform: scale(1.04);
}

.product-gallery-thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

/* 左右切换按钮 */
.product-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 14px rgba(20, 50, 70, 0.15);
    opacity: 0;
    transition: all 0.25s ease;
}

.product-main-image:hover .product-gallery-arrow {
    opacity: 1;
}

.product-gallery-arrow:hover {
    background: var(--primary);
    color: #fff;
}

.product-gallery-prev {
    left: 14px;
}

.product-gallery-next {
    right: 14px;
}

/* 防止箭头和图片点击产生冲突 */
.product-gallery-arrow:focus {
    outline: none;
}

/* 移动端 */
@media (max-width: 768px) {

    .product-gallery-thumbnails {
        gap: 8px;
        margin-top: 10px;
    }

    .product-gallery-thumbnail {
        flex-basis: 72px;
        width: 72px;
        height: 60px;
    }

    .product-gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
        opacity: 1;
    }

    .product-gallery-prev {
        left: 10px;
    }

    .product-gallery-next {
        right: 10px;
    }
}

@media (max-width: 576px) {

    .product-gallery-thumbnail {
        flex-basis: 64px;
        width: 64px;
        height: 54px;
    }

    .product-gallery-arrow {
        width: 34px;
        height: 34px;
    }
}
/* =========================================================
   GEOXY 产品图片轮播
   ========================================================= */

/* 缩略图区域 */
.product-gallery-thumbnails {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 14px;
    padding: 2px 2px 6px;
    overflow-x: auto;
    box-sizing: border-box;
    scrollbar-width: thin;
}

/* 缩略图 */
.product-gallery-thumbnail {
    flex: 0 0 86px;
    width: 86px;
    height: 70px;
    padding: 0;
    border: 2px solid #e1e7ec;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

/* 缩略图图片 */
.product-gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
    object-fit: contain;
    background: #fff;
}

/* 鼠标悬停 */
.product-gallery-thumbnail:hover {
    border-color: #7fa9ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 80, 120, 0.12);
}

/* 当前选中的图片 */
.product-gallery-thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

/* =========================================================
   左右切换按钮
   ========================================================= */

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 1px solid #dce5eb;
    border-radius: 50%;

    background: rgba(255,255,255,0.95);
    color: var(--primary);

    font-size: 16px;

    cursor: pointer;
    z-index: 20;

    opacity: 0;
    transform: translateY(-50%);

    box-shadow: 0 4px 14px rgba(20,50,70,0.15);

    transition: all 0.25s ease;
}

/* 鼠标移动到主图时显示箭头 */
.product-main-image:hover .product-gallery-arrow {
    opacity: 1;
}

/* 上一张 */
.product-gallery-prev {
    left: 14px;
}

/* 下一张 */
.product-gallery-next {
    right: 14px;
}

/* 箭头悬停 */
.product-gallery-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 按钮获得焦点 */
.product-gallery-arrow:focus {
    outline: none;
}

/* =========================================================
   只有一张图时隐藏箭头
   ========================================================= */

.product-image-section.gallery-single .product-gallery-arrow {
    display: none;
}

/* =========================================================
   手机端
   ========================================================= */

@media (max-width: 768px) {

    .product-gallery-thumbnails {
        gap: 9px;
        margin-top: 10px;
    }

    .product-gallery-thumbnail {
        flex: 0 0 74px;
        width: 74px;
        height: 60px;
    }

    .product-gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
        opacity: 1;
    }

    .product-gallery-prev {
        left: 10px;
    }

    .product-gallery-next {
        right: 10px;
    }
}

@media (max-width: 576px) {

    .product-gallery-thumbnails {
        gap: 7px;
    }

    .product-gallery-thumbnail {
        flex: 0 0 64px;
        width: 64px;
        height: 54px;
    }

    .product-gallery-arrow {
        width: 34px;
        height: 34px;
    }
}