/* ========================================
   Product Page Styles
   ======================================== */

/* Breadcrumb */
.bnjis-breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.bnjis-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bnjis-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.bnjis-breadcrumb a:hover {
    color: #00a854;
}

.bnjis-breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.bnjis-breadcrumb .current {
    color: #333;
}

/* Product Hero Section */
.bnjis-product-hero {
    padding: 3rem 0;
    background: #fff;
}

.bnjis-product-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: #00a854;
}

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

/* Product Info */
.product-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.product-category {
    background: #00a854;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.product-code {
    color: #666;
    font-size: 0.875rem;
}

.product-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Product Specs */
.product-specs {
    margin-bottom: 2rem;
}

.product-specs h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #333;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

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

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

.spec-label {
    padding: 12px 0;
    color: #666;
    width: 30%;
}

.spec-value {
    padding: 12px 0;
    color: #333;
    font-weight: 500;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #00a854;
    color: #fff;
    border: 2px solid #00a854;
}

.btn-primary:hover {
    background: #008f47;
    border-color: #008f47;
}

.btn-secondary {
    background: #f5a623;
    color: #fff;
    border: 2px solid #f5a623;
}

.btn-secondary:hover {
    background: #e09420;
    border-color: #e09420;
}

.btn-outline {
    background: transparent;
    color: #00a854;
    border: 2px solid #00a854;
}

.btn-outline:hover {
    background: #00a854;
    color: #fff;
}

/* Product Content Tabs */
.bnjis-product-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.bnjis-product-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-tabs {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 1rem 2rem;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #f0f0f0;
}

.tab-btn.active {
    background: #fff;
    color: #00a854;
    border-bottom: 2px solid #00a854;
}

.tab-content {
    padding: 2rem;
}

.tab-panel {
    display: none;
}

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

/* Product Features */
.product-features {
    margin-top: 2rem;
}

.product-features h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #666;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00a854;
    font-weight: bold;
}

/* Application Grid */
.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.app-item {
    text-align: center;
}

.app-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.app-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.app-item p {
    font-size: 0.875rem;
    color: #666;
}

/* Certificate List */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cert-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Inquiry Section */
.bnjis-inquiry-section {
    padding: 4rem 0;
    background: #fff;
}

.bnjis-inquiry-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.bnjis-inquiry-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.bnjis-inquiry-section p {
    color: #666;
    margin-bottom: 2rem;
}

.inquiry-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a854;
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 1.125rem;
}

/* Related Products */
.bnjis-related-products {
    padding: 4rem 0;
    background: #f8f9fa;
}

.bnjis-related-products .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bnjis-related-products h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

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

.related-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-image {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 4/3;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-item h4 {
    font-size: 1rem;
    text-align: center;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: static;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 0 100%;
    }
}
