/* shared components */

.book-image {
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.1) !important;
}

.book-store-button {
    align-items: center;
    background-color: #0f4ad5;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.1) !important;
    color: #fff;
    display: flex;
    font-size: 12px;
    gap: 4px;
    justify-content: center;
    padding: 6px 4px;
    transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-out, color 0.3s ease-out;
    white-space: nowrap;
}

.book-store-button:hover {
    background-color: #00379e;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.1) !important;
    color: #fff !important;
}

.book-store-button--amazon {
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.1) !important;
    color: #222;
}

.book-store-button--amazon:hover {
    background-color: #fff !important;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.2) !important;
    color: #222 !important;
}

.book-store-button__text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.book-store-button__icon {
    height: 16px;
    width: 16px;
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .book-store-button {
        font-size: 15px;
        padding: 8px 6px;
    }
}
