.wcmc-cart-root,
.wcmc-drawer {
    --wcmc-accent: #00a9a5;
    --wcmc-border: #ef171d;
    --wcmc-text: #5f6873;
    --wcmc-muted: #a9b0b8;
    --wcmc-line: #d7dce1;
    --wcmc-button: #747f8d;
    --wcmc-bg: #ffffff;
    --wcmc-danger: #ef171d;
    box-sizing: border-box;
}

.wcmc-cart-root *,
.wcmc-drawer * {
    box-sizing: border-box;
}

.wcmc-cart-root {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
    font-family: inherit;
}

.wcmc-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 122px;
    min-height: 42px;
    padding: 7px 13px 7px 17px !important;
    border: 1px solid #69727d !important;
    border-radius: 999px !important;
    background: #fff;
    color: #69727d !important;
    font: inherit;
    font-size: 14px !important;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
button.wcmc-trigger:hover, button.wcmc-trigger:focus {
    background-color: transparent;
}

.wcmc-trigger:focus-visible,
.wcmc-cart-root.is-open .wcmc-trigger {
    border-color: var(--wcmc-accent);
    box-shadow: 0 0 0 3px rgba(0, 169, 165, .12);
    outline: none;
}

.wcmc-trigger:active {
    transform: translateY(1px);
}

.wcmc-trigger-label {
    font-weight: 600;
}

.wcmc-amount {
    white-space: nowrap;
    font-weight: 500;
}

.wcmc-amount .woocommerce-Price-amount,
.wcmc-subtotal-value .woocommerce-Price-amount {
    color: inherit;
}

.wcmc-cart-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--wcmc-accent);
}

.wcmc-cart-icon svg {
    display: block;
    width: 23px;
    height: 23px;
}

.wcmc-count {
    position: absolute;
    top: -5px;
    right: -7px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #d9534f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.wcmc-trigger.is-empty .wcmc-count {
    opacity: .72;
}

.wcmc-overlay {
    position: fixed;
    inset: 0;
    z-index: 999997;
    visibility: hidden;
    background: rgba(15, 23, 32, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.wcmc-overlay.is-open {
    visibility: visible;
    opacity: 2;
    pointer-events: auto;
}

.wcmc-drawer {
    position: absolute;
    z-index: 2;
    /*position: fixed;*/
    /*z-index: 999998;*/
    top: 80px;
    left: auto;
    display: flex;
    flex-direction: column;
    width: min(360px, calc(100vw - 24px));
    max-height: min(72vh, 650px);
    border: 3px solid #00a9a5;
    background: var(--wcmc-bg);
    color: var(--wcmc-text);
    box-shadow: 0 16px 40px rgba(19, 32, 45, .22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-9px) scale(.985);
    transform-origin: top right;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.wcmc-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.wcmc-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 10px 16px 8px 20px;
    border-bottom: 1px solid var(--wcmc-line);
}

.wcmc-drawer-title {
    margin: 0;
    color: #68727d;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
}

.wcmc-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #00A79D !important;
    border: 1px solid #00A79D !important;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}


.wcmc-close span{
    
}

.wcmc-close:hover, .wcmc-close:focus,
.wcmc-close:focus-visible {
    color:  #00A79D !important;
    outline: none;
    background-color: transparent !important;
}

.wcmc-notice {
    margin: 10px 18px 0;
    padding: 9px 11px;
    border-left: 3px solid currentColor;
    background: #f4f6f8;
    font-size: 12px;
    line-height: 1.4;
}

.wcmc-notice.is-error {
    color: #b42318;
    background: #fff1f0;
}

.wcmc-notice.is-success {
    color: #157347;
    background: #eefaf3;
}

.wcmc-drawer-content {
    min-height: 80px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.wcmc-drawer.is-loading .wcmc-drawer-content {
    opacity: .55;
    pointer-events: none;
}

.wcmc-items {
    padding: 4px 18px 0;
}

.wcmc-item {
    position: relative;
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: center;
    min-height: 100px;
    padding: 14px 0;
    border-bottom: 1px solid var(--wcmc-line);
    transition: opacity .2s ease;
}

.wcmc-item.is-updating {
    opacity: .45;
    pointer-events: none;
}

.wcmc-item-image {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    overflow: hidden;
    border-radius: 50%;
    background: #f4f6f7;
}

.wcmc-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.wcmc-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

.wcmc-item-details {
    min-width: 0;
}

.wcmc-item-name {
    margin: 0 0 5px;
    color: var(--wcmc-accent);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.48;
}

.wcmc-item-name a {
    color: inherit;
    text-decoration: none;
}

.wcmc-item-name a:hover,
.wcmc-item-name a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.wcmc-item-meta {
    margin-bottom: 5px;
    color: #8e98a2;
    font-size: 11px;
    line-height: 1.35;
}

.wcmc-item-meta dl,
.wcmc-item-meta p {
    margin: 0;
}

.wcmc-item-meta dt,
.wcmc-item-meta dd {
    display: inline;
    margin: 0 3px 0 0;
}

.wcmc-item-purchase-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #a5adb5;
    font-size: 11px;
}

.wcmc-quantity {
    display: inline-flex;
    align-items: center;
    height: 24px;
    border: 1px solid #d5dbe0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.wcmc-qty-button {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: #f6f7f8;
    color: #69737e;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.wcmc-items .wcmc-qty-button {
    display: grid !important;
    place-items: center;
    width: 22px !important;
    height: 22px;
    padding: 0 !important;
    border: 0 !important;
    background: #f6f7f8;
    color: #69737e !important;
    font-size: 14px !important;
    line-height: 1;
    cursor: pointer !important;
}

.wcmc-qty-button:hover, .wcmc-qty-button:focus,
.wcmc-qty-button:focus-visible {
    background: #e8edef;
    color: var(--wcmc-accent);
    outline: none;
    background-color: #00a9a5 !important;
}

.wcmc-qty-button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.wcmc-button.wcmc-view-cart:focus-visible ,
.wcmc-button.wcmc-view-cart:hover ,
.wcmc-button.wcmc-view-cart:focus ,
.wcmc-button.wcmc-checkout:focus-visible ,
.wcmc-button.wcmc-checkout:hover ,
.wcmc-button.wcmc-checkout:focus {
        background-color: #00a79d !important;
        color: #fff !important;
}


.wcmc-qty-input {
    width: 30px !important;
    min-width: 30px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #69737e !important;
    box-shadow: none !important;
    text-align: center;
    font: inherit !important;
    font-size: 11px !important;
    line-height: 22px !important;
    -moz-appearance: textfield;
}

.wcmc-qty-input::-webkit-outer-spin-button,
.wcmc-qty-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.wcmc-times,
.wcmc-unit-price {
    white-space: nowrap;
}

.wcmc-remove {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid #d5dbe0;
    border-radius: 50%;
    background: #fff;
    color: #c2c8ce;
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}
.wcmc-items .wcmc-item .wcmc-remove {
    display: grid !important;
    place-items: center;
    width: 30px !important;
    height: 30px;
    padding: 0px !important;
    border-radius: 50% !important;
    background: #fff;
    font-size: 17px !important;
    font-weight: 300 !important;
    line-height: 0;
    cursor: pointer !important;
    margin-top: 0px;
    color: #00A79D !important;
    border: 1px solid #00A79C !important
}
.wcmc-items .wcmc-item .wcmc-remove span{
    margin-top: -5px !important;
}

.wcmc-remove:hover,
.wcmc-remove:focus-visible {
    border-color: var(--wcmc-danger) !important;
    color: var(--wcmc-danger) !important;
    outline: none !important;
}

.wcmc-summary-panel {
    padding: 14px 18px 16px;
}

.wcmc-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 50px;
    padding: 12px 5px;
    border-bottom: 1px solid var(--wcmc-line);
    color: #838b94;
    font-size: 15px;
    font-weight: 700;
}

.wcmc-subtotal-value {
    color: #838b94;
}

.wcmc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding-top: 16px;
}

