/* Beautiful PDF Attachments Section */
.product-attachments {
    padding: 0 !important;
}

.attachments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 0;
}

.attachment-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.attachment-card:hover {
    border-color: #7ec942;
    box-shadow: 0 4px 12px rgba(126, 201, 66, 0.15);
    transform: translateY(-2px);
}

.attachment-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.attachment-icon i.fa-file-pdf {
    font-size: 32px;
    color: #7ec942;
}

.attachment-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
}

.attachment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.attachment-size {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.attachment-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #7ec942;
    color: white !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.attachment-download:hover {
    background: #6db535;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(126, 201, 66, 0.3);
}

.attachment-download i {
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .attachments-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .attachment-card {
        padding: 12px;
    }
    
    .attachment-icon i.fa-file-pdf {
        font-size: 28px;
    }
    
    .attachment-title {
        font-size: 13px;
    }
    
    .attachment-meta {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .attachment-download {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .attachments-grid {
        padding: 15px 0;
    }
    
    .attachment-icon {
        gap: 10px;
    }
    
    .attachment-icon i.fa-file-pdf {
        font-size: 24px;
    }
}
