.equipment-hero {
    position: relative;
    height: 35vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.equipment-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/banner.jpg') no-repeat center center/cover;
    z-index: 0;
}

.equipment-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 86, 179, 0.8) 100%);
    z-index: 1;
}

.equipment-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.equipment-hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.equipment-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

.equipment-hero-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

.equipment-hero-breadcrumb a {
    color: var(--white);
    transition: var(--transition);
}

.equipment-hero-breadcrumb a:hover {
    color: var(--accent-color);
}

.equipment-hero-breadcrumb span {
    margin: 0 10px;
    opacity: 0.6;
}

.equipment-hero-breadcrumb .active {
    color: var(--accent-color);
    font-weight: 600;
}

.breadcrumb-section {
    padding: 20px 0;
    background-color: #f9f9ff;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    margin-right: 10px;
    color: #666;
}

.breadcrumb li:after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb li.active {
    color: #1a237e;
    font-weight: 600;
}

.breadcrumb a {
    color: #666;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #1a237e;
}

.product-detail-section {
    padding: 80px 0;
    background-color: var(--white);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery {
    position: relative;
}

.main-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    height: 500px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.main-image::after {
    content: '🔍';
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.main-image:hover::after {
    opacity: 1;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:hover {
    transform: translateY(-3px);
    border-color: #2962ff;
}

.thumbnail.active {
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .thumbnail {
        width: 70px;
        height: 70px;
    }
}

.product-info h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1a237e;
}

.product-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.product-meta .category {
    background-color: #e8eaf6;
    color: #1a237e;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-meta .sku {
    color: #666;
    font-size: 0.9rem;
}

.product-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

.specs-section, .features-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.specs-section h3, .features-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1a237e;
    display: flex;
    align-items: center;
}

.specs-section h3 i, .features-section h3 i {
    margin-right: 10px;
    color: #2962ff;
}

.specs-list, .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.specs-list li, .features-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.specs-list li:before, .features-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #2962ff;
}

.features-list li:before {
    background-color: #ff6d00;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(199, 199, 20);
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.related-products-section {
    padding: 60px 0;
    background-color: #f9f9ff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.related-product-image {
    height: 200px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.related-product-info {
    padding: 25px;
}

.related-product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a237e;
}

.related-product-info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.related-product-link {
    display: inline-flex;
    align-items: center;
    color: #2962ff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.related-product-link i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.related-product-link:hover {
    color: #1a237e;
}

.related-product-link:hover i {
    transform: translateX(5px);
}

.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
}

.image-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 300px;
}

.image-popup-content img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    background-color: #ffffff;
}

.close-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    z-index: 10002;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.close-popup:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #000;
    transform: scale(1.1);
}

.nav-popup {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    border: none;
    z-index: 10002;
    line-height: 1;
}

.nav-popup.prev {
    left: 20px;
}

.nav-popup.next {
    right: 20px;
}

.nav-popup:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.popup-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-family: monospace;
    z-index: 10002;
    border: none;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .main-image {
        height: 400px;
    }
    
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .specs-section h3, .features-section h3 {
        font-size: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .product-info h1 {
        font-size: 1.4rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .specs-list li, .features-list li {
        font-size: 0.85rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }

    .equipment-hero-title {
        font-size: 1.5rem;
    }
    
    .equipment-hero-subtitle {
        font-size: 1rem;
    }
    
    .image-popup-content {
        min-width: 250px;
        min-height: 250px;
    }
    
    .image-popup-content img {
        min-width: 150px;
        min-height: 150px;
    }
    
    .close-popup {
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .nav-popup {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .nav-popup.prev {
        left: 10px;
    }
    
    .nav-popup.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .equipment-hero-title {
        font-size: 2rem;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}