#fnb-resume-announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

#fnb-resume-product {
    --fnb-resume-offset: 24px;
    position: fixed;
    z-index: 45;
    inset-inline: 12px;
    bottom: var(--fnb-resume-offset);
    margin-inline: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: auto;
    max-width: 442px;
    gap: 12px;
    padding: 14px 46px 14px 14px;
    border: 1px solid #d7e0e4;
    border-radius: 5px;
    background: #fff;
    color: #13191c;
    box-shadow: 0 8px 30px #0d161f2e;
    font-family: Barlow, Arial, sans-serif;
    animation: fnb-resume-enter 250ms ease-out both;
}

#fnb-resume-product .fnb-resume-image {
    flex: 0 0 80px;
    height: 72px;
    overflow: hidden;
    border-radius: 2px;
    background: #f4f4f3;
}

#fnb-resume-product .fnb-resume-image[hidden] { display: none; }

#fnb-resume-product .fnb-resume-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#fnb-resume-product .fnb-resume-copy { min-width: 0; }

#fnb-resume-product #fnb-resume-product-label {
    margin: 0 0 3px;
    color: #233743;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
}

#fnb-resume-product .fnb-resume-name {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: inherit;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
}

#fnb-resume-product .fnb-resume-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 9px;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    font-weight: 600;
}

#fnb-resume-product .fnb-resume-close {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: 24px/1 Arial, sans-serif;
    cursor: pointer;
}

#fnb-resume-product :is(button, a):focus-visible {
    outline: 2px solid #006487;
    outline-offset: -3px;
}

#fnb-resume-product .fnb-resume-track {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
    background: #e5edf1;
    pointer-events: none;
}

#fnb-resume-product .fnb-resume-track span {
    display: block;
    height: 100%;
    background: #009cde;
    transform-origin: left;
    animation: fnb-resume-countdown var(--fnb-resume-duration) linear forwards paused;
}

#fnb-resume-product[data-resume-running="true"] .fnb-resume-track span { animation-play-state: running; }

@media (max-width: 760px) {
    #fnb-resume-product {
        --fnb-resume-offset: calc(84px + env(safe-area-inset-bottom, 0px));
        padding-block: 10px;
    }

    #fnb-resume-product .fnb-resume-link { min-height: 44px; }
}

@media (max-height: 420px) and (max-width: 760px) {
    #fnb-resume-product { --fnb-resume-offset: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
    #fnb-resume-product { animation: none; }
    #fnb-resume-product .fnb-resume-track { display: none; }
}

@keyframes fnb-resume-enter {
    from { transform: translateY(calc(100% + var(--fnb-resume-offset) + 6px)); }
    to { transform: translateY(0); }
}

@keyframes fnb-resume-countdown {
    to { transform: scaleX(0); }
}
