.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.08);
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.18);
}

.product-image {
    height: 260px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 212, 255, 0.12) 100%);
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding: 0 25px;
    margin-top: 25px;
}

.product-card .product-en {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 3px;
    padding: 0 25px;
    margin-bottom: 14px;
}

.product-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0 25px;
    margin-bottom: 18px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 25px;
    margin-bottom: 20px;
}

.product-feature {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(253, 203, 110, 0.15) 100%);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-dark);
    font-weight: 600;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 0 25px 28px;
    transition: all 0.3s ease;
}

.product-link:hover {
    gap: 16px;
    color: var(--primary-dark);
}

.product-detail {
    max-width: 1300px;
    margin: 0 auto;
    padding: 140px 50px 80px;
}

.detail-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: start;
    margin-bottom: 80px;
}

.detail-gallery {
    position: sticky;
    top: 130px;
}

.gallery-main {
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(253, 203, 110, 0.15) 100%);
    margin-bottom: 22px;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.12);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
}

.thumb-item {
    flex: 1;
    height: 85px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumb-item:hover {
    opacity: 1;
}

.thumb-item.active {
    border-color: var(--primary);
    opacity: 1;
}

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

.detail-info {
    padding-top: 20px;
}

.detail-info h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.detail-en {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 4px;
    margin-bottom: 28px;
}

.detail-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border);
}

.detail-features {
    margin-bottom: 40px;
}

.detail-features h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 22px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(253, 203, 110, 0.12) 100%);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--accent);
    font-size: 20px;
    width: 24px;
}

.feature-item span {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.detail-cta {
    display: flex;
    gap: 20px;
}

.specs-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 60px;
    margin-top: 70px;
    border: 3px solid var(--border);
}

.specs-section h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 35px;
    text-align: center;
    letter-spacing: -0.5px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.spec-item {
    padding: 25px;
    background: white;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.08);
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
}

.spec-item .spec-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.spec-item .spec-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 40px;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(253, 203, 110, 0.15) 100%);
}

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

    .detail-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .detail-cta {
        flex-direction: column;
    }

    .specs-section {
        padding: 40px 25px;
    }

    .gallery-main {
        height: 320px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-info h1 {
        font-size: 32px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .product-detail {
        padding: 120px 25px 60px;
    }
}
