.mobile-cart {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 100%;
    padding: 16px 14px 18px;
    background: #4b4b4b;
    color: #c99916;
    border: 4px solid #c99916;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translate(100%, 0);
    text-align: left;
    overflow: hidden;
}

.mobile-cart__overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 101;
    opacity: 0;
    pointer-events: none;
}

.mobile-cart,
.mobile-cart__overlay {
    transition: all .3s ease-in-out;
}

.mobile-cart__wrapper.mobile-cart--opened .mobile-cart {
    transform: translate(0);
    z-index: 9999999999;
}

.mobile-cart__wrapper.mobile-cart--opened .mobile-cart__overlay {
    opacity: 1;
    pointer-events: all;
}

.mobile-cart__header {
    position: relative;
    padding: 0 30px 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    margin-bottom: 10px;
}

.mobile-cart__headline {
    margin: 0;
    color: #c99916;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
}

.mobile-cart__close-btn {
    position: absolute;
    top: -3px;
    right: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d9d9d9;
    font-size: 20px;
    cursor: pointer;
}

.mobile-cart__products-list {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 150px;
    scrollbar-width: thin;
    scrollbar-color: #c99916 #5a5a5a;
}

.mobile-cart__products-list::-webkit-scrollbar {
    width: 8px;
}

.mobile-cart__products-list::-webkit-scrollbar-track {
    background: #5a5a5a;
}

.mobile-cart__products-list::-webkit-scrollbar-thumb {
    background: #c99916;
    border-radius: 10px;
}

.mobile-cart__products-list::-webkit-scrollbar-thumb:hover {
    background: #d8ab38;
}

.mobile-cart__product {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    overflow: hidden;
}

.mobile-cart__product-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.mobile-cart__product-image-col {
    flex: 0 0 76px;
}

.mobile-cart__product-image-link {
    display: block;
}

.mobile-cart__product-image {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: cover;
    background: #fff;
}

.mobile-cart__product-info-col {
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-cart__product-title-link {
    text-decoration: none;
}

.mobile-cart__product-name {
    margin: 0 0 12px;
    color: #c99916 !important;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    word-break: break-word;
}

.mobile-cart__product-bottom-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mobile-cart__amount-wrap {
    flex: 0 0 auto;
}

.mobile-cart__amount {
    display: inline-block;
    min-width: 10px;
    color: #c99916;
    font-size: 14px;
    line-height: 1.2;
}

.mobile-cart__price-wrap {
    flex: 1 1 auto;
    min-width: 0;
    color: #c99916;
    font-size: 14px;
    line-height: 1.2;
}

.mobile-cart__price-value {
    display: flex;
    white-space: nowrap;
    flex-direction: column;
}
.mobile-cart__qty-wrap {
    flex: 0 0 auto;
}

.mobile-cart__qty-box {
    position: relative;
    width: 64px;
}

.mobile-cart__qty-input {
    width: 100%;
    height: 40px;
    padding: 0 22px 0 12px;
    border: 0;
    background: #fff;
    color: #666;
    font-size: 16px;
    line-height: 40px;
}

.mobile-cart__qty-arrows {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 40px;
    border-left: 1px solid #d8d8d8;
    display: flex;
    flex-direction: column;
}

.mobile-cart__qty-up,
.mobile-cart__qty-down {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    text-decoration: none;
    line-height: 1;
}

.mobile-cart__qty-up{
    border-bottom: 1px solid #d8d8d8;
}

.mobile-cart__qty-up:hover,
.mobile-cart__qty-down:hover{
        background-color: rgba(160, 160, 160, 0.25);
}

.mobile-cart__qty-up i,
.mobile-cart__qty-down i {
    font-size: 12px;
}

.mobile-cart__price-wrap {
    flex: 1 1 auto;
    color: #c99916;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

.mobile-cart__price-x {
    margin-right: 3px;
}

.mobile-cart__price-before {
    margin-right: 4px;
    opacity: .8;
    color: #ccc;
}

.mobile-cart__remove-wrap {
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 6px;
}

.mobile-cart__product-remove {
    display: block;
    width: 15px;
    height: 15px;
    color: #c99916 !important;
}

.mobile-cart__trash-icon {
    width: 100%;
    height: 100%;
    color: #c99916 !important;
}

.mobile-cart__summary {
    padding: 12px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, .28);
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    margin-top: 12px;
}

.mobile-cart__summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #c99916;
    font-size: 14px;
    line-height: 1.5;
}

.mobile-cart__totals {
    padding: 12px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.mobile-cart__total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-cart__total-label,
.mobile-cart__total-value {
    color: #c99916;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
}

.mobile-cart__buttons {
    padding-top: 14px;
}

.mobile-cart__button {
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-align: center;
    text-decoration: none;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

.mobile-cart__button--primary {
    background: #c99916;
    color: #fff !important;
    margin-bottom: 10px;
}

.mobile-cart__button--secondary {
    background: #efefef;
    color: #5b5b5b !important;
    font-weight: 400;
}

.mobile-cart__product-name,
.mobile-cart__product-descr,
.mobile-cart__summary-label,
.mobile-cart__summary-value {
    color: #c99916 !important;
}