/* ============================================
   嵘鳄 RONGE — 品牌产品中心页面样式
   ============================================ */

/* ---- 通用产品区布局 ---- */
.products-section {
    padding: 80px 0;
    background: #fff;
}

/* ---- 4大分类入口卡片 ---- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 60px;
}
.category-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E85D04, #ff6b25);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(232,93,4,0.15);
    border-color: #E85D04;
}
.category-card:hover::before {
    transform: scaleX(1);
}
.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff5ee, #fff0e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-icon i {
    font-size: 2rem;
    color: #E85D04;
}
.category-card:hover .category-icon {
    background: linear-gradient(135deg, #E85D04, #ff6b25);
}
.category-card:hover .category-icon i {
    color: #fff;
}
.category-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 12px;
}
.category-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

/* ---- 产品Hero通用样式（深色背景） ---- */
.product-hero {
    position: relative;
    padding: 0;
    min-height: 340px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}
.product-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(232,93,4,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,107,37,0.1) 0%, transparent 50%);
    z-index: 1;
}
.product-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
}
.product-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 10px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out;
}
.product-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 4px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.product-hero-line {
    width: 80px;
    height: 3px;
    background: #E85D04;
    margin: 20px auto 0;
    border-radius: 2px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- 橙色渐变Hero（products.html首页用） ---- */
.orange-hero {
    position: relative;
    padding: 0;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E85D04 0%, #F37021 50%, #ff6b25 100%);
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
}
.orange-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 1;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.orange-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 90px 20px;
}
.orange-hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 12px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.25);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out;
}
.orange-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    letter-spacing: 4px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.orange-hero-line {
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.9);
    margin: 24px auto 0;
    border-radius: 2px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ---- 产品列表网格 ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

/* ---- 产品详情卡片 ---- */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(232,93,4,0.18);
    border-color: #E85D04;
}
.product-card-image {
    height: 220px;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-card-image::after {
    content: 'TODO: 产品图片';
    font-size: 0.85rem;
    color: #bbb;
    letter-spacing: 2px;
}
.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #E85D04;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.product-card-body {
    padding: 24px;
}
.product-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}
.product-card-desc {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 16px;
}
.product-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.product-tag {
    background: #f5f5f5;
    color: #666;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ---- 产品列表页大卡片（食品系列） ---- */
.product-list-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 24px;
}
.product-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(232,93,4,0.15);
    border-color: #E85D04;
}
.product-list-image {
    width: 260px;
    min-height: 200px;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.product-list-image::after {
    content: 'TODO: 产品图片';
    font-size: 0.85rem;
    color: #ccc;
    letter-spacing: 2px;
}
.product-list-body {
    padding: 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-list-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}
.product-list-desc {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}
.product-list-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ---- 深林品网格（两列等高卡片） ---- */
.deep-forest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.deep-forest-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.deep-forest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(232,93,4,0.15);
    border-color: #E85D04;
}
.deep-forest-card-image {
    height: 280px;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.deep-forest-card-image::after {
    content: 'TODO: 深林品图片';
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 2px;
}
.deep-forest-card-body {
    padding: 28px;
}
.deep-forest-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}
.deep-forest-card-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.7;
}

/* ---- FAQ 手风琴 ---- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item:hover {
    border-color: #E85D04;
}
.faq-item.active {
    border-color: #E85D04;
    box-shadow: 0 8px 24px rgba(232,93,4,0.1);
}
.faq-question {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}
.faq-question-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c2c2c;
    flex: 1;
}
.faq-question:hover .faq-question-text {
    color: #E85D04;
}
.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-icon i {
    font-size: 0.8rem;
    color: #888;
    transition: transform 0.3s;
}
.faq-item.active .faq-icon {
    background: #E85D04;
}
.faq-item.active .faq-icon i {
    color: #fff;
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
    padding: 0 28px 22px;
    font-size: 0.93rem;
    color: #666;
    line-height: 1.8;
}

/* ---- 区块标题（复用 about.css 风格） ---- */
.product-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
.product-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #E85D04;
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ---- Footer（统一，使用 style.css 已有样式，此处补充） ---- */
/* 已在 style.css 定义 */

/* ---- 产品详情页布局 ---- */
.product-detail-section {
    padding: 80px 0;
    background: #fff;
}
.product-detail-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.product-detail-image {
    width: 480px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}
.product-detail-info {
    flex: 1;
}
.product-detail-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
}
.product-detail-badge {
    display: inline-block;
    background: #E85D04;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}
.product-detail-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 28px;
}
.product-features {
    margin-bottom: 32px;
}
.product-features h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-features h3 i {
    color: #E85D04;
}
.product-features ul {
    list-style: none;
    padding: 0;
}
.product-features ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
.product-features ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #E85D04;
    font-size: 0.8rem;
}
.product-specs {
    margin-bottom: 32px;
}
.product-specs h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-specs h3 i {
    color: #E85D04;
}
.product-specs table {
    width: 100%;
    border-collapse: collapse;
}
.product-specs table th,
.product-specs table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.92rem;
}
.product-specs table th {
    background: #f9f9f9;
    color: #999;
    font-weight: 500;
    width: 120px;
}
.product-specs table td {
    color: #555;
}
.product-usage {
    background: #fafafa;
    border-radius: 12px;
    padding: 24px 28px;
}
.product-usage h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-usage h3 i {
    color: #E85D04;
}
.product-usage p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* ---- 相关推荐 ---- */
.related-products {
    padding: 60px 0 80px;
    background: #fafafa;
}
.related-products .product-section-title {
    margin-bottom: 40px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(232,93,4,0.12);
    border-color: #E85D04;
}
.related-card-image {
    height: 160px;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-card-body {
    padding: 16px;
    text-align: center;
}
.related-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 6px;
}
.related-card-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}
.related-card-tags .product-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
}

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .category-card {
        padding: 28px 16px;
    }
    .category-icon {
        width: 64px;
        height: 64px;
    }
    .category-icon i {
        font-size: 1.5rem;
    }
    .orange-hero-title {
        font-size: 2.4rem;
        letter-spacing: 6px;
    }
    .product-hero-title {
        font-size: 2.2rem;
        letter-spacing: 5px;
    }
    .product-section-title {
        font-size: 1.7rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-list-card {
        flex-direction: column;
    }
    .product-list-image {
        width: 100%;
        height: 180px;
    }
    .deep-forest-grid {
        grid-template-columns: 1fr;
    }
    .product-list-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    .orange-hero-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    .orange-hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    .product-hero-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    .product-detail-layout {
        flex-direction: column;
    }
    .product-detail-image {
        width: 100%;
        min-height: 280px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
