/* Product Card Hover Effects */
.product-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.product-card .card-img-top {
    height: 280px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    display: block;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Product Overview Images - 150px height */
.product-card[style*="max-height: 150px"] {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    margin-bottom: 12px !important;
}

.product-card[style*="max-height: 150px"] .card-img-top {
    height: 150px !important;
    object-fit: contain !important;
    padding: 10px !important;
    background-color: white !important;
    width: 100% !important;
}

.product-card[style*="max-height: 150px"]:hover .card-img-top {
    transform: scale(1.08);
}

/* Product Overview Images - 180px height */
.product-card[style*="max-height: 180px"] {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    margin-bottom: 12px !important;
}

.product-card[style*="max-height: 180px"] .card-img-top {
    height: 180px !important;
    object-fit: contain !important;
    padding: 10px !important;
    background-color: white !important;
    width: 100% !important;
}

.product-card[style*="max-height: 180px"]:hover .card-img-top {
    transform: scale(1.08);
}

/* Product Overview Images - 220px height */
.product-card[style*="max-height: 220px"] {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    margin-bottom: 12px !important;
}

.product-card[style*="max-height: 220px"] .card-img-top {
    height: 220px !important;
    object-fit: contain !important;
    padding: 10px !important;
    background-color: white !important;
    width: 100% !important;
}

.product-card[style*="max-height: 220px"]:hover .card-img-top {
    transform: scale(1.08);
}

/* Product Overview Images - 280px height */
.product-card[style*="max-height: 280px"] {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    margin-bottom: 12px !important;
}

.product-card[style*="max-height: 280px"] .card-img-top {
    height: 280px !important;
    object-fit: contain !important;
    padding: 10px !important;
    background-color: white !important;
    width: 100% !important;
}

.product-card[style*="max-height: 280px"]:hover .card-img-top {
    transform: scale(1.08);
}

/* Gradient Background for Powder Card */
.powder-card-header {
    height: 220px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.powder-card-header i {
    font-size: 3.5rem;
    color: white;
}

/* Icon Circle Styling */
.icon-circle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.icon-circle-lg {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

/* Mobile Responsive - Product Images */
@media (max-width: 768px) {
    .product-card[style*="max-height: 150px"] {
        margin-bottom: 10px !important;
    }

    .product-card[style*="max-height: 150px"] .card-img-top {
        height: 120px !important;
        padding: 8px !important;
        object-fit: contain !important;
    }

    .product-card[style*="max-height: 180px"] {
        margin-bottom: 10px !important;
        max-height: 140px !important;
    }

    .product-card[style*="max-height: 180px"] .card-img-top {
        height: 140px !important;
        padding: 8px !important;
        object-fit: contain !important;
    }

    .product-card[style*="max-height: 220px"] {
        margin-bottom: 10px !important;
        max-height: 160px !important;
    }

    .product-card[style*="max-height: 220px"] .card-img-top {
        height: 160px !important;
        padding: 8px !important;
        object-fit: contain !important;
    }

    .product-card[style*="max-height: 280px"] {
        margin-bottom: 10px !important;
        max-height: 180px !important;
    }

    .product-card[style*="max-height: 280px"] .card-img-top {
        height: 180px !important;
        padding: 8px !important;
        object-fit: contain !important;
    }
}

/* Tabs Section Mobile Responsive */
@media (max-width: 768px) {
    .nav-tabs {
        background-color: #f8f9fa;
        padding: 10px;
        border-radius: 8px;
        flex-wrap: wrap;
        gap: 5px;
    }

    .nav-tabs .nav-item {
        flex: 1 1 calc(33.333% - 5px);
        min-width: 80px;
    }

    .nav-tabs .nav-link {
        color: #333 !important;
        background-color: white;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        padding: 8px 10px !important;
        font-size: 0.85rem !important;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-tabs .nav-link:hover {
        background-color: #f0f0f0;
        border-color: #dc3545;
    }

    .nav-tabs .nav-link.active {
        color: white !important;
        background-color: #dc3545 !important;
        border-color: #dc3545 !important;
    }

    .tab-content {
        padding: 15px 0;
    }

    .tab-pane {
        color: #333 !important;
    }

    .tab-pane p,
    .tab-pane li,
    .tab-pane h3,
    .tab-pane h4,
    .tab-pane h5,
    .tab-pane h6 {
        color: #333 !important;
    }

    .tab-pane strong {
        color: #222 !important;
    }

    .text-muted {
        color: #666 !important;
    }

    .section-title {
        font-size: 1.3rem;
        color: #333 !important;
    }

    .feature-text {
        color: #666 !important;
        font-size: 0.9rem !important;
    }

    .card-text {
        color: #666 !important;
    }

    .feature-box {
        padding: 15px !important;
        margin-bottom: 10px;
    }

    .feature-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }

    .feature-title {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
    }

    .specs-table table {
        font-size: 0.85rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 10px !important;
    }

    .specs-table th {
        font-size: 0.9rem;
    }

    .info-item {
        padding: 10px 0 !important;
    }

    .info-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
        margin-right: 10px !important;
    }

    .info-label {
        font-size: 0.85rem !important;
    }

    .info-value {
        font-size: 0.9rem !important;
    }
}
