/**
 * SSAR Commerce Platform - Amazon Integration Layer Styling
 */

/* Desktop layout rules for the secondary action button */
.cap-amazon-btn-secondary {
    margin-left: 10px;
    background: #f0c14b;
    border: 1px solid #a88734;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.cap-amazon-btn-secondary:hover {
    background: #e6b93f;
    color: #111;
    border-color: #a88734;
}

/* Responsive layout adjustments for mobile form factors */
@media (max-width: 768px) {
    /* Transforms WooCommerce cart actions into a neat block grid layout */
    .single-product form.cart {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Sets the secondary button to expand fully to match the primary CTA weight */
    .cap-amazon-btn-secondary {
        width: 100%;
        text-align: center;
        margin-left: 0;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}