/* **************************************** */
/* * Black Friday banner and prices */
/* **************************************** */
.black-friday-banner {
    margin: 0;
    padding: .6rem 1rem;
    background: #b31329;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
    text-align: center;
}

/* **************************************** */
/* * Product labels and prices */
/* **************************************** */
:root :is(.sale-option-row, .buy-files-btn, .buy-print-btn):where(:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: .6rem;
    text-align: start;
}

:root :is(.buy-files-btn, .buy-print-btn, .sale-option-row) > :first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

:root :is(.buy-files-btn, .buy-print-btn, .sale-option-row) > :last-child {
    justify-self: end;
}

:root .sale-addon:where(:not([hidden])) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: .6rem;
}

:root .sale-price,
:root .ward-page :is(.buy-files-btn, .buy-print-btn) .sale-price {
    display: inline-grid;
    justify-items: end;
    gap: .12em;
    font-size: inherit;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    color: var(--sale-price-ink, inherit);
    text-align: end;
    white-space: nowrap;
}

.sale-price .sale-price-was {
    color: #ac1830;
    font-size: .82em;
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: .1em;
}

:root :is(.button-primary, .button-secondary) .sale-price {
    --sale-price-ink: var(--ink);
    padding: .18em .45em;
}

.button-primary .sale-price {
    border-radius: .2em;
    background: #fff;
}

:root .sale-price .sale-price-now { margin: 0; color: inherit; font: inherit; font-weight: 750; }

.sale-price-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* **************************************** */
/* * Price lists on map information pages */
/* **************************************** */
.sale-options {
    max-width: 30rem;
    margin: 1rem 0;
    padding: 0;
}

.sale-options .sale-option-row {
    padding: .55rem 0;
    border-bottom: 1px solid var(--line);
}

.sale-options dt { font-weight: 600; }
.sale-options dd { margin: 0; }
.sale-options small { display: block; color: var(--muted); font-weight: 400; }
.sale-actions { display: grid; max-width: 30rem; gap: .5rem; margin: 1rem 0; }

.printing-price summary > .sale-option-row,
.printing-add > .sale-option-row { flex: 1; }
