.vtmsc-root {
    position: relative;
    z-index: 2147483645;
    font-family: Roboto, Helvetica, Arial, sans-serif !important;
    font-style: normal;
}

.vtmsc-root button,
.vtmsc-root input,
.vtmsc-root select,
.vtmsc-root textarea {
    font-family: Roboto, Helvetica, Arial, sans-serif !important;
}

.vtmsc-overlay {
    position: fixed;
    z-index: 2147483645;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, .28);
    opacity: 0;
    transition: opacity .25s ease, visibility 0s linear .25s;
}

.vtmsc-panel {
    position: fixed;
    z-index: 2147483646;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 330px;
    max-width: 88vw;
    height: 100vh;
    height: var(--vtmsc-viewport-height, 100vh);
    max-height: 100%;
    margin: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .16);
    transform: translate3d(105%, 0, 0);
    transition: transform .28s ease;
}

@supports (display: grid) {
    .vtmsc-panel {
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
    }

    .vtmsc-header {
        grid-row: 1;
    }

    .vtmsc-status {
        grid-row: 2;
    }

    .vtmsc-items {
        grid-row: 3;
    }

    .vtmsc-footer {
        grid-row: 4;
    }
}

.vtmsc-root.is-open .vtmsc-overlay {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.vtmsc-root.is-open .vtmsc-panel {
    transform: translate3d(0, 0, 0);
}

body.vtmsc-lock {
    overflow: hidden;
}

.vtmsc-header {
    position: relative;
    flex: 0 0 auto;
    min-height: 116px;
    padding: 30px 58px 22px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.vtmsc-eyebrow {
    display: block;
    margin: 0 0 7px;
    color: #a7191f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .7px;
}

.vtmsc-header h2 {
    margin: 0;
    color: #111;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.vtmsc-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}

.vtmsc-status {
    display: none;
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 20px;
    background: #f7f7f7;
    color: #555;
    font-size: 13px;
}

.vtmsc-status.is-visible {
    display: block;
}

.vtmsc-status.is-error {
    background: #fff1f1;
    color: #a7191f;
}

.vtmsc-items {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 18px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #aaa #f2f2f2;
}

.vtmsc-items::-webkit-scrollbar {
    width: 7px;
}

.vtmsc-items::-webkit-scrollbar-track {
    background: #f2f2f2;
}

.vtmsc-items::-webkit-scrollbar-thumb {
    border-radius: 7px;
    background: #aaa;
}

.vtmsc-item {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 11px;
    padding: 18px 0;
    border-bottom: 1px solid #e5e5e5;
}

.vtmsc-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 82px;
    border: 1px solid #e1e1e1;
    background: #fff;
}

.vtmsc-item-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.vtmsc-item-main {
    min-width: 0;
}

.vtmsc-item-name {
    display: block;
    margin: 0 0 5px;
    color: #171717;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.vtmsc-item-name:hover,
.vtmsc-item-name:focus {
    color: #a7191f;
    text-decoration: none;
}

.vtmsc-meta {
    margin: 0 0 2px;
    color: #777;
    font-size: 12px;
    line-height: 1.3;
}

.vtmsc-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    white-space: nowrap;
}

.vtmsc-counter {
    display: grid;
    grid-template-columns: 26px 36px 26px;
    box-sizing: border-box;
    width: 90px;
    height: 34px;
    border: 1px solid #dedede;
    background: #fff;
}

.vtmsc-qty-btn,
.vtmsc-qty-value {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 32px;
}

.vtmsc-qty-btn {
    color: #aaa;
    font-weight: 700;
    cursor: pointer;
}

.vtmsc-qty-btn:hover,
.vtmsc-qty-btn:focus {
    background: #f6f6f6;
    color: #a7191f;
}

.vtmsc-qty-value {
    border-right: 1px solid #dedede;
    border-left: 1px solid #dedede;
    color: #111;
    font-weight: 400;
}

.vtmsc-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d71920;
    border-radius: 0;
    background: #fff;
    color: #d71920;
    cursor: pointer;
}

.vtmsc-remove:hover,
.vtmsc-remove:focus {
    background: #d71920;
    color: #fff;
}

.vtmsc-remove svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.vtmsc-price {
    margin-left: 2px;
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.vtmsc-empty {
    padding: 44px 10px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

.vtmsc-footer {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding: 18px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, .04);
}

.vtmsc-total-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 12px;
    margin: 0 0 15px;
    color: #555;
    font-size: 14px;
    text-align: right;
}

.vtmsc-total {
    color: #111;
    font-size: 19px;
    font-weight: 800;
}

.vtmsc-cart-link {
    display: block;
    width: 100%;
    padding: 15px 10px;
    background: #111;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

.vtmsc-cart-link:hover,
.vtmsc-cart-link:focus {
    background: #a7191f;
}

.vtmsc-root.is-busy .vtmsc-panel {
    cursor: progress;
}

.vtmsc-root.is-busy .vtmsc-actions button {
    pointer-events: none;
    opacity: .55;
}

@media (max-width: 480px) {
    .vtmsc-panel {
        width: 100%;
        max-width: 100%;
    }

    .vtmsc-header {
        min-height: 104px;
        padding-top: 24px;
    }

    .vtmsc-header h2 {
        font-size: 21px;
    }

    .vtmsc-items {
        padding-right: 14px;
        padding-left: 14px;
    }

    .vtmsc-footer {
        padding-top: 14px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .vtmsc-cart-link {
        min-height: 46px;
    }
}

@media (max-height: 560px) {
    .vtmsc-header {
        min-height: 84px;
        padding-top: 17px;
        padding-bottom: 14px;
    }

    .vtmsc-header h2 {
        font-size: 25px;
    }

    .vtmsc-footer {
        padding-top: 10px;
    }

    .vtmsc-total-row {
        margin-bottom: 9px;
    }
}

@media (max-width: 480px) and (max-height: 560px) {
    .vtmsc-header h2 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vtmsc-panel,
    .vtmsc-overlay {
        transition: none;
    }
}
