/* A promotion's sale page, /sale/{slug} (pages/sale, 2026-12-01). The cards
   are catalog.css's; this adds the banner (or the text band until the art
   arrives), the two-up product layout and the retailer buttons under each
   card. */

.eb-sale__banner {
    background: #000;
}

.eb-sale__banner-image,
.eb-sale__banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* The text band: black with white type (21:1), the sale's name large. */
.eb-sale__hero:not(.visually-hidden) {
    padding: 48px 0 40px;
    background: #000;
    color: #fff;
    text-align: center;
}

.eb-sale__title {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.eb-sale__intro {
    max-width: 60ch;
    margin: 14px auto 0;
    font-size: 1.125rem;
    line-height: 1.5;
}

.eb-sale__intro--under-banner {
    margin-top: 0;
    margin-bottom: 24px;
    color: #333;
    text-align: center;
}

.eb-sale__body {
    padding-top: 32px;
    padding-bottom: 56px;
}

/* Few products, so each gets room: two across from tablet up, centered. */
.eb-sale__products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 380px));
    justify-content: center;
    gap: 40px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eb-sale__product {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eb-sale__product .catalog-card__name {
    font-size: 1.0625rem;
}

.eb-sale__product .catalog-card__add {
    width: 100%;
}

/* "Also at": a logo button per retailer, the whole tile one link. */
.eb-sale__retailers {
    padding-top: 14px;
    border-top: 1px solid #d6d6d6;
}

.eb-sale__retailers-heading {
    margin: 0 0 10px;
    color: #4a4a52; /* 8.6:1 on white */
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eb-sale__retailer-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eb-sale__retailer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 8px 10px;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    background: #fff;
    color: #111;
    text-decoration: none;
}

.eb-sale__retailer:hover,
.eb-sale__retailer:focus-visible {
    border-color: #111;
}

.eb-sale__retailer:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.eb-sale__retailer-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.eb-sale__retailer-name {
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
}

/* "Not public yet" for staff and preview links, the gift guide's amber
   (#7a4900 on #fff4e2 = 7.4:1). */
.eb-sale__preview {
    display: grid;
    gap: 2px;
    margin: 16px 0;
    padding: 10px 16px;
    border-left: 4px solid #7a4900;
    border-radius: 4px;
    background: #fff4e2;
    color: #7a4900;
    font-size: 0.875rem;
}

.eb-sale__preview-title,
.eb-sale__preview .preview-link__label {
    font-weight: 700;
}

.eb-sale__preview .preview-link {
    display: grid;
    gap: 4px;
    margin-top: 6px;
    font-size: 13px;
}

.eb-sale__preview .preview-link__row {
    display: flex;
    gap: 6px;
}

.eb-sale__preview .preview-link__url {
    flex: 1 1 auto;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font: inherit;
}

.eb-sale__preview .preview-link__copy {
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.eb-sale__preview .preview-link__copy:focus-visible,
.eb-sale__preview .preview-link__url:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.eb-sale__preview .preview-link__help,
.eb-sale__preview .preview-link__status {
    margin: 0;
}