.wcmc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
    background: var(--wcmc-button);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    transition: filter .18s ease, transform .18s ease;
}

.wcmc-button:hover,
.wcmc-button:focus-visible {
    color: #fff !important;
    filter: brightness(.9);
    outline: none;
}

.wcmc-button:active {
    transform: translateY(1px);
}

.wcmc-checkout {
    background: #687482;
}

.wcmc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 35px 24px;
    text-align: center;
}

.wcmc-empty-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(0, 169, 165, .09);
    color: var(--wcmc-accent);
}

.wcmc-empty-icon svg {
    width: 34px;
    height: 34px;
}

.wcmc-empty h3 {
    margin: 0 0 7px;
    color: #5f6873;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
}

.wcmc-empty p {
    margin: 0 0 19px;
    color: #8c96a0;
    font-size: 13px;
}

.wcmc-continue-shopping {
    min-width: 170px;
    background: var(--wcmc-accent);
}

@media (min-width: 768px) {
    .wcmc-overlay {
        display: none;
    }
}

@media (max-width: 767px) {
    body.wcmc-drawer-open {
        overflow: hidden;
    }

    .wcmc-drawer {
        position: fixed;
        z-index:9999999;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(92vw, 390px);
        max-height: none;
        height: 100dvh;
        border-width: 0 0 0 3px;
        transform: translateX(100%);
        transform-origin: right center;
    }

    .wcmc-drawer.is-open {
        transform: translateX(0);
    }

    .wcmc-drawer-content {
        flex: 1 1 auto;
    }

    .wcmc-item {
        grid-template-columns: 50px minmax(0, 1fr) 26px;
        gap: 10px;
    }

    .wcmc-item-image {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 420px) {
    .wcmc-trigger {
        min-width: 108px;
        padding-left: 13px;
    }

    .wcmc-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wcmc-trigger,
    .wcmc-overlay,
    .wcmc-drawer,
    .wcmc-button,
    .wcmc-item {
        transition: none !important;
    }
}
