.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: #0a0a0a;
    border-left: 1px solid #222;
    z-index: 400;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px 24px;
    border-bottom: 1px solid #222;
}

.cart-sidebar__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: #fff;
}

.cart-sidebar__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.cart-sidebar__close:hover {
    opacity: 1;
}

.cart-sidebar__items {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    max-height: calc(100vh - 200px);
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.cart-sidebar__items::-webkit-scrollbar {
    width: 4px;
}

.cart-sidebar__items::-webkit-scrollbar-track {
    background: transparent;
}

.cart-sidebar__items::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

.cart-sidebar__empty {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: #444;
    text-align: center;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #1a1a1a;
    align-items: center;
}

.cart-item__img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-item__info {
    flex: 1;
}

.cart-item__name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 4px;
}

.cart-item__price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    color: #888;
}

.cart-item__remove {
    background: none;
    border: none;
    color: #444;
    font-size: 1rem;
    cursor: none;
    transition: color 0.2s;
}

.cart-item__remove:hover {
    color: #fff;
}

.cart-sidebar__footer {
    padding: 24px 32px;
    border-top: 1px solid #222;
}

.cart-sidebar__total {
    display: flex;
    justify-content: space-between;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 20px;
}

.cart-sidebar__checkout {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    padding: 18px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.cart-sidebar__checkout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 0;
}

.cart-sidebar__checkout span {
    position: relative;
    z-index: 1;
}

.cart-sidebar__checkout:hover {
    color: #fff;
}

.cart-sidebar__checkout:hover::before {
    transform: scaleY(1);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #0047FF;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-count.visible {
    opacity: 1;
}

.slider__cart {
    position: relative;
}

.footer__linkedin {
    color: #0047FF;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    transition: opacity 0.2s ease;
}

.footer__linkedin:hover {
    opacity: 0.7;
}
