.custom-attributes {
    margin: 1.25rem 0 1.6rem;
}

.custom-attributes[hidden] { display: none; }

.custom-attributes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.custom-attributes__card {
    min-width: 0;
    padding: 15px 17px;
    border: 1px solid rgba(96, 70, 82, .18);
    border-radius: 12px;
    background: linear-gradient(135deg, #fff, #fbf7f8);
    box-shadow: 0 7px 18px rgba(69, 45, 57, .08);
    animation: custom-attribute-enter .45s ease both;
}

.custom-attributes__name {
    display: block;
    color: #725762;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.35;
    text-transform: uppercase;
}

.custom-attributes__value {
    display: block;
    margin-top: 6px;
    color: #604652;
    font-size: clamp(1.25rem, 2.8vw, 1.8rem);
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

@keyframes custom-attribute-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .custom-attributes__card { animation: none; }
}

@media (max-width: 480px) {
    .custom-attributes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .custom-attributes__card { padding: 12px; }
}
