/* Rex Sinner — global price presentation (Amazon-inspired). */
/* Edit this file once to change the price design on every page. */
.rex-price {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    min-height: 32px;
    margin-top: 10px;
    color: #171717;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    white-space: nowrap;
    font-variant-numeric: lining-nums tabular-nums;
}
.rex-price__currency {
    font-size: 13px;
    line-height: 1;
    margin-top: 0;
}
.rex-price__whole {
    font-size: 29px;
    line-height: 1;
    letter-spacing: -.03em;
}
.rex-price__cents {
    font-size: 13px;
    line-height: 1;
    margin-top: 0;
    margin-left: 1px;
}
.rex-price--free {
    color: var(--accent, #a52f36);
    font-size: 21px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .025em;
}
.rex-price--error {
    color: var(--muted, #60544e);
    font-size: 12px;
    line-height: 1.5;
}

/* Temporary FREE promotion: regular price crossed out, then offer. */
.rex-price--promo {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}
.rex-price__promo-row {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 9px;
}
.rex-price__original {
    font-size: 16px;
    line-height: 1.35;
    color: #786f6b;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.rex-price__offer {
    color: var(--accent, #a52f36);
    font-size: 21px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: .025em;
}
.rex-price__promo-stores {
    max-width: 100%;
    color: var(--muted, #60544e);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 600;
    white-space: normal;
}

/* FREE — bright red across the Rex Sinner catalogue */
.rex-price__offer,
.rex-price--free {
    color: #FF0000 !important;
}


/* CTA under each Rex Sinner book card.
   Styled centrally; added automatically by price.js. */
.rex-book-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 30px;
    background: #ffa41c;
    color: #0f1111;
    font: 800 12px/1.3 Arial, Helvetica, sans-serif;
    letter-spacing: .035em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease;
}
.rex-book-cta:hover {
    background: #FF8400;
    color: #0f1111;
}
.rex-book-cta:visited {
    color: #0f1111;
}
.rex-book-cta:focus-visible {
    outline: 3px solid #2b2220;
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .rex-book-cta { transition: none; }
}
