/**
 * Simple Amazon Affiliate - Styles
 */

.saa-product-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 600px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.saa-product-box * {
    box-sizing: border-box;
}

.saa-product-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.saa-product-image {
    flex: 0 0 150px;
}

.saa-product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.saa-product-info {
    flex: 1;
}

.saa-product-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.saa-product-title a {
    color: #0073aa;
    text-decoration: none;
}

.saa-product-title a:hover {
    color: #005177;
    text-decoration: underline;
}

.saa-product-price {
    font-size: 24px;
    font-weight: bold;
    color: #B12704;
    margin: 10px 0;
}

.saa-product-description {
    color: #555;
    line-height: 1.6;
    margin: 15px 0;
    font-size: 14px;
}

.saa-product-button {
    margin-top: 15px;
}

.saa-button {
    display: inline-block;
    background: #FF9900;
    color: #111;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.saa-button:hover {
    background: #F08804;
    color: #111;
    text-decoration: none;
}

.saa-prime-badge {
    display: inline-block;
    background: #00A8E1;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    margin-left: 10px;
    text-transform: uppercase;
}

.saa-disclaimer {
    font-size: 11px;
    color: #666;
    margin-top: 15px;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.saa-error {
    background: #ffebe8;
    border: 1px solid #c00;
    color: #c00;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Responsive */
@media (max-width: 600px) {
    .saa-product-content {
        flex-direction: column;
    }

    .saa-product-image {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
    }

    .saa-product-image img {
        max-width: 200px;
        margin: 0 auto;
    }
}
