/* Cart Abandonment Recovery — On-site Reminder Bar */

/* Fixed bottom reminder bar */
.hrck-cart-reminder {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hrck-cart-reminder--visible {
    transform: translateY(0);
}

.hrck-cart-reminder__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.hrck-cart-reminder__content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.hrck-cart-reminder__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff0f3;
    color: #ff385c;
}

.hrck-cart-reminder__text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hrck-cart-reminder__text strong {
    font-weight: 600;
}

.hrck-cart-reminder__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* CTA button */
.hrck-cart-reminder__cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #ff385c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
    line-height: 1.4;
}

.hrck-cart-reminder__cta:hover {
    filter: brightness(0.9);
    color: #ffffff;
    text-decoration: none;
}

/* Dismiss button */
.hrck-cart-reminder__dismiss {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    color: #999;
    border-radius: 50%;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

.hrck-cart-reminder__dismiss:hover {
    background: #f0f0f0;
    color: #666;
}

/* Responsive: 960px breakpoint (matches HomeRunner) */
@media (max-width: 960px) {
    .hrck-cart-reminder__inner {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
        align-items: stretch;
    }

    .hrck-cart-reminder__content {
        justify-content: center;
        text-align: center;
    }

    .hrck-cart-reminder__text {
        white-space: normal;
        font-size: 13px;
    }

    .hrck-cart-reminder__actions {
        justify-content: center;
    }

    .hrck-cart-reminder__cta {
        flex: 1;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }

    .hrck-cart-reminder__dismiss {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .hrck-cart-reminder__inner {
        position: relative;
    }
}
