.product-documents {
    margin: 24px 0;
}

.product-documents__card {
    padding: 32px;
}

.product-documents__header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.product-documents__title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d0400;
    text-align: center;
}

.product-documents__subtitle {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.product-documents__section {
    margin-top: 20px;
}

.product-documents__section:first-of-type {
    margin-top: 0;
}

.product-documents__section-title {
    margin: 0 0 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.product-documents__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.product-documents__item {
    margin: 0;
}

.product-documents__link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    background-color: #fff;
    color: #1f2937;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
    min-height: 64px;
}

.product-documents__link:hover,
.product-documents__link:focus {
    color: #1f2937;
    text-decoration: none;
    background-color: #f5f3ff;
    border-color: #c4b5fd;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
    transform: translateY(-1px);
}

.product-documents__icon-wrap {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #fee2e2;
}

.product-documents__icon {
    color: #dc2626;
    font-size: 1.5rem;
}

.product-documents__text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.product-documents__label {
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-documents__type {
    font-size: 0.8rem;
    color: #6b7280;
}

.product-documents__description {
    margin-top: 6px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #374151;
    white-space: normal;
}

.product-documents__action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #eef2ff;
    color: #4f46e5;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.product-documents__link:hover .product-documents__action,
.product-documents__link:focus .product-documents__action {
    background-color: #4f46e5;
    color: #fff;
}

.product-documents__action-icon {
    font-size: 1.25rem;
}

@media (max-width: 600px) {
    .product-documents__card {
        padding: 20px;
    }

    .product-documents__title {
        font-size: 1.25rem;
    }
}
