/* Hive Plugins - Black Friday deals: front end. Brand: ink #092532, orange #FF4800 (text-safe #C23A00), border #E2E8F0. */
.hpbf-grid-wrap, .hpbf-submit, .hpbf-hero, .hpbf-preview-scope { --hpbf-ink:#092532; --hpbf-muted:#5D6B74; --hpbf-line:#E2E8F0; --hpbf-bg:#F7F9FB; --hpbf-orange:#FF4800; --hpbf-orange-text:#C23A00; --hpbf-tint:#FFF5EC; --hpbf-tint-line:#FFE1C7; --hpbf-green:#0F6E56; font-family: inherit; color: var(--hpbf-ink); }

/* Break out of the theme's narrow post column (about 750px) so three cards fit. Centred on the column, so it works in a
   narrow post and in a full-width page. !important beats the theme's constrained-layout margins. */
html body .hpbf-grid-wrap.hpbf-grid-wrap, html body .hpbf-submit.hpbf-submit, html body .hpbf-hero.hpbf-hero { box-sizing: border-box; position: static !important; transform: none !important; left: auto !important; width: min(1200px, calc(100vw - 40px)) !important; max-width: none !important; margin-top: 28px !important; margin-bottom: 28px !important; margin-right: 0 !important; margin-left: calc(50% - min(600px, calc(50vw - 20px))) !important; }
html body .hpbf-submit.hpbf-submit { width: min(920px, calc(100vw - 40px)) !important; margin-left: calc(50% - min(460px, calc(50vw - 20px))) !important; }

.hpbf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 1023px) { .hpbf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .hpbf-grid { grid-template-columns: minmax(0, 1fr); } }

