#blh-christmas {
    --pine: #102c1c;
    --gold: #f8dea4;
    --ivory: #fffbef;
    position: fixed;
    inset-inline: 0;
    top: var(--blh-admin-gap, 0px);
    z-index: 9900;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #8c7953;
    background: var(--pine);
    color: var(--ivory);
    font-family: inherit;
    line-height: 1.35;
}
#blh-christmas::before, #blh-christmas::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block: 0;
    width: min(21%, 290px);
    pointer-events: none;
    background-image: url(christmas.webp);
    background-size: auto 185px;
    background-repeat: no-repeat;
}
#blh-christmas::before {
    left: 0;
    background-position: left center;
    mask-image: linear-gradient(to right, black 45%, transparent);
}
#blh-christmas::after {
    right: 0;
    background-position: right center;
    mask-image: linear-gradient(to left, black 45%, transparent);
}
#blh-christmas .blh-gift-inner {
    display: flex;
    box-sizing: border-box;
    gap: clamp(14px, 1.5vw, 26px);
    align-items: center;
    justify-content: center;
    padding: 7px clamp(12px,3vw,50px);
    min-height: 60px;
    width: 100%;
    text-decoration: none;
    color: var(--ivory);
}
#blh-christmas .blh-gift-title {
    font: italic 400 clamp(21px, 1.8vw, 29px)/1.1 Georgia, serif;
    color: var(--gold);
    white-space: nowrap;
}
#blh-christmas .blh-gift-copy {
    border-left: 1px solid #a08b61;
    padding-left: clamp(14px, 1.5vw, 26px);
    font-size: 15px;
    font-weight: 400;
}
#blh-christmas .blh-gift-copy strong { font-weight: 700; white-space: nowrap; }
#blh-christmas .blh-gift-cta {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    white-space: nowrap;
    background: #f4dfa9;
    color: #1d3021;
    border-radius: 3px;
    padding: 7px 13px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
}
#blh-christmas .blh-gift-actions { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
#blh-christmas .blh-gift-cta { min-height: 36px; text-decoration: none; box-sizing: border-box; }
#blh-christmas .blh-gift-cta:hover { background: #fff4d6; }
#blh-christmas .blh-gift-details {
    background: transparent; border: 0; border-radius: 0; padding: 6px 2px;
    line-height: 1.25; font-family: inherit; font-size: 13px; font-weight: 600;
    color: var(--ivory); text-decoration: underline; text-underline-offset: 4px;
    text-decoration-color: #c4ab78; cursor: pointer; min-height: 36px; white-space: nowrap;
}
.blh-bar-space { height: var(--blh-gift-height, 60px); }
#blh-christmas[hidden] + .blh-bar-space { display: none; }
#blh-christmas a:focus-visible, #blh-christmas button:focus-visible {
    outline: 2px solid white;
    outline-offset: -3px;
}
#blh-christmas[hidden], #blh-christmas button[hidden] { display: none !important; }
html.blh-gift-open body > .site-header, html.blh-gift-open body > .topbar {
    top: calc(var(--blh-gift-height, 60px) + var(--blh-admin-gap, 0px)) !important;
}
html.blh-gift-open #contact { scroll-margin-top: calc(var(--blh-gift-height, 60px) + 100px); }
@media (min-width: 601px) {
    html:has(#wpadminbar) { --blh-admin-gap: var(--wp-admin--admin-bar--height, 32px); }
}
@media (max-width: 900px) {
    #blh-christmas .blh-gift-inner { gap: 12px; padding-inline: 12px; }
    #blh-christmas .blh-gift-title { font-size: 20px; }
    #blh-christmas .blh-gift-copy { font-size: 13px; padding-left: 12px; }
}
@media (max-width: 720px) {
    #blh-christmas .blh-gift-inner {
        display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
        grid-template-areas: "title actions" "copy copy"; align-content: center; justify-content: center;
        gap: 1px 11px; min-height: 64px; padding: 4px 8px 7px;
    }
    #blh-christmas .blh-gift-title { grid-area: title; justify-self: end; font-size: clamp(16px,4.4vw,22px); }
    #blh-christmas .blh-gift-actions { grid-area: actions; justify-self: start; gap: 7px; }
    #blh-christmas .blh-gift-copy { grid-area: copy; text-align: center; border: 0; padding: 0; font-size: clamp(11px,2.85vw,13px); text-wrap: balance; }
    #blh-christmas .blh-gift-cta { font-size: 11px; min-height: 30px; padding: 5px 7px; gap: 4px; }
    #blh-christmas .blh-gift-details { font-size: 11.5px; min-height: 32px; }
    #blh-christmas::before, #blh-christmas::after { width: 7%; background-size: auto 100px; }
}
@media print { #blh-christmas, .blh-bar-space { display: none !important; } }

.blh-gift-launch[hidden], #blh-gift-dialog:not([open]) { display: none !important; }
.blh-gift-launch {
    position: fixed;
    z-index: 9800;
    top: 50%;
    right: max(18px, env(safe-area-inset-right));
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0;
    padding: 0;
    border: 1px solid #f0cf8b;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 20%, #fff3d7, #eed4a7 72%);
    color: #87222b;
    cursor: pointer;
    box-shadow: 0 4px 16px #16150e45;
}
.blh-parcel {
    position: relative; display: block; width: 31px; height: 33px;
    animation: blh-parcel-bounce 2.6s ease-in-out infinite;
}
.blh-parcel i, .blh-parcel b {
    box-sizing: border-box; position: absolute; display: block; border-radius: 2px;
    background: linear-gradient(90deg, #a61b34, #c62d44 40%, #f5ce78 41%, #ffe3a0 57%, #a7142e 58%, #8d1328);
}
.blh-parcel i { width: 26px; height: 18px; bottom: 0; left: 3px; }
.blh-parcel b { width: 31px; height: 7px; top: 9px; left: 0; border-bottom: 1px solid #84142b; }
.blh-parcel::before, .blh-parcel::after {
    position: absolute; content: ""; width: 11px; height: 6px; top: 0;
    border: 2px solid #9b1c30; border-radius: 70% 70% 15% 70%;
}
.blh-parcel::before { left: 2px; transform: rotate(16deg); }
.blh-parcel::after { right: 2px; transform: scaleX(-1) rotate(16deg); }
@keyframes blh-parcel-bounce {
    0%, 38%, 100% { transform: translateY(0); }
    14% { transform: translateY(-5px) rotate(-4deg); }
    25% { transform: translateY(-1px) rotate(2deg); }
}
.blh-gift-launch:hover .blh-parcel, .blh-gift-launch:focus-visible .blh-parcel { animation-play-state: paused; }
.blh-gift-launch:focus-visible, #blh-gift-dialog :focus-visible { outline: 3px solid #c79035; outline-offset: 2px; }
html:has(#blh-gift-dialog[open]) { overflow: hidden; }
#blh-gift-dialog {
    position: fixed; inset: 0; margin: auto; padding: 0;
    width: min(760px, calc(100% - 32px)); max-width: none;
    height: fit-content; max-height: min(88dvh, 780px);
    box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain;
    border: 1px solid #aa8f5b; border-radius: 12px; color: #29322b;
    background: #fbf7ec; box-shadow: 0 22px 80px #07130e66; text-align: left;
}
#blh-gift-dialog::backdrop { background: rgba(8,17,13,.72); }
#blh-gift-dialog .blh-gift-sheet { position: relative; }
#blh-gift-dialog .blh-gift-mast {
    position: static; display: block; width: auto; height: auto;
    margin: 0; padding: 26px 50px 23px;
    background: linear-gradient(90deg,#0e281a44,#122a1acc 30%,#10291bd9 72%,#0e281a55),url(christmas.webp) center/cover;
    border: none; text-align: center; color: #fff9ed;
}
#blh-gift-dialog h2 { color: #f8e4b8; font: 400 clamp(28px,3.6vw,40px)/1.08 Georgia,serif; margin: 0 0 10px; }
#blh-gift-dialog .blh-gift-mast p { color: #fff9ed; max-width: 52ch; margin: auto; font-size: 15px; line-height: 1.45; }
#blh-gift-dialog .blh-modal-close {
    position: absolute; right: 4px; top: 4px; z-index: 1;
    width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
    border: 0; background: transparent; color: #fff9ed; font: 27px/1 Arial,sans-serif; cursor: pointer;
}
#blh-gift-dialog .blh-gift-list {
    list-style: none; margin: 0; padding: 0 clamp(15px,3vw,30px); display: grid;
    grid-template-columns: 1fr; grid-auto-rows: 1fr;
}
#blh-gift-dialog .blh-gift-list li {
    display: grid; grid-template-columns: minmax(0,27%) minmax(0,1fr);
    align-items: center; gap: clamp(12px,2.3vw,24px);
    margin: 0; padding: 13px 0; border-bottom: 1px solid #ded8c9;
}
#blh-gift-dialog .blh-gift-photo {
    display: grid; place-items: center; height: 83px; padding: 5px; box-sizing: border-box;
    background: #f0ede4; border: 1px solid #e1dbcd; border-radius: 4px; overflow: hidden;
}
#blh-gift-dialog .blh-gift-photo img { width: 100%; height: 100%; max-height: 71px; object-fit: contain; display: block; }
#blh-gift-dialog h3 {
    margin: 0 0 5px; font: 500 var(--blh-gift-name,21px)/1.14 Georgia,serif;
    min-height: var(--blh-name-slot,1.14em); color: #193223;
}
#blh-gift-dialog .blh-gift-list p { margin: 0; color: #39453d; font-size: 14px; line-height: 1.42; }
#blh-gift-dialog .blh-gift-foot { padding: 14px 18px 17px; text-align: center; }
#blh-gift-dialog .blh-gift-foot a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; gap: 13px; padding: 0 20px; border-radius: 3px; background: #812237; color: #fff9ed; font-weight: 600; font-size: 14px; text-decoration: none; }
#blh-gift-dialog .blh-gift-foot a:hover { background: #651a2b; }
@media(max-width: 700px), (max-width: 1000px) and (max-height: 510px) {
    .blh-gift-launch { width: 50px; height: 50px; right: max(10px, env(safe-area-inset-right)); }
    #blh-gift-dialog {
        --blh-gift-name: clamp(16px,4.6vw,22px);
        width: 100%; max-width: 100%; height: 100vh; height: 100dvh;
        max-height: 100vh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0;
    }
    #blh-gift-dialog .blh-gift-sheet { display: grid; min-height: 100%; grid-template-rows: auto 1fr auto; }
    #blh-gift-dialog .blh-gift-mast { padding: calc(env(safe-area-inset-top) + clamp(12px,3dvh,27px)) 32px clamp(12px,2.5dvh,23px); }
    #blh-gift-dialog .blh-modal-close { top: env(safe-area-inset-top); right: max(2px, env(safe-area-inset-right)); }
    #blh-gift-dialog h2 { font-size: clamp(23px,6vw,34px); margin-bottom: 6px; }
    #blh-gift-dialog .blh-gift-mast p { font-size: clamp(13px,3.4vw,15px); line-height: 1.28; }
    #blh-gift-dialog .blh-gift-list { padding-inline: max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right)); }
    #blh-gift-dialog .blh-gift-list li { grid-template-columns: minmax(0,25%) minmax(0,1fr); gap: 12px; padding: 7px 0; }
    #blh-gift-dialog .blh-gift-photo { height: clamp(58px,10dvh,98px); }
    #blh-gift-dialog .blh-gift-photo img { max-height: 100%; min-height: 0; }
    #blh-gift-dialog .blh-gift-list p { font-size: clamp(13px,3.55vw,16px); line-height: 1.32; }
    #blh-gift-dialog .blh-gift-foot { padding: 10px 16px max(12px, env(safe-area-inset-bottom)); }
}
@media (max-width: 430px) { #blh-gift-dialog { --blh-name-slot: 2.28em; } }
@media(max-width: 700px) and (max-height: 700px) {
    #blh-gift-dialog { --blh-gift-name: 16px; }
    #blh-gift-dialog .blh-gift-mast { padding: calc(10px + env(safe-area-inset-top)) 28px 9px; }
    #blh-gift-dialog .blh-gift-list { padding-inline: 10px; }
    #blh-gift-dialog .blh-gift-list li { grid-template-columns: minmax(0,22%) minmax(0,1fr); gap: 8px; padding-block: 4px; }
    #blh-gift-dialog .blh-gift-list p { font-size: 12.5px; line-height: 1.22; }
    #blh-gift-dialog h3 { margin-bottom: 2px; }
    #blh-gift-dialog .blh-gift-foot { padding: 6px 12px max(6px, env(safe-area-inset-bottom)); }
}
@media(min-aspect-ratio: 4/3) and (max-height: 510px) and (max-width: 1000px) {
    #blh-gift-dialog { --blh-gift-name: 16px; }
    #blh-gift-dialog .blh-gift-mast { padding: 7px 46px; }
    #blh-gift-dialog h2 { font-size: 22px; margin-bottom: 1px; }
    #blh-gift-dialog .blh-gift-mast p { max-width: none; font-size: 12px; }
    #blh-gift-dialog .blh-gift-list li { grid-template-columns: 20% 1fr; padding-block: 3px; gap: 12px; }
    #blh-gift-dialog .blh-gift-photo { height: 45px; }
    #blh-gift-dialog h3 { margin-bottom: 2px; }
    #blh-gift-dialog .blh-gift-list p { font-size: 12.5px; line-height: 1.22; }
    #blh-gift-dialog .blh-gift-foot { padding: 5px 12px max(5px,env(safe-area-inset-bottom)); }
    #blh-gift-dialog .blh-gift-foot a { min-height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .blh-parcel { animation: none; } }
@media print { .blh-gift-launch, #blh-gift-dialog { display: none !important; } }
/* The existing WhatsApp button also uses the right-hand midpoint. Stack the two shortcuts during the offer. */
body:has(.blh-gift-launch:not([hidden])) .whatsapp-float { top: calc(50% + 70px); }
@media (max-width: 1100px) {
    html.blh-gift-open .site-header.menu-open .site-nav,
    html.blh-gift-open .site-header.menu-open .nav-scrim { top: var(--blh-nav-bottom); }
    html.blh-gift-open .site-header.menu-open .site-nav { height: calc(100dvh - var(--blh-nav-bottom)); }
}
@media (max-width: 610px) {
    body:has(.blh-gift-launch:not([hidden])) .whatsapp-float { top: calc(50% + 60px); }
}
@media (max-width: 350px) {
    #blh-christmas .blh-gift-inner { grid-template-columns: minmax(0,1fr) max-content; column-gap: 6px; padding-inline: 7px; }
    #blh-christmas .blh-gift-title { justify-self: center; font-size: 15px; }
    #blh-christmas .blh-gift-actions { gap: 4px; }
}
