.total-price {
    position: fixed;
    bottom: 5rem;
    left: 1rem;
    background: #1c1c28;
    border: 2px solid #7f85e4;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: #7f85e4;
    font-weight: 600;
    width: 250px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

#price-overview:not(.collapsed)~.total-price {
    width: 100%;
    max-width: 365px;
    justify-content: center;
}

#price-overview:not(.collapsed)~.quote {
    width: 100%;
    max-width: 365px;
    min-width: 0;
    gap: 1rem;
    justify-content: center;
}

.total-price-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    fill: #7f85e4;
    transition: fill 0.3s ease;
}

.total-price-mail.active {
    animation: bob 1.5s ease-in-out infinite;
}

.total-price-mail:hover {
    fill: #ffffff;
}

.total-price-mail svg {
    width: 100%;
    height: 100%;
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

.quote {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background: #1c1c28;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: #ffffff;
    /* Fallback text color */
    font-weight: 600;
    width: 250px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(#1c1c28, #1c1c28) padding-box,
        linear-gradient(to right, #e74a4e, #7f85e4) border-box;
    border: 2px solid transparent;
}

.quote span {
    background: linear-gradient(to right, #e74a4e, #7f85e4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quote-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    fill: url(#email-gradient);
    transition: fill 0.3s ease;
}

.quote-mail.active {
    animation: bob 1.5s ease-in-out infinite;
}

.quote-mail:hover {
    fill: #ffffff;
}

.quote-mail svg {
    width: 100%;
    height: 100%;
}

.quote:hover {
    background: #2a2a3a;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    background: #2a2a3a padding-box,
        linear-gradient(to right, #e74a4e, #7f85e4) border-box;
}

.quote:hover .quote-mail {
    fill: #ffffff;
}

.quote:hover span {
    color: #ffffff;
    background: none;
    -webkit-background-clip: none;
    background-clip: none;
}