.amazon-card {
    max-width: 200px;
    border-top: 4px solid #f90;
    transition: transform .2s ease-in-out
}

.amazon-card:hover {
    transform: translateY(-5px)
}

.amazon-card-header {
    padding: 10px 15px 0
}

.amazon-card-header svg {
    fill: initial !important
}

.amazon-card-image {
    height: 190px;
    background-color: #fdfdfd
}

.amazon-card-image img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    opacity: 0;
    transition: opacity .5s ease-in-out
}

.amazon-card-image img.active {
    opacity: 1
}

.amazon-card-content {
    padding: 0 20px 15px
}

.amazon-product-title {
    font-size: 1.1em;
    color: #0066c0;
    margin-bottom: 8px;
    max-height: 3.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.amazon-price-container {
    gap: 10px
}

.amazon-product-price {
    font-size: 1em;
    color: #111
}

.amazon-prime-badge svg {
    height: 20px
}

.amazon-button {
    gap: 8px;
    color: #111;
    padding: 4px;
    font-size: 1em;
    cursor: pointer;
    background: linear-gradient(to bottom, #f7d841, #f0c14b);
    transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out
}

.amazon-button:hover {
    background: linear-gradient(to bottom, #f0c14b, #e4b938);
    box-shadow: 0 4px 8px rgba(213, 177, 65, .7)
}

.amazon-button svg {
    height: 35px;
    width: 35px;
    fill: #fff !important;
    padding: 7px;
    border-radius: 4px;
    background: #111
}

@media (max-width:480px) {
    .amazon-card {
        max-width: 300px
    }

    .amazon-card-header svg {
        width: 30%
    }

    .amazon-mobile {
        display: flex;
        gap: 5px;
        padding: 0 10px
    }

    .amazon-card-image {
        min-width: 120px;
        height: 150px
    }

    .amazon-card-content {
        justify-content: end !important;
        max-width: 170px;
        padding: 0 0 15px
    }
}