/* Replacement content for the original right-side holiday popup. */
#box-holiday-program {
    --holiday-program-top: 170px;
    position: fixed;
    inset: auto 0 auto auto;
    top: var(--holiday-program-top);
    z-index: 9999;
    display: block;
    box-sizing: border-box;
    width: min(750px, calc(100vw - 16px), calc((100dvh - var(--holiday-program-top) - 16px) * 1.5));
    height: auto;
    aspect-ratio: 3 / 2;
    margin: 0;
    padding: 0;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    animation: none;
    outline: 1px solid rgba(255, 255, 255, .6);
    outline-offset: 7px;
    background: #ad1f24 url("../images/holiday_background.png")
        47.93% 13.15% / 116.2% 148.05% no-repeat;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    right: 50px;
}
#box-holiday-program[hidden] {
    display: none;
}
@keyframes holidayProgramEnter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes holidayProgramLeave {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}
#box-holiday-program.show {
    visibility: visible;
    pointer-events: auto;
    animation: holidayProgramEnter .5s ease both;
}
#box-holiday-program.hide {
    visibility: visible;
    animation: holidayProgramLeave .5s ease both;
}
#box-holiday-program .action-close {
    position: absolute;
    top: 20px;
    right: 18px;
    z-index: 4;
    display: block;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}
#box-holiday-program .action-close::before,
#box-holiday-program .action-close::after {
    position: absolute;
    top: 14px;
    left: 3px;
    width: 24px;
    height: 2px;
    background: #fff;
    content: "";
    transform: rotate(45deg);
}
#box-holiday-program .action-close::after {
    transform: rotate(-45deg);
}
#box-holiday-program .action-close:hover::before,
#box-holiday-program .action-close:hover::after {
    background: #757575;
}
#box-holiday-program .action-close span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
#box-holiday-program .holiday-program-content {
    position: absolute;
    inset: 10px;
    padding: 0;
    text-align: left;
    container-type: inline-size;
}
#box-holiday-program .holiday-gifting {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: .765fr 1fr;
    gap: 12px;
    height: 100%;
}
#box-holiday-program .holiday-gifting__tile {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #23251c;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .35);
    text-decoration: none;
}
#box-holiday-program .holiday-gifting__tile--roasts {
    grid-row: 1 / 3;
}
#box-holiday-program .holiday-gifting__tile--roasts::after {
    position: absolute;
    inset: 42% 0 0;
    background: linear-gradient(transparent, rgba(8, 18, 8, .65));
    content: "";
    pointer-events: none;
}
/* The image optimizer copies the image class to its picture wrapper. Keep that
   wrapper out of layout so image crops and ornament sizing apply only once. */
#box-holiday-program picture.holiday-gifting__image,
#box-holiday-program picture.holiday-gifting__ornament {
    display: contents;
}
/* The supplied exports include white padding and shadows around each photograph.
   Map the photo bounds to the tile; the tile clips the surrounding export canvas. */
