:root {
    --adw-pub-toast-bg: #ffffff;
    --adw-pub-toast-text: #1a1a1a;
    --adw-pub-toast-img-bg: #f5f5f7;
    --adw-pub-toast-btn-bg: #111111;
    --adw-pub-toast-btn-text: #ffffff;
    --adw-pub-toast-radius: 16px;
    --adw-pub-toast-radius-sm: 8px;
    --adw-pub-toast-radius-pill: 999px;
}

.adw-cart-push {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: calc(100% - 32px);
    max-width: 420px;
    padding: 16px;
    border-radius: var(--adw-pub-toast-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background-color: var(--adw-pub-toast-bg);
    color: var(--adw-pub-toast-text);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.adw-cart-push--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.adw-cart-push__image {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: var(--adw-pub-toast-radius-sm);
    overflow: hidden;
    background-color: var(--adw-pub-toast-img-bg);
}

.adw-cart-push__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adw-cart-push__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.adw-cart-push__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.adw-cart-push__title {
    flex: 1 1 auto;
    margin: 0;
    font-weight: 500;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adw-cart-push__close {
    appearance: none;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    opacity: 0.5;
    flex: 0 0 auto;
}

.adw-cart-push__close:hover {
    opacity: 1;
}

.adw-cart-push__meta {
    margin: 0;
    opacity: 0.8;
    font-size: 13px;
}

.adw-cart-push__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 6px;
    gap: 8px;
}

.adw-cart-push__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 18px;
    border: none;
    background-color: var(--adw-pub-toast-btn-bg);
    color: var(--adw-pub-toast-btn-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.adw-cart-push__button:hover {
    opacity: 0.9;
}

.adw-cart-push__button--pill {
    border-radius: var(--adw-pub-toast-radius-pill);
}

.adw-cart-push__button--rounded {
    border-radius: var(--adw-pub-toast-radius-sm);
}

.adw-cart-push__button--square {
    border-radius: 0;
}

@media (max-width: 480px) {
    .adw-cart-push {
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        transform: translateY(-20px);
    }

    .adw-cart-push--visible {
        transform: translateY(0);
    }
}
