/* === Amazon Affiliate Block – Frontend Styles === */

.aab-product-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    max-width: 680px;
}

/* Bild */
.aab-product-image {
    flex-shrink: 0;
    width: 160px;
}

.aab-product-image a {
    display: block;
}

.aab-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    max-height: 200px;
    display: block;
}

/* Info-Bereich */
.aab-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

/* Titel */
.aab-product-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    color: #1a1a1a;
}

.aab-product-title a {
    color: inherit;
    text-decoration: none;
}

.aab-product-title a:hover {
    color: #e47911;
    text-decoration: underline;
}

/* Preis */
.aab-product-price {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #b12704;
}

/* Button */
.aab-product-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff9900;
    color: #111 !important;
    text-decoration: none !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
    width: fit-content;
    cursor: pointer;
}

.aab-product-button:hover {
    background: #e8870a;
}

/* Amazon-Logo-Buchstabe */
.aab-amazon-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #111;
    color: #ff9900;
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 900;
    font-style: italic;
    border-radius: 4px;
    flex-shrink: 0;
    line-height: 1;
    padding-bottom: 1px;
}

/* Affiliate-Hinweis */
.aab-affiliate-notice {
    margin: 0;
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 520px) {
    .aab-product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .aab-product-image {
        width: 140px;
    }

    .aab-product-button {
        width: 100%;
        justify-content: center;
    }
}
