.product_details_container {
    padding: 40px;
    margin: 20px auto;
    max-width: 1400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.product_details_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.product_detail_card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product_detail_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.detail_header {
    background: linear-gradient(135deg, #0056b3, #0085ff);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail_header i {
    font-size: 1.2em;
}

.detail_header h6 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
}

.detail_content {
    padding: 20px;
    color: #333;
    line-height: 1.6;
}

.analysis_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.analysis_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.analysis_item .label {
    font-weight: 600;
    color: #555;
}

.analysis_item .value {
    color: #0085ff;
    font-weight: 500;
}

.product_actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.action_button {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.addtocart {
    width: 100%;
    background: linear-gradient(135deg, #0056b3, #0085ff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.addtocart:hover {
    background: linear-gradient(135deg, #003d80, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.download-pdf-btn {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0056b3, #0085ff);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    font-weight: 600;
}

.download-pdf-btn:hover {
    background: linear-gradient(135deg, #003d80, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.pdf-icon {
    margin-right: 10px;
    color: #ff4444;
}

.download-icon {
    margin-left: 10px;
    animation: bounce 2s infinite;
}

@media (max-width: 768px) {
    .product_details_container {
        padding: 20px;
        margin: 10px;
    }

    .product_details_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .action_button, .download-pdf-btn {
        min-width: 100%;
    }
}

[dir="rtl"] .pdf-icon {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .download-icon {
    margin-left: 0;
    margin-right: 10px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}