/* Unified Product Details Page Styles */
.product-unified-page {
    margin: 50px 0 80px;
}

/* Main Unified Product Section */
.product-unified-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 60px;
}

/* Product Header with Image */
.product-unified-header {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 40px;
    border-bottom: 1px solid #eee;
}

.product-image-unified {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
}

.product-image-unified img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-header-info {
    padding: 10px 0;
}

.product-category-unified {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.product-title-unified {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-status-badge i {
    font-size: 12px;
}

/* Product Meta Information */
.product-meta-unified {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.meta-item-unified {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.meta-content {
    flex: 1;
}

.meta-label {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 2px;
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

/* Unified Content Sections */
.product-content-unified {
    padding: 40px;
}

.content-section {
    margin-bottom: 40px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title-unified {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title-unified i {
    color: #3498db;
}

/* Description Content */
.description-content {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.description-content p {
    margin-bottom: 15px;
}

.description-content ul,
.description-content ol {
    margin: 15px 0 15px 20px;
    padding-left: 15px;
}

.description-content li {
    margin-bottom: 8px;
    color: #555;
}

/* Features Grid */
.features-grid-unified {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.feature-item-unified {
    padding: 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.feature-item-unified:hover {
    border-color: #3498db;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.1);
    transform: translateY(-3px);
}

.feature-icon-unified {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-content-unified {
    flex: 1;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.feature-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Specifications Table */
.specs-container {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.specs-table-unified {
    width: 100%;
    border-collapse: collapse;
}

.specs-table-unified tr {
    border-bottom: 1px solid #e9ecef;
}

.specs-table-unified tr:last-child {
    border-bottom: none;
}

.specs-table-unified td {
    padding: 16px 20px;
}

.specs-table-unified td:first-child {
    font-weight: 600;
    color: #2c3e50;
    width: 35%;
    background: white;
}

.specs-table-unified td:last-child {
    color: #555;
    background: white;
}

/* CTA Section Inside Main Section */
.cta-inside-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
}

.cta-title-inside {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-description-inside {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-buttons-inside {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-inside-primary {
    background: linear-gradient(135deg, #1d3b39, #92865b);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-inside-primary:hover {
    background: linear-gradient(135deg, #92865b, #1d3b39);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.btn-inside-secondary {
    background: white;
    color: #1d3b39;
    border: 2px solid #1d3b39;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-inside-secondary:hover {
    background: #1d3b39;
    color: white;
    transform: translateY(-2px);
}

/* Related Products Section */
.related-products-section {
    margin-top: 60px;
}

.related-header {
    text-align: center;
    margin-bottom: 40px;
}

.related-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.related-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 3px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.related-image {
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.related-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-category {
    font-size: 11px;
    color: #3498db;
    background: #e3f2fd;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.related-title {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.related-card:hover .related-title {
    color: #3498db;
}

.related-description {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-related {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-related:hover {
    background: linear-gradient(135deg, #2980b9, #1c6ea4);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
    .product-unified-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image-unified {
        height: 280px;
    }

    .product-meta-unified {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid-unified {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .product-unified-page {
        margin: 30px 0 50px;
    }

    .product-unified-header,
    .product-content-unified {
        padding: 25px 20px;
    }

    .product-title-unified {
        font-size: 28px;
    }

    .product-meta-unified {
        grid-template-columns: 1fr;
    }

    .cta-buttons-inside {
        flex-direction: column;
    }

    .btn-inside-primary,
    .btn-inside-secondary {
        width: 100%;
        justify-content: center;
    }

    .features-grid-unified {
        grid-template-columns: 1fr;
    }

    .specs-table-unified td {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .product-image-unified {
        height: 220px;
        padding: 20px;
    }

    .product-title-unified {
        font-size: 24px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-header h2 {
        font-size: 24px;
    }

    .section-title-unified {
        font-size: 20px;
    }

    .specs-table-unified td {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .specs-table-unified td:first-child {
        font-weight: 700;
        background: #f8f9fa;
        border-bottom: none;
        padding-bottom: 5px;
    }

    .specs-table-unified td:last-child {
        padding-top: 5px;
    }
}
