.tdb-perks {
    --perks-ink: #083e53;
    --perks-muted: #365663;
    --perks-paper: #fff;
    --perks-line: #dde7eb;
    color-scheme: light;
    width: min(860px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--perks-paper);
    color: var(--perks-ink);
    box-shadow: 0 20px 72px #062b4259;
    font-family: var(--sans, 'DM Sans', sans-serif);
    overflow: hidden;
}
.tdb-perks:not([open]), .tdb-perks [hidden] { display: none !important; }
.tdb-perks::backdrop { background: #062d46ad; }
.tdb-perks *, .tdb-perks *::before, .tdb-perks *::after { box-sizing: border-box; }
.tdb-perks-shell { display: flex; flex-direction: column; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
.tdb-perks-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 24px; border-bottom: 1px solid var(--perks-line); flex: 0 0 auto; }
.tdb-perks-brand { font-size: 15px; font-weight: 800; letter-spacing: -.035em; }
.tdb-perks-controls, .tdb-perks-languages { display: flex; align-items: center; gap: 12px; }
.tdb-perks-languages { gap: 0; }
.tdb-perks button, .tdb-perks summary, .tdb-perks a { -webkit-tap-highlight-color: transparent; }
.tdb-perks-languages button { min-width: 44px; min-height: 44px; padding: 8px 9px; border: 0; border-radius: 5px; background: transparent; color: var(--perks-muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tdb-perks-languages button[aria-pressed="true"] { background: #e7f1f4; color: var(--perks-ink); }
.tdb-perks [data-perks-close] { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; border-radius: 5px; color: var(--perks-ink); background: #f2f6f7; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.tdb-perks-body { padding: 24px 28px 0; overflow-y: auto; overscroll-behavior: contain; min-height: 0; scrollbar-width: thin; scrollbar-color: #8ca8ae transparent; -webkit-overflow-scrolling: touch; }
.tdb-perks-hero { display: grid; grid-template-columns: minmax(0, 1fr) 244px; grid-template-areas: 'intro photo' 'offer photo'; gap: 18px 24px; margin-bottom: 8px; }
.tdb-perks-intro { grid-area: intro; min-width: 0; }
.tdb-perks-eyebrow { color: var(--perks-muted); font-size: 12px; line-height: 1.4; font-weight: 700; margin: 0 0 7px; }
.tdb-perks-intro h2 { margin: 0; font-family: var(--display, 'Manrope', sans-serif); font-size: 38px; line-height: 1.08; font-weight: 700; letter-spacing: -.045em; color: var(--perks-ink); white-space: pre-line; text-wrap: initial; }
.tdb-perks-lead { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: var(--perks-muted); max-width: 360px; }
.tdb-perks-photo { grid-area: photo; display: block; width: 100%; height: 100%; min-height: 0; max-height: 308px; object-fit: cover; object-position: 45% center; border-radius: 6px; background: #c5e5e7; }
.tdb-perks-offer { grid-area: offer; position: relative; padding: 14px 16px; border-left: 3px solid #e57c28; border-radius: 0 6px 6px 0; background: #fff1e4; color: #73360e; }
.tdb-perks-offer .tdb-perks-eyebrow { margin-bottom: 3px; color: #73360e; }
.tdb-perks-offer h3 { margin: 0; color: #73360e; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.tdb-perks-offer .tdb-perks-value { margin: 4px 0 0; color: #73360e; font-size: 17px; line-height: 1.3; font-weight: 700; }
.tdb-perks-offer .tdb-perks-date { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: #73360e; }
.tdb-perks-offer-icon { float: right; margin: 8px 0 4px 12px; font-size: 36px; line-height: 1; }
.tdb-perks-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.tdb-perks-item { display: flex; align-items: flex-start; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--perks-line); min-width: 0; }
.tdb-perks-icon { flex: 0 0 25px; font-size: 21px; line-height: 1.3; }
.tdb-perks-item h3 { font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: -.015em; color: var(--perks-ink); margin: 0; }
.tdb-perks-item p { font-size: 14px; line-height: 1.45; color: var(--perks-muted); margin: 4px 0 0; }
.tdb-perks-item-discount { grid-column: 1 / -1; }
.tdb-perks-item-discount > div { flex: 1; }
.tdb-perks-item .tdb-perks-shop { color: var(--perks-ink); font-weight: 600; }
.tdb-perks-terms { margin-top: 0; }
.tdb-perks-terms summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; cursor: pointer; font-size: 13px; line-height: 1.4; font-weight: 600; list-style: none; color: var(--perks-muted); }
.tdb-perks-terms summary::-webkit-details-marker { display: none; }
.tdb-perks-terms summary::after { content: '+'; font-size: 24px; font-weight: 400; }
.tdb-perks-terms[open] summary::after { content: '−'; }
.tdb-perks-terms ul { margin: 0 0 20px; padding-left: 20px; color: var(--perks-muted); font-size: 14px; line-height: 1.6; }
.tdb-perks-terms li + li { margin-top: 5px; }
.tdb-perks-footer { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 14px 28px; border-top: 1px solid var(--perks-line); background: var(--perks-paper); flex: 0 0 auto; }
.tdb-perks [data-perks-cta] { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; min-width: 210px; padding: 12px 22px; border: 1px solid var(--perks-ink); border-radius: 5px; background: var(--perks-ink); color: #fff; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background 120ms, transform 120ms; }
.tdb-perks [data-perks-cta]::after { content: '↗'; font-size: 20px; line-height: 1; }
.tdb-perks [data-perks-dismiss] { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--perks-muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tdb-perks :is(button, a, summary):focus-visible { outline: 2px solid #246886; outline-offset: 3px; }
html.tdb-perks-open { overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
    .tdb-perks [data-perks-cta]:hover { transform: translateY(-1px); background: #155771; }
    .tdb-perks [data-perks-close]:hover, .tdb-perks-languages button:not([aria-pressed="true"]):hover { background: #e7f1f4; }
    .tdb-perks [data-perks-dismiss]:hover { color: var(--perks-ink); text-decoration: underline; text-underline-offset: 4px; }
}
.tdb-perks [data-perks-cta]:active { transform: translateY(1px); }
@media (max-width: 680px) {
    .tdb-perks { width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 10px; }
    .tdb-perks-shell { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .tdb-perks-header { gap: 8px; padding: 8px 12px 8px 18px; }
    .tdb-perks-brand { max-width: 112px; font-size: 13px; line-height: 1.3; }
    .tdb-perks-controls { gap: 8px; }
    .tdb-perks-body { padding: 20px 20px 0; }
    .tdb-perks-hero { grid-template-columns: minmax(0, 1fr) 100px; grid-template-areas: 'intro photo' 'offer offer'; gap: 18px 14px; margin-bottom: 4px; }
    .tdb-perks-intro h2 { font-size: 29px; line-height: 1.12; letter-spacing: -.045em; }
    .tdb-perks-eyebrow { font-size: 11px; margin-bottom: 6px; }
    .tdb-perks-lead { margin-top: 10px; font-size: 14px; line-height: 1.4; }
    .tdb-perks-photo { max-height: 168px; border-radius: 5px; }
    .tdb-perks-offer { padding: 13px 16px; }
    .tdb-perks-offer h3 { font-size: 24px; }
    .tdb-perks-offer .tdb-perks-eyebrow { font-size: 12px; }
    .tdb-perks-offer .tdb-perks-value { font-size: 16px; }
    .tdb-perks-offer .tdb-perks-date { margin-top: 6px; }
    .tdb-perks-list { column-gap: 14px; }
    .tdb-perks-item { gap: 7px; padding: 14px 0; }
    .tdb-perks-icon { flex-basis: 21px; font-size: 18px; }
    .tdb-perks-item h3 { font-size: 14px; }
    .tdb-perks-item p { font-size: 13px; line-height: 1.5; }
    .tdb-perks-item-camera, .tdb-perks-item-beer { grid-column: 1 / -1; }
    .tdb-perks-footer { gap: 12px; padding: 12px 20px max(12px, env(safe-area-inset-bottom)); }
    .tdb-perks [data-perks-cta] { flex: 1; gap: 12px; min-width: 0; padding-inline: 14px; font-size: 14px; }
    .tdb-perks [data-perks-dismiss] { max-width: 88px; font-size: 12px; line-height: 1.4; text-align: left; }
}
@media (max-width: 359px) {
    .tdb-perks-brand { max-width: 90px; font-size: 12px; }
    .tdb-perks-header { padding-left: 14px; }
    .tdb-perks-controls { gap: 4px; }
    .tdb-perks-body { padding: 18px 16px 0; }
    .tdb-perks-hero { grid-template-columns: minmax(0, 1fr) 76px; column-gap: 12px; }
    .tdb-perks-intro h2 { font-size: 27px; }
    .tdb-perks-offer { padding-inline: 12px; }
    .tdb-perks-footer { padding-inline: 16px; }
}
@media (max-height: 520px) and (min-width: 681px) {
    .tdb-perks, .tdb-perks-shell { max-height: calc(100dvh - 16px); }
    .tdb-perks-header { padding-block: 6px; }
    .tdb-perks-footer { padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .tdb-perks *, .tdb-perks *::before, .tdb-perks *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .tdb-perks [data-perks-cta]:is(:hover, :active) { transform: none; }
}
