/* ============================================
   EMMARK INDUSTRIES - Product Detail Page Styles
   ============================================ */

/* ============================================
   Product Banner Override
   ============================================ */
.product-banner {
    height: 40vh;
    min-height: 300px;
}

/* ============================================
   Product Showcase Section
   ============================================ */
.product-showcase-section {
    background: var(--white);
    padding: 5rem 0;
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.main-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-light);
    cursor: zoom-in;
}

.main-product-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.image-badge i {
    font-size: 1rem;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

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

/* Product Info */
.product-info {
    padding-left: 1rem;
}

.product-category {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.product-summary {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.product-summary p {
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.8;
}

.product-highlights {
    margin-bottom: 2rem;
}

.product-highlights h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-highlights h5 i {
    color: var(--accent-color);
}

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

.product-highlights li {
    padding: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.product-highlights li:last-child {
    border-bottom: none;
}

.product-highlights li i {
    color: #28a745;
    font-size: 1rem;
    margin-top: 3px;
}

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

.product-actions .btn {
    padding: 0.9rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.product-actions .btn-success {
    background: #25D366;
    border-color: #25D366;
}

.product-actions .btn-success:hover {
    background: #128C7E;
    border-color: #128C7E;
}

/* Product Meta */
.product-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ============================================
   Product Description Section
   ============================================ */
.product-description-section {
    background: var(--bg-section);
    padding: 5rem 0;
}

.description-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.description-card .section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.description-card .section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.description-content p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.description-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.industry-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.industry-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.industry-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.industry-item:hover i {
    color: var(--accent-color);
}

.industry-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

.application-lists ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.application-lists li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.application-lists li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}
/* ============================================
   Specifications Section
   ============================================ */
.specifications-section {
    background: var(--white);
    padding: 5rem 0;
}

.specs-card {
    background: var(--bg-section);
    padding: 3rem;
    border-radius: 20px;
}

.specs-card .section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.specs-card .section-title {
    font-size: 2rem;
    color: var(--primary-color);
}

.specs-table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

.specs-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.specs-table thead th {
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
}

.specs-table tbody tr {
    transition: var(--transition);
}

.specs-table tbody tr:hover {
    background: var(--bg-light);
}

.specs-table tbody td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-color: #eee;
}

.specs-table tbody td:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.specs-table tbody td:first-child i {
    color: var(--primary-color);
    margin-right: 10px;
}

.specs-table tbody td:last-child {
    color: var(--text-muted);
}

/* ============================================
   Properties Section
   ============================================ */
.properties-section {
    background: var(--bg-section);
    padding: 5rem 0;
}

.properties-section .section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.properties-section .section-title {
    font-size: 2rem;
    color: var(--primary-color);
}

.property-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.property-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.property-card:hover .property-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.property-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.property-card:hover .property-icon i {
    color: var(--text-dark);
}

.property-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.property-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages-section {
    background: var(--white);
    padding: 5rem 0;
}

.advantages-section .section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.advantages-section .section-title {
    font-size: 2rem;
    color: var(--primary-color);
}

.advantage-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.advantage-card:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.advantage-card:hover .advantage-content h4,
.advantage-card:hover .advantage-content p {
    color: var(--white);
}

.advantage-card:hover .advantage-icon {
    background: var(--accent-color);
}

.advantage-card:hover .advantage-icon i {
    color: var(--text-dark);
}

.advantage-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.advantage-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.advantage-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
    transition: var(--transition);
}

/* ============================================
   Technical Section
   ============================================ */
.technical-section {
    background: var(--bg-section);
    padding: 5rem 0;
}

.technical-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.technical-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.technical-card h3 i {
    color: #dc3545;
}

.technical-card > .row > div:first-child p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.standards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.standards-list li {
    padding: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.standards-list li i {
    color: #28a745;
}

.download-btn {
    border-radius: 50px;
    padding: 1rem 2rem;
}

.download-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* ============================================
   Product CTA Section
   ============================================ */
.product-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
}

.cta-card h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-card .btn-light {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.9rem 1.8rem;
}

.cta-card .btn-light:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

.cta-card .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.9rem 1.8rem;
}

.cta-card .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ============================================
   Related Products Section
   ============================================ */
.related-products-section {
    background: var(--white);
    padding: 5rem 0;
}

.related-products-section .section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.related-products-section .section-title {
    font-size: 2rem;
    color: var(--primary-color);
}

.related-product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.related-product-card .product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.related-product-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 59, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.related-product-card:hover .product-overlay {
    opacity: 1;
}

.related-product-card .product-content {
    padding: 1.5rem;
}

.related-product-card .product-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.related-product-card .product-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1199px) {
    .product-title {
        font-size: 2.2rem;
    }
    
    .main-product-image {
        height: 400px;
    }
}

@media (max-width: 991px) {
    .product-showcase-section {
        padding: 4rem 0;
    }
    
    .product-info {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .main-product-image {
        height: 350px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-list {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .product-banner {
        height: 35vh;
        min-height: 250px;
    }
    
    .product-title {
        font-size: 1.75rem;
    }
    
    .product-subtitle {
        font-size: 1rem;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .description-card,
    .specs-card,
    .technical-card {
        padding: 1.5rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .cta-card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thumbnail {
        width: 55px;
        height: 55px;
    }
    
    .specs-table thead th,
    .specs-table tbody td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .property-card,
    .advantage-card {
        padding: 1.25rem;
    }
    
    .property-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-icon {
        width: 45px;
        height: 45px;
    }
    
    .advantage-icon i {
        font-size: 1.2rem;
    }
}