body.hecc-cart-sidebar-open {
    overflow: hidden;
}

.hecc-cart-sidebar {
    position: fixed;
    z-index: 99999;
    inset: 0;
    pointer-events: none;
    font-family: "Inter", sans-serif;
}

.hecc-cart-sidebar.is-open {
    pointer-events: auto;
}

.hecc-cart-sidebar__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .7);
    opacity: 0;
    transition: opacity .42s ease;
}

.hecc-cart-sidebar.is-open .hecc-cart-sidebar__overlay {
    opacity: 1;
}

.hecc-cart-sidebar__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: min(100%, 520px);
    height: 100%;
    flex-direction: column;
    transform: translateX(104%);
    opacity: .75;
    background: #0c1322;
    color: #f7f9fc;
    box-shadow: -18px 0 45px rgba(0, 0, 0, .34);
    transition: transform .46s cubic-bezier(.22, 1, .36, 1), opacity .32s ease;
}

.hecc-cart-sidebar.is-open .hecc-cart-sidebar__panel {
    transform: translateX(0);
    opacity: 1;
}

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

.hecc-cart-sidebar__header h2 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.hecc-cart-sidebar__close {
    display: inline-flex !important;
    width: 30px !important;
    height: 30px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid #334155 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}

.hecc-cart-sidebar__close:hover {
    border-color: #60a5fa !important;
    color: #fff !important;
}

.hecc-cart-sidebar__content {
    flex: 1;
    overflow-y: auto;
    padding: 8px 28px;
}

.hecc-cart-sidebar__items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hecc-cart-sidebar__item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #25324a;
}

.hecc-cart-sidebar__image {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.hecc-cart-sidebar__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hecc-cart-sidebar__item-name {
    color: #f7f9fc;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.hecc-cart-sidebar__item-name:hover {
	    color: #f7f9fc !important;

}

.hecc-cart-sidebar__item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.hecc-cart-sidebar__item-price {
    color: #94a3b8;
    font-size: 14px;
}

.hecc-cart-sidebar .hecc-product-card__highlights--sidebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    margin: 9px 0 0;
    padding: 0;
    color: #b6bfce;
    list-style: none;
    font-size: 12px;
}

.hecc-cart-sidebar .hecc-product-card__highlights--sidebar li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.hecc-cart-sidebar .hecc-product-card__highlight-icon {
    display: inline-flex;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.hecc-cart-sidebar .hecc-product-card__highlight-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hecc-cart-sidebar .hecc-product-card__highlight-icon svg .is-filled {
    fill: currentColor;
    stroke: none;
}

.hecc-cart-sidebar .hecc-product-card__highlight-icon.is-platform {
    color: #3b83f6;
}

.hecc-cart-sidebar .hecc-product-card__highlight-icon.is-guarantee {
    color: #fbbf24;
}

.hecc-cart-sidebar .hecc-product-card__highlight-icon.is-genuine {
    color: #5fe4b5;
}

.hecc-cart-sidebar .hecc-product-card__highlight-icon.is-delivery {
    color: #632de0;
}

.hecc-cart-sidebar__quantity {
    display: inline-grid;
    grid-template-columns: 28px 36px 28px;
    align-items: center;
    width: 92px;
    height: 30px;
    margin-top: 0;
    overflow: hidden;
    border: 1px solid #334155;
    border-radius: 7px;
    background: #111b2f;
}

.hecc-cart-sidebar__quantity button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    font: inherit;
    font-size: 18px;
    line-height: 1;
}

.hecc-cart-sidebar__quantity button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.hecc-cart-sidebar__quantity input {
    width: 36px;
    height: 28px;
    padding: 0 !important;
    border: none !important;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.hecc-cart-sidebar__quantity input::-webkit-inner-spin-button,
.hecc-cart-sidebar__quantity input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.hecc-cart-sidebar__quantity.is-updating {
    opacity: .5;
    pointer-events: none;
}

.hecc-cart-sidebar__remove {
    display: inline-flex !important;
    width: 25px !important;
    height: 25px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #334155 !important;
    border-radius: 50% !important;
    color: #cbd5e1 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.woocommerce a.remove {
	    color: #cbd5e1 !important;

}

.hecc-cart-sidebar__remove:hover {
    border-color: #fb7185;
    color: #fda4af !important;
}

.hecc-cart-sidebar__empty {
    padding: 38px 0;
    color: #94a3b8;
    text-align: center;
}

.hecc-cart-sidebar__footer {
    padding: 24px 28px 28px;
    border-top: 1px solid #25324a;
}

.hecc-cart-sidebar__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #fff;
    font-size: 22px;
}

.hecc-cart-sidebar__subtotal span {
    font-weight: 800;
}

.hecc-cart-sidebar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hecc-cart-sidebar__view-cart,
.hecc-cart-sidebar__checkout {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.hecc-cart-sidebar__view-cart {
    border: 1px solid #3b82f6;
    background: transparent;
}

.hecc-cart-sidebar__checkout {
    background-image: linear-gradient(90deg, #0D1C94, #2E3ED6, #7A3EF2, #3A8DFF);
    background-size: 300% 300%;
    animation: hecc-cart-sidebar-gradient 8s ease infinite;
}

@keyframes hecc-cart-sidebar-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 600px) {
    .hecc-cart-sidebar__header,
    .hecc-cart-sidebar__footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hecc-cart-sidebar__content {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hecc-cart-sidebar__overlay,
    .hecc-cart-sidebar__panel {
        transition: none;
    }
}
