.dk-slide-cart,
.dk-slide-cart * {
    box-sizing: border-box;
}

.dk-slide-cart-overlay[hidden],
.dk-slide-cart-panel[hidden] {
    display: none !important;
}

.dk-slide-cart:not(.dk-slide-cart-ready) .dk-slide-cart-overlay,
.dk-slide-cart:not(.dk-slide-cart-ready) .dk-slide-cart-panel {
    display: none !important;
}

.dk-slide-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    vertical-align: middle;
}

.dk-slide-cart-trigger {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(242,231,216,0.58) !important;
    border-radius: 50% !important;
    background: #151312 !important;
    color: #f2e7d8 !important;
    cursor: pointer;
    box-shadow: none !important;
    line-height: 0 !important;
    overflow: visible !important;
    appearance: none;
    -webkit-appearance: none;
    transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}

.dk-slide-cart-trigger:hover {
    color: #ffffff !important;
    background: #201914 !important;
    border-color: rgba(184,135,70,0.72) !important;
    transform: translateY(-1px);
    opacity: 1;
}

.dk-slide-cart-icon,
.dk-slide-cart-icon svg {
    display: block;
    width: 19px !important;
    height: 19px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
}

.dk-slide-cart-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dk-slide-cart-count {
    position: absolute;
    top: -6px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    border-radius: 999px;
    background: #d79a4e;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.22);
    pointer-events: none;
}

.dk-slide-cart-count-inside .dk-slide-cart-count {
    top: -6px;
    right: -5px;
    left: auto;
    transform: none;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    border-radius: 999px;
    background: #d79a4e;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,.22);
    pointer-events: none;
}

.dk-slide-cart-count-inside .dk-slide-cart-icon {
    opacity: 1;
}

.dk-slide-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(0,0,0,.28);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.dk-slide-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999999;
    width: min(420px, 92vw);
    height: 100vh;
    background: #ffffff;
    color: #111111;
    box-shadow: -22px 0 60px rgba(0,0,0,.18);
    transform: translateX(105%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

.dk-slide-cart.is-open .dk-slide-cart-overlay {
    opacity: 1;
    visibility: visible;
}

.dk-slide-cart.is-open .dk-slide-cart-panel {
    transform: translateX(0);
}

.dk-slide-cart-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid #eeeeee;
}

.dk-slide-cart-panel__head strong {
    display: block;
    color: #111111;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
}

.dk-slide-cart-panel__subtitle {
    display: block;
    margin-top: 5px;
    color: #666666;
    font-size: 13px;
}

.dk-slide-cart-close {
    width: 38px;
    height: 38px;
    border: 1px solid #e3e3e3 !important;
    border-radius: 999px;
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 24px;
    line-height: 34px;
    cursor: pointer;
    padding: 0 !important;
}

.dk-slide-cart-close:hover {
    background: #f5f5f5 !important;
}

.dk-slide-cart-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

.dk-slide-cart-empty {
    margin: 8px 0 18px;
    color: #222222;
    font-size: 16px;
}

.dk-slide-cart-items {
    display: grid;
    gap: 14px;
}

.dk-slide-cart-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 28px;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    background: #ffffff;
}

.dk-slide-cart-item__thumb img {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 12px;
}

.dk-slide-cart-item__name {
    color: #111111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.dk-slide-cart-item__meta {
    margin-top: 6px;
    color: #666666;
    font-size: 14px;
}

.dk-slide-cart-item__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #111111 !important;
    text-decoration: none !important;
    background: #f4f4f4;
    font-size: 20px;
    line-height: 1;
}

.dk-slide-cart-item__remove:hover {
    background: #eeeeee;
}

.dk-slide-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding: 18px 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    color: #111111;
    font-size: 18px;
}

.dk-slide-cart-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.dk-slide-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #111111;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid #111111;
}

.dk-slide-cart-button:hover {
    background: #2a2a2a;
    color: #ffffff !important;
}

.dk-slide-cart-button--ghost {
    background: #ffffff;
    color: #111111 !important;
}

.dk-slide-cart-button--ghost:hover {
    background: #f5f5f5;
    color: #111111 !important;
}

body.dk-slide-cart-lock {
    overflow: hidden;
}
