.aa-accessories-wrap {
    margin: 30px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Breaks the section out of a boxed theme container so it spans the
   full browser width, regardless of the width of its parent column. */
.aa-accessories-wrap.aa-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 30px;
    padding-right: 30px;
}

.aa-accessories-heading {
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 20px;
}

.aa-accessories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
}

.aa-accessory-item {
    box-sizing: border-box;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: var(--aa-card-width, 200px);
    max-width: 100%;
}

.aa-accessories-list .aa-accessory-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 14px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px !important;
}

.aa-accessories-list .aa-accessory-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px !important;
    display: block;
}

.aa-accessory-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.aa-accessory-desc {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.aa-model-tag {
    display: inline-block;
    border: 2px solid #1a1a1a;
    border-radius: 6px;
    padding: 4px 14px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    background: #ffffff;
    margin-top: auto;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .aa-accessory-item {
        width: 100%;
    }
}
