/* Amazon Product Scraper – Frontend Styles */

.aps-product {
    margin: 1.5em 0;
    padding: 1em;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
    font-size: 1em;
    line-height: 1.5;
}

.aps-product .aps-field {
    margin-bottom: 0.75em;
}

.aps-product .aps-field:last-child {
    margin-bottom: 0;
}

.aps-product .aps-label {
    font-weight: 600;
    color: #444;
    margin-right: 0.3em;
}

.aps-product .aps-title {
    font-size: 1.15em;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.aps-product .aps-title:hover {
    color: #b12704;
    text-decoration: underline;
}

.aps-product .aps-lg-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.aps-product .aps-field-lg-image {
    text-align: center;
}

.aps-product .aps-md-image {
    max-width: 250px;
    height: auto;
}

.aps-product .aps-sm-image {
    max-width: 100px;
    height: auto;
}

.aps-product .aps-image-link {
    color: #007185;
    text-decoration: none;
}

.aps-product .aps-image-link:hover {
    color: #c45500;
    text-decoration: underline;
}

.aps-product .aps-description {
    color: #333;
    line-height: 1.6;
}

.aps-product .aps-author {
    color: #555;
    font-style: italic;
}

.aps-product .aps-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #b12704;
}

.aps-product .aps-link {
    display: inline-block;
    padding: 0.5em 1em;
    background: #ffd814;
    color: #0f1111;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #fcd200;
}

.aps-product .aps-link:hover {
    background: #f7ca00;
}

.aps-fallback {
    padding: 1em;
    background: #fff3cd;
    border-color: #ffeaa7;
}

/* Multi-Product Grids */
.aps-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5em;
    margin: 1.5em 0;
}

.aps-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1em;
    background: #fff;
    text-align: center;
}

.aps-product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5em;
}

.aps-product-card .aps-title {
    display: block;
    margin-bottom: 0.3em;
}

.aps-template-productcarousel {
    /* Optional: hier könnte später Carousel-JS hin */
}
