.fbp-cg-links:empty, #fbp-cg-reminders:empty, #fbp-cg-error:empty { display: none; }
.fbp-cg-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: .75rem 0; }
.fbp-cg-link { border: 0; padding: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
#fbp-cg-reminders { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 44rem; margin: auto; z-index: 10000; }
#fbp-cg-reminders .woocommerce-info { margin: .5rem 0 0; box-shadow: 0 2px 12px #0002; }
#fbp-cg-reminders .fbp-cg-store-notice { position: static; display: block; width: auto; margin: .5rem 0 0; padding: 1rem; box-sizing: border-box; text-align: start; font-size: 1rem; line-height: 1.5; background: #f7f6f7; color: #333; border-top: 3px solid #3d9cd2; box-shadow: 0 2px 12px #0002; }
#fbp-cg-reminders .fbp-cg-store-notice .fbp-cg-link { color: inherit; }
.wc-block-components-totals-discount__coupon-list .fbp-cg-coupon-with-gifts { display: inline-grid; grid-template-columns: minmax(0, 1fr) auto; border-radius: .5rem; }
.fbp-cg-coupon-with-gifts > .wc-block-components-chip__text { grid-column: 1; grid-row: 1; }
.fbp-cg-coupon-with-gifts > .wc-block-components-chip__remove { grid-column: 2; grid-row: 1; }
.fbp-cg-coupon-with-gifts > .fbp-cg-links { grid-column: 1 / -1; grid-row: 2; margin: .4rem 0 0; line-height: 1.4; font-size: .875em; }
#fbp-cg-dialog { width: min(36rem, calc(100% - 2rem)); max-height: 85dvh; box-sizing: border-box; padding: 2rem; border: 1px solid #ddd; border-radius: 4px; overflow: auto; color: #222; background: #fff; }
#fbp-cg-dialog::backdrop { background: #0007; }
#fbp-cg-dialog .fbp-cg-close { position: absolute; inset-inline-end: .5rem; top: .25rem; border: 0; padding: .25rem .6rem; color: #222; background: transparent; font-size: 2rem; cursor: pointer; }
#fbp-cg-title { padding-inline-end: 1rem; }
#fbp-cg-instructions { white-space: pre-line; }
#fbp-cg-rules { display: flex; flex-wrap: wrap; gap: .75rem; }
#fbp-cg-products { list-style: none; padding: 0; margin: 0; }
#fbp-cg-products li { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; border-top: 1px solid #eee; }
#fbp-cg-products img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
#fbp-cg-products span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#fbp-cg-products button { max-inline-size: 50%; overflow-wrap: anywhere; }
#fbp-cg-rules button { max-inline-size: 100%; overflow-wrap: anywhere; }
#fbp-cg-products button:disabled { opacity: .55; cursor: default; }
#fbp-cg-error { color: #a00; }
@media (max-width: 480px) { #fbp-cg-dialog { padding: 1.5rem 1rem; } #fbp-cg-products li { gap: .5rem; } }
