

.affiliate-hero-merchants {
    margin-top: 1.5em;
    --ah-button-width: 100%;
    --ah-button-height: auto;
    --ah-button-align: flex-start;
}

.affiliate-hero-merchants .ah-merchants-title {
    margin-bottom: 0.8em;
}

.affiliate-hero-merchants .ah-merchants-list {
    display: flex;
    flex-direction: column;
    align-items: var(--ah-button-align);
    gap: 10px;
}

.affiliate-hero-merchants .ah-merchants-list .ah-merchant-row {
    box-sizing: border-box;
    width: var(--ah-button-width);
    max-width: 100%;
    height: var(--ah-button-height);
}

.ah-merchant-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}

.ah-merchant-row *,
.ah-merchant-row *:hover {
    color: inherit;
}

.ah-merchant-logo {
    flex-shrink: 0;
}


.affiliate-hero-merchants .ah-merchants-list .ah-merchant-row .ah-merchant-logo img {
    width: 20px;
    max-width: 20px;
    height: auto;
    margin: 0;
    display: block;
    box-shadow: none;
}

.ah-merchant-name {
    font-weight: 400;
    font-size: 12px;
    white-space: nowrap;
}

.ah-merchant-price {
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    margin-left: auto;
}


.affiliate-hero-merchants {
    --ah-stock-in-color: #2ecc71;
    --ah-stock-out-color: #ff6b6b;
}

.ah-merchant-stock {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    line-height: 0;
}

.ah-merchant-row .ah-merchant-stock.is-in-stock,
.ah-merchant-row:hover .ah-merchant-stock.is-in-stock {
    color: var(--ah-stock-in-color);
}

.ah-merchant-row .ah-merchant-stock.is-out-of-stock,
.ah-merchant-row:hover .ah-merchant-stock.is-out-of-stock {
    color: var(--ah-stock-out-color);
}

.ah-merchant-stock .ah-stock-icon {
    display: block;
    width: 14px;
    height: 14px;
}

.ah-stock-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
