/* SpamFixer catalog submission CTA v1. Scoped to catalog listing pages. */
.sf-cat-add-banner {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
    padding: 22px 24px;
    border: 1px solid #b8d4ff;
    border-radius: 20px;
    background: linear-gradient(115deg, #eef5ff 0%, #f8fbff 65%, #e8f1ff 100%);
    box-shadow: 0 8px 28px rgba(37, 99, 235, .08);
}
.sf-cat-add-banner__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 15px;
    background: #fff;
}
.sf-cat-add-banner__icon svg,
.sf-cat-add-action svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sf-cat-add-banner__text { min-width: 0; }
.sf-cat-add-banner__title {
    margin: 0 0 4px;
    color: #152d54;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.35px;
    overflow-wrap: anywhere;
}
.sf-cat-add-banner__note {
    margin: 0;
    color: #526580;
    font-size: 14px;
    line-height: 1.5;
}
.sf-cat-add-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    max-width: 320px;
    padding: 14px 20px;
    border: 1px solid #1d4ed8;
    border-radius: 13px;
    background: linear-gradient(180deg, #2678f5 0%, #1d5fda 100%);
    box-shadow: 0 6px 16px rgba(29, 78, 216, .2);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease;
}
.sf-cat-add-action:visited { color: #fff; }
.sf-cat-add-action:hover {
    background: #174dbb;
    color: #fff;
    box-shadow: 0 8px 22px rgba(29, 78, 216, .28);
}
.sf-cat-add-action:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 4px;
}
.sf-cat-add-mobile { display: none; }
body.sf-catalog-cta-page #catalog-submit { scroll-margin-top: 100px; }
body.sf-catalog-cta-page #catalog-submit h2:focus { outline: none; }

@media (min-width: 768px) and (max-width: 980px) {
    .sf-cat-add-banner { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 20px; }
    .sf-cat-add-banner__icon { display: none; }
    .sf-cat-add-banner__title { font-size: 19px; }
    .sf-cat-add-action { max-width: 280px; }
}
@media (max-width: 767px) {
    .sf-cat-add-banner { display: none; }
    body.sf-catalog-cta-page {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
    .sf-cat-add-mobile {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 10000;
        display: block;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding: 0 0 env(safe-area-inset-bottom, 0px);
        background: #1d5fda;
        box-shadow: 0 -5px 24px rgba(15, 23, 42, .16);
    }
    .sf-cat-add-mobile[hidden] { display: none; }
    .sf-cat-add-mobile .sf-cat-add-action {
        display: flex;
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        min-height: 60px;
        margin: 0;
        padding: 16px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px));
        border: 0;
        border-radius: 0;
        box-shadow: none;
        font-size: 16px;
    }
    .sf-cat-add-mobile .sf-cat-add-action:focus-visible {
        outline-offset: -4px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sf-cat-add-action { transition: none; }
    html { scroll-behavior: auto; }
}
