/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1190px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== 头部导航 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    background: #fff;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}

.header-inner {
    max-width: 1190px;
    height: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-width: 290px;
    height: auto;
    max-height: 50px;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

/* 仅主菜单直接子项（> li），避免影响下拉菜单后代 li */
.nav-menu > li {
    margin-left: 45px;
    position: relative;
    height: 82px;
    display: flex;
    align-items: center;
}

.nav-menu > li > a {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
    display: block;
    transition: color 0.3s;
}

.nav-menu > li > a:hover {
    color: #25BA45;
}

/* 产品展示下拉菜单 */
.nav-menu > .has-dropdown > a::after {
    content: " ▾";
    font-size: 12px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.nav-menu > .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

/* 下拉菜单内部 li 样式重置 */
.dropdown li {
    margin: 0;
    padding: 0;
    position: static;
}

.dropdown li a {
    line-height: 36px;
    padding: 0 20px;
    font-size: 14px;
    white-space: nowrap;
    color: #333;
    display: block;
}

.dropdown li a:hover {
    color: #25BA45;
    background: #f5f5f5;
}

/* 电话按钮 */
.nav-phone {
    background: #25BA45;
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.2;
    transition: background 0.3s;
    height: auto;
}

.nav-phone:hover {
    background: #1ea83a;
    color: #fff;
}

/* ========== Banner 轮播图 ========== */
.banner {
    margin-top: 82px;
    width: 100%;
    background: #f5f5f5;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    height: 532px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-btn.prev { left: 0; border-radius: 0 2px 2px 0; }
.carousel-btn.next { right: 0; border-radius: 2px 0 0 2px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.indicator.active {
    opacity: 1;
}

/* ========== 通用 Section 标题 ========== */
.section {
    padding: 60px 0;
}

.section-gray {
    background: #F8F8F8;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #999;
}

/* ========== 产品中心 ========== */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 -8px;
}

.product-card {
    flex: 1 1 calc(25% - 16px);
    max-width: calc(25% - 16px);
    margin: 0 8px 20px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.product-card-img {
    width: 100%;
    height: 214px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    text-align: center;
    padding: 30px 0 16px;
    font-size: 16px;
    font-weight: 500;
}

.view-more {
    text-align: center;
    margin-top: 30px;
}

.btn-view-more {
    display: inline-block;
    padding: 10px 32px;
    border: 1px solid #25BA45;
    color: #25BA45;
    background: transparent;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-view-more:hover {
    background: #25BA45;
    color: #fff;
}

/* ========== 公司介绍 ========== */
.company-intro {
    padding: 50px 0;
}

.company-intro-layout {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.company-intro-media {
    flex: 0 0 560px;
    max-width: 560px;
}

.company-video {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    background: #000;
    display: block;
}

.company-intro-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.company-intro-title {
    font-size: 22px;
    color: #333;
    font-weight: 500;
    margin-bottom: 18px;
}

.company-intro-text {
    color: #666;
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 20px;
    text-indent: 2em;
    flex: 1;
}

.company-intro-text p {
    margin-bottom: 12px;
}

@media (max-width: 992px) {
    .company-intro-layout {
        flex-direction: column;
        gap: 24px;
    }
    .company-intro-media {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .company-video {
        max-height: 320px;
    }
}

/* ========== 询价表单 ========== */
.inquiry-form-section {
    padding: 40px 0;
}

.inquiry-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.inquiry-form-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #25BA45;
}

.btn-submit {
    width: 100%;
    height: 50px;
    background: #25BA45;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #1ea83a;
}

/* ========== 行业资讯 ========== */
.articles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.article-card {
    flex: 1 1 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.11);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.article-card-img {
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-card-img img {
    transform: scale(1.05);
}

.article-card-body {
    padding: 25px;
}

.article-card-title {
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
}

.article-card-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.article-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    height: 70px;
    overflow: hidden;
}

/* ========== 热销产品 ========== */
.hot-products {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 -8px;
}

.hot-product-item {
    flex: 1 1 calc(20% - 16px);
    max-width: calc(20% - 16px);
    margin: 0 8px 16px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    cursor: pointer;
}

.hot-product-item:hover {
    transform: translateY(-4px);
}

.hot-product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ========== 悬浮咨询按钮 ========== */
.float-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 99;
}

.float-btn {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #666;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 2px;
}

.float-btn:hover {
    background: #25BA45;
    color: #fff;
    border-color: #25BA45;
}

.float-btn .icon {
    font-size: 20px;
    margin-bottom: 4px;
}

/* 底部拨打电话按钮 */
.float-call {
    position: fixed;
    right: 20px;
    bottom: 0;
    background: #25BA45;
    color: #fff;
    padding: 18px 24px;
    border-radius: 4px 4px 0 0;
    font-size: 16px;
    cursor: pointer;
    z-index: 99;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.float-call:hover {
    background: #1ea83a;
}

/* 返回顶部 */
.back-top {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 24px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: rgba(0,0,0,0.8);
}

/* ========== 页脚 ========== */
.footer {
    background: #333;
    color: #999;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    color: #999;
}

.footer a:hover {
    color: #25BA45;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .container, .header-inner, .inquiry-form {
        max-width: 100%;
        padding: 0 20px;
    }
    .carousel {
        max-width: 100%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header { height: auto; padding: 10px 0; }
    .header-inner { flex-direction: column; }
    .nav-menu { flex-wrap: wrap; justify-content: center; margin-top: 10px; }
    .nav-menu li { margin: 0 10px; }
    .nav-menu li a { line-height: 36px; font-size: 14px; }
    .nav-phone { margin: 10px 0 0; }

    .carousel { height: 240px; }

    .product-card, .article-card, .hot-product-item {
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }

    .form-row { flex-direction: column; }

    .float-buttons { right: 10px; }
    .float-btn { width: 50px; height: 50px; font-size: 10px; }
}

/* ========== 子页面通用样式 ========== */
.page-banner {
    margin-top: 82px;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #25BA45 0%, #1ea83a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 8px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.9;
}

/* 内容区 */
.page-content {
    max-width: 1190px;
    margin: 0 auto;
    padding: 30px 15px 60px;
}

.page-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #25BA45;
    display: inline-block;
}

.page-content p {
    color: #666;
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 15px;
    text-indent: 2em;
}

/* 资质荣誉 */
.qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.qualification-item {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    text-align: center;
}

.qualification-item img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fafafa;
}

.qualification-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-indent: 0;
}

/* 联系信息 */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px 0;
}

.contact-info-item {
    flex: 1;
    min-width: 300px;
    background: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
}

.contact-info-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.contact-info-item p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    text-indent: 0;
}

.contact-info-item .phone {
    color: #25BA45;
    font-size: 20px;
    font-weight: 500;
}

/* 地图容器 */
.map-container {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 文章详情 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 14px;
    color: #999;
}

.article-body p {
    text-indent: 2em;
}

/* 产品分类标签 */
.product-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-tab {
    padding: 8px 20px;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s;
}

.filter-tab.active,
.filter-tab:hover {
    background: #25BA45;
    color: #fff;
}

/* 文章列表 */
.article-list-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.article-list-item img {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.article-list-item-body {
    flex: 1;
}

.article-list-item-body h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.article-list-item-body .date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.article-list-item-body .excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-indent: 0;
}

/* 当前导航高亮 */
.nav-menu > li.active > a {
    color: #25BA45;
}

@media (max-width: 768px) {
    .page-banner { height: 150px; }
    .page-banner h1 { font-size: 24px; }
    .qualification-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    .article-list-item {
        flex-direction: column;
    }
    .article-list-item img {
        width: 100%;
        height: 180px;
    }
}

/* 产品分类列表页（products.html） */
.product-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.product-cat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.product-cat-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-cat-card:hover .product-cat-img img {
    transform: scale(1.05);
}

.product-cat-name {
    padding: 20px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.product-cat-name h3 {
    font-size: 20px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-cat-name p {
    font-size: 14px;
    color: #999;
}

@media (max-width: 992px) {
    .product-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .product-cat-grid { grid-template-columns: 1fr; }
    .product-cat-img { height: 200px; }
}

/* ========== 产品详情页样式（原站根茎类左右分栏布局） ========== */

/* 面包屑 */
.breadcrumb {
    background: #f5f5f5;
    padding: 12px 0;
    font-size: 14px;
    color: #999;
    border-bottom: 1px solid #eee;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #25BA45;
}

.breadcrumb span.sep {
    color: #ccc;
}

.breadcrumb span.current {
    color: #25BA45;
}

/* 左右分栏主布局 */
.product-detail-layout {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    align-items: flex-start;
}

/* 左侧区域：主图 + 缩略图 + 产品详情 */
.product-detail-left {
    flex: 0 0 560px;
    max-width: 560px;
}

/* 主图 */
.product-main-image {
    width: 100%;
    height: 420px;
    border: 1px solid #eee;
    overflow: hidden;
    background: #f5f5f5;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

/* 小图列表（横向，位于主图正下方） */
.product-thumb-list {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    justify-content: flex-start;
}

.product-thumb-item {
    width: 110px;
    height: 110px;
    cursor: pointer;
    border: 2px solid #eee;
    overflow: hidden;
    transition: all 0.3s;
    flex-shrink: 0;
}

.product-thumb-item.active {
    border-color: #25BA45;
}

.product-thumb-item:hover {
    border-color: #25BA45;
}

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

/* 左侧"产品详情"区域 */
.product-detail-section {
    margin-top: 40px;
    background: #fff;
}

.product-detail-title {
    font-size: 18px;
    color: #25BA45;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 2px solid #25BA45;
    display: inline-block;
    margin-bottom: 20px;
}

.product-detail-text {
    color: #666;
    font-size: 15px;
    line-height: 32px;
}

.product-detail-text p {
    text-indent: 2em;
    margin-bottom: 15px;
}

.product-detail-text img {
    max-width: 100%;
    margin: 15px 0;
    border-radius: 4px;
}

/* 右侧区域：标题、简介、立即联系 */
.product-detail-right {
    flex: 1;
    min-width: 0;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
}

.product-info-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-info-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 标签 */
.product-tags {
    margin-bottom: 25px;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
    border-radius: 2px;
    margin-right: 8px;
    margin-bottom: 6px;
}

/* 立即联系按钮 */
.btn-contact {
    display: block;
    width: 100%;
    text-align: center;
    background: #25BA45;
    color: #fff;
    padding: 14px 0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
    margin-top: 15px;
}

.btn-contact:hover {
    background: #1ea83a;
    color: #fff;
}

/* 联系信息块 */
.contact-info-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.contact-info-box .label {
    color: #333;
    font-weight: 500;
    margin-right: 8px;
}

.contact-info-box .phone {
    color: #25BA45;
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

/* 底部产品列表区域 */
.product-list-section {
    padding: 40px 0;
    background: #f8f8f8;
}

.product-list-section .section-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-grid-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.product-grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-grid-item .name {
    padding: 12px;
    text-align: center;
    font-size: 15px;
    color: #333;
    background: #fff;
}

@media (max-width: 992px) {
    .product-detail-layout { flex-direction: column; }
    .product-detail-left { flex: 0 0 auto; max-width: 100%; }
    .product-main-image { height: 360px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .product-main-image { height: 280px; }
    .product-thumb-item { width: 80px; height: 80px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-info-title { font-size: 20px; }
}