#box-holiday-program img.holiday-gifting__image {
    position: absolute;
    display: block;
    max-width: none;
    object-fit: fill;
}
#box-holiday-program .holiday-gifting__tile--roasts img.holiday-gifting__image {
    left: -3.0812%;
    top: -.8334%;
    width: 110.6443%;
    height: 102.9167%;
}
#box-holiday-program .holiday-gifting__tile--sets img.holiday-gifting__image {
    left: -5.6023%;
    top: -1.4852%;
    width: 108.6835%;
    height: 146.0397%;
}
#box-holiday-program .holiday-gifting__tile--cards img.holiday-gifting__image {
    left: -5.6023%;
    top: -1.1364%;
    width: 108.6835%;
    height: 104.9243%;
}
#box-holiday-program .holiday-gifting__copy {
    position: absolute;
    right: 4.8%;
    bottom: 2.6%;
    left: 4.8%;
    z-index: 1;
}
#box-holiday-program .holiday-gifting__headline {
    margin: 0 0 .3em;
    color: #fff7c2;
    font-family: franklin-gothic-compressed, 'ITC Franklin Gothic Std DmCp', sans-serif;
    font-size: clamp(18px, 5.2cqw, 40px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.02em;
    text-transform: uppercase;
    background: linear-gradient(105deg, #fffef0 15%, #f6e995 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* First version: cream at the top fades to pale gold at the bottom. */
#box-holiday-program .holiday-gifting__tile--roasts .holiday-gifting__headline {
    color: #f6e995;
    background-image: linear-gradient(180deg, #fffef0 0%, #f6e995 100%);
}

#box-holiday-program .holiday-gifting__cta {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    max-width: 100%;
    padding: 6px 30px 4px 30px;
    background: #ad1f24;
    color: #fff;
    font-family: franklin-gothic-compressed, 'ITC Franklin Gothic Std DmCp', sans-serif;
    font-size: clamp(10px, 2.4cqw, 18px);
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
}
#box-holiday-program .holiday-gifting__tile--sets .holiday-gifting__cta,
#box-holiday-program .holiday-gifting__tile--cards .holiday-gifting__cta {
    position: absolute;
    left: 4%;
    z-index: 1;
}
#box-holiday-program .holiday-gifting__tile--sets .holiday-gifting__cta {
    top: 6.5%;
}
#box-holiday-program .holiday-gifting__tile--cards .holiday-gifting__cta {
    bottom: 4.8%;
}
#box-holiday-program .holiday-gifting__tile:hover,
#box-holiday-program .holiday-gifting__tile:focus {
    text-decoration: none;
}
#box-holiday-program .holiday-gifting__tile:hover .holiday-gifting__cta {
    background: #c42a35;
    color: #fff;
}
#box-holiday-program .action-close:focus-visible,
#box-holiday-program .holiday-gifting__tile:focus-visible {
    outline: 3px solid #fff7c2;
    outline-offset: -4px;
}
#box-holiday-program img.holiday-gifting__ornament {
    position: absolute;
    right: -8%;
    bottom: -22%;
    z-index: 3;
    display: block;
    width: 31%;
    height: auto;
    pointer-events: none;
}
@media (max-width: 767px) {
    #box-holiday-program {
        --holiday-program-top: 100px;
        right: 8px;
    }
    #box-holiday-program .holiday-program-content {
        inset: 7px;
    }
    #box-holiday-program .holiday-gifting {
        gap: 7px;
    }
    #box-holiday-program .action-close {
        top: 8px;
        right: 8px;
    }
    #box-holiday-program .holiday-gifting__cta {
        padding-right: .8em;
        padding-left: .8em;
    }
    #box-holiday-program img.holiday-gifting__ornament {
        right: -6%;
        bottom: -31%;
    }
}
@media (prefers-reduced-motion: reduce) {
    #box-holiday-program.show,
    #box-holiday-program.hide {
        animation: none;
        transform: none;
    }
    #box-holiday-program.show {
        opacity: 1;
    }
    #box-holiday-program.hide {
        opacity: 0;
    }
}

/* HOLIDAY PROGRAM: GIFT CARD VERSION
   A single feature tile spans the existing grid; only its inner HTML changes. */
#box-holiday-program .holiday-gifting__tile--gift-cards-feature {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}
#box-holiday-program picture.holiday-gifting__gift-cards-image {
    display: contents;
}
#box-holiday-program img.holiday-gifting__gift-cards-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
#box-holiday-program .holiday-gifting__gift-cards-copy {
    position: absolute;
    top: 6.1%;
    left: 2.4%;
    z-index: 1;
    width: 55%;
}
#box-holiday-program .holiday-gifting__headline--gift-cards {
    margin: 0 0 1px;
    font-size: clamp(18px, 6.6cqw, 50px);
    line-height: .98;
    letter-spacing: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
}
#box-holiday-program .holiday-gifting__gift-cards-subtitle {
    margin: 0;
    color: #fff;
    font-family: franklin-gothic-condensed, 'ITC Franklin Gothic Std DmCp', sans-serif;
    font-size: clamp(8px, 2.65cqw, 20px);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
