/* ============================================================
   Tughra Books – Retailer Buy Buttons
   Styled to match the site's clean, modern theme
   ============================================================ */

.trb-retailer-section {
    margin: 20px 0 24px;
    padding: 0;
}

.trb-heading {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
    margin: 0 0 12px;
}

.trb-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Base button style */
.trb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 4px;
    border: 1.5px solid #ddd;
    background: #fff;
    text-decoration: none !important;
    transition: all 0.2s ease;
    min-width: 120px;
    min-height: 52px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: pointer;
}

.trb-btn:hover {
    border-color: #b0a090;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transform: translateY(-1px);
    background: #fafafa;
    text-decoration: none !important;
}

.trb-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Logo image inside button */
.trb-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
}

/* Amazon – slight warm tint on hover */
.trb-btn--amazon:hover {
    border-color: #f90;
    background: #fffdf5;
}

/* Amazon UK – subtle distinction */
.trb-btn--amazon-uk {
    position: relative;
}
.trb-btn--amazon-uk::after {
    content: "UK";
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 9px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.05em;
}

/* Barnes & Noble – green tint on hover */
.trb-btn--bn:hover {
    border-color: #2d5a27;
    background: #f5fbf4;
}

/* IndieBound – blue tint on hover */
.trb-btn--indie:hover {
    border-color: #2a4b8d;
    background: #f4f7fd;
}

/* BAM! – navy tint on hover */
.trb-btn--bam:hover {
    border-color: #1a3a6b;
    background: #f4f6fb;
}

/* Ant Store – text-only fallback button */
.trb-btn--ant {
    background: #1a1a2e;
    border-color: #1a1a2e;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.trb-btn--ant:hover {
    background: #2d2d4e;
    border-color: #2d2d4e;
    color: #fff !important;
}

.trb-text-label {
    color: inherit;
    font-size: 13px;
    font-weight: 600;
}

/* Responsive: stack on mobile */
@media (max-width: 480px) {
    .trb-buttons-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .trb-btn {
        min-width: 100%;
        justify-content: center;
    }
}
