.vg-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
    max-width: 980px;
    margin-inline: auto;
    background: var(--vg-surface);
    color: var(--vg-text);
    border: 1px solid var(--vg-border);
    border-top: 4px solid var(--vg-primary);
    border-radius: var(--vg-radius-lg);
    box-shadow: var(--vg-shadow-lg);
}

.vg-cookie.is-opening {
    animation: vg-toast-in .3s var(--vg-ease);
}

.vg-cookie__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    padding: 16px 20px;
}

.vg-cookie__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--vg-primary-soft);
    color: var(--vg-primary);
}

.vg-cookie__text {
    flex: 1 1 320px;
    min-width: 0;
    font-size: .9rem;
}

.vg-cookie__title {
    font-size: 1rem;
    margin-bottom: 2px;
}

.vg-cookie__text a {
    color: var(--vg-primary);
    text-decoration: underline;
}

.vg-cookie__prefs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.vg-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vg-quick {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vg-quick__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--vg-secondary);
    box-shadow: var(--vg-shadow);
    transition: transform .2s ease;
}

.vg-quick__btn:hover {
    transform: translateY(-2px);
}

.vg-quick__btn .vg-ico {
    width: 22px;
    height: 22px;
}

.vg-quick__btn--call {
    background: var(--vg-ok);
}

.vg-quick__btn--offer {
    background: var(--vg-primary);
}

.vg-quick__btn--wa {
    background: #1FAF55;
}

.vg-quick__btn--tg {
    background: #2A9BD8;
}

.vg-quick__label {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--vg-secondary);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-6px, -50%);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
}

.vg-quick__btn:hover .vg-quick__label,
.vg-quick__btn:focus-visible .vg-quick__label {
    opacity: 1;
    transform: translate(0, -50%);
}

.vg-totop {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: var(--vg-radius);
    background: var(--vg-primary);
    color: #fff;
    box-shadow: var(--vg-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.vg-totop.is-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.vg-totop .vg-ico {
    width: 22px;
    height: 22px;
}

.vg-cart-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 12px 14px 12px 12px;
    border-radius: var(--vg-radius-lg);
    background: var(--vg-secondary);
    color: #fff;
    box-shadow: var(--vg-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 16px);
    transition: opacity .25s ease, transform .25s var(--vg-ease), visibility .25s;
}

.vg-cart-toast.is-visible,
.vg-cart-toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.vg-cart-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--vg-ok);
}

.vg-cart-toast__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.vg-cart-toast__text small {
    opacity: .7;
    font-size: .75rem;
}

.vg-campaign {
    position: fixed;
    inset: 0;
    z-index: 1150;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(8, 14, 28, .6);
}

.vg-campaign__box {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: var(--vg-surface);
    border-radius: var(--vg-radius-lg);
    box-shadow: var(--vg-shadow-lg);
}

.vg-campaign__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.vg-campaign__media img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: var(--vg-radius-lg) var(--vg-radius-lg) 0 0;
}

.vg-campaign__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

.vg-campaign__title {
    font-size: 1.3rem;
}

.vg-campaign__text {
    color: var(--vg-muted);
}

@media (max-width: 640px) {
    .vg-quick {
        bottom: 12px;
        left: 12px;
        gap: 8px;
    }

    .vg-quick__btn {
        width: 44px;
        height: 44px;
    }

    .vg-totop {
        right: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
    }
}
