a.amz-black-friday {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    min-height: 60px;
    padding: 9px 15px;
    border-bottom: 3px solid #151515;
    background: #ffdb32;
    color: #151515;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.top-navigation #page-wrapper > a.amz-black-friday {
    margin-inline: -15px;
}

.amz-black-friday__event {
    padding: 6px 8px;
    border: 1px solid currentColor;
    font-family: ui-monospace, monospace;
    font-size: .78em;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.amz-black-friday strong {
    font-size: 1.38em;
    font-weight: 900;
}

.amz-black-friday__cta {
    padding: 7px 11px;
    border-radius: 4px;
    background: #151515;
    color: #fff;
    font-size: .85em;
    font-weight: 750;
    white-space: nowrap;
}

a.amz-black-friday:hover {
    background: #ffe46c;
    color: #151515;
}

a.amz-black-friday:focus-visible {
    outline: 3px solid #151515;
    outline-offset: -5px;
}

.amz-pricing--black-friday.amz-hero {
    padding-top: 24px;
}

.amz-bf-sale {
    --bf-yellow: #ffdb32;
    --bf-ink: #151515;
    scroll-margin-top: 12px;
    overflow: hidden;
    margin: 0 0 48px;
    padding: clamp(16px, 4vw, 40px);
    border-radius: 16px;
    background: var(--bf-ink);
    color: #fff;
}

.amz-bf-sale__hero {
    position: relative;
    isolation: isolate;
    margin-bottom: 26px;
}

.amz-bf-sale__hero::after {
    position: absolute;
    z-index: -1;
    inset: -40px -40px 0 46%;
    background: repeating-linear-gradient(135deg, transparent 0 13px, #ffdb321c 13px 14px);
    mask-image: linear-gradient(105deg, transparent, black);
    pointer-events: none;
    content: "";
}

.amz-bf-sale__event {
    margin: 0 0 10px;
    color: var(--bf-yellow);
    font: 800 14px/1.2 ui-monospace, monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.amz-bf-sale h1 {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(23px, 4vw, 55px);
    font-weight: 900;
    line-height: 1;
}

.amz-bf-sale h1 em {
    color: var(--bf-yellow);
    font-size: clamp(66px, 9vw, 134px);
    font-weight: 950;
    font-style: normal;
    letter-spacing: -.08em;
    white-space: nowrap;
}

.amz-bf-sale__promise {
    margin: 0 0 11px;
    color: #f6f3e9;
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.4;
}

.amz-bf-sale__deadline {
    margin: 0;
    color: var(--bf-yellow);
    font-size: 14px;
    font-weight: 800;
}

.amz-bf-sale__plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.amz-bf-card {
    min-width: 0;
    padding: clamp(14px, 2.1vw, 24px);
    border-radius: 8px;
    background: #fffaf0;
    color: var(--bf-ink);
}

.amz-bf-card h2 {
    margin: 0 0 9px;
    color: inherit;
    font-size: clamp(16px, 1.8vw, 23px);
    font-weight: 800;
}

.amz-bf-card__price {
    white-space: nowrap;
    line-height: 1.1;
}

.amz-bf-card__price strong {
    font-size: clamp(28px, 3.4vw, 47px);
    font-weight: 900;
    letter-spacing: -.05em;
}

.amz-bf-card__saving {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 8px 0 16px;
    color: #5a5140;
    font-size: 13px;
}

.amz-bf-card__saving span {
    color: #5c3c00;
    font-weight: 800;
}

a.amz-bf-card__button {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--bf-ink);
    border-radius: 4px;
    background: var(--bf-yellow);
    color: var(--bf-ink);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

a.amz-bf-card__button:hover {
    background: var(--bf-ink);
    color: var(--bf-yellow);
}

a.amz-bf-card__button:focus-visible {
    outline: 2px solid var(--bf-ink);
    outline-offset: 3px;
}

.amz-bf-sale__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 15px;
    color: #e5dfce;
    font-size: 13px;
}

.amz-bf-sale__footer a {
    color: var(--bf-yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.amz-bf-sale__footer a:last-child {
    margin-inline-start: auto;
}

.amz-bf-monthly-heading {
    color: #2f4050;
    font-weight: 800;
}

@media (max-width: 710px) {
    a.amz-black-friday {
        gap: 5px 8px;
        min-height: 53px;
        padding: 7px 6px;
        font-size: 13px;
    }

    .amz-black-friday__event,
    .amz-black-friday__cta {
        padding: 5px 6px;
    }

    .amz-black-friday strong {
        font-size: 1.2em;
    }

    .amz-bf-sale__plans {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .amz-bf-sale__hero {
        margin-bottom: 16px;
    }

    .amz-bf-sale {
        margin-bottom: 28px;
    }
}
