#minicart-overlay {
    display: none;
    z-index: 9999;
}

.action showcart active body {
    display: none !important;
}

.block-minicart {
    width: 500px !important;
    min-width: auto !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    background-color: var(--default-bg-color) !important;
    margin-top: 0 !important;
    padding: 20px !important;
    z-index: 9999;
}

.minicart-items .action.delete::before {
    display: none !important;
}

#minicart-content-wrapper {
    position: relative !important;
    height: 100% !important;
}

.minicart-bottom-content {
    width: 100%;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #ccc;
}

.qty-label {
    background: var(--secondary-bg-color);
    border-radius: 256px;
    color: var(--font-primary-color);
    height: 22px;
    padding: 3px 10px !important;
    text-align: center !important;
    white-space: nowrap;
}

.qty-label .qty {
    color: var(--font-primary-color);
    padding: 0 5px;
    font-size: 14px;
    text-align: center !important;
}

.product-info-container {
    width: 100% !important;
}

.minicart-items .product-item-name a {
    color: var(--font-primary-color);
}

#minicart-content-wrapper .product-image-container, .minicart-items .product-image-container {
    width: 60px !important;
    height: 100% !important;
    max-width: 60px !important;
    align-content: center;
}

.product {
    padding-right: 10px !important;
    display: flex !important;
}

.actions {
    margin: 0 !important;
}

.details-qty {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    flex-direction: row !important;
}

.product-item-details-mobile .details-qty {
    gap: 12px;
}

.item.product.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.product-item {
    align-items: flex-start !important;
}

.product-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.minicart-items .product-item-details, .minicart-items .product-item-details-mobile {
    padding-left: 8px !important;
    width: 100%;
    gap: 12px;
}

.minicart-wrapper {
    z-index: 9999 !important;
    margin-top: 0 !important;
    margin-right: 10px !important;
}

div.minicart-wrapper.block-minicart {
    margin-top: 0 !important;
}

.minicart-wrapper .block-minicart::before {
    display: none !important;
}

.block-minicart__title {
    font-size: var(--font-44);
    color: var(--font-primary-color);
    font-weight: 400;
}

.minicart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.product-item-photo {
    margin-right: 10px;
}

.product-item-photo img {
    width: 60px;
    height: 60px;
}

.product-item-details, .product-item-details-mobile {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 10px;
}

.product-name {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.product-item-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0 !important;
    margin-right: 20px !important;
}

.minicart-items .product-item-details .price, .minicart-items .product-item-details-mobile .price {
    color: var(--font-primary-color);
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
}

.item-price-vat {
    color: var(--font-gray-color) !important;
}

.product-url {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.product-item-price,
.product-item-subtotal {
    font-size: 14px;
    color: #666;
}

.update-cart-item {
    display: none;
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
    height: 36px;
}

.qty-label .update-cart-item {
    height: 20px;
    padding: 0;
    padding-left: 5px;
    font-weight: normal;
}

.product-item-pricing, .price-excluding-tax {
    margin: 0 !important;
}

.product-item-total-pricing-container {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
}

.product-item-total-pricing .price {
    margin-left: 25px;
    font-size: 14px;
    color: var(--font-gray-color) !important;
}

.product-item-details-mobile .product-item-total-pricing .price {
    margin-left: 0;
}

.minicart-items .product-item-details .details-qty {
    display: flex !important;
    align-items: center !important;
    font-size: 14px;
}

.product-item-qty span,
.product-item-qty input {
    margin: 0 5px;
}

.minicart-items .cart-item-inp-qty {
    height: auto !important;
    width: 2ch !important;
    background: transparent !important;
    padding: 0 !important;
    text-align: center;
    border: none !important;
}

.input-text.qty.cart-item-qty {
    color: var(--font-primary-color);
    height: 36px !important;
    border-radius: var(--256) !important;
    border: none !important;
    background-color: transparent !important;
    padding: 0 6px;
}

.product-item-remove button {
    background: none;
    border: none;
    font-size: 18px;
}

.remove-item-button,
.remove-item-button:hover {
    padding: unset;
    width: 24px;
    height: 24px;
    background-color: var(--secondary-bg-color);
    border-radius: 100%;
    border: none;
}

.minicart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px 0 25px;
}

.minicart-actions {
    display: flex;
    flex-direction: column;
}

.minicart-subtotal-title {
    color: var(--font-primary-color) !important;
    font-size: 16px;
}

.minicart-subtotal-amount {
    color: var(--font-primary-color) !important;
    font-size: 32px;
}

.view-cart-button,
.checkout-button {
    border-radius: 30px;
    display: block;
    text-align: center;
    padding: 10px;
    margin: 5px 0;
}

.checkout-button:hover {
    background: #e2e2e2 !important;
}

.checkout-button:hover span {
    color: #555555 !important;
}

.view-cart-button span,
.checkout-button span {
    font-size: 16px;
}

.view-cart-button img,
.checkout-button img {
    height: 8px;
    width: 6px;
    margin-left: 4px;
}

.checkout-button img {
    filter: invert();
}

.checkout-button span {
    color: var(--default-bg-color) !important;
}

.view-cart-button span {
    color: var(--font-black-color) !important;
}

.view-cart-button {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    transition: all .3s ease-in-out !important;
}

.view-cart-button:hover {
    opacity: 0.5 !important;
    transition: all .3s ease-in-out !important;
}

.checkout-button {
    background: #000;
    border: none;
    color: #fff;
}

.view-cart-button:hover, .checkout-button:hover {
    text-decoration: none !important;
}

.block-minicart__content {
    overflow-y: scroll;
    height: calc(100% - 260px);
}

.product-item-details-mobile {
    display: none;
}

@media (max-width: 768px) {
    .block-minicart .product-item-details {
        display: none;
    }

    .product-item-details-mobile {
        display: flex;
    }

    .block-minicart {
        width: 90% !important;
    }

    .item.product.product-item {
        padding: 0;
    }

    .minicart-items .product-item-details .price {
        font-size: var(--font-14);
    }

    .minicart-wrapper.active .block-minicart {
        padding: 20px 10px !important;
    }

    .block-minicart__content {
        overflow-y: visible;
    }

    .qty-label {
        height: 18px;
        padding: 3px 7px !important;
    }
}
