.ffp-shell { font-family: inherit; width: 100%; }
.ffp-shell[hidden], .ffp-item[hidden], .ffp-controls[hidden] { display: none !important; }
.ffp-list { display: grid; gap: 1rem; }
.ffp-item {
 --ffp-background: #f3f7f4; --ffp-text: #23392d; --ffp-accent: #28623e; --ffp-border: #d6e4da;
 --ffp-radius: 8px; --ffp-padding: 20px; --ffp-spacing: 16px; --ffp-font-size: 16px; --ffp-border-style: solid;
 display: flex; align-items: center; gap: var(--ffp-spacing); padding: var(--ffp-padding);
 background: var(--ffp-background); color: var(--ffp-text); border: 1px var(--ffp-border-style) var(--ffp-border);
 border-radius: var(--ffp-radius); font-size: var(--ffp-font-size); line-height: 1.5;
}
.ffp-copy { flex: 1; min-width: 0; }
.ffp-headline { color: inherit; font: inherit; font-weight: 700; margin: 0 0 .35em; }
.ffp-message, .ffp-conditions { margin: .3em 0; }
.ffp-conditions { font-size: .85em; }
.ffp-description p:last-child { margin-bottom: 0; }
.ffp-image { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
.ffp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; max-width: 100%; }
.ffp-code { color: inherit; background: transparent; overflow-wrap: anywhere; font-size: .95em; user-select: all; }
.ffp-item .ffp-button {
 margin: 0; padding: .5em .9em; min-height: 36px; border: 1px solid var(--ffp-accent);
 background: var(--ffp-accent); color: #fff; font: inherit; line-height: 1.3;
 border-radius: var(--ffp-radius); text-transform: none; letter-spacing: normal; cursor: pointer;
}
.ffp-item .ffp-destination { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.ffp-item .ffp-button:hover { filter: brightness(.95); }
.ffp-item a:focus-visible, .ffp-item button:focus-visible, .ffp-control:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.ffp-copy-status { width: 100%; font-size: .85em; }
.ffp-copy-status:empty { display: none; }
.ffp-preset-strip { --ffp-background: #edf6ee; --ffp-text: #075457; --ffp-border-style: none; --ffp-radius: 0px; --ffp-padding: 8px; --ffp-font-size: 18px; --ffp-spacing: 8px; font-weight: 600; line-height: 1.4; }
.ffp-preset-strip .ffp-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5em; }
.ffp-preset-strip .ffp-headline, .ffp-preset-strip .ffp-message { margin: 0; }
.ffp-preset-strip .ffp-button { padding: .2em .5em; min-height: 28px; background: transparent; color: inherit; border-color: currentColor; }
.ffp-preset-card { flex-direction: column; align-items: stretch; }
.ffp-location-announcement { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; }
.ffp-location-announcement > .ffp-item { flex: 1 1 280px; }
.ffp-location-announcement[data-mode="rotate"] > .ffp-item { flex-basis: 100%; }
.ffp-location-offers:not(:has(>.ffp-section)), .ffp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.ffp-section { min-width: 0; }
.ffp-layout-horizontal { flex-direction: row; }
.ffp-layout-vertical { flex-direction: column; align-items: stretch; }
.ffp-image_position-right .ffp-image { order: 3; }
.ffp-alignment-center { text-align: center; }
.ffp-alignment-center .ffp-actions, .ffp-alignment-center .ffp-copy { justify-content: center; }
.ffp-alignment-right { text-align: right; }
.ffp-alignment-right .ffp-actions, .ffp-alignment-right .ffp-copy { justify-content: flex-end; }
.ffp-item.ffp-button-outline .ffp-button { background: transparent; color: var(--ffp-accent); }
.ffp-item.ffp-button-link .ffp-button { background: transparent; color: inherit; border-color: transparent; text-decoration: underline; }
.ffp-controls { display: flex; gap: .4rem; justify-content: center; }
.ffp-control { font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 3px; padding: .3em .6em; min-height: 32px; cursor: pointer; }
.ffp-loading, .ffp-unavailable { font-size: .85em; }
@media (max-width: 600px) {
 .ffp-item { flex-direction: column; align-items: stretch; }
 .ffp-preset-strip { gap: .3em; }
 .ffp-preset-strip .ffp-copy { justify-content: inherit; }
 .ffp-image { width: 56px; height: 56px; }
 .ffp-image_position-right .ffp-image { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .ffp-item { scroll-behavior: auto; } }

/* Member offer layout: badge + copy, followed by a distinct login/coupon area. */
.ffp-item, .ffp-item * { box-sizing: border-box; }
.ffp-item:not(.ffp-preset-strip) {
 --ffp-background: #fff; --ffp-text: #161616; --ffp-accent: #eeeeee; --ffp-border: #dedede;
 --ffp-radius: 12px; --ffp-font-size: 20px; --ffp-spacing: 20px;
 display: block;
}
.ffp-top { display: flex; align-items: flex-start; gap: var(--ffp-spacing); width: 100%; }
.ffp-discount-badge { flex: 0 0 100px; min-height: 134px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 20px 8px 16px; background: #f4f4f4; border-radius: 10px; color: inherit; }
.ffp-discount-value { font-size: 32px; line-height: 1.2; font-weight: 600; }
.ffp-discount-label { font-size: 14px; font-weight: 600; letter-spacing: .025em; }
.ffp-item:not(.ffp-preset-strip) .ffp-headline { font-size: 1.25em; line-height: 1.35; margin: 4px 0 12px; font-weight: 600; }
.ffp-item:not(.ffp-preset-strip) .ffp-message { margin: 0 0 4px; }
.ffp-supporting { color: #686868; margin: 0; }
.ffp-item:not(.ffp-preset-strip) .ffp-actions { margin-top: 16px; display: block; }
.ffp-actions:empty { display: none !important; }
.ffp-item:not(.ffp-preset-strip) .ffp-actions > .ffp-button { display: block; width: 100%; padding: 14px; text-align: center; }
.ffp-item:not(.ffp-preset-strip) .ffp-button { color: var(--ffp-text); border-color: var(--ffp-border); font-size: 15px; font-weight: 500; }
.ffp-item .ffp-button { text-decoration: none; }
.ffp-coupon-panel { padding: 6px 2px 10px; }
.ffp-coupon-label { display: block; text-transform: uppercase; color: #686868; font-size: 18px; margin-bottom: 10px; }
.ffp-code-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ffp-item .ffp-code { font-family: inherit; font-size: 24px; font-weight: 600; padding: 0; border: 0; }
.ffp-terms { margin-top: 12px; font-size: 14px; color: #686868; }
.ffp-terms summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ffp-preset-card:not(.ffp-preset-strip) { --ffp-font-size: 16px; }
.ffp-preset-card .ffp-discount-badge { flex-basis: 72px; min-height: 106px; padding: 14px 6px; }
.ffp-preset-card .ffp-discount-value { font-size: 24px; }
.ffp-layout-vertical .ffp-top { flex-direction: column; }
.ffp-preset-strip .ffp-top { align-items: center; gap: 8px; }
.ffp-preset-strip .ffp-actions { margin: 0; }
.ffp-preset-strip { display: block; text-align: center; }
.ffp-item .ffp-announcement-link { display: inline; color: inherit; font: inherit; text-decoration: none; overflow-wrap: anywhere; }
.ffp-item.ffp-preset-strip .ffp-announcement-link, .ffp-item.ffp-preset-strip .ffp-announcement-text { font-size: var(--ffp-font-size); font-weight: inherit; line-height: inherit; }
.ffp-item .ffp-announcement-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ffp-announcement-text { font: inherit; }
@media (max-width: 600px) {
 .ffp-preset-strip { --ffp-font-size: 16px; --ffp-padding: 8px; }
 .ffp-item:not(.ffp-preset-strip) { --ffp-font-size: 16px; --ffp-padding: 16px; --ffp-spacing: 14px; }
 .ffp-discount-badge { flex-basis: 70px; min-height: 106px; padding: 14px 6px; }
 .ffp-discount-value { font-size: 26px; }
 .ffp-discount-label { font-size: 12px; }
 .ffp-item:not(.ffp-preset-strip) .ffp-headline { font-size: 1.2em; }
 .ffp-coupon-label { font-size: 14px; }
 .ffp-preset-strip .ffp-top { flex-direction: column; align-items: stretch; }
}
