body {
    font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

::selection {
    background: rgba(200, 155, 60, 0.28);
    color: #0f172a;
}

.brand-social {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.brand-social {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    color: #fff;
    height: 2.75rem;
    width: 2.75rem;
}

.brand-social:hover {
    transform: translateY(-1px);
}

.brand-social svg,
.floating-cart-icon svg {
    display: block;
    fill: currentColor;
    height: 1.35rem;
    width: 1.35rem;
}

.brand-social-instagram:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497 0 18%, #fd5949 42%, #d6249f 62%, #285aeb 100%);
    color: #fff;
}

.brand-social-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.brand-social-linkedin:hover {
    background: #0a66c2;
    color: #fff;
}

.brand-social-youtube:hover {
    background: #ff0000;
    color: #fff;
}

.floating-cart-btn {
    align-items: center;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    bottom: 10.5rem;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
    color: #fff;
    display: inline-flex;
    height: 4rem;
    justify-content: center;
    position: fixed;
    right: 1.5rem;
    transition: transform 180ms ease, box-shadow 180ms ease;
    width: 4rem;
    z-index: 45;
}

.floating-cart-btn::before,
.floating-cart-btn::after {
    animation: cartPulse 1.25s ease-out infinite;
    border: 2px solid rgba(200, 155, 60, 0.72);
    border-radius: inherit;
    content: "";
    inset: -0.4rem;
    pointer-events: none;
    position: absolute;
}

.floating-cart-btn::after {
    animation-delay: 0.42s;
    border-color: rgba(255, 255, 255, 0.5);
    inset: -0.65rem;
}

.floating-cart-btn:hover {
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px) scale(1.06);
}

.floating-cart-icon {
    align-items: center;
    animation: cartIconBeat 1.25s ease-in-out infinite;
    display: inline-flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.floating-cart-icon svg {
    height: 1.85rem;
    width: 1.85rem;
}

.floating-cart-count {
    align-items: center;
    animation: cartCountBeat 1.25s ease-in-out infinite;
    background: #c89b3c;
    border: 2px solid #fff;
    border-radius: 9999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    height: 1.55rem;
    justify-content: center;
    line-height: 1;
    min-width: 1.55rem;
    padding: 0 0.32rem;
    position: absolute;
    right: -0.25rem;
    top: -0.25rem;
    z-index: 2;
}

@keyframes cartPulse {
    0% {
        opacity: 0.9;
        transform: scale(0.82);
    }

    70%,
    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@keyframes cartIconBeat {
    0%,
    100% {
        transform: scale(1);
    }

    36% {
        transform: scale(1.14);
    }
}

@keyframes cartCountBeat {
    0%,
    100% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.18);
    }
}

@media (max-width: 640px) {
    .floating-cart-btn {
        bottom: 9.5rem;
        height: 3.75rem;
        right: 1rem;
        width: 3.75rem;
    }

    .floating-cart-icon svg {
        height: 1.7rem;
        width: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-cart-btn::before,
    .floating-cart-btn::after,
    .floating-cart-icon,
    .floating-cart-count {
        animation: none;
    }
}