.hpbf-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hpbf-line); border-radius: 14px; overflow: hidden; min-width: 0; transition: border-color .15s ease, transform .15s ease; }
.hpbf-card:hover { border-color: #c9d3dc; }
.hpbf-card--own { border: 2px solid var(--hpbf-orange); }
.hpbf-card[hidden], .hpbf-card.hpbf-ended { display: none; }

/* One fixed banner box for every card: 16:9, image cropped to fit. */
.hpbf-banner { position: relative; aspect-ratio: 16 / 9; background: var(--hpbf-bg); overflow: hidden; }
.hpbf-banner img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; }
.hpbf-badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--hpbf-orange-text); font-weight: 700; font-size: 13px; line-height: 1; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--hpbf-tint-line); max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpbf-own { position: absolute; top: 10px; right: 10px; background: var(--hpbf-ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; padding: 7px 10px; border-radius: 8px; }

.hpbf-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.hpbf-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; margin: 0 0 2px; }
.hpbf-cat { margin: 0 !important; padding: 0; font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: .02em; color: var(--hpbf-muted); text-transform: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hpbf-body .hpbf-title { margin: 0 0 6px !important; padding: 0 !important; font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--hpbf-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hpbf-prices { margin: 0 0 6px; font-size: 14px; color: var(--hpbf-muted); }
.hpbf-price-after { font-weight: 700; color: var(--hpbf-ink); font-size: 16px; }
.hpbf-desc { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: #26414F; min-height: calc(1.55em * 3); }
.hpbf-card .hpbf-features { list-style: none !important; margin: 0 0 14px !important; padding: 0 !important; display: grid; gap: 8px; }
.hpbf-card .hpbf-features li { display: flex; align-items: flex-start; gap: 9px; margin: 0 !important; padding: 0 !important; font-size: 14px; line-height: 1.4; color: var(--hpbf-ink); background: none !important; border: 0 !important; border-radius: 0; transform: none !important; box-shadow: none !important; }
.hpbf-features li::before { content: none; }
.hpbf-check { flex: 0 0 auto; margin-top: 2px; color: var(--hpbf-green); }
.hpbf-foot { margin-top: auto; padding-top: 4px; }
.hpbf-dates { margin: 0 0 10px; padding-top: 4px; font-size: 13px; font-weight: 600; color: var(--hpbf-muted); }
.hpbf-copy { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; max-width: 60%; cursor: pointer; border: 1px dashed var(--hpbf-orange-text); background: var(--hpbf-tint); color: var(--hpbf-orange-text); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1; padding: 6px 9px; border-radius: 7px; }
.hpbf-copy-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hpbf-copy:hover { background: #FFE9D6; }
.hpbf-copy.is-copied { background: var(--hpbf-ink); border-style: solid; border-color: var(--hpbf-ink); color: #fff; }
.hpbf-cta { display: block; text-align: center; background: var(--hpbf-ink); color: #fff !important; font-weight: 700; font-size: 15px; line-height: 1; padding: 14px 16px; border-radius: 10px; text-decoration: none !important; }
.hpbf-cta:hover { background: #12384b; }
.hpbf-cta:focus-visible, .hpbf-copy:focus-visible, .hpbf-submit-btn:focus-visible { outline: 3px solid var(--hpbf-orange); outline-offset: 2px; }
.hpbf-card--own .hpbf-cta { background: var(--hpbf-orange-text); }
.hpbf-card--own .hpbf-cta:hover { background: #a63200; }
.hpbf-empty { text-align: center; color: var(--hpbf-muted); padding: 24px 0; }

/* ------------------------------------------------------------------ Motion and polish for cards and the grid band */
.hpbf-card { box-shadow: 0 1px 2px rgba(9,37,50,.04); transition: border-color .25s ease, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1); }
.hpbf-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px -18px rgba(9,37,50,.28); }
.hpbf-banner img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.hpbf-card:hover .hpbf-banner img { transform: scale(1.035); }
.hpbf-cta { transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hpbf-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(9,37,50,.55); }
.hpbf-card--own .hpbf-cta:hover { box-shadow: 0 10px 22px -10px rgba(194,58,0,.6); }
.hpbf-copy { transition: background-color .2s ease, color .2s ease, transform .15s ease; }
.hpbf-copy:active { transform: scale(.96); }
/* A soft full-width band behind the grid, so the cards sit on a calm background. */
html body .hpbf-grid-wrap.hpbf-grid-wrap { position: relative !important; padding: 8px 0; box-shadow: 0 0 0 100vmax #F4F7FA; clip-path: inset(-40px -100vmax -40px -100vmax); background: #F4F7FA; }
.hpbf-grid-wrap .hpbf-card { animation: hpbf-rise .6s cubic-bezier(.22,1,.36,1) backwards; }
.hpbf-grid-wrap .hpbf-card:nth-child(2) { animation-delay: .07s; }
.hpbf-grid-wrap .hpbf-card:nth-child(3) { animation-delay: .14s; }
.hpbf-grid-wrap .hpbf-card:nth-child(n+4) { animation-delay: .2s; }
@keyframes hpbf-rise { from { opacity: 0; transform: translateY(14px); } }

/* The band reaches 40px above and below the cards, so keep the grid well clear of the text around it. */
html body .hpbf-grid-wrap.hpbf-grid-wrap { margin-top: 80px !important; margin-bottom: 80px !important; }

/* ------------------------------------------------------------------ Hero with countdown */
html body .hpbf-hero.hpbf-hero { width: min(1200px, calc(100vw - 40px)) !important; }
.hpbf-hero { position: relative; overflow: hidden; border-radius: 28px; color: #fff; background: radial-gradient(900px 420px at 88% -10%, rgba(255,72,0,.55), rgba(255,72,0,0) 60%), radial-gradient(700px 400px at -5% 110%, rgba(0,132,255,.28), rgba(0,132,255,0) 60%), linear-gradient(135deg, #07202C 0%, #0B2F40 55%, #0E3B52 100%); box-shadow: 0 30px 60px -30px rgba(9,37,50,.6); }
.hpbf-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); pointer-events: none; }
.hpbf-hero-inner { position: relative; z-index: 1; padding: clamp(32px, 5vw, 64px); max-width: 820px; }
.hpbf-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px !important; padding: 8px 14px; font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; color: #FFD9C7; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; backdrop-filter: blur(6px); }
.hpbf-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF6A2B; box-shadow: 0 0 0 0 rgba(255,106,43,.7); animation: hpbf-pulse 2s ease-out infinite; }
@keyframes hpbf-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,43,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,106,43,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,43,0); } }
.hpbf-hero .hpbf-hero-title { margin: 0 0 14px !important; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.hpbf-hero-title em { font-style: normal; background: linear-gradient(90deg, #FF8A4C, #FF4800); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hpbf-hero .hpbf-hero-sub { margin: 0 0 28px !important; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: #B8C7D1; max-width: 640px; }
.hpbf-countdown { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0 0 30px; }
.hpbf-countdown[hidden] { display: none; }
.hpbf-cd-label { flex: 1 0 100%; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8FA6B4; margin: 0 0 -2px; }
.hpbf-cd-unit { min-width: 84px; padding: 14px 16px 12px; text-align: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; backdrop-filter: blur(6px); }
.hpbf-cd-num { display: block; font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.hpbf-cd-txt { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: #9FB3C0; letter-spacing: .04em; text-transform: uppercase; }
.hpbf-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.hpbf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none !important; border-radius: 14px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease; }
.hpbf-btn--primary { color: #fff !important; background: linear-gradient(135deg, #FF6A2B, #F03F00); box-shadow: 0 14px 28px -12px rgba(255,72,0,.75); }
.hpbf-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(255,72,0,.9); }
.hpbf-btn--ghost { color: #fff !important; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }
.hpbf-btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.hpbf-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hpbf-hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 !important; padding: 0 !important; }
.hpbf-hero-chips li { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; padding: 0 !important; font-size: 14px; font-weight: 600; color: #D5E0E7; }
.hpbf-hero-chips li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,106,43,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A4C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ------------------------------------------------------------------ Submit panel */
.hpbf-submit-box { position: relative; background: #fff; border: 1px solid var(--hpbf-line); border-radius: 22px; box-shadow: 0 1px 2px rgba(9,37,50,.04), 0 18px 40px -22px rgba(9,37,50,.22); transition: border-color .3s ease, box-shadow .35s ease; }
.hpbf-submit-box.is-open { border-color: #F6C9AE; box-shadow: 0 1px 2px rgba(9,37,50,.04), 0 28px 60px -26px rgba(194,58,0,.28); }
.hpbf-toggle { display: flex; align-items: center; gap: 18px; width: 100%; margin: 0; padding: 22px 26px; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-radius: 22px; cursor: pointer; }
.hpbf-toggle:focus-visible { outline: 3px solid var(--hpbf-orange); outline-offset: 2px; }
.hpbf-submit-icon { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #FF6A2B, #F03F00); box-shadow: 0 12px 22px -10px rgba(255,72,0,.7); }
.hpbf-submit-head { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hpbf-submit-head strong { font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: var(--hpbf-ink); }
.hpbf-submit-head span { font-size: 14.5px; line-height: 1.45; color: var(--hpbf-muted); }
.hpbf-submit-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; font-size: 14.5px; font-weight: 700; line-height: 1; color: #fff; background: var(--hpbf-ink); border-radius: 13px; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hpbf-toggle:hover .hpbf-submit-toggle { background: #12384b; transform: translateY(-1px); box-shadow: 0 12px 22px -12px rgba(9,37,50,.6); }
.hpbf-chev { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.hpbf-submit-box.is-open .hpbf-chev { transform: rotate(180deg); }
.hpbf-submit-box.is-open .hpbf-submit-toggle { background: #fff; color: var(--hpbf-ink); box-shadow: inset 0 0 0 1.5px var(--hpbf-line); }
@media (max-width: 639px) { .hpbf-toggle { flex-wrap: wrap; padding: 18px; gap: 14px; } .hpbf-submit-head { flex: 1 1 calc(100% - 70px); } .hpbf-submit-toggle { width: 100%; justify-content: center; } }

/* Smooth open and close. Without JavaScript the panel simply stays open. */
.hpbf-js .hpbf-panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .5s cubic-bezier(.22,1,.36,1), opacity .35s ease, visibility 0s linear .5s; }
.hpbf-js .hpbf-submit-box.is-open .hpbf-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .5s cubic-bezier(.22,1,.36,1), opacity .45s ease .08s, visibility 0s; }
.hpbf-panel-inner { min-height: 0; overflow: hidden; }

/* ------------------------------------------------------------------ Form */
.hpbf-form { padding: 6px 26px 30px; }
.hpbf-intro { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 26px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #5A3A22; background: var(--hpbf-tint); border: 1px solid var(--hpbf-tint-line); border-radius: 14px; }
.hpbf-intro svg { flex: 0 0 auto; margin-top: 2px; color: var(--hpbf-orange-text); }
.hpbf-intro p { margin: 0 !important; }
.hpbf-group { margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid var(--hpbf-line); }
.hpbf-group:last-of-type { border-bottom: 0; padding-bottom: 6px; margin-bottom: 14px; }
.hpbf-group-title { display: flex; align-items: center; gap: 12px; margin: 0 0 20px !important; font-size: 17px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: var(--hpbf-ink); }
.hpbf-step { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; font-size: 13px; font-weight: 800; color: var(--hpbf-orange-text); background: var(--hpbf-tint); border: 1px solid var(--hpbf-tint-line); border-radius: 9px; }
.hpbf-group-title small { font-size: 13px; font-weight: 500; color: var(--hpbf-muted); letter-spacing: 0; }
.hpbf-row { display: grid; gap: 18px 20px; margin: 0 0 18px; align-items: start; }
.hpbf-row:last-child { margin-bottom: 0; }
.hpbf-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hpbf-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 719px) { .hpbf-row--2, .hpbf-row--3 { grid-template-columns: minmax(0, 1fr); } .hpbf-form { padding: 4px 18px 24px; } }
.hpbf-field { position: relative; min-width: 0; margin: 0 0 18px; border: 0; padding: 0; }
.hpbf-row > .hpbf-field, .hpbf-field:last-child { margin-bottom: 0; }
.hpbf-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; padding: 0; font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--hpbf-ink); }
.hpbf-label small { font-weight: 500; font-size: 12.5px; color: var(--hpbf-muted); }
.hpbf-field .req { color: var(--hpbf-orange-text); margin-left: 2px; }
.hpbf-help { display: block; margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--hpbf-muted); }
.hpbf-field input[type=text], .hpbf-field input[type=email], .hpbf-field input[type=url], .hpbf-field input[type=date], .hpbf-field select, .hpbf-field textarea { display: block; width: 100%; box-sizing: border-box; height: 50px; margin: 0; padding: 0 16px; font: inherit; font-size: 15.5px; line-height: 1.2; color: var(--hpbf-ink); background-color: #fff; border: 1.5px solid #D3DCE4; border-radius: 13px; box-shadow: 0 1px 0 rgba(9,37,50,.02); transition: border-color .18s ease, box-shadow .2s ease, background-color .2s ease; appearance: none; -webkit-appearance: none; }
.hpbf-field textarea { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.hpbf-field select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235D6B74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.hpbf-field input::placeholder, .hpbf-field textarea::placeholder { color: #94A2AD; }
.hpbf-field input:hover, .hpbf-field select:hover, .hpbf-field textarea:hover { border-color: #B3C0CB; }
.hpbf-field input:focus, .hpbf-field select:focus, .hpbf-field textarea:focus { outline: 0; border-color: var(--hpbf-orange-text) !important; box-shadow: 0 0 0 4px rgba(255,72,0,.14) !important; }
.hpbf-field input[type=date] { min-width: 0; }
.hpbf-field.has-error input, .hpbf-field.has-error select, .hpbf-field.has-error textarea, .hpbf-field.has-error .hpbf-drop { border-color: #C0392B !important; box-shadow: 0 0 0 4px rgba(192,57,43,.12) !important; }
.hpbf-error { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: #B03224; animation: hpbf-fade .3s ease both; }
@keyframes hpbf-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.hpbf-count { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: #8A98A3; font-variant-numeric: tabular-nums; transition: color .2s ease; }
.hpbf-count.is-near { color: var(--hpbf-orange-text); }
.hpbf-input-wrap { position: relative; }
.hpbf-input-wrap input { padding-right: 62px !important; }
.hpbf-input-wrap .hpbf-count { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* Banner drop zone */
.hpbf-drop { position: relative; display: grid; place-items: center; gap: 4px; padding: 30px 20px; text-align: center; cursor: pointer; background: linear-gradient(180deg, #FBFCFD, #F4F7FA); border: 2px dashed #C3CFD9; border-radius: 16px; transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hpbf-drop:hover, .hpbf-drop.is-over { border-color: var(--hpbf-orange-text); background: var(--hpbf-tint); }
.hpbf-drop.is-over { transform: scale(1.01); box-shadow: 0 0 0 5px rgba(255,72,0,.12); }
.hpbf-drop-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 6px; color: var(--hpbf-orange-text); background: #fff; border: 1px solid var(--hpbf-tint-line); border-radius: 14px; box-shadow: 0 8px 16px -10px rgba(194,58,0,.5); }
.hpbf-drop strong { font-size: 15px; color: var(--hpbf-ink); }
.hpbf-drop strong u { text-decoration: none; color: var(--hpbf-orange-text); border-bottom: 1.5px solid currentColor; }
.hpbf-drop span { font-size: 13px; color: var(--hpbf-muted); }
.hpbf-drop[hidden] { display: none; }
.hpbf-drop.is-focus { border-color: var(--hpbf-orange-text); box-shadow: 0 0 0 4px rgba(255,72,0,.18); }
.hpbf-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hpbf-banner-preview { position: relative; margin-top: 14px; max-width: 420px; animation: hpbf-fade .4s ease both; }
.hpbf-banner-preview[hidden] { display: none; }
.hpbf-banner-frame { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--hpbf-line); border-radius: 14px; background: var(--hpbf-bg); box-shadow: 0 14px 28px -18px rgba(9,37,50,.4); }
.hpbf-banner-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hpbf-banner-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--hpbf-muted); }
.hpbf-banner-meta b { color: var(--hpbf-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hpbf-link-btn { flex: 0 0 auto; padding: 6px 10px; font: inherit; font-size: 13px; font-weight: 700; color: var(--hpbf-orange-text); background: none; border: 0; border-radius: 8px; cursor: pointer; transition: background-color .2s ease; }
.hpbf-link-btn:hover { background: var(--hpbf-tint); }

.hpbf-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Consent */
.hpbf-check-row { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; font-size: 14px; line-height: 1.55; color: #26414F; cursor: pointer; }
.hpbf-check-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hpbf-box { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; color: transparent; background: #fff; border: 1.5px solid #B3C0CB; border-radius: 7px; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hpbf-check-row:hover .hpbf-box { border-color: var(--hpbf-orange-text); }
.hpbf-check-row input:checked + .hpbf-box { color: #fff; background: var(--hpbf-orange-text); border-color: var(--hpbf-orange-text); transform: scale(1.04); }
.hpbf-check-row input:focus-visible + .hpbf-box { box-shadow: 0 0 0 4px rgba(255,72,0,.2); }
.hpbf-check-row.has-error .hpbf-box { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
.hpbf-check-row a { color: var(--hpbf-orange-text); font-weight: 600; }
.hpbf-turnstile { margin: 0 0 20px; min-height: 0; }

/* Actions */
.hpbf-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.hpbf-submit-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 220px; padding: 17px 30px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 800; line-height: 1; color: #fff; background: linear-gradient(135deg, #0B2F40, #092532); border: 0; border-radius: 14px; box-shadow: 0 16px 30px -14px rgba(9,37,50,.7); transition: transform .2s ease, box-shadow .25s ease, opacity .2s ease; }
.hpbf-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -14px rgba(9,37,50,.8); }
.hpbf-submit-btn:active { transform: translateY(0); }
.hpbf-submit-btn svg { transition: transform .25s ease; }
.hpbf-submit-btn:hover svg { transform: translateX(3px); }
.hpbf-submit-btn[disabled] { cursor: progress; opacity: .85; transform: none; }
.hpbf-submit-btn.is-loading svg { display: none; }
.hpbf-submit-btn.is-loading::before { content: ""; width: 17px; height: 17px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: hpbf-spin .7s linear infinite; }
@keyframes hpbf-spin { to { transform: rotate(360deg); } }
.hpbf-status { flex: 1 1 220px; min-height: 20px; font-size: 14px; line-height: 1.45; }
.hpbf-status.is-error { color: #B03224; font-weight: 600; animation: hpbf-fade .3s ease both; }
.hpbf-status.is-ok { color: var(--hpbf-green); font-weight: 600; }
.hpbf-note { padding: 0 26px 24px; font-size: 14px; color: var(--hpbf-muted); margin: 0; }

/* Success */
.hpbf-success { display: grid; justify-items: center; gap: 8px; margin: 10px 26px 30px; padding: 44px 24px; text-align: center; color: #0B3D31; background: linear-gradient(180deg, #F0FBF7, #E4F6EF); border: 1px solid #A6E3CE; border-radius: 20px; animation: hpbf-pop .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes hpbf-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.hpbf-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; color: #fff; background: linear-gradient(135deg, #1AA37F, #0F6E56); border-radius: 50%; box-shadow: 0 16px 28px -12px rgba(15,110,86,.7); }
.hpbf-success-icon path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: hpbf-draw .6s ease .25s forwards; }
@keyframes hpbf-draw { to { stroke-dashoffset: 0; } }
.hpbf-success strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.hpbf-success p { margin: 0 !important; max-width: 460px; font-size: 15px; line-height: 1.55; font-weight: 500; }

/* ------------------------------------------------------------------ Page polish (only on posts that use the deals shortcodes) */
.hpbf-page .entry-content > h2.wp-block-heading { position: relative; margin-top: 64px; padding-top: 22px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: #092532; }
.hpbf-page .entry-content > h2.wp-block-heading::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #FF6A2B, #F03F00); }
.hpbf-page .entry-content > p { font-size: 17.5px; line-height: 1.7; color: #26414F; }
.hpbf-page .entry-content > p:first-of-type { font-size: 19.5px; line-height: 1.65; color: #092532; }
.hpbf-page .entry-content ul.wp-block-list, .hpbf-page .entry-content ol.wp-block-list { padding-left: 0; list-style: none; counter-reset: hpbf-li; }
.hpbf-page .entry-content ul.wp-block-list > li, .hpbf-page .entry-content ol.wp-block-list > li { position: relative; margin: 0 0 10px; padding: 14px 18px 14px 56px; font-size: 16.5px; line-height: 1.6; color: #26414F; background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease; }
.hpbf-page .entry-content ul.wp-block-list > li:hover, .hpbf-page .entry-content ol.wp-block-list > li:hover { border-color: #F6C9AE; transform: translateX(3px); box-shadow: 0 12px 24px -18px rgba(194,58,0,.5); }
.hpbf-page .entry-content ul.wp-block-list > li::before { content: ""; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; border-radius: 7px; background: #FFF5EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C23A00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; border: 1px solid #FFE1C7; }
.hpbf-page .entry-content ol.wp-block-list > li { counter-increment: hpbf-li; }
.hpbf-page .entry-content ol.wp-block-list > li::before { content: counter(hpbf-li); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 26px; height: 26px; font-size: 13px; font-weight: 800; color: #C23A00; background: #FFF5EC; border: 1px solid #FFE1C7; border-radius: 8px; }
.hpbf-page .entry-content figure.wp-block-image { margin: 36px 0; }
.hpbf-page .entry-content figure.wp-block-image img { border-radius: 20px; border: 1px solid #E2E8F0; box-shadow: 0 24px 48px -30px rgba(9,37,50,.4); }
.hpbf-page .entry-content a:not(.hpbf-btn):not(.hpbf-cta) { text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(194,58,0,.45); transition: text-decoration-color .2s ease; }
.hpbf-page .entry-content a:not(.hpbf-btn):not(.hpbf-cta):hover { text-decoration-color: currentColor; }
.hpbf-page .wp-block-rank-math-faq-block .rank-math-faq-item { margin: 0 0 12px; padding: 20px 24px; background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; transition: border-color .25s ease, box-shadow .3s ease; }
.hpbf-page .wp-block-rank-math-faq-block .rank-math-faq-item:hover { border-color: #F6C9AE; box-shadow: 0 16px 30px -22px rgba(194,58,0,.5); }
.hpbf-page .wp-block-rank-math-faq-block .rank-math-question { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: #092532; }
.hpbf-page .wp-block-rank-math-faq-block .rank-math-answer { font-size: 16.5px; line-height: 1.65; color: #26414F; }

@media (prefers-reduced-motion: reduce) {
	.hpbf-card, .hpbf-banner img, .hpbf-cta, .hpbf-btn, .hpbf-submit-box, .hpbf-panel, .hpbf-chev, .hpbf-field input, .hpbf-field select, .hpbf-field textarea, .hpbf-drop, .hpbf-box, .hpbf-submit-btn, .hpbf-toggle * { transition: none !important; animation: none !important; }
	.hpbf-dot { animation: none; }
}

@media (max-width: 639px) {
	.hpbf-dot { flex: 0 0 8px; }
	.hpbf-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.hpbf-cd-label { grid-column: 1 / -1; }
	.hpbf-cd-unit { min-width: 0; padding: 12px 2px 10px; border-radius: 14px; }
	.hpbf-cd-num { font-size: 26px; }
	.hpbf-cd-txt { font-size: 10.5px; letter-spacing: .02em; }
	.hpbf-hero-cta .hpbf-btn { flex: 1 1 100%; }
	.hpbf-submit-btn { width: 100%; }
	.hpbf-actions { gap: 12px; }
}

/* Freshness line and the deals-at-a-glance table */
.hpbf-updated { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px !important; padding: 7px 12px; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--hpbf-muted); background: #fff; border: 1px solid var(--hpbf-line); border-radius: 999px; }
.hpbf-updated::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1AA37F; }
.hpbf-table-wrap { margin: 28px 0; overflow-x: auto; border: 1px solid #E2E8F0; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px -28px rgba(9,37,50,.3); }
.hpbf-table { width: 100%; margin: 0 !important; border-collapse: collapse; font-size: 15px; line-height: 1.45; color: #26414F; }
.hpbf-table caption { padding: 16px 20px 6px; text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5D6B74; caption-side: top; }
.hpbf-table th, .hpbf-table td { padding: 14px 20px; text-align: left; vertical-align: middle; border: 0; border-top: 1px solid #EEF1F4; }
.hpbf-table thead th { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5D6B74; background: #F7F9FB; border-top: 1px solid #E2E8F0; }
.hpbf-table tbody th { font-weight: 800; color: #092532; }
.hpbf-table tbody tr { transition: background-color .2s ease; }
.hpbf-table tbody tr:hover { background: #FFF9F4; }
.hpbf-table tr.hpbf-ended { display: none; }
.hpbf-table code { padding: 3px 8px; font-size: 13px; font-weight: 700; color: #C23A00; background: #FFF5EC; border: 1px dashed #C23A00; border-radius: 6px; }
.hpbf-pill { display: inline-block; margin-left: 8px; padding: 3px 8px; font-size: 11px; font-weight: 700; color: #fff; background: #092532; border-radius: 6px; vertical-align: middle; }
.hpbf-table-link a { display: inline-block; padding: 9px 14px; font-size: 14px; font-weight: 700; color: #fff !important; background: #092532; border-radius: 10px; text-decoration: none !important; white-space: nowrap; transition: background-color .2s ease, transform .2s ease; }
.hpbf-table-link a:hover { background: #12384b; transform: translateY(-1px); }
@media (max-width: 719px) {
	.hpbf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.hpbf-table, .hpbf-table tbody, .hpbf-table tr, .hpbf-table th, .hpbf-table td { display: block; }
	.hpbf-table tr { padding: 14px 18px; border-top: 1px solid #EEF1F4; }
	.hpbf-table th, .hpbf-table td { padding: 4px 0; border: 0; }
	.hpbf-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: #5D6B74; }
	.hpbf-table-link { padding-top: 10px !important; }
}
