.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.close-modal:hover {
    color: #333;
}

.automation-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.automation-table th {
    background-color: #f3f4f6;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

.automation-table td {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
}

.automation-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.automation-table tr:hover {
    background-color: #f0f9ff;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}

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

.product-image {
    width: 100%;
    height: 350px;
    object-fit: contain; 
    display: block;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
    padding: 125px;
}

.product-image i {
    font-size: 64px;
    color: #ff8800;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.product-sku {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.product-features {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.feature-label {
    font-weight: 500;
    min-width: 120px;
    color: #4b5563;
}

.feature-value {
    color: #1f2937;
}

.btn-primary {
    background-color: #ff8800;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e67300;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ff8800;
    color: #ff8800;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: #ff8800;
    color: white;
    transform: translateY(-2px);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #ff8800;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #374151;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .automation-table {
        font-size: 12px;
    }

    .automation-table th,
    .automation-table td {
        padding: 8px 10px;
    }
}