#box-holiday-program .holiday-gifting__cta--gift-cards {
    position: absolute;
    top: max(12.1%, 48px);
    right: 3.4%;
    z-index: 1;
    width: 37.8%;
    height: 9.3%;
    min-height: 28px;
    padding: 7px 30px 3px 30px;
    font-size: clamp(11px, 3.2cqw, 25px);
    line-height: 1.15;
}
/* END - HOLIDAY PROGRAM: GIFT CARD VERSION */


/* HOLIDAY PROGRAM: THANKSGIVING VERSION
   Activated by the third version's inner markup; the other versions keep their styles. */
@font-face {
    font-family: 'Style Script';
    src: url('../fonts/StyleScript-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
#box-holiday-program:has(.holiday-gifting__thanksgiving) {
    background: rgba(26, 26, 26, 0.8);
    right: 112px;
    outline-offset: 0px;
    width: min(750px, calc(100vw - 80px), calc((100dvh - var(--holiday-program-top) - 56px) * 1.5));
}
#box-holiday-program .holiday-program-content:has(.holiday-gifting__thanksgiving) > .holiday-gifting__ornament,
#box-holiday-program .holiday-program-content:has(.holiday-gifting__thanksgiving) > picture.holiday-gifting__ornament {
    display: none;
}
#box-holiday-program .holiday-gifting__thanksgiving {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    /* Fill the content area even when the original .holiday-gifting grid is commented out. */
    height: 100%;
    min-width: 0;
    min-height: 0;
}
#box-holiday-program .holiday-gifting__tile--thanksgiving {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .75);
    background: #29231e;
    box-shadow: none;
}
#box-holiday-program picture.holiday-gifting__thanksgiving-image,
#box-holiday-program picture.holiday-gifting__thanksgiving-ornament {
    display: contents;
}
#box-holiday-program img.holiday-gifting__thanksgiving-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
/* Shade only the copy areas, leaving the turkey at the center unobscured. */
#box-holiday-program .holiday-gifting__tile--thanksgiving::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(0, 0, 0, .25), transparent 55%),
        linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 42%);
    content: "";
    pointer-events: none;
}
#box-holiday-program .holiday-gifting__headline--thanksgiving {
    position: absolute;
    top: 4.6%;
    left: 3.6%;
    z-index: 1;
    max-width: 86%;
    margin: 0;
    font-size: 6.5cqw;
    line-height: .98;
    letter-spacing: 0;
    color: #f5a326;
    background: linear-gradient(105deg, #ffc25a, #e88b00 65%, #ffba43);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}
#box-holiday-program .holiday-gifting__thanksgiving-copy {
    position: absolute;
    bottom: 5.8%;
    left: 3.6%;
    z-index: 1;
    width: 35%;
}
#box-holiday-program .holiday-gifting__thanksgiving-tagline {
    margin: 0 0 6%;
    color: #fff;
    font-family: 'Style Script', cursive;
    font-size: 5cqw;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}
#box-holiday-program .holiday-gifting__cta--thanksgiving {
    width: 84%;
    min-height: 0;
    padding: 11px 30px 8px 30px;
    font-size: 3.25cqw;
    line-height: 1.15;
}
#box-holiday-program img.holiday-gifting__thanksgiving-ornament {
    position: absolute;
    right: -16.5%;
    bottom: -26.5%;
    z-index: 3;
    display: block;
    width: 56%;
    height: auto;
    max-width: none;
    pointer-events: none;
}
@media (max-width: 767px) {
    #box-holiday-program:has(.holiday-gifting__thanksgiving) {
        left: 0;
        right: 0;
        width: 100%;
        outline-offset: -1px;
    }
    #box-holiday-program img.holiday-gifting__thanksgiving-ornament {
        right: 0;
    }
    #box-holiday-program:has(.holiday-gifting__thanksgiving) .action-close {
        top: 8px;
        right: 8px;
        width: 24px;
        height: 24px;
    }
    #box-holiday-program:has(.holiday-gifting__thanksgiving) .action-close::before,
    #box-holiday-program:has(.holiday-gifting__thanksgiving) .action-close::after {
        top: 11px;
        left: 3px;
        width: 18px;
    }
}
/* END - HOLIDAY PROGRAM: THANKSGIVING VERSION */
